Search Results po_lines_archive_all
Overview
The PO_LINES_ARCHIVE_ALL table is a core data object within the Oracle E-Business Suite Purchasing (PO) module, specifically for releases 12.1.1 and 12.2.2. It serves as the primary repository for historical, non-current versions of purchase order line records. This table is essential for maintaining a complete audit trail of changes made to purchase order lines throughout their lifecycle. When a purchase order line is revised, the system archives the pre-revision state of the line into this table before applying updates to the active record in the PO_LINES_ALL table. This architectural pattern supports compliance, historical reporting, and the ability to review the precise state of a purchase order line at any point in its revision history.
Key Information Stored
The table stores a comprehensive snapshot of a purchase order line at the moment of archival. Its structure mirrors that of the active PO_LINES_ALL table, capturing all line-level attributes. The primary key is a composite of PO_LINE_ID and REVISION_NUM, ensuring a unique record for each historical version of a line. Critical columns include PO_HEADER_ID (link to the purchase order header), LINE_NUM (the line's position on the order), and REVISION_NUM (the sequential version identifier). Other significant columns reference master data, such as LINE_TYPE_ID (link to PO_LINE_TYPES_B), CATEGORY_ID (link to MTL_CATEGORIES_B), and FROM_LINE_ID (which can point back to the active line in PO_LINES_ALL or a source line for blanket releases). The FROM_HEADER_ID column similarly links to a source purchase order header.
Common Use Cases and Queries
The primary use case is auditing and historical analysis of purchase order line changes. Organizations use this data to track modifications to item descriptions, quantities, prices, or dates over time. A common reporting requirement is to retrieve the full revision history for a specific purchase order line. The following sample SQL pattern illustrates this:
- SELECT * FROM po.po_lines_archive_all WHERE po_header_id = <header_id> AND line_num = <line_number> ORDER BY revision_num DESC;
Another practical scenario involves comparing the most recent archived version against the current active line to identify specific changes made during the last revision. Data from this table is also integral to custom compliance reports that must demonstrate the evolution of contractual terms within a purchase order.
Related Objects
PO_LINES_ARCHIVE_ALL has defined relationships with several key Purchasing and Inventory tables, as documented in the provided metadata. Its primary relationship is with the active purchase order lines table, PO_LINES_ALL, via the PO_LINE_ID and FROM_LINE_ID foreign keys. It is a child table of PO_HEADERS_ALL through the PO_HEADER_ID and FROM_HEADER_ID columns. The table also references various base reference tables: PO_LINE_TYPES_B (LINE_TYPE_ID), MTL_CATEGORIES_B (CATEGORY_ID), PO_UN_NUMBERS_B (UN_NUMBER_ID), and PO_HAZARD_CLASSES_B (HAZARD_CLASS_ID). Furthermore, it has a foreign key relationship with the temporary table ICX_PO_REVISIONS_TEMP on the composite of LINE_ID and REVISION_NUM, which is used in the revision comparison user interface.
-
Table: PO_LINES_ARCHIVE_ALL
12.1.1
owner:PO, object_type:TABLE, fnd_design_data:PO.PO_LINES_ARCHIVE_ALL, object_name:PO_LINES_ARCHIVE_ALL, status:VALID, product: PO - Purchasing , description: Archived purchase order lines , implementation_dba_data: PO.PO_LINES_ARCHIVE_ALL ,
-
Table: PO_LINES_ARCHIVE_ALL
12.2.2
owner:PO, object_type:TABLE, fnd_design_data:PO.PO_LINES_ARCHIVE_ALL, object_name:PO_LINES_ARCHIVE_ALL, status:VALID, product: PO - Purchasing , description: Archived purchase order lines , implementation_dba_data: PO.PO_LINES_ARCHIVE_ALL ,
-
APPS.POS_COMPLEX_WORK_PVT dependencies on PO_LINES_ARCHIVE_ALL
12.2.2
-
APPS.PO_R12_CAT_UPG_FINAL_GRP dependencies on PO_LINES_ARCHIVE_ALL
12.2.2
-
APPS.PO_CHG_REQUEST_PVT dependencies on PO_LINES_ARCHIVE_ALL
12.2.2
-
APPS.PO_CREATE_SR_ASL dependencies on PO_LINES_ARCHIVE_ALL
12.2.2
-
APPS.PO_SYNC_DRAFT_FROM_ARCHIVE_PVT dependencies on PO_LINES_ARCHIVE_ALL
12.2.2
-
APPS.PO_CONTROL_ACTION_VALIDATIONS dependencies on PO_LINES_ARCHIVE_ALL
12.2.2
-
APPS.PO_PERSON dependencies on PO_LINES_ARCHIVE_ALL
12.1.1
-
APPS.POS_SCO_TOLERANCE_PVT dependencies on PO_LINES_ARCHIVE_ALL
12.2.2
-
APPS.PO_XML_DELIVERY dependencies on PO_LINES_ARCHIVE_ALL
12.1.1
-
APPS.PO_CATALOG_INDEX_PVT dependencies on PO_LINES_ARCHIVE_ALL
12.1.1
-
APPS.POS_COMPARE_REVISIONS dependencies on PO_LINES_ARCHIVE_ALL
12.2.2
-
APPS.M4R_7B5_OSFM_PKG dependencies on PO_LINES_ARCHIVE_ALL
12.2.2
-
APPS.ICX_CAT_UTIL_PVT dependencies on PO_LINES_ARCHIVE_ALL
12.2.2
-
APPS.POS_COMPARE_REVISIONS dependencies on PO_LINES_ARCHIVE_ALL
12.1.1
-
APPS.POS_SCO_TOLERANCE_PVT dependencies on PO_LINES_ARCHIVE_ALL
12.1.1
-
APPS.PO_DOCUMENT_ARCHIVE_PVT dependencies on PO_LINES_ARCHIVE_ALL
12.1.1
-
APPS.POS_REVISION_DIFFERENCES dependencies on PO_LINES_ARCHIVE_ALL
12.1.1
-
APPS.PO_OTM_INTEGRATION_PVT dependencies on PO_LINES_ARCHIVE_ALL
12.1.1
-
APPS.PO_XML_UTILS_GRP dependencies on PO_LINES_ARCHIVE_ALL
12.2.2
-
APPS.PO_CHORD_WF2 dependencies on PO_LINES_ARCHIVE_ALL
12.2.2
-
APPS.PO_COMMUNICATION_PVT dependencies on PO_LINES_ARCHIVE_ALL
12.2.2
-
APPS.POS_TOTALS_PO_SV dependencies on PO_LINES_ARCHIVE_ALL
12.2.2
-
APPS.POS_REVISION_DIFFERENCES dependencies on PO_LINES_ARCHIVE_ALL
12.2.2
-
APPS.PO_CHG_REQUEST_PVT dependencies on PO_LINES_ARCHIVE_ALL
12.1.1
-
APPS.PO_CREATE_SR_ASL dependencies on PO_LINES_ARCHIVE_ALL
12.1.1
-
APPS.PO_COMMUNICATION_PVT dependencies on PO_LINES_ARCHIVE_ALL
12.1.1
-
APPS.POS_COMPLEX_WORK_PVT dependencies on PO_LINES_ARCHIVE_ALL
12.1.1
-
APPS.PO_CHORD_WF2 dependencies on PO_LINES_ARCHIVE_ALL
12.1.1
-
APPS.PO_DOCUMENT_ARCHIVE_PVT dependencies on PO_LINES_ARCHIVE_ALL
12.2.2
-
APPS.POS_COMPARE_REVISIONS dependencies on PO_LINES_ARCHIVE_ALL
12.2.2
-
APPS.PO_OTM_INTEGRATION_PVT dependencies on PO_LINES_ARCHIVE_ALL
12.2.2
-
APPS.PO_DOCUMENT_TOTALS_PVT dependencies on PO_LINES_ARCHIVE_ALL
12.2.2
-
APPS.PO_XML_DELIVERY dependencies on PO_LINES_ARCHIVE_ALL
12.2.2
-
APPS.PO_CHANGEORDERWF_PVT dependencies on PO_LINES_ARCHIVE_ALL
12.2.2
-
APPS.PO_DOCUMENT_TOTALS_PVT dependencies on PO_LINES_ARCHIVE_ALL
12.1.1
-
APPS.PO_XML_UTILS_GRP dependencies on PO_LINES_ARCHIVE_ALL
12.1.1
-
APPS.PO_LINE_TYPES_SV dependencies on PO_LINES_ARCHIVE_ALL
12.2.2
-
APPS.PO_LINE_TYPES_SV dependencies on PO_LINES_ARCHIVE_ALL
12.1.1
-
APPS.PO_R12_CAT_UPG_FINAL_GRP dependencies on PO_LINES_ARCHIVE_ALL
12.1.1
-
APPS.PO_CHANGEORDERWF_PVT dependencies on PO_LINES_ARCHIVE_ALL
12.1.1
-
APPS.POS_TOTALS_PO_SV dependencies on PO_LINES_ARCHIVE_ALL
12.1.1
-
APPS.POS_COMPARE_REVISIONS dependencies on PO_LINES_ARCHIVE_ALL
12.1.1
-
APPS.M4R_7B5_OSFM_PKG dependencies on PO_LINES_ARCHIVE_ALL
12.1.1
-
APPS.PO_CATALOG_INDEX_PVT dependencies on PO_LINES_ARCHIVE_ALL
12.2.2
-
APPS.PO_PERSON dependencies on PO_LINES_ARCHIVE_ALL
12.2.2
-
APPS.PO_CHORD_WF2 dependencies on PO_LINES
12.1.1
-
APPS.PO_CHORD_WF2 dependencies on PO_LINES
12.2.2
-
APPS.PO_CHORD_WF2 dependencies on PO_LINES_ALL
12.2.2