Payables and Cash Management - EBS (MOSC)

MOSC Banner

SQL Query to Identify all records related to an invoice in IBY_PAYMENTS_ALL

edited Feb 21, 2023 2:37PM in Payables and Cash Management - EBS (MOSC) 6 commentsAnswered

I have this query to identify iby_payments_all for an invoice. However, I see that many payment_ids in iby_payments_all are not in ap_checks_all. So, those will not come in my query for an invoice. I need to identify all invoice_ids related to a set of iby_payments_all records. Please provide me with query or query unions so I can query all iby_payments_all records related to an invoice.

SELECT ac.check_id, ip.*

FROM apps.iby_payments_all ip, 

apps.ap_checks_all ac,

apps.ap_invoice_payments_all ap,

apps.ap_invoices_all ai

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