Home » Applications » Oracle Fusion Apps & E-Business Suite » Invoice Query..!!
Invoice Query..!! [message #166007] Tue, 04 April 2006 00:41 Go to next message
deepayan
Messages: 51
Registered: December 2005
Member
I need a query that will output the invoice number,invoice date, supplier name,supplier site name,total amount & amount paid of a particular OU. please help...I am new to oracle apps.!!
Re: Invoice Query..!! [message #166010 is a reply to message #166007] Tue, 04 April 2006 00:51 Go to previous messageGo to next message
manwadkar
Messages: 104
Registered: September 2005
Location: Washington DC
Senior Member

I did not get "amount paid of a particular OU". What exactly do you need here?
Vasant
Re: Invoice Query..!! [message #166015 is a reply to message #166010] Tue, 04 April 2006 01:12 Go to previous messageGo to next message
deepayan
Messages: 51
Registered: December 2005
Member
Hi basant,
thanks for your prompt response.Instead of paying the whole amount ,we can pay an invoice partly. amount paid means the partially paid amount.OU means operating unit. I need all these informations of a particular OU. --deepayan
Re: Invoice Query..!! [message #166019 is a reply to message #166015] Tue, 04 April 2006 01:35 Go to previous messageGo to next message
manwadkar
Messages: 104
Registered: September 2005
Location: Washington DC
Senior Member

Got it. I will send you query soon. I am not Vasant not Basant.
Re: Invoice Query..!! [message #166032 is a reply to message #166019] Tue, 04 April 2006 02:43 Go to previous messageGo to next message
manwadkar
Messages: 104
Registered: September 2005
Location: Washington DC
Senior Member

You may need to modify this query. You can use this query as base for you.

select d.name OU, b.VENDOR_NAME, c.VENDOR_SITE_CODE, a.invoice_date, a.invoice_num , sum(a.invoice_amount) INV_AMOUNT,
sum(nvl(a.amount_paid,0)) AMOUNT_PAID
from ap_invoices_all a, po_vendors b, po_vendor_sites_all c , hr_all_organization_units d
where
a.VENDOR_ID = b.VENDOR_ID
and a.VENDOR_SITE_ID = c.VENDOR_SITE_ID
and a.ORG_ID = d.ORGANIZATION_ID
group by d.name, b.VENDOR_NAME, c.VENDOR_SITE_CODE, a.invoice_date, a.invoice_num
Re: Invoice Query..!! [message #166065 is a reply to message #166032] Tue, 04 April 2006 05:55 Go to previous messageGo to next message
deepayan
Messages: 51
Registered: December 2005
Member
Hi Vasant,
thanks a lot for your immidiate help.I hv changed the query according to my need.thanks once again --deepayan
Re: Invoice Query..!! [message #170890 is a reply to message #166065] Fri, 05 May 2006 16:23 Go to previous message
sanjayapps
Messages: 49
Registered: May 2005
Location: Richmond
Member

Could you pls. paste the modified query over here. This would be of a great help to all, if you don't mind commented.

[Updated on: Fri, 05 May 2006 16:24]

Report message to a moderator

Previous Topic: AR MRC
Next Topic: can a dependent flex field be dependent on another dependent flex field?
Goto Forum:
  


Current Time: Mon Dec 23 14:24:29 CST 2024