AR Invoice Conversion

Hello,
I am working on a implementation project. The legacy system is oracle apps 11.5.10 and new is R12. I have to work on AR Invoice conversion where we have to select all the open invoices and convert them over. Can i get a query for all the open invoices?? Also we are using a DB link can i get a sample code as well?? I am new in oracle apps. Any help is appreciated.
Bhargavi

Hello,
This is the basic query you might be looking for. I have not selected the columns. This is just the condition, you can add the columns by adding the alias name of the table.
FROM ar_payment_schedules_all@R11I_APPS.DBLINK aps,
ra_customer_trx_all@R11I_APPS.DBLINK rct,
ra_cust_trx_types_all@R11I_APPS.DBLINK rctt,
hz_customer_profiles@R11I_APPS.DBLINK hcp,
hz_cust_site_uses_all@R11I_APPS.DBLINK hcsu,
hz_cust_accounts@R11I_APPS.DBLINK rac_bill,
hz_parties@R11I_APPS.DBLINK party,
hz_party_sites@R11I_APPS.DBLINK party_site
,hz_locations@R11I_APPS.DBLINK loc
,hz_cust_acct_sites_all@R11I_APPS.DBLINK acct_site
,(select lgd.customer_trx_id customer_trx_id
,lgd.customer_trx_line_id customer_trx_line_id
,lgd.amount amount
,gcc.segment1 segment1
,gcc.segment3 segment3
from ra_customer_trx_all@R11I_APPS.DBLINK rct,
ra_cust_trx_line_gl_dist_all@R11I_APPS.DBLINK lgd,
gl_code_combinations@R11I_APPS.DBLINK gcc
where
rct.customer_trx_id = lgd.customer_trx_id
and lgd.code_combination_id = gcc.code_combination_id(+)
and lgd.account_class = 'REC') seg
,(select rctla.description description
,rctla.customer_trx_id customer_trx_id
,rctla.customer_trx_line_id customer_trx_line_id
,rctla.vat_tax_id vat_tax_id
,vat.avt_tax_code avt_tax_code
from ra_customer_trx_lines_all@R11I_APPS.DBLINK rctla
,ar_tax_lines_v@R11I_APPS.DBLINK vat
where rctla.line_type = 'LINE'
and rctla.CUSTOMER_TRX_LINE_ID = vat.link_to_cust_trx_line_id
and rctla.line_number =1 ) lines
where rct.customer_trx_id(+) = aps.customer_trx_id
and rctt.cust_trx_type_id = rct.cust_trx_type_id
and rctt.org_id = rct.org_id
and hcp.site_use_id(+) = rct.bill_to_site_use_id
and rct.bill_to_site_use_id = hcsu.site_use_id(+)
and rac_bill.cust_account_id(+) = rct.bill_to_customer_id
and rac_bill.party_id = party.party_id(+)
and party_site.party_site_id = acct_site.party_site_id
and hcsu.cust_acct_site_id = acct_site.cust_acct_site_id
and party.party_id = party_site.party_id
and party_site.location_id = loc.location_id
and rct.customer_trx_id = seg.customer_trx_id
and rct.customer_trx_id = lines.customer_trx_id(+)
and aps.status = 'OP'
and aps.class <> 'PMT'
and edit the db link part according to your custom DB link
Edited by: obiapps on 27-Jan-2012 07:14
Edited by: obiapps on 27-Jan-2012 07:14

