OSTC Query Not Showing Correct Percent If Component is Changed

Hello gurus and experts...here is an interesting question:
Question:  Why does a query not report proper Sales Tax Code percentage from OSTC table when a component is updated?
Sales Tax Code (STC) of CA-37B, with a rate of 10.25% is made up of three parts:
California (CA) State Tax Jurisdiction of "CA" with a rate of 7.00%,
County Tax Jurisdiction of "CA-37" at a rate of 1.75%,
City Tax Jurisdiction of "CA-37B" with a rate of 1.50%, and the effective date is set at 31 Dec 2008 (in the past).
When the City Tax Jurisdiction is changed to 1.00% and date of 31 Dec 2009, the OSTC of CA-37B should be 9.75%.
However, when a query is run on the OSTC table it strangely reports the old 10.25% (on the Sales Tax Code window it shows correctly as 9.75%).
Here is the query - very simple...as about as simple as it gets...
SELECT
T0.Code,
T0.Name,
T0.Rate AS 'Total Tax Percentage',
T0.Freight AS 'Freight Taxable?'
FROM OSTC T0
ORDER BY T0.Code
IF we go back to the Sales Tax Code Window and change anything (description, one of the components, etc) and hit the update button, then the query reports the correct percentage.
Am I missing something here?  I would imagine that the system must be doing something and I cannot believe the workaround is just go back and update something in the Sales Tax Code window - there are a ton of updates to do with taxes each year!  Trying to remember which component was updated can cause real confusion.  SAP B1 does a ton of automatic updates all over the system - why would it just be this area of information in OSTC???
Thanks for reading the post, and many more thanks for your help and suggestions - Zal

OK - Question Answered - had nothing to do with the query - user did not hit "Update" two times when doing the City Tax Jurisdiction Update...
I knew SAP would be doing an auto update - has to!!!
Thanks all - Zal

