Match A/P invoices to G/L journal lines

A user requested a change to a query called posting actual journal entries which uses the following three Oracle G/L base tables: gl_je_batches, gl_je_headers, and gl_je_lines. The user asked for related document information such as the purchase order number which I was able to find by picking up the po_header_id in the reference_1 column of gl_je_lines. The user then asked for the invoice number and check number related to the purchase order. I discovered that the po_distribution_id is stored in reference_3 of the gl_je_lines table so I used it to pick up invoices and checks through the ap_invoice_distributions_all table. The user wants the invoice tied to a specific line in the gl_je_lines table but I do not have enough information to provide this much detail. The reference_3 column holds the po_distribution_id even for reversals and other transactions. I assume Oracle’s shot gun approach to associating invoices with gl_je_lines rows arises from the way we specified options when installing Oracle Financials. For instance we have three-way matching of purchase orders, receipts, and invoices enabled.
My question has to do with three columns in gl_je_lines named invoice_identifier, invoice_date, and invoice_amount. These columns are all null for our data. When do invoice_identifier, invoice_date, and invoice_amount get populated with data? Are they legacy columns or are they populated when certain options are enabled? With the setup we have now is there an exact way for me to associate the invoice number I find through the po_distribution_id to the correct lines in gl_je_lines?
Thank you, Ned

The 3 mentioned columns are used if you use the DFF "Enter Journals: Value Added Tax"

