Projects - EBS (MOSC)

MOSC Banner

NEED TO GET AP INVOICE AND CORRESPONDING PO NUMBER FOR EXPENDITURE

edited Apr 17, 2011 3:11AM in Projects - EBS (MOSC) 3 commentsAnswered
Hello,

I have need to get all the expenditure items in PA.  If they were created as a result of AP Invoice then we need the Invoice Number and if the AP invoice matched to a PO then we also need the PO number.

Given below is the query with which we started need to know how to JOIN to AP distributions to get to the PO.

Select ain.invoice_num
-- NEED PO NUMBER ALSO
From  po_vendor_sites   pvs
         ,ap_invoices     ain
         ,pa_expenditure_items pei
         ,pa_expenditures  pe
where pei.expenditure_id        = pe.expenditure_id
   and pei.transaction_source  =  'AP INVOICE'

Howdy, Stranger!

Log In

To view full details, sign in to My Oracle Support Community.

Register

Don't have a My Oracle Support Community account? Click here to get started.

Category Leaderboard

Top contributors this month

New to My Oracle Support Community? Visit our Welcome Center

MOSC Help Center