Procurement - EBS (MOSC)

MOSC Banner

SQL Script to find Contract Purchase Agreement Number R11i

edited Aug 3, 2016 12:19AM in Procurement - EBS (MOSC) 1 commentAnswered

I have written the following script to link ap invoices to po's and want to get the contract purchase agreement number we use in Oracle. I can get the contract_id but the contract_num from po lines is blank (yet when I log into Oracle I can see the cpa number).

My sql script is below. Can someone help me get the contract number ie G.CONTRACT_NUM in script below ?

select d.segment1 as vendor_num
    ,d.vendor_name as vendor
    ,c.invoice_num
    ,c.invoice_type_lookup_code as type  
    ,c.DESCRIPTION as invoice_desc
    ,c.invoice_date as invoice_dt    

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