Similar Messages

  • ADF Query not showing correct search results.

    Hi,
    I am using normal ADF af:query to search data using a VO Criteria.
    We have modified the getter of searched column in VORowImpl java class to return values based on NLSID search from cache.
    Logic in getter:
    If for a column_name nlsid is present then show data as the value of nlsid.
    Suppose Initially:
    column_name = "Column1"
    column_name_nlsid="Column1_nlsid"
    column_name_nlsid_value="Column1_nlsid_value"
    The table will show:
    column_name: "Column1_nlsid_value"
    if we search "Column1" as column_name, The Search will also show:
    column_name: "Column1_nlsid_value"
    in results
    But,
    If we modify the nlsid value as:
    column_name_nlsid_value="Column1_nlsid_value_MODIFIED"
    Then
    The table will show:
    column_name: "Column1_nlsid_value_MODIFIED"
    if we search "MODIFIED" in column_name, The Search will NOT show any results
    So, it seems to me that the af:query search always searches upon the values derived from InternalAttribute values.
    What can i do to over-ride such behaviour , so that the search also takes the data from modified getters.

    Try posting in Jdeveloper Forum JDeveloper and ADF which has more audience

  • Log application query not showing correct results

    Hi,
    We are running Dataguard (DG) in our production environment. EBS 11.5.10.2 and DB 10.2.0.4.
    Every morning we run the following query on both primary and standby to confirm that the logs are being transported and applied to the standby:
    select sequence#,applied,to_char(first_time,'mm/dd/yy hh24:mi:ss') first from v$archived_log order by first_time;
    Once the logs are transported and applied, a response of 'Yes' is returned for each log generated. We have noticed within the last week that when we run the query on primary, 'No' is being returned, but on standby, 'Yes' is returned. I have confirmed that standby is reflecting the correct results. I've tried restarting the DG service (alter database recover managed standby....) in an attempt to have primary 'refresh' itself but that didn't work.
    Does anyone have any idea why primary keeps returning 'No' to the query, and how we can get it to reflect to correct results?
    Thanks,
    Lia.

    Hi Werner,
    Thanks for your response. Given what you're saying I find that a little strange since prior to this, the query would return a value of 'YES' on the primary. Actually, to be exact, on the primary, each log would should up twice. One would show 'NO' and the other 'YES'- the second indicating transporting and shipping was successful.
    This is how the results were before:
    SEQUENCE   APP   FIRST
    +154623 NO 04/07/09 08:03:22+
    +154623 YES 04/07/09 08:03:22+
    +154624 NO 04/07/09 08:05:27+
    +154624 YES 04/07/09 08:05:27+
    This is how the results are now:
    SEQUENCE   APP   FIRST
    +154754 NO 04/22/09 07:22:22+
    +154754 NO 04/22/09 07:22:22+
    +154755 NO 04/22/09 07:25:27+
    +154755 NO 04/22/09 07:25:27+
    I'm not doubting that what you're saying is correct, it just adds an element of confusion for me...
    Lia.

  • Date and time not showing correct whe imported to Power query

    Hi,
    I have an Excel list that I imported to another Excel file via Power query. A few of the imported columns contains date and time, for example 2013-11-09 20:19. When imported to Power query this will show as 41587.84652777778 and only dates/times with zero
    hours and minutes will show correctly. When trying to change the data type to Date/Time it returns an error for all cells containing hours and minutes.
    I use a Swedish version of Excel that uses a different time format compared to standard excel and also uses a , as a delimiter between date and time compared to the . used as delimiter in standard excel. Don't know if that can explain
    this problem?
    Brgds,
    C

    I updated Power query earlier this week, so it should be the latest version. When I created the sample file now the problem appears, so if it is a bug it has not been solved.
    You find the sample file on the link below. 4 sheets with some info on the problem, the data, the query result and one sheet with the data and query result as pictures as it shows in my version of Excel, I guess it will look somewhat different when you open
    the file due to local date/time settings.
    Appreciate feedback on what you find!
    //Caj
    https://skydrive.live.com/redir?resid=94DF9214E3A6D4!107&authkey=!AEuAXX_kPC7yKaI&ithint=file%2c.xlsx

  • Account Balance not showing correctly

    Sir,
    Suppose , i have posted an invoice  of Rs.200 against a customer and after some times i recieved payment from this customer of Rs.200 So,  accout balance of this customer should be zero.. But when i see the account balance from business partner master data , it should me Rs.-400 in accout balance field but when i navigate through orange arrow in to accoutn balance details , there i get  zero in balance due field?? ie. it is showing coorectly in details of account ballance but in the business partner master data it is not showing correctly??

    hi divya,
    Check SAP Note 904002 - Customer account balance is displayed with negative sign
    Summary
    Symptom
    Customer Balance is displayed with minus.
    Other terms
    Customer balance, Supplier Balance, Credit Balance, Debit Balance, Display Credit Balance with Negative Sign, Company Details, System Initialisation, business partner, accounts, SAP Business One
    Reason and Prerequisites
    Customer balance is displayed in negative though you expect it to be positive.
    Solution
    Under Administration->System Initialisation->Company Details and the 'Basic Initialisation' tab you will find the setting 'Display Credit Balance with Negative Sign'. This setting decides how Customer and Supplier balances will be displayed.
    NOTE!
    When creating a company it is important to know that this setting is irreversible once transactions have been made in the company.
    When this box IS checked the following applies:
    Customer balances will be displayed as Positive.
    Supplier balances will be displayed as Negative.
    When this box IS NOT checked the following applies:
    Customer balances will be displayed as Negative.
    Supplier balances will be displayed as Positive.
    This setting also influences the entry of opening balances for the G/L accounts. Depending on this setting, the opening balances must be entered as positive or negative numbers.
    By default this box is checked when a new company is created.
    Header Data
    Release Status: Released for Customer
    Released on: 02.12.2005  10:42:10
    Master Language: English
    Priority: Recommendations/additional info
    Category: Consulting
    Primary Component: SBO-ADM-INI-DET Company Details
    Secondary Components: SBO-BP Business Partners
    Affected Releases
    Release-Independent
    Hope it solves problem.
    Jeyakanthan

  • Not showing correct output when parsing the date

    //WAP the gives the details of employees
    import java.io.*;
    import java.util.*;
    import java.text.Format;
    import java.text.DateFormat;
    import java.text.ParseException;
    import java.text.SimpleDateFormat;
    class employee
      private String nm,curr_dt;
      private Date dob,doj;
      private int salary;
               employee()
                  nm="\0";
                  dob=null;
                  doj=null;
                  curr_dt=null;
                  salary=0;
               void getdata()throws IOException
                  String dt;
                  BufferedReader br=new BufferedReader(new InputStreamReader(System.in));
                  //we can create date with these 3 type of objects
                  Format fm=new SimpleDateFormat("dd-mm-yyyy");
                  DateFormat df=new SimpleDateFormat("dd-mm-yyyy");
       //object of base class are type compatible with the object of derived class
                  SimpleDateFormat sdf=new SimpleDateFormat("dd-mm-yyyy");
                  System.out.print("\nEnter the name of Employee : ");
                  nm=br.readLine();
                  try{
                  System.out.print("\nEnter the date of birth of Employee : ");
                  dt=br.readLine();
                  dob=(Date)fm.parseObject(dt);
                  System.out.print("\nEnter the date of joining of Employee : ");
                  dt=br.readLine();
                  doj=df.parse(dt);
                  }catch(ParseException e){
                  Date d=new Date();
                  curr_dt=sdf.format(d);
                  System.out.print("\nEnter the salary of employee : ");
                  salary=Integer.parseInt(br.readLine());
               void putdata()
                  System.out.println("\n\n\nEmployee Name : "+nm);
                  System.out.println("\nDate of birth : "+dob);
                  System.out.println("\nDate of joining : "+doj);
                  System.out.println("\nCurrent date : "+curr_dt);
                  /*if((doj-curr_dt)>1)
                       salary+=3000;
                  System.out.println("\nSalary of Employee : "+salary);
    class emp
      public static void main(String str[])throws IOException
           employee emp[]=new employee[1];
           System.out.println("\nEnter the detail of employees \n\n");
           for(int i=0;i<1;i++)
                emp=new employee();
    emp[i].getdata();
    System.out.println("\n\nDetail of employees are\n\n");
    for(int i=0;i<1;i++)
    emp[i].putdata();
    }*Output:*
    Enter the detail of employees
    Enter the name of Employee : Rajendra Sharma
    Enter the date of birth of Employee : 10-10-1979
    Enter the date of joining of Employee : 05-09-2004
    Enter the salary of employee : 2000
    *it is not showing date in the "dd-mm-yyyy" format and not showing correct month as well*
    Detail of employees are
    Employee Name : Rajendra Sharma
    Date of birth : Wed Jan 10 00:10:00 IST 1979
    Date of joining : Mon Jan 05 00:09:00 IST 2004
    Current date : 17-08-2008
    Salary of Employee : 2000                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                   

    Hi,
    Use below code that will help u to sort ur problem.
    import java.io.*;
    import java.util.*;
    import java.text.Format;
    import java.text.DateFormat;
    import java.text.ParseException;
    import java.text.SimpleDateFormat;
    class employee
    private String nm,curr_dt;
    private Date dob,doj;
    private int salary;
    private String dobb,dojj;
    employee()
    nm="\0";
    dob=null;
    doj=null;
    curr_dt=null;
    salary=0;
    void getdata()throws IOException
    String dt;
    BufferedReader br=new BufferedReader(new InputStreamReader(System.in));
    //we can create date with these 3 type of objects
    DateFormat fm=new SimpleDateFormat("dd-mm-yyyy");
    DateFormat df=new SimpleDateFormat("dd-mm-yyyy");
    //object of base class are type compatible with the object of derived class
    SimpleDateFormat sdf=new SimpleDateFormat("dd-mm-yyyy");
    System.out.print("\nEnter the name of Employee : ");
    nm=br.readLine();
    try{
    System.out.print("\nEnter the date of birth of Employee : ");
    dt=br.readLine();
    dob=(Date)fm.parseObject(dt);
    dobb= fm.format(dob);
    System.out.print("\nEnter the date of joining of Employee : ");
    dt=br.readLine();
    doj=df.parse(dt);
    dojj = df.format(doj);
    }catch(ParseException e){
    Date d=new Date();
    curr_dt=sdf.format(d);
    System.out.print("\nEnter the salary of employee : ");
    salary=Integer.parseInt(br.readLine());
    void putdata()
    System.out.println("\n\n\nEmployee Name : "+nm);
    System.out.println("\nDate of birth : "+dobb);
    System.out.println("\nDate of joining : "+dojj);
    System.out.println("\nCurrent date : "+curr_dt);
    /*if((doj-curr_dt)>1)
    salary+=3000;
    System.out.println("\nSalary of Employee : "+salary);
    class emp
    public static void main(String str[])throws IOException
    employee emp[]=new employee[1];
    System.out.println("\nEnter the detail of employees \n\n");
    for(int i=0;i<1;i++)
    emp=new employee();
    emp[i].getdata();
    System.out.println("\n\nDetail of employees are\n\n");
    for(int i=0;i<1;i++)
    emp[i].putdata();
    thanks,
    prabhu selvakumar.

  • SharePont 2013 Document Library lookup Column Properties not Showing Correctly when editing in Word

    Hi
    I keep seeing this issue albeit intermittently.  I have set up a doc library for my users which has a custom content type (lookup, metadata columns, etc)  . They all appear perfectly most of the time except the lookup column. Sometimes is just
    decides to display the title field of the current library and not the lookup list title .  It is weird as it has been working perfectly for ages given the library is populated with valid documents.
    There are some fixes listed here. Has anyone got any experience of this?
    https://social.msdn.microsoft.com/Forums/azure/en-US/e0b55531-509c-4219-8113-61b3e488de69/document-library-metadata-properties-of-a-content-type-do-not-show-correctly-when-editing-in-word?forum=sharepointdevelopmentprevious
    Freelance consultant

    Hi,
    According to your post, my understanding is that the lookup  column not display well while editing in word.
    Did you customize the Document Information Panel?
    I recommend you edit your custom document information panel or create a new document information panel, then re-publish it to check whether it works.
    https://support.office.com/en-gb/article/Create-or-edit-a-custom-Document-Information-Panel-for-a-content-type-b701a9af-3ea6-4c1a-9e1c-75363bd987c9?ui=en-US&rs=en-GB&ad=GB
    Or you can also use the methods in the post you have pasted to check whether it works.
    As the limitation of the environment, we could not reproduce the issue in our environment.
    I  would suggest you open a case to Microsoft Customer Service via Phone.
    Thanks,
    Jason
    Forum Support
    Please remember to mark the replies as answers if they help and unmark them if they provide no help. If you have feedback for TechNet Subscriber Support, contact
    [email protected]
    Jason Guo
    TechNet Community Support

  • The web site of Adobe does not show correctly in FireFox

    I have a bizarre problem.  The site of Adobe (including where I can download the flash player) does not show correctly in FireFox and I only see it as a text HTML page, but without most images (typically, for instance, I do not see the image "Download now" but see a text line "Dowload now", and so on...
    This seems to specifically affect the Adobe web site as I have no problme for other web sites (so far).
    It is something specific to FireFox as  I do have the problem with Internet Explorer.
    The problem persis even if I restart FireFox without any add-on (safe mode).
    Any suggestion ?

    Does this only happen in Firefox?  What do you see with Internet Explorer or Chrome?  If it is only Firefox, I'd try these steps in this order:
    1. Clear your cookies and cache
    2. Reset your Firefox settings
    3. Make a new profile
    Chris

  • Characters codes are not showing correctly in my wesbite. I use other browser it works but her ein mozilla its not. Please help

    This is my site http://globaledsource.com/ then the characters is not showing correctly. This is what happen in my site http://globaledsource.com/wp-content/uploads/2013/03/MAS_ThemeProbleme-1024x1024.jpg

    Hi paulique, the simplest next test would be to disable all plugins and extensions (except Shockwave Flash, which is pretty much indispensable) here, restart Firefox, and see whether your font works without them:
    orange Firefox button (or Tools menu) > Add-ons > Plugins category<br>
    orange Firefox button (or Tools menu) > Add-ons > Extensions category

  • Spot colors not showing correctly in acrobat 11

    Spot colors not showing correctly in the output preview as well as the page correctly. I have a spot pms
    295 on a page in a few different areas of text and backgrounds. The spot color shows on 1 of my backgrounds
    and text and a spot color on another background does not. These items are on the same page. Although I
    can use the eyedropper to check the color of these items and it states the spot color is present. The page
    also prints correctly. Previews not happening.

    I included 3 screen shots from Acobat 11 of the test requested. Also, included the last screen shot from Acobat 9 of same file.
    Which shows correct preview. To eliminate possible ICC profile issue. I did change profiles to all that were in the profile list
    with no change in either test.

  • Photo events do not show correctly in my iPhone

    Photo events do not show correctly in my iPhone. I have 21 events in my iPhoto but they appear in many different groups in my iPhone.

    Mine too. Anyone have a clue how to fix this?

  • Few of the text in Tibetan language subtitle is not showing correctly

    Dear frds, I am working on 2 hours project which consist of 3 language i.e. English, Russian and Tibetan. Both English and Russian is showing correct while importing in Encore DVD 2 but few of the text which is in Tibetan Subtitle is not showing correctly. I have choosen the font correctly still few of the text is not correct format.
    Is there any way to correct my Tibetan language text either by disabling speeling or grammer check or something else ???
    Or is there any other way to import the subtitle is Picture format ???
    Will be thankful for your kiind help. I stuck my project, please help me...

    did you get a solution to this?
    We had Encore cs3 and that didn't handle Tibetan well.
    Did you use Encore Cs6 to get Tibetan to work ?

  • Jdeveloper visual editor do not show images and other component shapes

    I used jdeveloper(10.1.3.3.0) to create an ADF BC application, I create a jsf jsp file and drag and drop components from ADF Faces Core to this file visual editor, but jdeveloper visual editor do not show images and other component shapes.
    Could you tell me how I can fix this problem?
    Thanks,
    Mike

    Actually, I need to make a dummy change to the jsp file and then it will display boxes representing the objects in the visual editor whereas I get an exception in the log:
    javax.servlet.jsp.JspException: Cannot find FacesContext
    This does not talk much to me !
    Thanks

  • Fonts not showing correctly only when on my account page on app store

    fonts not showing correctly only when on my account page on app store

    Firstly, make sure that your device is not hidden (left hand pane). If it just reads device then toggle between SHOW and HIDE.
    Secondly, try all the other ports on your computer, even a number of times.
    Thirdly, if you have another computer try plugging your device into it without taking any action, give it a moment, remove it and try it back in your other computer again.
    Failing all that, see here - http://support.apple.com/kb/TS1538 for Windows and http://support.apple.com/kb/TS1591 for Macs
    And failing all that put the device into Recovery mode. See here and note the paragraph 'If you restore from a different computer.... ' down near the bottom of the page -
    http://www.apple.com/support/ipad/assistant/itunes/

  • The onhand quantity at sub inventory level it is not showing correctly

    For an item the org level quantityt is showing correctly but at sub inventory level it is not showing correctly.
    1)For an item org level the avilablty as below :
                   On Hand / Avail to Reserve / Avail to Transact are
         oRG level          7     7          7
    STAGING           7     7          7
         STORES          0     0          0     
    2) Created an Sales order with quantity 5 ,then STAGING decreased by 5 which is correct.
              the avilablty as below :
                   On Hand / Avail to Reserve / Avail to Transact are
         oRG level          7     7          7
    STAGING           2     2          2
         STORES          0     0          0     
    3) Shipping Transaction not completed,Received 4 into Stores – Staging avail increased by 6 and even STORES also increased by 4 . Here we do not understand why STAGING increased to 6.
         the avilablty as below :
                   On Hand / Avail to Reserve / Avail to Transact are
         oRG level          7     7          7
    STAGING           6     6          6
         STORES          4     4          4     
    4)Ship Transaction Completed sucessfully now the values are showing correctly.
         The avilablty as below :
                   On Hand / Avail to Reserve / Avail to Transact are
         oRG level          7     7          7
    STAGING           2     2          2
         STORES          4     4          4

    Hi Patel,
    You can create a confirmations using CO11N for sub-operations, but you can only confirm hours, not yield quantity. The yield quantity requried to be confirmed in the operation. You can partially or fully confirm sub-operations.
    Enter the order number, sub -operation number all the related data will be displayed execpt greyed quantity fields.
    Can you see the "sub-operation" entry field below "oper./activity" in CO11N ?
    Thanks & Regards,
    Ramagiri

Maybe you are looking for

  • Installation SAP Sneak Preview 7.0 EhP1 fails.

    Hi all, I want to install SAP Sneak Preview 7.0 EhP1, with the new WD4A features. I already had one installation that failed. Therefore, the official uninstall was not yet present in c:\sap\nsp\uninstall. So I had to delete all files and folders manu

  • Add zfields to report created by fki0

    Hello Experts,                 i wants to add new fields to report created by fki0 and also i want to create a single report for all vendor ageing.

  • Error On-The-Fly with ProcessOneResult [Error Code: -2147024882]

    TestStand 4.2.0.134 Have you seen this error before? I have a top sequence that starts 32 executions via a process model with On-The-Fly activated. It generates maybe 1 or 2 results per execution every 5-10 minutes and the execution is set to run for

  • Unable to calculate a request signature: Algorithm HmacSHA1 not available

    I develop one javaFx application. which upload the files on amazon s3 server. The application work fine when the executable jar of the application is made. But when the native packaging of the application is done. The .msi file is created and after i

  • Accepting Text Edits from Comment review Ver 7

    I have successfully sent a pdf document out for review by email and comments and edit markups have been inserted. How can I accept/reject these edits with out retyping into either the PDF or the original Indesign file that the PDF was created from. I