Search Results po_lines_interface
Overview
PO_LINES_INTERFACE is the open-interface staging table in the Oracle Purchasing (PO) module that holds purchase order line, shipment, and line-location attributes prior to validation and import into the production purchasing tables. It resides in the PO schema and is classified as VALID in EBS 12.1.1 and 12.2.2. Records are loaded by external sources — supplier portals, EDI/XML transactions, legacy system conversions, blanket agreement mass loads, or custom concurrent programs — and are subsequently processed by the Purchasing Documents Open Interface (PDOI) to create or update rows in PO_HEADERS_ALL, PO_LINES_ALL, PO_LINE_LOCATIONS_ALL, and PO_DISTRIBUTIONS_ALL.
The table is wide, carrying 256 documented columns, reflecting the full attribute set required to construct a PO line: item and revision information, pricing, UOM and dual-UOM data, receiving and invoicing controls, tax attributes, contract terms, and 15+15+15 sets of descriptive flexfield columns at the line, shipment, and item levels. Under the heuristic Data Vault classification derived from the FK structure, this object is modeled as a standalone table; in Data Vault terms it is best treated as a staging or raw satellite rather than a natural hub or link, since its rows are transient and exist only between the load and the import run.
Key Information Stored
The surrogate primary key is INTERFACE_LINE_ID, enforced by the unique index PO_LINES_INTERFACE_U1. This is the only documented business-key candidate; it is a system-generated identifier with no external business meaning, and it is the column used by the interface processor to correlate each line with its interface header.
The principal business columns include:
- INTERFACE_HEADER_ID — links the line to its parent record in PO_HEADERS_INTERFACE.
- ACTION — instructs the interface whether to CREATE, UPDATE, or CANCEL the target document.
- LINE_NUM and SHIPMENT_NUM — position the line and its shipment within the document structure.
- ITEM, ITEM_ID, ITEM_REVISION, CATEGORY, CATEGORY_ID — define the item and commodity being ordered.
- QUANTITY, UOM_CODE, UNIT_PRICE, LIST_PRICE_PER_UNIT — quantity and pricing terms.
- LINE_TYPE, LINE_TYPE_ID — classify the line (Goods, Services, Outside Processing, etc.).
- SHIP_TO_ORGANIZATION_ID, SHIP_TO_LOCATION_ID, NEED_BY_DATE, PROMISED_DATE — shipment and scheduling data.
- PO_HEADER_ID, PO_LINE_ID, LINE_LOCATION_ID — target IDs used when updating existing documents rather than creating new ones.
- GROUP_CODE and PROCESS_CODE — control set grouping and which processing path the import takes.
- ATTRIBUTE flexfield sets (LINE_ATTRIBUTE1-15, SHIPMENT_ATTRIBUTE1-15, ITEM_ATTRIBUTE1-15) — extension points for client-specific data.
- Standard WHO columns (CREATION_DATE, CREATED_BY, LAST_UPDATE_DATE, REQUEST_ID, PROGRAM_ID) — audit and concurrency tracking.
Common Use Cases and Queries
Typical scenarios include bulk-loading blanket agreements, migrating open POs during an implementation, and receiving supplier-generated orders by EDI. The most frequent diagnostic query validates that header and line staging rows agree before the import runs:
- Count orphaned lines:
SELECT l.INTERFACE_LINE_ID FROM PO_LINES_INTERFACE l WHERE NOT EXISTS (SELECT 1 FROM PO_HEADERS_INTERFACE h WHERE h.INTERFACE_HEADER_ID = l.INTERFACE_HEADER_ID); - Locate a specific batch by group:
SELECT INTERFACE_LINE_ID, LINE_NUM, ITEM, QUANTITY, UNIT_PRICE FROM PO_LINES_INTERFACE WHERE GROUP_CODE = :group_code ORDER BY LINE_NUM; - Trace a source request:
SELECT * FROM PO_LINES_INTERFACE WHERE REQUEST_ID = :request_id;— useful for diagnosing a failed PDOI run.
Reporting use cases center on reconciliation: comparing staged quantities and prices against the final PO_LINES_ALL values after import, and identifying rows that failed validation because they were rejected by the interface and never deleted.
Related Objects
- PO_RELEASES_ALL — referenced via PO_RELEASE_ID, for releases against blanket agreements.
- PO_LINE_TYPES_B — referenced via LINE_TYPE_ID, supplies the valid line type codes.
- PO_UN_NUMBERS_B and PO_HAZARD_CLASSES_B — referenced via UN_NUMBER_ID and HAZARD_CLASS_ID for hazardous material attributes.
- PON_AUCTION_HEADERS_ALL — referenced via AUCTION_HEADER_ID for auction-sourced lines.
- PO_HEADERS_INTERFACE — the sibling staging table joined on INTERFACE_HEADER_ID.
- PO_LINES_ALL, PO_HEADERS_ALL, PO_LINE_LOCATIONS_ALL — the destination tables populated by the interface.
- Purchasing Documents Open Interface (PDOI) — the concurrent program that consumes these rows.
-
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_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 ,