SQL Query to fetch AP Invoice Rejections-Oracle ERP Cloud
top of page

Tags

Archive

SQL Query to fetch AP Invoice Rejections-Oracle ERP Cloud

Updated: Jul 26, 2020


SELECT i.LOAD_REQUEST_ID,
i.INVOICE_ID,
i.INVOICE_NUM,
i.INVOICE_DATE,
i.STATUS,
i.SOURCE,
i.REQUEST_ID,
r.LOAD_REQUEST_ID r_LOAD_REQUEST_ID,
r.PARENT_TABLE,
r.PARENT_ID,
r.REJECT_LOOKUP_CODE,
i.INVOICE_AMOUNT
FROM ap_interface_rejections r,
               ap_invoices_interface i, ap_invoice_lines_interface c
WHERE ( r.parent_id     = c.invoice_line_id
or r.parent_id     = i.invoice_id)
and c.invoice_id = i.invoice_id
AND r.load_request_id = i.load_request_id
AND i.status = 'REJECTED'

Hope this Helps!

2,714 views0 comments

Recent Posts

See All

Business units Query-Oracle Fusion

The below Query will be handy while fetching Business unit name in r13 instance. SELECT FUBU.BU_NAME, FUBU.SHORT_CODE, FUBU.STATUS, FUBU.MODULE_NAME, FUBU.CONFIGURATION_STATUS, TO_CHAR(HOU.DATE_FROM,

Other Posts you may Interested 

bottom of page