Search Results oke_contract_version_id
Overview
PO_LINES_ARCHIVE_ALL is a Purchasing (PO) module table owned by the PO schema that stores archived purchase order lines. It holds the historical, point-in-time copy of line-level purchasing data that Oracle EBS retains for audit, revision tracking, and archival reporting when active lines in PO_LINES_ALL are revised or purged from operational tables. The table is documented as VALID in both Oracle EBS 12.1.1 and 12.2.2, and its physical schema contains 186 columns, reflecting the full breadth of purchasing line attributes captured at the time of archival.
The primary key is PO_LINES_ARCHIVE_PK, composed of PO_LINE_ID and REVISION_NUM. The composite nature of this key confirms that the table retains multiple historical versions of the same logical line, keyed by revision. A unique index, PO_LINES_ARCHIVE_U1 (also PO_LINES_ARCHIVE_UK1), enforces uniqueness on PO_HEADER_ID, LINE_NUM, and REVISION_NUM. Based on the foreign key structure — which references PO_HEADERS_ALL, PO_LINES_ALL, PO_LINE_TYPES_B, MTL_CATEGORIES_B, PO_UN_NUMBERS_B, and PO_HAZARD_CLASSES_B — the table exhibits a satellite-leaning character within a Data Vault style model, since it hangs off the PO_LINE_ID business key while adding descriptive, revision-scoped attributes.
Key Information Stored
The most significant columns store the identity, financial, status, and descriptive attributes of archived lines:
- PO_LINE_ID and REVISION_NUM — the surrogate/versioning key pair forming the primary key.
- PO_HEADER_ID and LINE_NUM — business-key candidates forming the unique index that ties each archived line back to its parent document and sequence.
- FROM_LINE_ID and FROM_HEADER_ID — trace the origin line and header for change/revision lineage.
- ITEM_ID, ITEM_DESCRIPTION, ITEM_REVISION, and CATEGORY_ID — identify the purchased item and its classification.
- UNIT_PRICE, QUANTITY, AMOUNT, and BASE_UNIT_PRICE — pricing and quantity economics at archive time.
- LINE_TYPE_ID — references PO_LINE_TYPES_B and governs line behavior.
- CLOSED_FLAG, CLOSED_CODE, CANCEL_FLAG, and USER_HOLD_FLAG — lifecycle and status indicators.
- ORG_ID — the operating unit for multi-org reporting.
- CONTRACT_ID, OKE_CONTRACT_HEADER_ID, and CONTRACT_NUM — contract/project procurement linkage.
- ATTRIBUTE_CATEGORY and ATTRIBUTE1–15 plus GLOBAL_ATTRIBUTE1–20 — flexfield descriptive catch-all segments.
- LAST_UPDATE_DATE, CREATION_DATE, CREATED_BY, and LAST_UPDATED_BY — audit trail columns.
Common Use Cases and Queries
Typical uses include reconstructing the historical state of a purchase order line at a specific revision, performing audit and compliance reporting, and comparing operational lines against their archived predecessors.
- Retrieve all historical revisions of a line:
SELECT * FROM PO.PO_LINES_ARCHIVE_ALL WHERE PO_LINE_ID = :line_id ORDER BY REVISION_NUM; - Report archived lines for a header:
SELECT PO_LINE_ID, LINE_NUM, REVISION_NUM, QUANTITY, UNIT_PRICE FROM PO.PO_LINES_ARCHIVE_ALL WHERE PO_HEADER_ID = :header_id ORDER BY LINE_NUM, REVISION_NUM; - Compare current vs archived values by joining PO_LINES_ALL on PO_LINE_ID and REVISION_NUM to detect price or quantity drift.
- Track change lineage using FROM_LINE_ID and FROM_HEADER_ID to build revised-line family histories.
Related Objects
- PO_HEADERS_ALL — linked via PO_HEADER_ID and FROM_HEADER_ID; supplies the parent document context.
- PO_LINES_ALL — linked via PO_LINE_ID and FROM_LINE_ID; the operational counterpart.
- PO_LINE_TYPES_B — via LINE_TYPE_ID, defines line type.
- MTL_CATEGORIES_B — via CATEGORY_ID, resolves item category.
- PO_UN_NUMBERS_B and PO_HAZARD_CLASSES_B — via UN_NUMBER_ID and HAZARD_CLASS_ID for hazardous material attributes.
- ICX_PO_REVISIONS_TEMP — references PO_LINES_ARCHIVE_ALL via LINE_ID and REVISION_NUM for revision workflow processing.
- PON_AUCTION_HEADERS_ALL — linked via AUCTION_HEADER_ID for sourcing/auction traceability.
-
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 ,
-
Table: PO_LINES_DRAFT_ALL
12.2.2
owner:PO, object_type:TABLE, fnd_design_data:PO.PO_LINES_DRAFT_ALL, object_name:PO_LINES_DRAFT_ALL, status:VALID, product: PO - Purchasing , description: Draft table for purchase document lines (for purchase orders, purchase agreements, quotations, RFQs) , implementation_dba_data: PO.PO_LINES_DRAFT_ALL ,
-
Table: PO_LINES_INTERFACE
12.2.2
owner:PO, object_type:TABLE, fnd_design_data:PO.PO_LINES_INTERFACE, object_name:PO_LINES_INTERFACE, status:VALID, product: PO - Purchasing , description: Interface table for purchase order lines , implementation_dba_data: PO.PO_LINES_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_REQUISITION_LINES_ALL
12.1.1
owner:PO, object_type:TABLE, fnd_design_data:PO.PO_REQUISITION_LINES_ALL, object_name:PO_REQUISITION_LINES_ALL, status:VALID, product: PO - Purchasing , description: Requisition lines , implementation_dba_data: PO.PO_REQUISITION_LINES_ALL ,
-
Table: PO_LINES_INTERFACE
12.1.1
owner:PO, object_type:TABLE, fnd_design_data:PO.PO_LINES_INTERFACE, object_name:PO_LINES_INTERFACE, status:VALID, product: PO - Purchasing , description: Interface table for purchase order lines , implementation_dba_data: PO.PO_LINES_INTERFACE ,
-
Table: PO_REQUISITION_LINES_ALL
12.2.2
owner:PO, object_type:TABLE, fnd_design_data:PO.PO_REQUISITION_LINES_ALL, object_name:PO_REQUISITION_LINES_ALL, status:VALID, product: PO - Purchasing , description: Requisition lines , implementation_dba_data: PO.PO_REQUISITION_LINES_ALL ,
-
Table: PO_REQ_LINES_GT
12.2.2
owner:PO, object_type:TABLE, fnd_design_data:PO.PO_REQ_LINES_GT, object_name:PO_REQ_LINES_GT, status:VALID, product: PO - Purchasing , description: For Internal Use Only: This table is global temporary table based on po_requisition_lines_all table. It is used for internal processing of data for PO Approval Submission Checks. , implementation_dba_data: PO.PO_REQ_LINES_GT ,
-
Table: PO_REQUISITIONS_INTERFACE_ALL
12.1.1
owner:PO, object_type:TABLE, fnd_design_data:PO.PO_REQUISITIONS_INTERFACE_ALL, object_name:PO_REQUISITIONS_INTERFACE_ALL, status:VALID, product: PO - Purchasing , description: Requisition Import interface table , implementation_dba_data: PO.PO_REQUISITIONS_INTERFACE_ALL ,
-
Table: PO_LINES_ALL
12.1.1
owner:PO, object_type:TABLE, fnd_design_data:PO.PO_LINES_ALL, object_name:PO_LINES_ALL, status:VALID, product: PO - Purchasing , description: Purchase document lines (for purchase orders, purchase agreements, quotations, RFQs) , implementation_dba_data: PO.PO_LINES_ALL ,
-
Table: PO_REQUISITIONS_INTERFACE_ALL
12.2.2
owner:PO, object_type:TABLE, fnd_design_data:PO.PO_REQUISITIONS_INTERFACE_ALL, object_name:PO_REQUISITIONS_INTERFACE_ALL, status:VALID, product: PO - Purchasing , description: Requisition Import interface table , implementation_dba_data: PO.PO_REQUISITIONS_INTERFACE_ALL ,
-
Table: PO_LINES_GT1
12.2.2
owner:PO, object_type:TABLE, fnd_design_data:PO.PO_LINES_GT1, object_name:PO_LINES_GT1, status:VALID, product: PO - Purchasing , description: For Internal Use Only: This table is global temporary table based on po_lines_all table. It is used for internal processing of data for PO Approval Submission Checks. , implementation_dba_data: PO.PO_LINES_GT1 ,
-
Table: PO_LINES_ALL
12.2.2
owner:PO, object_type:TABLE, fnd_design_data:PO.PO_LINES_ALL, object_name:PO_LINES_ALL, status:VALID, product: PO - Purchasing , description: Purchase document lines (for purchase orders, purchase agreements, quotations, RFQs) , implementation_dba_data: PO.PO_LINES_ALL ,
-
View: PO_LINES_TRX_V
12.2.2
owner:APPS, object_type:VIEW, fnd_design_data:PO.PO_LINES_TRX_V, object_name:PO_LINES_TRX_V, status:VALID, product: PO - Purchasing , description: View on po_lines table. , implementation_dba_data: APPS.PO_LINES_TRX_V ,
-
View: PO_REQUISITION_LINES_ALL_MRC_V
12.2.2
product: PO - Purchasing , description: - Retrofitted , implementation_dba_data: Not implemented in this database ,
-
View: PO_SGD_MOD_LINES_V
12.2.2
owner:APPS, object_type:VIEW, fnd_design_data:PO.PO_SGD_MOD_LINES_V, object_name:PO_SGD_MOD_LINES_V, status:VALID, product: PO - Purchasing , implementation_dba_data: APPS.PO_SGD_MOD_LINES_V ,
-
View: PO_REQUISITION_LINES_ALL_MRC_V
12.1.1
product: PO - Purchasing , description: - Retrofitted , implementation_dba_data: Not implemented in this database ,
-
View: PO_REQUISITION_LINES_MRC_V
12.2.2
product: PO - Purchasing , description: - Retrofitted , implementation_dba_data: Not implemented in this database ,
-
View: PO_REQUISITION_LINES_MRC_V
12.1.1
product: PO - Purchasing , description: - Retrofitted , implementation_dba_data: Not implemented in this database ,
-
View: POBV_PLAN_PO_LINES
12.2.2
owner:APPS, object_type:VIEW, fnd_design_data:PO.POBV_PLAN_PO_LINES, object_name:POBV_PLAN_PO_LINES, status:VALID, product: PO - Purchasing , description: - Retrofitted , implementation_dba_data: APPS.POBV_PLAN_PO_LINES ,
-
View: PO_SGD_LINES_V
12.2.2
owner:APPS, object_type:VIEW, fnd_design_data:PO.PO_SGD_LINES_V, object_name:PO_SGD_LINES_V, status:VALID, product: PO - Purchasing , implementation_dba_data: APPS.PO_SGD_LINES_V ,
-
View: POBV_PLAN_PO_LINES
12.1.1
owner:APPS, object_type:VIEW, fnd_design_data:PO.POBV_PLAN_PO_LINES, object_name:POBV_PLAN_PO_LINES, status:VALID, product: PO - Purchasing , description: - Retrofitted , implementation_dba_data: APPS.POBV_PLAN_PO_LINES ,
-
View: POBV_STD_PO_LINES
12.2.2
owner:APPS, object_type:VIEW, fnd_design_data:PO.POBV_STD_PO_LINES, object_name:POBV_STD_PO_LINES, status:VALID, product: PO - Purchasing , description: - Retrofitted , implementation_dba_data: APPS.POBV_STD_PO_LINES ,
-
View: POBV_STD_PO_LINES
12.1.1
owner:APPS, object_type:VIEW, fnd_design_data:PO.POBV_STD_PO_LINES, object_name:POBV_STD_PO_LINES, status:VALID, product: PO - Purchasing , description: - Retrofitted , implementation_dba_data: APPS.POBV_STD_PO_LINES ,
-
View: POBV_PO_LINES
12.2.2
owner:APPS, object_type:VIEW, fnd_design_data:PO.POBV_PO_LINES, object_name:POBV_PO_LINES, status:VALID, product: PO - Purchasing , description: - Retrofitted , implementation_dba_data: APPS.POBV_PO_LINES ,
-
View: POBV_BKT_PO_LINES
12.1.1
owner:APPS, object_type:VIEW, fnd_design_data:PO.POBV_BKT_PO_LINES, object_name:POBV_BKT_PO_LINES, status:VALID, product: PO - Purchasing , description: - Retrofitted , implementation_dba_data: APPS.POBV_BKT_PO_LINES ,
-
View: POBV_BKT_PO_LINES
12.2.2
owner:APPS, object_type:VIEW, fnd_design_data:PO.POBV_BKT_PO_LINES, object_name:POBV_BKT_PO_LINES, status:VALID, product: PO - Purchasing , description: - Retrofitted , implementation_dba_data: APPS.POBV_BKT_PO_LINES ,
-
View: POBV_PO_LINES
12.1.1
owner:APPS, object_type:VIEW, fnd_design_data:PO.POBV_PO_LINES, object_name:POBV_PO_LINES, status:VALID, product: PO - Purchasing , description: - Retrofitted , implementation_dba_data: APPS.POBV_PO_LINES ,
-
View: PO_LINES_RFQQT_V
12.1.1
owner:APPS, object_type:VIEW, fnd_design_data:PO.PO_LINES_RFQQT_V, object_name:PO_LINES_RFQQT_V, status:VALID, product: PO - Purchasing , description: - Retrofitted , implementation_dba_data: APPS.PO_LINES_RFQQT_V ,
-
View: PO_LINES_RFQQT_V
12.2.2
owner:APPS, object_type:VIEW, fnd_design_data:PO.PO_LINES_RFQQT_V, object_name:PO_LINES_RFQQT_V, status:VALID, product: PO - Purchasing , description: - Retrofitted , implementation_dba_data: APPS.PO_LINES_RFQQT_V ,
-
View: POBV_REQUISITION_LINES
12.2.2
owner:APPS, object_type:VIEW, fnd_design_data:PO.POBV_REQUISITION_LINES, object_name:POBV_REQUISITION_LINES, status:VALID, product: PO - Purchasing , description: - Retrofitted , implementation_dba_data: APPS.POBV_REQUISITION_LINES ,
-
View: POFV_PLAN_PO_LINES
12.1.1
owner:APPS, object_type:VIEW, fnd_design_data:PO.POFV_PLAN_PO_LINES, object_name:POFV_PLAN_PO_LINES, status:VALID, product: PO - Purchasing , implementation_dba_data: APPS.POFV_PLAN_PO_LINES ,
-
View: POBV_REQUISITION_LINES
12.1.1
owner:APPS, object_type:VIEW, fnd_design_data:PO.POBV_REQUISITION_LINES, object_name:POBV_REQUISITION_LINES, status:VALID, product: PO - Purchasing , description: - Retrofitted , implementation_dba_data: APPS.POBV_REQUISITION_LINES ,
-
View: POFV_PLAN_PO_LINES
12.2.2
owner:APPS, object_type:VIEW, fnd_design_data:PO.POFV_PLAN_PO_LINES, object_name:POFV_PLAN_PO_LINES, status:VALID, product: PO - Purchasing , implementation_dba_data: APPS.POFV_PLAN_PO_LINES ,
-
View: POFV_STD_PO_LINES
12.2.2
owner:APPS, object_type:VIEW, fnd_design_data:PO.POFV_STD_PO_LINES, object_name:POFV_STD_PO_LINES, status:VALID, product: PO - Purchasing , description: Referenced Contract Number , implementation_dba_data: APPS.POFV_STD_PO_LINES ,
-
View: POFV_BKT_PO_LINES
12.2.2
owner:APPS, object_type:VIEW, fnd_design_data:PO.POFV_BKT_PO_LINES, object_name:POFV_BKT_PO_LINES, status:VALID, product: PO - Purchasing , implementation_dba_data: APPS.POFV_BKT_PO_LINES ,
-
View: POFV_STD_PO_LINES
12.1.1
owner:APPS, object_type:VIEW, fnd_design_data:PO.POFV_STD_PO_LINES, object_name:POFV_STD_PO_LINES, status:VALID, product: PO - Purchasing , description: Referenced Contract Number , implementation_dba_data: APPS.POFV_STD_PO_LINES ,
-
View: POFV_BKT_PO_LINES
12.1.1
owner:APPS, object_type:VIEW, fnd_design_data:PO.POFV_BKT_PO_LINES, object_name:POFV_BKT_PO_LINES, status:VALID, product: PO - Purchasing , implementation_dba_data: APPS.POFV_BKT_PO_LINES ,
-
View: POFV_PO_LINES
12.1.1
owner:APPS, object_type:VIEW, fnd_design_data:PO.POFV_PO_LINES, object_name:POFV_PO_LINES, status:VALID, product: PO - Purchasing , implementation_dba_data: APPS.POFV_PO_LINES ,
-
View: POFV_PO_LINES
12.2.2
owner:APPS, object_type:VIEW, fnd_design_data:PO.POFV_PO_LINES, object_name:POFV_PO_LINES, status:VALID, product: PO - Purchasing , implementation_dba_data: APPS.POFV_PO_LINES ,
-
View: PO_LINES_V
12.1.1
owner:APPS, object_type:VIEW, fnd_design_data:PO.PO_LINES_V, object_name:PO_LINES_V, status:VALID, product: PO - Purchasing , description: 10SC ONLY , implementation_dba_data: APPS.PO_LINES_V ,
-
View: PO_LINES_V
12.2.2
owner:APPS, object_type:VIEW, fnd_design_data:PO.PO_LINES_V, object_name:PO_LINES_V, status:VALID, product: PO - Purchasing , description: 10SC ONLY , implementation_dba_data: APPS.PO_LINES_V ,
-
View: PO_REQ_LINES_TRX_V
12.2.2
owner:APPS, object_type:VIEW, fnd_design_data:PO.PO_REQ_LINES_TRX_V, object_name:PO_REQ_LINES_TRX_V, status:VALID, product: PO - Purchasing , description: Requisition Lines View. , implementation_dba_data: APPS.PO_REQ_LINES_TRX_V ,
-
View: PO_LINES_XML
12.2.2
owner:APPS, object_type:VIEW, fnd_design_data:PO.PO_LINES_XML, object_name:PO_LINES_XML, status:VALID, product: PO - Purchasing , implementation_dba_data: APPS.PO_LINES_XML ,
-
View: PO_LINES_XML
12.1.1
owner:APPS, object_type:VIEW, fnd_design_data:PO.PO_LINES_XML, object_name:PO_LINES_XML, status:VALID, product: PO - Purchasing , implementation_dba_data: APPS.PO_LINES_XML ,
-
View: PO_LINES_MERGE_V
12.1.1
owner:APPS, object_type:VIEW, fnd_design_data:PO.PO_LINES_MERGE_V, object_name:PO_LINES_MERGE_V, status:VALID, product: PO - Purchasing , implementation_dba_data: APPS.PO_LINES_MERGE_V ,
-
View: PO_LINES_MERGE_V
12.2.2
owner:APPS, object_type:VIEW, fnd_design_data:PO.PO_LINES_MERGE_V, object_name:PO_LINES_MERGE_V, status:VALID, product: PO - Purchasing , implementation_dba_data: APPS.PO_LINES_MERGE_V ,
-
View: PO_LINES_ARCHIVE_XML
12.1.1
owner:APPS, object_type:VIEW, fnd_design_data:PO.PO_LINES_ARCHIVE_XML, object_name:PO_LINES_ARCHIVE_XML, status:VALID, product: PO - Purchasing , implementation_dba_data: APPS.PO_LINES_ARCHIVE_XML ,
-
View: PO_LINES_ARCHIVE_XML
12.2.2
owner:APPS, object_type:VIEW, fnd_design_data:PO.PO_LINES_ARCHIVE_XML, object_name:PO_LINES_ARCHIVE_XML, status:VALID, product: PO - Purchasing , implementation_dba_data: APPS.PO_LINES_ARCHIVE_XML ,
-
View: PO_REQUISITION_LINES_V
12.1.1
owner:APPS, object_type:VIEW, fnd_design_data:PO.PO_REQUISITION_LINES_V, object_name:PO_REQUISITION_LINES_V, status:VALID, product: PO - Purchasing , description: 10SC ONLY - Retrofitted , implementation_dba_data: APPS.PO_REQUISITION_LINES_V ,