Results for “amount_ordered”

4 results




AI-generated from documented ETRM metadata — verify critical details on the linked pages.

Overview

AP_MATCH_CORRECTION_DISTS_V is an Oracle E-Business Suite Payables (AP) view owned by the APPS schema. It is a correction-oriented distribution view that joins invoice distribution data from AP_INVOICE_DISTRIBUTIONS_ALL with the corresponding purchase order distribution data from PO_DISTRIBUTIONS_ALL, along with supporting invoice line, project, task, and HR organization attributes. Its name and construction identify it as the view used by Payables matching and match-correction logic to reconcile invoiced quantities and amounts against the ordered, delivered, billed, and cancelled quantities recorded on the purchasing side.

Within Oracle EBS 12.1.1 and 12.2.2, the view does not store data; it projects a curated, denormalized row set that the match-correction form and related concurrent programs consume. It exposes the APPS.AP_INVOICE_DISTRIBUTIONS_ALL and APPS.AP_INVOICE_LINES_ALL columns alongside the PO distribution columns needed to evaluate a match, and it resolves organizational and project context through HR and PA constructs. Because it surfaces AMOUNT_CANCELLED directly, it is one of the objects referenced by users and reports investigating cancellation balances on PO-matched invoice distributions.

Underlying Base Objects

The view is defined over the following documented base objects:

Rows are keyed primarily on the invoice distribution, with the PO distribution matched through the associated purchasing linkage, so the view presents one row per invoice distribution with its corresponding procurement distribution data attached.

Key Columns

Common Use Cases and Queries

Typical uses include diagnosing match exceptions, auditing cancelled quantities on PO-matched distributions, and supporting reporting that needs distribution-level PO and AP amounts in one row. A representative query listing cancelled amounts by invoice is:

  • SELECT invoice_id, invoice_line_number, invoice_distribution_id, amount_ordered, amount_delivered, amount_billed, amount_cancelled FROM apps.ap_match_correction_dists_v WHERE amount_cancelled > 0;
  • SELECT invoice_distribution_id, dist_qty_invoiced, amount_billed, amount_cancelled, expenditure_organization FROM apps.ap_match_correction_dists_v WHERE invoice_id = :invoice_id;
  • SELECT code_combination_id, SUM(amount_cancelled) FROM apps.ap_match_correction_dists_v GROUP BY code_combination_id;

Because the view embeds HR security and profile logic, queries executed outside the standard APPS context may return filtered rows; report authors should therefore run such queries as a user with the appropriate Payables and organization security responsibilities.