Results for “amount_ordered”
42 results
AI-generated from documented ETRM metadata — verify critical details on the linked pages.
Overview
PO_DISTRIBUTION_ARCHIVE_XML is a PL/SQL view owned by the APPS schema within the Oracle Purchasing (PO) module. It exposes the distribution-level accounting and receiving attributes of archived purchase order distributions in an XML-friendly, string-formatted shape. It is one of a family of "_ARCHIVE_XML" views that Oracle E-Business Suite provides to serialize archived transactional data (headers, lines, shipments, and distributions) for electronic communication, XML document generation, and outbound messaging through the PO Communication infrastructure. In release 12.1.1 and 12.2.2 the view remains VALID and is queried primarily by Oracle Purchasing's document publishing and archival retrieval programs rather than by end users directly.
The view does not store data itself; it is a projection over the archived distribution table and it converts numeric and date columns into character strings so that the payload can be embedded directly into an XML message without additional transformation logic.
Underlying Base Objects
The documented ETRM metadata lists the following objects referenced by the view definition:
- PO_DISTRIBUTIONS_ARCHIVE_ALL (SYNONYM) — the principal base table supplying all distribution rows, aliased as PD in the view text.
- PO_COMMUNICATION_PVT (PACKAGE) — provides the GETFORMATMASK function used to format numeric amount, rate, and encumbrance columns according to the operating unit's currency and precision settings.
- PO_COMMUNICATION_GT (SYNONYM) — supporting global temporary structure in the communication flow.
- GL_CODE_COMBINATIONS_KFV (VIEW) — key flexfield concatenated description view, providing the charge account display value.
- HR_LOOKUPS (VIEW) and HR_API (PACKAGE) — supply lookup meaning resolution.
- PER_ALL_PEOPLE_F (SYNONYM) — resolves deliver-to person details.
The essential relationship is one-to-one with PO_DISTRIBUTIONS_ARCHIVE_ALL: every qualifying archived distribution produces exactly one row with the same PO_DISTRIBUTION_ID.
Key Columns
The view exposes the full distribution identity and accounting surface. Important columns include:
- PO_DISTRIBUTION_ID, PO_HEADER_ID, PO_LINE_ID, LINE_LOCATION_ID, PO_RELEASE_ID — the document hierarchy keys.
- CODE_COMBINATION_ID and the gl_code_combinations_kfv charge account — the accounting flexfield reference that drives general ledger posting.
- SET_OF_BOOKS_ID, BUDGET_ACCOUNT_ID, ACCRUAL_ACCOUNT_ID, VARIANCE_ACCOUNT_ID — accounting context references.
- QUANTITY_ORDERED, QUANTITY_DELIVERED, QUANTITY_BILLED, QUANTITY_CANCELLED — the receiving and matching quantities.
- AMOUNT_BILLED, ENCUMBERED_AMOUNT, UNENCUMBERED_AMOUNT, RATE — formatted as character strings via PO_COMMUNICATION_PVT.GETFORMATMASK.
- ACCRUED_FLAG, ENCUMBERED_FLAG, FAILED_FUNDS_LOOKUP_CODE, GL_ENCUMBERED_DATE, GL_ENCUMBERED_PERIOD_NAME, GL_CANCELLED_DATE — funds control status.
- DESTINATION_TYPE_CODE, DESTINATION_ORGANIZATION_ID, DESTINATION_SUBINVENTORY, DESTINATION_CONTEXT — destination detail for inventory and expense routing.
- WIP_ENTITY_ID, WIP_OPERATION_SEQ_NUM, WIP_RESOURCE_SEQ_NUM, BOM_RESOURCE_ID — work-in-process and bill-of-material references.
- ATTRIBUTE1 through ATTRIBUTE15, DISTRIBUTION_NUM, REVISION_NUM — descriptive flexfield and sequencing columns.
- CREATION_DATE and LAST_UPDATE_DATE — rendered as 'DD-MON-YYYY HH24:MI:SS' strings.
Common Use Cases and Queries
Because the view returns character-formatted values, the most frequent requirement is reconstruction of the charge account for an archived distribution. The following query retrieves the distribution and its charge account for a given purchase order:
SELECT PD.PO_DISTRIBUTION_ID, PD.PO_HEADER_ID, PD.PO_LINE_ID, PD.QUANTITY_ORDERED, PD.AMOUNT_BILLED, PD.ENCUMBERED_AMOUNT, C.CONCATENATED_SEGMENTS CHARGE_ACCOUNT FROM APPS.PO_DISTRIBUTION_ARCHIVE_XML PD, APPS.GL_CODE_COMBINATIONS_KFV C WHERE PD.CODE_COMBINATION_ID = C.CODE_COMBINATION_ID AND PD.PO_HEADER_ID = :P_HEADER_ID ORDER BY PD.DISTRIBUTION_NUM;
Other practical scenarios include auditing funds status for archived documents (filtering on ENCUMBERED_FLAG or FAILED_FUNDS_LOOKUP_CODE), reconciling billed versus delivered quantities across an archived release, and extracting accounting distributions for interface into external reporting or data warehouse layers.
Because all amounts are returned as strings, any arithmetic comparison should apply TO_NUMBER explicitly, and date filters should convert the character dates back using TO_DATE with the 'DD-MON-YYYY HH24:MI:SS' mask. The view is read-only; updates must be directed to PO_DISTRIBUTIONS_ARCHIVE_ALL.
-
APPS.PO_DISTRIBUTION_ARCHIVE_XML·↳ GL_CODE_COMBINATIONS_KFV·↳ HR_API·↳ HR_LOOKUPS·Explore PO module →
-
View: PO_DISTRIBUTIONS_V 12.1.1
10SC ONLY
APPS.PO_DISTRIBUTIONS_V·↳ HR_ALL_ORGANIZATION_UNITS_TL·↳ PO_DISTRIBUTIONS·↳ PO_DISTRIBUTIONS_ALL·Explore PO module →
-
APPS.PO_DISTRIBUTION_ARCHIVE_XML·↳ GL_CODE_COMBINATIONS_KFV·↳ PER_ALL_PEOPLE_F·↳ PO_COMMUNICATION_GT·Explore PO module →
-
- Retrofitted
APPS.POBV_STD_PO_DISTRIBUTIONS·↳ HR_ALL_ORGANIZATION_UNITS·↳ PO_DISTRIBUTIONS_ALL·↳ PO_HEADERS_ALL·Explore PO module →
-
- Retrofitted
APPS.POBV_BKT_PO_DISTRIBUTIONS·↳ HR_ALL_ORGANIZATION_UNITS·↳ PO_DISTRIBUTIONS_ALL·↳ PO_HEADERS_ALL·Explore PO module →
-
For Internal Use Only: This table is global temporary table based on po_distributions_all table. It is used for internal processing of data for PO Approval Submission Checks.
-
View: PO_DISTRIBUTIONS_V 12.2.2
10SC ONLY
APPS.PO_DISTRIBUTIONS_V·↳ HR_ALL_ORGANIZATION_UNITS_TL·↳ PO_DISTRIBUTIONS·↳ PO_DISTRIBUTIONS_ALL·Explore PO module →
-
View: PO_DISTRIBUTION_XML 12.2.2
APPS.PO_DISTRIBUTION_XML·↳ GL_CODE_COMBINATIONS_KFV·↳ HR_API·↳ HR_LOOKUPS·Explore PO module →
-
- Retrofitted
APPS.POFV_STD_PO_DISTRIBUTIONS·↳ BOM_RESOURCES·↳ GL_CODE_COMBINATIONS·↳ GL_SETS_OF_BOOKS·Explore PO module →
-
View: POFV_PO_DISTRIBUTIONS 12.2.2
- Retrofitted
APPS.POFV_PO_DISTRIBUTIONS·↳ BOM_RESOURCES·↳ GL_CODE_COMBINATIONS·↳ GL_SETS_OF_BOOKS·Explore PO module →
-
View: PO_DISTRIBUTION_XML 12.1.1
APPS.PO_DISTRIBUTION_XML·↳ GL_CODE_COMBINATIONS_KFV·↳ PER_ALL_PEOPLE_F·↳ PO_COMMUNICATION_GT·Explore PO module →
-
Archived distributions
-
View: POFV_PO_DISTRIBUTIONS 12.1.1
- Retrofitted
APPS.POFV_PO_DISTRIBUTIONS·↳ BOM_RESOURCES·↳ GL_CODE_COMBINATIONS·↳ GL_SETS_OF_BOOKS·Explore PO module →
-
- Retrofitted
APPS.POFV_BKT_PO_DISTRIBUTIONS·↳ BOM_RESOURCES·↳ GL_CODE_COMBINATIONS·↳ GL_SETS_OF_BOOKS·Explore PO module →
-
- Retrofitted
APPS.POBV_STD_PO_DISTRIBUTIONS·↳ HR_ALL_ORGANIZATION_UNITS·↳ PO_DISTRIBUTIONS_ALL·↳ PO_HEADERS_ALL·Explore PO module →
-
View: POBV_PO_DISTRIBUTIONS 12.2.2
- Retrofitted
APPS.POBV_PO_DISTRIBUTIONS·↳ HR_ALL_ORGANIZATION_UNITS·↳ PO_DISTRIBUTIONS_ALL·↳ PO_HEADERS_ALL·Explore PO module →
-
View: PO_DISTRIBUTIONS_INQ_V 12.2.2
- Retrofitted
APPS.PO_DISTRIBUTIONS_INQ_V·↳ PO_DISTRIBUTIONS_ALL·↳ PO_DOCUMENT_TYPES_ALL_B·↳ PO_DOCUMENT_TYPES_ALL_TL·Explore PO module →
-
For Internal Use Only
-
For Internal Use Only: This table is global temporary table based on po_distributions_all table. It is used for internal processing of data for PO Approval Submission Checks.
-
Archived distributions
-
Purchase order distributions draft
-
View: POBV_PO_DISTRIBUTIONS 12.1.1
- Retrofitted
APPS.POBV_PO_DISTRIBUTIONS·↳ HR_ALL_ORGANIZATION_UNITS·↳ PO_DISTRIBUTIONS_ALL·↳ PO_HEADERS_ALL·Explore PO module →
-
- Retrofitted
APPS.POBV_BKT_PO_DISTRIBUTIONS·↳ HR_ALL_ORGANIZATION_UNITS·↳ PO_DISTRIBUTIONS_ALL·↳ PO_HEADERS_ALL·Explore PO module →
-
- Retrofitted
APPS.POFV_BKT_PO_DISTRIBUTIONS·↳ BOM_RESOURCES·↳ GL_CODE_COMBINATIONS·↳ GL_SETS_OF_BOOKS·Explore PO module →
-
View: PO_DISTRIBUTIONS_AP_V 12.2.2
Purchase order distributions
APPS.PO_DISTRIBUTIONS_AP_V·↳ PO_DISTRIBUTIONS·Explore PO module →
-
View: PO_DISTRIBUTIONS_AP_V 12.1.1
Purchase order distributions
APPS.PO_DISTRIBUTIONS_AP_V·↳ PO_DISTRIBUTIONS·Explore PO module →
-
The merged view using PO_DISTRIBUTIONS_ALL table and PO_DISTRIBUTIONS_DRAFT_ALL tables.
APPS.PO_DISTRIBUTIONS_MERGE_V·↳ PO_DISTRIBUTIONS_ALL·↳ PO_DISTRIBUTIONS_DRAFT_ALL·↳ PO_DRAFTS·Explore PO module →
-
View: PO_DISTRIBUTIONS_TRX_V 12.2.2
Requisition Distribution View.
APPS.PO_DISTRIBUTIONS_TRX_V·↳ PO_CLM_INTG_GRP·↳ PO_DISTRIBUTIONS·↳ PO_LINES_TRX_V·Explore PO module →
-
- Retrofitted
APPS.POFV_STD_PO_DISTRIBUTIONS·↳ BOM_RESOURCES·↳ GL_CODE_COMBINATIONS·↳ GL_SETS_OF_BOOKS·Explore PO module →
-
Interface table for purchase order distributions
-
View: PO_DISTRIBUTIONS_INQ_V 12.1.1
- Retrofitted
APPS.PO_DISTRIBUTIONS_INQ_V·↳ PO_DISTRIBUTIONS_ALL·↳ PO_DOCUMENT_TYPES_ALL_B·↳ PO_DOCUMENT_TYPES_ALL_TL·Explore PO module →
-
The merged view using PO_DISTRIBUTIONS_ALL table and PO_DISTRIBUTIONS_DRAFT_ALL tables.
APPS.PO_DISTRIBUTIONS_MERGE_V·↳ PO_DISTRIBUTIONS_ALL·↳ PO_DISTRIBUTIONS_DRAFT_ALL·↳ PO_DRAFTS·Explore PO module →
-
Purchase order distributions
-
Purchase order distributions
-
Interface table for purchase order distributions
-
View: PO_DISTRIBUTIONS_MRC_V 12.1.1
- Retrofitted
Not implemented in this database·Explore PO module →
-
- Retrofitted
Not implemented in this database·Explore PO module →
-
- Retrofitted
Not implemented in this database·Explore PO module →
-
View: PO_DISTRIBUTIONS_MRC_V 12.2.2
- Retrofitted
Not implemented in this database·Explore PO module →
-
APPS.PO_SGD_MOD_DISTRIBUTIONS_V·↳ FND_LOOKUP_VALUES·↳ GL_CODE_COMBINATIONS_KFV·↳ HR_ALL_ORGANIZATION_UNITS·Explore PO module →
-
View: PO_SGD_DISTRIBUTIONS_V 12.2.2
APPS.PO_SGD_DISTRIBUTIONS_V·↳ FND_LOOKUP_VALUES·↳ GL_CODE_COMBINATIONS_KFV·↳ HR_ALL_ORGANIZATION_UNITS·Explore PO module →