Similar Messages

  • Modify Journal line description by SLA

    Hi,
    I modified the journal line description in AP by SLA, change the journal line description from invoice distribution description to invoice number+supplier name+invoice distribution description(default setup is invoice distribution description will be brought to journal line description), but I found if i write the description in invoice header, the system will add the invoice header description in the journal line description automatic, and I did not find any place where i can change it, the same thing is happened when i modify the ar receipts description, so could you have some experience about this, please kindly share it, thanks.
    Best Regards
    Spark

    Hi Vamsi,
    Yes, the header description will be added to lines and distribution lines description although I have modified the journal entry lines description in SLA, but when I checked accounting information in SLA in AP events, the description is correct, but after I transfer the journal to GL, the journal lines description will added the invoice header description in journal line description, so I think is there have setup where I can modify this? Thanks.
    Best Regards
    Spark

  • SQL Query to find Receipt No.s which are not matched to AP Invoices

    Hi
    Please help me to frame a query to find list of Receipt No.s which are not matched with AP Invoices.
    Please refer to the below query .
    SELECT
    poh.segment1 "PO No.",
    aps.vendor_name "Supplier Name",
    pol.item_description "Item Description",
    rcvh.receipt_num "GRV No.s",
    rcvl.quantity_received "Quantity",
    pol.unit_price "Rate/Unit",
    rcvtl.tax_name||' - '||initcap(rcvtl.tax_type) "Tax",
    (rcvl.quantity_received * pol.unit_price) + nvl(rcvtl.tax_amount,0) "Amount"
    FROM
    po_headers_all poh,
    po_lines_all pol,
    po_distributions_all pod,
    ap_suppliers aps,
    rcv_shipment_headers rcvh,
    rcv_shipment_lines rcvl,
    rcv_transactions rcvt,
    jai_rcv_line_taxes rcvtl
    WHERE
    poh.po_header_id = pol.po_header_id
    AND poh.po_header_id = pod.po_header_id
    AND pol.po_line_id = pod.po_line_id
    AND aps.vendor_id = poh.vendor_id
    AND aps.vendor_id = rcvh.vendor_id
    AND rcvh.shipment_header_id = rcvl.shipment_header_id
    AND poh.po_header_id = rcvl.po_header_id
    AND pol.po_line_id = rcvl.po_line_id
    AND rcvh.shipment_header_id = rcvt.shipment_header_id
    AND rcvl.shipment_line_id = rcvt.shipment_line_id
    AND poh.po_header_id = rcvt.po_header_id
    AND pol.po_line_id = rcvt.po_line_id
    AND aps.vendor_id = rcvt.vendor_id
    AND rcvh.shipment_header_id = rcvtl.shipment_header_id
    AND rcvl.shipment_line_id = rcvtl.shipment_line_id
    AND rcvt.transaction_id = rcvtl.transaction_id
    AND aps.vendor_id = rcvtl.vendor_id
    AND rcvt.transaction_type = 'RECEIVE'
    AND poh.authorization_status = 'APPROVED'
    AND poh.segment1 = '210001079'
    I have'nt included the Invoice Tables in the above query.
    Please help me in that area.
    This is bit urgent.
    Please help me.
    Regards
    Nakul Venkatraman

    I am using ORACLE 11gR2 If you're licensed for Diangnostics pack then you might want to look at the AWR tables, e.g. DBA_HIST_SQLSTAT and cross-reference with DBA_HIST_SNAPSHOT.
    By this will i get the top 5 consumed queries of DEV user in the whole session or its just the top 5 queries at that particular time. The "executions" columns in this query, does it mean that the no. of. times the query has executed... This will get you a random 5 queries that were first parsed by DEV. Depending on your application code/structure, it may well be that all code (except for system-recursive sql) executed by DEV is parsed by DEV, and all code parsed by DEV is executed by DEV but this isn't true for all.
    In terms of top N queries, you need to ORDER BY and then restrict by ROWNUM at an outer level to the ROWNUM otherwise the ROWNUM filter is applied before the ORDER BY.
    i.e.
    SELECT *
    FROM
    (SELECT ...
    FROM ...
    WHERE
    ORDER BY...)
    WHERE ROWNUM <= ....
    The "executions" columns in this query, does it mean that the no. of. times the query has executedYes.
    http://download.oracle.com/docs/cd/E11882_01/server.112/e25513/dynviews_3064.htm#REFRN30259
    Edited by: Dom Brooks on Oct 24, 2011 9:45 AM

  • Which table find the matching options of invoice level in ap in oracle apps

    hi
    which table find the matching options of invoice level in ap in oracle apps
    thnks

    Hi,
    Have a look at the following note:
    Note: 190156.1 - AP: Which Tables Are Populated When Invoices Are Matched To A PO?
    https://metalink2.oracle.com/metalink/plsql/ml2_documents.showDocument?p_database_id=NOT&p_id=190156.1
    Refer to [eTRM |http://etrm.oracle.com] for more details about the tables.
    Regards,
    Hussein

  • How to maintain a check for 3 way match(PO, GR, Invoice) in SRM

    How to maintain/configure a check for 3 way match(PO, GR, Invoice) in SRM

    Hi Sam,
    Please use a Limit cart and select the radiobutton "Confirmation and Invoice" which will need a GR/Confirmation before Invoice on a PO.
    Please reward points if the hint is helpful.
    Thanks & Regards,
    Venkat

  • Import Standard Purchase Orders and matching to the invoice

    Hi Experts,
    Can we import standard purchase orders into oracle from 3rd party systems.
    And also there's a requirement to match the relevant invoice in AP to the purchase Order automatically when the PO is transferred.
    We are on 11.5.10.2
    Regards,
    Migara
    Edited by: user11337190 on May 13, 2010 1:52 AM

    Ensure you pass every  parameter for the request. As far as a know it has 16 parameters.
      fnd_request.submit_request (application 
    => 'PO',
    PROGRAM     
    => 'POXPOPDOI',
    argument1   
    =>  <Default Buyer>,
    argument2   
    =>  <Document Type>,
    argument3   
    =>  <Document SubType>,
    argument4   
    =>  <Create or Update Items>,
    argument5   
    =>  <Create Sourcing Rules>,
    argument6   
    =>  <Approval Status>,
    argument7   
    =>  <Release Generation Method>,
    argument8   
    =>  <Batch Id>,
    argument9   
    =>  <Operating Unit>,
    argument10  
    =>  <Global Agreement>,
    argument11  
    =>  <Enable Sourcing Level>,
    argument12  
    =>  <Sourcing Level>,
    argument13  
    =>  <Inv Org Enable>,
    argument14  
    =>  <Inventory Organization>,
    argument15  
    =>  <Batch Size>,
    argument16  
    =>  <Gather Stats>
    Regards, Andrei

  • GL journal line for AR Credit Memo application to invoices

    Hi all,
    We upgraded to R12 (12.0.4) in January-09. Unfortunately we've had various issues with AR that we've been working through with Oracle Support. One of the issues has been the accounting for credit memo applications to invoices not being transferred to GL by the Create Accounting program. Previously in 11i all credit memo application to invoices were transferred to GL. So basically you would have a journal for the invoice, the credit memo and the credit memo application itself. The credit memo application was transferred to GL automatically via the Transfer to GL program and had a journal category of 'Credit memo applications'. There seems to be no comparable journal being created for this in R12.
    Does anyone know if the Credit Memo Applications should still generate a journal line in GL? Have any customers reported this as being an issue in R12?
    Thanking everyone in anticipation.
    Rgds
    Shankar

    Hi Anil,
    Thanks for the response. When an invoice has the exact same distribution accounting as a credit memo then your scenario is valid. I think that scenario occurs when you create an RMA for a particular sales order for example. The RMA would then reverse the exact accounting of the original sales invoice.
    However a manual credit memo in AR can be applied to any valid invoice for that customer (from any point in time). At a point in time the auto accounting rules may have been different causing the generated account string to be different for the same customer. We regularly have cases where a credit memo for a customer applied to an older invoice for that same customer has different distribution accounts. The credit memo application journal actually adjusts this so that the accounting in GL will be correct.
    ie
    Invoice from 01-Jan-2008
    DR Receivables Account 130000 -> $1000
    CR Revenue Account 400000 -> $1000
    Now if you create a manual credit for the item in full today, the entry of the Credit memo might look like this
    DR Revenue Account 400000 -> $1000
    CR Receivables Account 120000 -> $1000
    Credit memo application to apply the credit memo to the original invoice:
    CR account 130000 $1000
    DR account 120000 $1000
    Now this functionality was standard functionality in 11i because I guess the designers realised if there was no "correction" journal then your GL would be imbalanced at an account level.
    Rgds
    Shankar

  • AP Payment header description not transferring to GL Journal Lines

    Hi
    Any one tell me how can i transfer AP Payment header description to GL Journal Lines like invoice distributions description transfer to GL Journal lines...

    Hi,
    Are you working with 11i or R12?
    If you are working with R12 you must use SLA
    http://docs.oracle.com/cd/E18727_01/doc.121/e13628.pdf
    Journal Lines Definitions, page 2-79

  • Unable to edit unposted journal lines

    Hi All,
    I am facing an issue when transferring and editing some costs from Projects to GL.
    Here are the steps:
    1/ I created some expenditure items in Projects.
    2/ I then executed concurrent programs PRC:Distribute Labor Costs, PRC:Generate Cost Accounting events and PRC:Create Accounting (Final) - transferred to GL (but not posted yet).
    3/ Switched to GL responsibility and reviewed the journal only to find it is locked for editing.
    I was able to create an invoice in AP, transfer to GL and then edit the unposted journal line.
    However I am not able to do this with projects (labor cost).
    Any idea what I could be missing or doing wrong?
    Appreciate any help from you on this matter.
    Thanks,

    Hello.
    Navigate to Setup/Journal/Sources and check if that the source in question is frozen.
    Octavio

  • SLA - Creating Journal lines based on conditions

    Hello all,
    We are trying to use Subledger Accounting to create a tax distribution. The difficulty we have is we need to be able to evaluate the second segment of the cost code to see if it should have a tax journal line created. So, for each invoice distribution as an example, we need to evaluate if tax has to be calculated. This is a y/n flexfield value setting in GL.
    Any ideas would be most appreciated.
    Thanks

    IMO you are doing it wrong and not really OO
    Also please use Standard Java Coding Conventions ( and try use correct spelling)
    You should declare a Game class, a House class a classGroup class and a Student class
    To create the matchups you then can pick student from each classGroup.

  • Report invoice document number againt PO line item

    Hi Forums,
    Can any body so kind to tell me is there any standard report in SAP 4.7 C where we can get the list of invoice document number against each line item of PO.
    I have tried the ME2N & ME2L report. If I double click the POH then only it give me the invoice document report. But i want a report where I get invoice document no against each line item wise in PO.
    Thanks in advance.
    Regards,
    sp sahu

    Hi sp sahu,
    I am sorry, but I am not aware of any report which might suit your requirements, this is the reason why I addressed you to the table EKBE. You might build your own report out of this table.
    Sorry!
    Esther.

  • Cancel down payment Invoice and accounting document without lines item

    Dear masters,
    I have a problem with down payment invoice cancel. As you know when doing invoice down payment request, after release to accounting, the accounting doc will have special G/L indicator is F (noted item). And when I cancel this billing down payment and after release to accounting, the accounting doc of cancel invoice will not have any lines item. Now I want to have lines item for cancel down payment, how can I do that? I really appreciate your support!
    Regards,
    Nguyen Pham.

    Dear Nguyen,
    As i understand your process you created Downpayment Request from SD.
    Then created Downpayment with reference to that request.
    Then you generated Billing invoice and released to accounts.
    After that you cleared the downpayment with the Billing document.
    Now you want to cancel all this.
    First cancel the downpayment by FBRA reset and reverse.
    Then cancel the billing document.

  • Journal Line Description not displayed

    Hi,
    I ran create accounting for Inventory ( cost management ) and inported the journals to GL. But we cannot see the journal line description.Instead only the Journal Import Created can be seen.
    I found a note saying to change the following
    Accounting Setup manager > Subledger Accounting Options > Cost Management > Update Accounting Options >General Ledger Journal Entry Summarization to No Summarization .
    This works well for AP, but not for Inventory.
    Please can someone explain this situations.
    Thanks and Regards,
    MPH

    Setting Journal Entry Summarization to No Summarization alone can't give the description in GL.
    Along with above, in the Journal Line Definition screen, you may need to add Journal Line Descriptions at Journal Line Type level.
    More details on SLA Implementation Guide.
    Accounting Methods Builder -> Journal Lines Definitions -> To Define Journal Lines Definitions
    By
    Vamsi

  • Difference between a Journal header and a journal line

    Hi,
    Can anyone please explain the difference between a Journal header and a journal line ? Can we have different journal headers for the same journal import process?
    Thanks and regards,

    Not sure if I know what you mean, but...
    You can organise your journals by using journal headers. A batch can contain many Headers. Like this:
    Batch No 1
    - Journal Header 1
       - Line 1       Deb: 200$
       - Line 2                      Cre: 100$
       - Line 3                      Cre: 100$
    - Journal Header 2
       - Line 1       Deb: 100$
       - Line 2                      Cre: 100$When you run Journal Import, you run for a specific source. So Yes you can have different journal headers for the same import process (if you mean import from GL Interface).
    Does this clearify?
    Botzy

  • Difference between Journal batch,journal header and journal line

    Hi,
    Can someone explain what the difference between Journal batch, Journal header and journal line are?
    Can we post only one batch at a time?

    Hi,
    Journal Batch means it contains batch name, description, status, running total debits and credits, and other information.
    Journal Headers means it contains batch ID, the journal entry name
    and description, and other information about the journal entry.
    Journal Lines means it contains journal entry header ID, the line number, the associated code combination ID, and the debits or credits associated with the journal line.
    So here is the replationships.
    Batch--- 1 to many -- Headers
    Headers -- 1 to many -- Lines.
    --Basava.S                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                           

Maybe you are looking for

  • Itunes can't read songs to sync. Every few songs Itunes stops the sync because it can't read the song.

    When I sync my ipad or iphone, Itunes will start syncing but after every few songs it syncs, itunes interupts the sync with a message saying it can't read the song. I can go to that song in my list of music and play it in itunes but itunes can't read

  • Java stored procedure deployment : resolution problem

    Hi, I am trying to upload a Java class (to be able to send mail with attached files). At deployment, I have many errors of this type : errors : class javax/xml/transform/sax/SAXTransformerFactory ORA-29521: referenced name org/xml/sax/XMLFilter could

  • Messeging system in process chain!

    Hi, can any one here tell me in which of the process blocks one needs to include the Messege ( notifying via email if data upload is failed )! For transactional data, i had put it in the delete index process ( before uploading transactional infopacka

  • Suite CS3

    I've been attempting to install the Adobe Suite CS3 on my Mac OS X Tiger 10.4.11. It installs fine. Any time I try and run Illustrator, it gives me an error message that says "Missing BPS Pencil Tool" and then it crashes. I have searched multiple for

  • How do I deselect a color tag?

    I don't see an option to have no color on a file.