Free Fusion SQLAccounts PayableRead-only

AP invoices currently on hold

Open invoices that cannot be paid because at least one hold is active. Use to chase up exception clearance during close.

Tables used

ap_holds_all ap_invoices_all poz_suppliers_v

Bind parameters

None — the statement runs as written; edit the literals in the WHERE clause to narrow it.

How to run it

Paste it into a BI Publisher data model as a SQL data set, or into QueryWell's Query Studio and run it against your pod with a reporting account. Results come back to a grid you can profile, chart and export with a SHA-256 hash.

SQLdba-ap-invoices-on-hold
SELECT
  i.invoice_id,
  i.invoice_num,
  i.invoice_date,
  i.invoice_amount,
  i.invoice_currency_code,
  s.vendor_name          AS supplier_name,
  h.hold_reason,
  h.hold_lookup_code,
  h.release_lookup_code,
  h.created_by,
  h.creation_date        AS hold_created
FROM   ap_holds_all          h
JOIN   ap_invoices_all       i ON i.invoice_id = h.invoice_id
JOIN   poz_suppliers_v       s ON s.vendor_id  = i.vendor_id
WHERE  h.release_lookup_code IS NULL
ORDER  BY h.creation_date DESC

A single read-only SELECT against Oracle Fusion Cloud's supported reporting surface. Column names and views can differ by release and by the roles your reporting account holds, so validate the result against a report you already trust before relying on it.

apinvoicesholds

Related

More Accounts Payable queries

Run it without the template cycle

QueryWell runs this and 81 other curated scripts against your own Fusion pod from one signed desktop app — grid, charts, profiling and hashed exports included. Perpetual licence, 14-day trial.