Search Results po_lines_pk




Overview

PO_LINES_ALL is the core transactional table in the Oracle Purchasing (PO) module of Oracle E-Business Suite, holding one row per line of every purchasing document: standard purchase orders, blanket and contract purchase agreements, quotations, and RFQs (requests for quotation). It is owned by the PO schema and resides in the PO product, and is one of the most heavily referenced tables in the entire EBS data model because virtually every downstream procurement, receiving, invoicing, projects, and manufacturing process traces back to a purchase order line.

Each row is keyed by the surrogate primary key PO_LINE_ID, and the table is partitioned logically by document through PO_HEADER_ID and ORG_ID (operating unit). The ETRM heuristic Data Vault classification for this object is hub, which suggests modeling PO_LINE_ID as a durable business key hub with associated descriptive satellites for the many attributes carried on the line.

Key Information Stored

The table contains 186 documented columns spanning document structure, pricing, quantities, sourcing, contract terms, and descriptive flexfields. The most operationally significant columns are:

Common Use Cases and Queries

Typical reporting scenarios include open PO line analysis, price and quantity committed on agreements, spend analysis by category and supplier, and on-time / quantity variance tracking. A basic query to list open lines for a given operating unit might read:

SELECT pl.po_header_id, pl.line_num, pl.item_description,
       pl.quantity, pl.unit_price, pl.amount, pl.closed_code
FROM   po_lines_all pl
WHERE  pl.org_id = :org_id
AND    pl.closed_code <> 'FINALLY CLOSED'
AND    pl.cancel_flag = 'N';

Joining to PO_HEADERS_ALL supplies vendor and buyer context, while joining PO_LINE_LOCATIONS_ALL drills down to shipment and distribution detail. Sourcing and release analysis commonly uses the FROM_HEADER_ID / FROM_LINE_ID self-reference to connect a release line to the blanket agreement line that authorized it. Because ORG_ID governs multi-org access, list-of-values and reports should always filter on a valid operating unit.

Related Objects

PO_LINES_ALL sits at the center of a large dependency graph. The most significant related objects are:

  • PO_HEADERS_ALL — joined on PO_HEADER_ID; the parent document header.
  • PO_LINE_LOCATIONS_ALL — joined on PO_LINE_ID; shipments, distributions and receipt tolerances.
  • PO_DISTRIBUTIONS_ALL — joined on PO_LINE_ID; accounting distributions for the line.
  • RCV_SHIPMENT_LINES and RCV_TRANSACTIONS — joined on PO_LINE_ID; receiving and inspection activity.
  • MTL_SUPPLY — joined on PO_LINE_ID; supply/demand planning records.
  • PO_LINES_ALL (self) — joined on FROM_LINE_ID; source document linkage for releases and quotations.
  • PO_LINE_TYPES_B and MTL_CATEGORIES_B — joined on LINE_TYPE_ID and CATEGORY_ID for classification and reporting.
  • PA_TRANSACTION_INTERFACE_ALL and PA_EXPENDITURE_ITEMS_AR — joined on PO_LINE_ID; projects commitment and expenditure flows.
  • PO_LINES_ARCHIVE_ALL — joined on PO_LINE_ID and FROM_LINE_ID; archival history.
  • PO_AUTOSOURCE_DOCUMENTS_ALL — joined on DOCUMENT_LINE_ID; autosource and sourcing rules.

In addition to direct table joins, the line data is surfaced through the standard Purchasing application programming interfaces and public views such as PO_LINES_VIEW and the PO_LINES_ALL_V variant, which apply operating unit security and may omit sensitive columns.

  • 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 - Purchasingdescription: Purchase document lines (for purchase orders, purchase agreements, quotations, RFQs) ,  implementation_dba_data: PO.PO_LINES_ALL

  • 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 - Purchasingdescription: Purchase document lines (for purchase orders, purchase agreements, quotations, RFQs) ,  implementation_dba_data: PO.PO_LINES_ALL

  • eTRM - PO Tables and Views 12.2.2

    description: Temporary table for tracking a receiving upgrade from Release 9 to Release 10 , 

  • eTRM - PO Tables and Views 12.1.1

    description: Temporary table for tracking a receiving upgrade from Release 9 to Release 10 , 

  • eTRM - PO Tables and Views 12.1.1

    description: Temporary table for tracking a receiving upgrade from Release 9 to Release 10 , 

  • eTRM - PO Tables and Views 12.2.2

    description: Temporary table for tracking a receiving upgrade from Release 9 to Release 10 ,