Search Results po_lines_archive_all
The PO_LINES_ARCHIVE_ALL
table in Oracle E-Business Suite (EBS) versions 12.1.1 and 12.2.2 is a critical repository for archived purchase order (PO) line data. This table stores historical information about PO lines that have been purged from the primary transactional tables (PO_LINES_ALL
) to optimize system performance while retaining compliance and audit requirements. Below is a detailed breakdown of its structure, purpose, and usage in Oracle EBS.
Purpose and Context
ThePO_LINES_ARCHIVE_ALL
table serves as an archive repository for PO line records that are no longer active but must be retained for reporting, auditing, or legal purposes. Oracle EBS automatically migrates data to this table during periodic archival processes, ensuring transactional tables remain lean and efficient. This is particularly important for high-volume procurement environments where PO line data grows exponentially over time.
Key Columns and Data Structure
The table mirrors the structure ofPO_LINES_ALL
but excludes certain transient or system-generated fields. Key columns include:
- PO_LINE_ID: Primary key identifier for the archived line.
- PO_HEADER_ID: References the parent PO header in
PO_HEADERS_ARCHIVE_ALL
. - LINE_NUM: Line number in the original PO.
- ITEM_ID: Links to
MTL_SYSTEM_ITEMS_B
for item details. - QUANTITY, UNIT_PRICE, AMOUNT: Financial and quantity details.
- CLOSED_CODE: Indicates if the line is closed or canceled.
- CREATION_DATE, LAST_UPDATE_DATE: Timestamps for audit trails.
Integration with Other Modules
The table integrates with Oracle Procurement, Inventory, and Financials modules:- Procurement: Archived lines retain ties to requisitions, agreements, and suppliers via
PO_REQUISITION_LINES_ARCHIVE
. - Inventory: Item-related data syncs with
MTL_SYSTEM_ITEMS_B
for historical reporting. - Financials: Links to
AP_INVOICES_ARCHIVE
for matched invoices.
Archival Process
Data is moved toPO_LINES_ARCHIVE_ALL
via Oracle's standard archival programs (e.g., "Purge Purchase Documents") or custom scripts. The process typically involves:
- Identifying eligible records based on aging criteria (e.g., closed for >365 days).
- Validating referential integrity with dependent tables.
- Logging archival metadata (e.g.,
ARCHIVED_BY
,ARCHIVED_DATE
).
Reporting and Compliance
Archived data supports:- Audit Reports: Historical PO line details for SOX or internal audits.
- Spend Analysis: Trend analysis using archived pricing/quantity data.
- Legal Holds: Retention of records under litigation.
Technical Considerations
- Indexing: Non-unique indexes on
PO_HEADER_ID
andPO_LINE_ID
improve query performance. - Partitioning: Recommended for large datasets (e.g., by
CREATION_DATE
). - Access Control: Secured via Oracle's data privacy features (e.g., VPD policies).
Customization and Extensions
Organizations often extend the table with custom columns (e.g.,XX_ATTRIBUTE1
) or triggers to enforce business rules during archival. However, Oracle discourages direct DML on archived data.
Conclusion
ThePO_LINES_ARCHIVE_ALL
table is a foundational component of Oracle EBS's data lifecycle management, balancing performance with regulatory compliance. Proper configuration and maintenance of this table are essential for organizations with long-term procurement data retention needs.
-
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_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 ,
-
View: PO_ECX_LINE_V
12.1.1
owner:APPS, object_type:VIEW, fnd_design_data:PO.PO_ECX_LINE_V, object_name:PO_ECX_LINE_V, status:VALID, product: PO - Purchasing , implementation_dba_data: APPS.PO_ECX_LINE_V ,
-
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 ,
-
View: PO_ECX_LINE_V
12.2.2
owner:APPS, object_type:VIEW, fnd_design_data:PO.PO_ECX_LINE_V, object_name:PO_ECX_LINE_V, status:VALID, product: PO - Purchasing , implementation_dba_data: APPS.PO_ECX_LINE_V ,
-
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 ,
-
Table: PO_UN_NUMBERS_B
12.1.1
owner:PO, object_type:TABLE, fnd_design_data:PO.PO_UN_NUMBERS_B, object_name:PO_UN_NUMBERS_B, status:VALID, product: PO - Purchasing , description: United Nations numbers , implementation_dba_data: PO.PO_UN_NUMBERS_B ,
-
Table: PO_HAZARD_CLASSES_B
12.2.2
owner:PO, object_type:TABLE, fnd_design_data:PO.PO_HAZARD_CLASSES_B, object_name:PO_HAZARD_CLASSES_B, status:VALID, product: PO - Purchasing , description: Hazardous classes , implementation_dba_data: PO.PO_HAZARD_CLASSES_B ,
-
Table: PO_HAZARD_CLASSES_B
12.1.1
owner:PO, object_type:TABLE, fnd_design_data:PO.PO_HAZARD_CLASSES_B, object_name:PO_HAZARD_CLASSES_B, status:VALID, product: PO - Purchasing , description: Hazardous classes , implementation_dba_data: PO.PO_HAZARD_CLASSES_B ,
-
Table: PO_UN_NUMBERS_B
12.2.2
owner:PO, object_type:TABLE, fnd_design_data:PO.PO_UN_NUMBERS_B, object_name:PO_UN_NUMBERS_B, status:VALID, product: PO - Purchasing , description: United Nations numbers , implementation_dba_data: PO.PO_UN_NUMBERS_B ,
-
Table: PO_LINE_TYPES_B
12.1.1
owner:PO, object_type:TABLE, fnd_design_data:PO.PO_LINE_TYPES_B, object_name:PO_LINE_TYPES_B, status:VALID, product: PO - Purchasing , description: Line types , implementation_dba_data: PO.PO_LINE_TYPES_B ,
-
Table: PO_HEADERS_ALL
12.2.2
owner:PO, object_type:TABLE, fnd_design_data:PO.PO_HEADERS_ALL, object_name:PO_HEADERS_ALL, status:VALID, product: PO - Purchasing , description: Document headers (for purchase orders, purchase agreements, quotations, RFQs) , implementation_dba_data: PO.PO_HEADERS_ALL ,
-
Table: PO_HEADERS_ALL
12.1.1
owner:PO, object_type:TABLE, fnd_design_data:PO.PO_HEADERS_ALL, object_name:PO_HEADERS_ALL, status:VALID, product: PO - Purchasing , description: Document headers (for purchase orders, purchase agreements, quotations, RFQs) , implementation_dba_data: PO.PO_HEADERS_ALL ,
-
Table: PO_LINE_TYPES_B
12.2.2
owner:PO, object_type:TABLE, fnd_design_data:PO.PO_LINE_TYPES_B, object_name:PO_LINE_TYPES_B, status:VALID, product: PO - Purchasing , description: Line types , implementation_dba_data: PO.PO_LINE_TYPES_B ,
-
View: PO_ECX_LINE_ARCH_V
12.2.2
owner:APPS, object_type:VIEW, fnd_design_data:PO.PO_ECX_LINE_ARCH_V, object_name:PO_ECX_LINE_ARCH_V, status:VALID, product: PO - Purchasing , implementation_dba_data: APPS.PO_ECX_LINE_ARCH_V ,
-
View: PO_ECX_LINE_ARCH_V
12.1.1
owner:APPS, object_type:VIEW, fnd_design_data:PO.PO_ECX_LINE_ARCH_V, object_name:PO_ECX_LINE_ARCH_V, status:VALID, product: PO - Purchasing , implementation_dba_data: APPS.PO_ECX_LINE_ARCH_V ,
-
View: POS_PO_LINES_ARCHIVE_V
12.2.2
owner:APPS, object_type:VIEW, fnd_design_data:PO.POS_PO_LINES_ARCHIVE_V POS.POS_PO_LINES_ARCHIVE_V, object_name:POS_PO_LINES_ARCHIVE_V, status:VALID, product: PO - Purchasing , implementation_dba_data: APPS.POS_PO_LINES_ARCHIVE_V ,
-
View: POS_PO_LINES_ARCHIVE_V
12.1.1
owner:APPS, object_type:VIEW, fnd_design_data:PO.POS_PO_LINES_ARCHIVE_V, object_name:POS_PO_LINES_ARCHIVE_V, status:VALID, product: PO - Purchasing , implementation_dba_data: APPS.POS_PO_LINES_ARCHIVE_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 ,