Similar Messages

  • HELP: AR Open Invoices Conversion with Revenue Recognition (Daily Revenue)

    Hi,
    I need some help on Conversion of AR Open Invoices with Accounting Rules in R12, Here the client wanted to use Daily Revenue Schedule rule,
    I am developing Functional Specification Document (CV.040); Need to understand the Assumptions, Approach and Which data needs to be extracted from Legacy System.
    Appreciate your reply at the earliest
    Thanks
    Ravi

    Anil,
    Thanks for your response, Here are the answers to your questions.
    1) The invoices that you want to convert - Do they already have revenue recognition on them?
    Ans: Yes they have Revenue Recognition On Them.
    2) Are you bringing only Open Invoices? What about Invoices that are closed (paid), but still have unrecognized revenue on them? DO you want to bring them
    over? If no, how will be mage the recognition of those invoices?
    Ans: We want to bring only Open Invoices. i.e the following scenarios want in Data Extraction
    a) Invoice is Fully Paid (REC is Zero) and Unearned is Full Invoice Amount, Revenue is 0
    b) Invoice is Partially Paid (REC is Partial) and Unearned is Partial, Revenue is partial
    c) Invoice is fully Paid (Rec is Zero) and Unearned is Partial and Revenue is Partial
    d) We do not want to bring the invoices with Fully Paid and Fully Recognized, Unearned is Zero
    3) What about partially paid invoices? How do you want to bring them in?
    Ans: See above scenarios.
    4) Do you want to bring in all Invoice details,or just bring in a summary line with the outstanding amount?
    we assume only Summary, but if the Invoices with Several Lines and Different Accounting Rules, We may have to bring them too
    Appreciate your response; Suggest some possibilties?
    Thanks
    Ravi

  • Closed AR Invoice Conversion

    Hi - We would like to convert closed AR Invoices(last 1 year). Does auto invoice support this feature?. If not, what are the other options.
    Thanks
    Robert

    Hi - We would like to convert closed AR Invoices(last 1 year). Does auto invoice support this feature?. If not, what are the other options.
    Thanks
    Robert

  • Unit Conversion value not copied in Proforma invoice

    Hi
    I have sales unit and base unit of measures are different which are defined in material master. When I create a sales order, in condition tab, I can see the conversion value between condition unit and base unit. But when I create order related proforma invoice, conversion factor is not copied in condition tab there, though it works fine with delivery related proforma invoice.
    What could be the reason.
    Regards,
    Neeraj Srivastava

    Hi,
    discussed the same issue in these threads -
    Proforma Invoice configuration/ assignment
    Proforma Invoice for Sales Order
    proforma invoice
    Re: How to Create a Pro Forma invoice (F5) for selecetd items in the order?
    Regards,
    Raj

  • Disable auto-calculation of tax amount by Autoinvoices to import AR Invoice

    Hi all,
    I am using ra_interface_lines_all to do AR Invoices conversion to Oracle R12. My legacy invoices data contains tax amount and some of the invoices do not have any tax. Autoinvoice auto-calculated tax information during import even for those invoices that have no tax.
    I checked my AR interface record and made sure none of the tax-related columns (e.g. tax_code, tax_amount, etc) are populated. I also checked the AR transaction source for conversion and make sure tax-calculation flag is not set.
    Basically I need to set the tax amounts manually instead of letting the system to derive it. Some suggested to set tax_exempt_flag to "E". I tried but Autoinvoice complained that I need to have tax reason and besides I have many invoices that have tax amounts.
    Any suggestions on disable the auto-calculation of tax?
    Thanks! Mike

    Hi Mike,
    U r using transaction types to generate your distributions, right?
    Try to insert distribution info for each of your invoices in the table ra_interface_distributions_all, specifying REC, REV and TAX (tax where applicable) lines.
    Hope this will solve your prob.
    Vik

  • Required AutoAccounting types for AR invoices?

    Hi all,
    I am doing AR invoices conversion and I got error "Not all AutoAccounting types are defined" from Autoinvoice process after inserting to AR interface. I import regular invoices, credit memo and debit memo to AR and the business analyst so far only have Receivable, Revenue and Tax AutoAccounting types set up.
    Can any one please let me know what are the other AutoAccounting types I may need?
    Thanks! Mike.

    Hi Mike,
    All the following 7 Transaction Types must be setup:
    1.     Freight
    2.     Receivable
    3.     Revenue
    4.     AutoInvoice Clearing
    5.     Tax
    6.     Unbilled Receivable
    7.     Unearned Revenue
    Vik

  • Active Ingredient proforma Invoice

    Dear Gurus
    I am using the Active ingredient material and have the unit conversion between Sales UOM and base UOM appearing in sales order condition tab. However when I create a Order related proforma invoice , conversion rate is not populated in billing condition tab. It does populate with Delivery related proforma Invoice.
    Not sure what is happening.
    Regards,
    Neeraj Srivastava
    Edited by: neeraj.srivastava15 on Aug 30, 2010 11:41 AM

    Hi Rao,
    Check the item category configuration via VOV7 for the item category being used in the delivery. The billing relevance should be set to A.
    It should help you
    Regards,
    Pls Reward points if it helps

  • Bought a Clean ESN iphone, got Blacklisted.

    I heard for "Mobile Phone and Device Unlocking FAQs" of 11 Feb 2015. And I started searching on ebay for a cheap iphone locked
    on carrier, but first of all "for a clean ESN iphone"
    So I founded one with tags: "iphone 5s, Clean ESN, Sprint (355$)".
    I used swappa.com to check IMEI, before I bought it(Oct 2014) and before I left the feedback to the seller( it was clear in both situation).
    I contacted Sprint support at Jan 2015, asked them for instructions to unlocking device, in that moment Sprint support asked me for IMEI.
    I gave it, after 2 min the answer was: it is blacklisted as lost/stolen iphone, we can't do it. I was shocked, I checked again to swappa.com
    was blacklisted, shocked for the second time. I contacted the seller and requested him to return back the item, and he told me that Sprint has added your IMEI in blacklist in the moment when they find out that you are not the original owner, so he didn't want to get back the item, the reason: "I gave you a Clean ESN, can't get Blacklisted, and it was my fault" this was the answer of the seller.( has past 45 days so I can't open a case to Resolution Center in both ebay&paypal)
    I contacted Sprint for houndred time, I gave them paypal transaction details, ebay item id, screenshots of invoice, conversation with seller everything,
    but nothing.
    I bought 415$( 355$+ 60$ VAT ) iphone, and now I have a blacklisted iphone.
    The iphone is activated for now, and I am outside USA, my questions:
    Does exists any clean service?
    If I do a restore will it be locked forever?
    Can I do an update of iOS?
    or what can't I do with it.

    Xhelson wrote:
    I heard "Mobile Phone and Device Unlocking FAQs" , 11 Feb 2015. And I started searching on ebay for a cheap iphone locked
    on carrier, but first of all "for a clean ESN iphone"
    So I founded one with tags: "iphone 5s, Clean ESN, Sprint (355$)".
    I used swappa.com to check IMEI, before I bought it(Oct 2014) and before I left the feedback to the seller( it was clear in both situation).
    I contacted Sprint support at Jan 2015, asked them for instructions to unlocking device, in that moment Sprint support asked me for IMEI.
    I gave it, after 2 min the answer was: it is blacklisted as lost/stolen iphone, we can't do it. I was shocked, I checked again to swappa.com
    was blacklisted, shocked for the second time. I contacted the seller and requested him to return back the item, and he told me that Sprint has added your IMEI in blacklist in the moment when they find out that you are not the original owner, so he didn't want to get back the item, the reason: "I gave you a Clean ESN, can't get Blacklisted, and it was my fault" this was the answer of the seller.( has past 45 days so I can't open a case to Resolution Center in both ebay&paypal)
    I contacted Sprint for houndred time, I gave them paypal transaction details, ebay item id, screenshots of invoice, conversation with seller everything,
    but nothing.
    I bought 415$( 355$+ 60$ VAT ) iphone, and now I have a blacklisted iphone.
    The iphone is activated for now, and I am outside USA, my questions:
    Does exists any clean service?
    If I do a restore will it be locked forever?
    Can I do an update of iOS?
    or what can't I do with it.
    You can contact eBay and file a complaint.

  • Reg !!! Sub-contract

    Hi all,
               In sub-contracting, when is receive the goods by using Mvt 101. Then the material provided to vendor (mvt type 541) is booked against Mvt 543.
                                   My query is against Mvt type 543 (material consume) only Material doc. is created or Accounting doc also created. If accounting doc created then what are the different account affected.
    Thanks in advance
    Regards
    Sanjay

    Hi,
    When you order for the FG material in the Subcon Po you need to mention the Components(BOM will be included with SFG, ROH, Packing material)
    When you do the GR following entry will happen in the system
    FG or SFG receipt from sub contractor
    Consumption of raw material(ROH) account   Dr 
    Inventory account – raw material(RoH)          Cr 
    Conversion charges                                     Dr
    GR/IR clearing                                            Cr
    FG Stock account  (FERT or FG)                 Dr
    Cost of goods manufactured                        Cr
    On invoice verification of subcontractor invoice
    Conversion charges clearing ac          Dr
    Vendor account                                Cr
    Hope this will help you.
    Regards
    John

  • Euro conversion is not happening in Excise invoice

    Dear SAP Gurus,
    When I am creating excise invoice for export order, the conversion maintained in OB08 for USD is happening in INR but the same is not happening for EURO. The EURO conversion is also maintained in OB08.
    When I am creating Sales order, the warning message is coming that 'Pricing/euro: Attention: Euro Customizing not maintained'.
    Kindly help me to sort out this problem.
    With Warm and Kind Regards
    BHIKSHAPATHI

    Hi
    go to transaction cose EWCF and select Confirm euro currency Customizing and  execute.
    hope this will solve ur problem.
    do revert
    regards
    chander

  • PDF Conversion in sap for invoice

    Hi ,
    Help required in PDF conversion .
    Im using  OTFSPOOLREQUESTPDF to create the invoice form VF31 to PDF individually  and attach to mail .
    My requirement is for a range of Invoices I need in a single PDF of all the Invoices after VF31 BDC .
    Should I use some other Function module ?
    Kindly help .
    Regards
    Severina

    Yes  Madhu .
    I want all Invoices in single PDF file after VF31.
    Im  running BDC for VF31
    Calling the spool request from tsp01 table for the delivery invoice number  then using
    call function 'CONVERT_OTFSPOOLJOB_2_PDF'
        exporting
          src_spoolid              = wa_tsp01-rqident
          no_dialog                = 'X'
          pdf_destination          = 'X'
          no_background            = sy-batch
        importing
          bin_file                 = pdf_xstring
        tables
          pdf                      = it_tline
        exceptions
          err_no_otf_spooljob      = 1
          err_no_spooljob          = 2
          err_no_permission        = 3
          err_conv_not_possible    = 4
          err_bad_dstdevice        = 5
          user_cancelled           = 6
          err_spoolerror           = 7
          err_temseerror           = 8
          err_btcjob_open_failed   = 9
          err_btcjob_submit_failed = 10
          err_btcjob_close_failed  = 11
          others                   = 12.
    After this Im attaching in in the mail.
    Regards
    Severina

  • Require api to perform Un-invoiced receipt conversion

    Can someone kindlly let me know the api used for Un-invoiced receipt conversion.
    Thanks....

    The below query takes a very long time to complete. Please could any experts advice me whats wrong in this? https://forums.oracle.com/forums/search.jspa?threadID=&q=Query+AND+Slow&objID=c3&dateRange=all&userID=&numResults=15&rankBy=10001
    https://forums.oracle.com/forums/search.jspa?threadID=&q=Query+AND+Performance&objID=c3&dateRange=all&userID=&numResults=15&rankBy=10001
    Thanks,
    Hussein

  • Conversion of legacy vendor invoice data.

    hi
        Could anyone tell how to develop conversion of legacy vendor invoices data to sap using lsmw tool using recording method? its very urgent. Pls give me in detail.Iam new to abap.thnx in advance.
    bye.

    Hi,
    I think the explanation is not so difficult:
    LFA1 key fields: MANDT (client), LIFNR (vendorID)
    LFB1 key fields: MANDT, LIFNR, BURKS (company code)
    LFM1 key fields: MANDT, LIFNR, EKORG (purchasing organisation)
    Relations:
    LFA1 - LFB1 > 1 : N
    LFA1 - LFM1 > 1 : N
    You always have to have a record for a vendorIDin LFA1, but you not always have to have a record for this vendorID in LFB1 and LFM1 if the vendor is not extended for any company code or any purchasing organisation.
    If the vendor is extended for a company a company code or purchasing organisation, it means you have a relevant record for the vendorID in LFB1 and LFM1.
    You have  more records (51 164) in LFB1 than in LFA1 (51 158) because one vendorID (only one record in LFA1) may be extended for several (more than one) company codes. Each extension of this vendorID for company code has a separate record in LFB1. (LFA1 > vendorA; LFB1 > vendorA-company code1 + vendorA-company code2)
    Less record in LFM1 means that you have such vendorIDs (records) in LFA1 that are not extended for any purchasing organisation.
    BR
    Csaba
    Edited by: Csaba Szommer on Jul 27, 2008 2:02 PM

  • PO conversion alongwith Receipts and Invoices

    Dear All
    What is the approach for the following case for conversion from one SOB to another SOB
    Purchase order created, PO receipt made (receive done, deliver pending), invoice created and matched with PO and Receipt (can be paid also)
    PO is open and should be converted, PO Receipt is also pending delivery and invoice is related to these two hence should also be migrated.
    Please advise on the approach and best practice
    Regards
    Emm

    I tried MBST to cancel the material document for the PO and it will not let me because the PO line is deleted.
    Any other thoughts?
    Thanks,
         Rick

  • R12 Oracle Payables Invoices and Payments conversion

    How are open AP invoices and payments converted from R11i to R12? Please suggest documents/notes on how this can be done and if there are any APIs to be used for the data conversion, please suggest those.
    Thanks

    If you are going to perform an upgrade from 11i to R12, pl check the upgrade guide at http://download.oracle.com/docs/cd/B40089_10/current/html/docset.html for steps necessary before performing the upgrade (along with the ML Doc noted above).
    If you are planning a re-implementation, you will need to extract the data from 11i and load it into R12 via open interface tables and APIs. APIs are documented in the "Integration Repository" responsibility in your R12 instance.
    HTH
    Srini

Maybe you are looking for

  • I can't get facebook to stop remembering my username and password.

    I've already cleared all of my history (pressed ctrl + shift + del and cleared everything, including active log-ins, site preferences, and cookies), I went on the security tab under options and tried deleting all saved passwords, and I've tried resta

  • Acrobat X - Read this Page Only not working

    Hello, I have Acrobat Pro X, and need to make accessible PDFs from InDesign. Before I upgraded to Acrobat X, I used to have Acrobat read the text to me to help check the reading order. But in Acrobat X, the "Read this page only" selection does not wo

  • Creating wap screens

    Has any one developed screens for mobile apps on apex? is there any apex related library or tools that help with mobile screens? or do you just build lots htp.p calls to blend them in?

  • ALE Idoc error: 29

    Hi experts, I am getting IDoc status 29 :  Error : EDI: Partner profile not active I have checked for partner in WE20 and observed that correct port and correct message type with partner name  has been correctly port  assigned . How to check other th

  • How can i run my java3D programme on the server?

    i am facing the problem: In my servlet programme, i created an object of an BranchGroup which looks like this: public class FirstServlet extends GenericServlet {      public void service(ServletRequest sres,ServletResponse srep) { BG bg = new BG(); i