In R12 how to get recovery tax code  for particular tax rule code.

Hi Experts,
In 11i my query is
SELECT recovery_rate
FROM ap_tax_recvry_rates_all
WHERE rule_id IN (SELECT tax_recovery_rule_id FROM ap_tax_codes_all )
I need to updade this query to R12.1.3.In R12 tax_code and rocovery code both are moved to single table zx_rates_b.
Please provide the joins to upgrade the query to r12
Regards,
Brajesh
Edited by: user13537002 on Jan 3, 2013 5:48 AM

Hi,
Use the below query.
select * from ZX_MCO_LV_RATES_V
Regards,
Sivakumar

Similar Messages

  • How to get sum of bugs for particular Mnth and particular Year dynamically?

    Hi All,
    I've a query related to dynamic date and year :
    select bug_id,
    category,
    count(*) Total_bugs,
    SUM(CASE when bug_date >= '10/1/2011' and bug_date <= '10/31/2011' Then 1 else 0 end) OCT_11,
    SUM(CASE when bug_date >= '9/1/2011' and bug_date<= '9/30/2011' Then 1 else 0 end) SEP_11,
    FROM AA_BUG_TBL
    GROUP BY BUG_ID,BUG_CATEGORY
    In the above query,Can we write one sum statement to get sum of bugs for a particular month and particular year dynamically?
    for ex:2 bugs between 10/1/2011 and 10/31/2011 then 2 under oct_11
    5 bugs between 09/01/11 and 09/30/2011 then 5 under sep_11
    In this case we need to calculate correct no of days for feb
    Thanks,
    Mahender.

    So...
    You need to iterate based on something like the month, quarter, year... Then query on that. I'll use a "WITH" clause to illustrate:
    with my_bugs as
        select bug_id
             , bug_date
             , case when to_char ( bug_date, 'QYYYY' ) = '12009' then 1 else 0 end y2009q1_bug
             , case when to_char ( bug_date, 'QYYYY' ) = '22009' then 1 else 0 end y2009q2_bug
             , case when to_char ( bug_date, 'QYYYY' ) = '32009' then 1 else 0 end y2009q3_bug
             , case when to_char ( bug_date, 'QYYYY' ) = '42009' then 1 else 0 end y2009q4_bug
             , case when to_char ( bug_date, 'YYYY' ) = 2009 then 1 else 0 end y2009_bug
             , case when to_char ( bug_date, 'YYYY' ) = 2010 then 1 else 0 end y2010_bug
             , case when to_char ( bug_date, 'YYYY' ) = 2011 then 1 else 0 end y2011_bug
             , case when 1 = 1 then 1 else 0 end is_bug_flag
          from bugs
      select bug_id
           , bug_date
           , sum   ( y2009q1_bug ) over () as total_bugs_2009q1
           , sum   ( y2009q2_bug ) over () as total_bugs_2009q2
           , sum   ( y2009q3_bug ) over () as total_bugs_2009q3
           , sum   ( y2009q4_bug ) over () as total_bugs_2009q4
           , sum   ( y2009_bug   ) over () as total_bugs_2009
           , count (*)             over ( partition by is_bug_flag ) as total_bugs
        from my_bugsI mocked up some data so my results will be drastically different than yours but here are the results:
        BUG_ID BUG_DATE  TOTAL_BUGS_2009Q1 TOTAL_BUGS_2009Q2 TOTAL_BUGS_2009Q3 TOTAL_BUGS_2009Q4 TOTAL_BUGS_2009 TOTAL_BUGS
          2014 10-SEP-10                 0                 0               114              1143         1257         10000
          2015 14-APR-10                 0                 0               114              1143         1257         10000
          2016 30-NOV-09                 0                 0               114              1143         1257         10000
          2017 03-JUN-11                 0                 0               114              1143         1257         10000
          2018 29-DEC-10                 0                 0               114              1143         1257         10000
          2019 12-JAN-11                 0                 0               114              1143         1257         10000
          2020 21-APR-10                 0                 0               114              1143         1257         10000
          2021 12-JAN-11                 0                 0               114              1143         1257         10000
          2022 29-NOV-10                 0                 0               114              1143         1257         10000
          2023 20-JUL-11                 0                 0               114              1143         1257         10000
          2024 04-MAR-11                 0                 0               114              1143         1257         10000

  • How to get actual Hours Posted for Particular Month?

    Hi,
    I am trying to write a report which should extract the hours posted for the selected  month by phase code
    What I did is  retrieved AUFPL from AFKO by giving Project number in PRONR
    Later went to AFVC took OBJNR and the went to COSS and by entering Value type :04 (Actual Costs)
    I got entries..I see entries in MEG001 ,MEG002....
    but i am confused becasue it is until MEG016 ...
    Our fiscal year starts in OCt 01.. so where do they post on Oct 01?
    will it be MEG001? or MEg013?
    Right now Septemeber values are posting in MEG012...
    Rgds
    Vara

    Use CN48 T code.
    If you watned to track cost which has been posted vai CATS  & watned to go for the development than better approach is to start from CATSDB and further tables....
    With Regards
    Nitin P.

  • Add tax item for a tax code in a G/L account item

    How do we add a tax item for a tax code in a G/L account item. Basically we get an error when we release the billing document to accounting like
    "Tax statement item missing for tax code"
    Diagnosis
    No tax item exists for tax code O0 in a G/L account item...
    Appreciate any feedback.
    - Prakash

    Dear Prakash,
    There is no other setting than this. For double check please check below again:
    1. Tax code created in FTXP (Input / Output tax)
    2. Tax percentage maintained in FTXP if tax procedure in formula based & percentage assigned in FV12 if procedure is condition based against the identified condition type
    3. GL asignement in OB40 for auto posting against the account keys.
    Hope this will solve ur problem.
    Regards,
    Ajay

  • How to get the last error for while loop?

    How to get the last error for while loop? I just want transfer the last error for while loop, but the program use the shift register shift all error every cycle.

    What do you mean by "get" and "transfer"?
    If the shift register is not what you want, use a plan tunnel instead.
    Typically, programmers are interested in the first, not last, error.
    Can you show us your code so we have a better idea what you are trying to?
    LabVIEW Champion . Do more with less code and in less time .

  • How to get balance sheet report for profit centers

    hi
    how to get balance sheet report for profit centers, is there any transcation code to get that report or i need to create a report painter report for this

    Hi,
    You can use T. code KE5Z for actual line items.
    More to this you can use program RFBILA10 (Use T. code SE38 and program RFBILA10) for complete blance sheet.
    The transaction is for special purpose ledger but this program RFBILA10 can be used for profit center balance also.
    In selection, you can give ledger name which is generally 8A for profit center ledger.
    Reg

  • How to get 64 bit version for premiere elements 12

    How to get  64-bit version for Premier Elements 12 ? 
    I download from ADMISY site.
    Click on win 64 bit and download it.
    When I try to install ther is a error  this download version is not for 64 bit I have try many times but same result

    Hello
    I have been away some days
    ADMISY is a software partners for Adobe
    I running Win 7 Home Edition
    I have received a card with a code when I bought the program and the I
    download from ADMISY
    Sending serial and installation warning
    PhotoshopElements_12_WWEFDJ.7z
    PhotoshopElements_12_WWEFDJ
    PremiereElements_12_WWEFDJ_win32.7z
    PremiereElements_12_WWEFDJ_win32
    I can not find a 64 bit version of 32-bit or 64-bit version of downloads
    This is information I have
    Best regards
    Erling Magnusson
    2015-02-04 22:33 GMT+01:00 Adobe Forums <[email protected]>:
        How to get 64 bit version for premiere elements 12  created by A.T.
    Romano <https://forums.adobe.com/people/A.T.+Romano> in *Premiere
    Elements* - View the full discussion
    <https://forums.adobe.com/message/7162950#7162950>

  • How to get File type icon for files store on Amazons3

    Hi,
    i want to know about how to get file type icons for files that we store on Amazons3.i am a devloper ,i want to make gui for accessing amazons3.
    so ,i want to know about how to get file type icons for files that we store on Amazons3.
    thanx in advance.

    hi,
    have u heard amazon simple storage service,that provides storage space for
    storing files, i am a devloper,i want to know the files that we store on amazon,how we can get file type icon for that files.
    i want to sample code in java for this.
    thanx in advance.

  • How to get item field values for old versions?

    I need to be able to query old field values from previous versions of items in a SharePoint list. I can't execute code on the server (it needs to work with SharePoint Online/O365 for a start).
    So far the ONLY API I've that lets me do this is the lists.asmx GetVersionCollection SOAP call.
    This lets me specify a single field name and returns an XML structure with the values for the various versions, along with the modification time and who made the change - but NO reliable way of actually identifying *which* version (i.e. an ID or label). That
    is, if I know I need to fetch the Title value from version 512 ("1.0") of item 1 in list "Documents", I don't see how to reliably parse the results to determine which entry is version 512. While they may be returned in order, in many cases
    the entries are actually missing when there was no field value present (or perhaps when the field hadn't been created yet). I've tried comparing the Modified date to the Created date of the corresponding FileVersion item (which I can get via CSOM or REST),
    and while it works some of the time, it's not reliable. I've also looked at the output from the lists.asmx GetVersion API but I don't see how that's useful either, as the Created property for all versions always seems to be just the date the file was originally
    created.
    It does seem odd to me that there's not a neat way of doing this - if I need to return information for several fields but just for a single version, I have to make a whole lot of requests that return far more info than I need, and then I need to figure out
    how to parse the returned text in the case of, say, multiple-value taxonomy fields etc.
    Anyone tried doing anything similar here?
    Thanks
    Dylan

    try these links:
    https://support.office.microsoft.com/en-us/article/Track-and-view-version-information-for-SharePoint-list-items-2d69d936-fb0b-4c84-830e-11708e6ec317?CorrelationId=f87cf6ea-8cbf-446a-a4a0-e2c3a86b3425&ui=en-US&rs=en-US&ad=US
    https://social.technet.microsoft.com/Forums/en-US/e48ff216-7ed1-4b20-9f21-d496b1583eea/how-to-get-item-field-values-for-old-versions?forum=sharepointdevelopment
    http://sharepoint.stackexchange.com/questions/20019/get-meta-data-from-a-previous-version-of-a-document-through-webservice-in-moss-2
    http://sharepoint.stackexchange.com/questions/121594/getting-information-from-previous-versions-of-a-sp-list-using-csom
    Please mark answer as correct if it is correct else vote for it if you find it useful Happy SharePointing

  • How to get title templates library for CC?

    How to get title templates library for CC?  Do you have to download and install PP 6 to get them?

    Try here Library, title templates, template projects missing: Premiere Pro, After Effects, Encore

  • Creation of Service Tax code for Service Tax Payable

    Hi
    Please advise me to create service tax code for service tax payable
    Thanks and Best Regards
    Shekhar
    Edited by: Shekhar Yecham on Sep 16, 2008 8:28 PM

    Hi Randeep,
    As they said it is service tax GTA.Right we are doing out of SAP, we want it to be done in SAP
    The tax calculation will be like below
    service tax of 10.3%  has to caluclate on the 25% of the Base amount. Like
    25% is taxable and 75% is livied.
    Base Amount - 100.00
    25% of the base amount(100/25) = 25.00
    service tax(10.30%) to be calculate on Rs. 25.00
    25*10.30% = 2.57
    Base amount --> 100.00
    Service Tax  -->      2.57
            Total:           102.57
    Regards,
    Siva.

  • I went to add my iPod to another computer and when I did it re-bought all of my music and I would like to know how to get my money back for it?

    I went to add my iPod to another computer and when I did it re-bought all of my music and I would like to know how to get my money back for it?
    anyonr know how I can get my money back????????

    Go to Settings>General>Reset>Erase all content and setting. Then re-setup the iPod with your account/media. To redownload iTunes purchases see:
    Downloading past purchases from the App Store, iBookstore, and iTunes Store

  • How to get the depreciation areas for an asset in particular period

    Hi frndz,
      how to get the depreciation areas for an asset in a particular period for writeup or manual depreciation method.
    Thanks and regards.
    Harisumanth.Ch

    Try table ANLB, then read ANLC.
    Regards.

  • How to get the version no. for service po?

    Hi,
    How to get the version no. for service po?For material po we are getting the version from EKKO-REVNO but for service po Ekko-revno is blank.
    Regards,
    Rachel.

    Hiee,
    It is not like service PO does not have revision.
    REVNO will only exists for any document if amendment is made after releasing it. If in EKKO for all service PO revision number is blank then test if version management is active for document type
    MM->Purchasing->Version management -> External documents
    Here check for your doc type and purchase org version management is active.
    Regs,
    Appie

  • How to get the owner name for the file in ftp using abap ?

    Hi folks ,
    How to get the owner name for the file in ftp using abap ? please help me very ugernt . I tried with all standard FTP commands
    but doest work out me . Helping in this regard highly appreciated ...
    Thanks and regards,
    Swarupa Vanarchi

    Hi
    dont you  have used the os user while calling the FTP_CONNECT FM?
    Hope you are not talking about the user executing the FTP program.
    Else If you are talking about the FTP file creator then its not related to abap as you can handle it by maintaining the user in file name itself.
    May be i am going too far with if and elses here as your question possesses no  clarity.
    Plz elaborate your requirement  before anybody can help.
    Regards
    sateesh

Maybe you are looking for