Search Results ap_po_lines_extract_v




Overview

AP_PO_LINES_EXTRACT_V is a read-only database view owned by the APPS schema in Oracle E-Business Suite, delivered as part of the Payables (AP) product family. Its documented status is VALID and it is available in both EBS 12.1.1 and 12.2.2. As the name implies, the view is an extract construct: rather than presenting the full width and join complexity of the purchasing line model, it projects a focused slice of purchasing document line data, encompassing line identifiers, descriptive text, and the complete descriptive flexfield (DFF) attribute footprint. This design intent makes the view suitable for downstream reporting, data conversion, interface staging, and integration scenarios where a compact, attribute-rich representation of purchase order lines is required without bringing in distribution, receipt, or matching detail.

The view is not a transactional entry point. It carries no DML capability and exists purely to expose line-level descriptive and DFF data already maintained in the Purchasing tables. Because it is owned by APPS, it inherits standard EBS access conventions, meaning responsibility-based security is applied through the application layer rather than through row-level predicates inside the view itself.

Underlying Base Objects

The view is defined over a single documented base object, PO_LINES_ALL, referenced through a synonym. This is a notable characteristic: PO_LINES_ALL is the Purchasing module's base table for purchase order, blanket agreement, and other purchasing document lines. The view therefore crosses functional boundaries — it is catalogued under AP (Payables) but sources its data exclusively from PO. No joins to headers, shipments, distributions, or receipt tables are present in the supplied definition, so the view returns exactly one row per purchasing line and does not duplicate rows through relational fan-out.

Because the join is trivial and no filtering predicates appear in the documented text, the row count of the view should match the row count of PO_LINES_ALL as visible to the querying user. This simplicity is a deliberate advantage for extract use cases, where predictable cardinality matters.

Key Columns

  • PO_LINE_ID — the primary key of the purchasing line; the natural join key back to PO_LINES_ALL and onward to shipments, distributions, and matching records.
  • LINE_TYPE_ID — identifies the line type (for example, goods versus services, or fixed price versus quantity-based), governing downstream processing behaviour.
  • LINE_NUM — the display sequence number of the line on the purchasing document.
  • ITEM_DESCRIPTION — the free-text description of the item or service being procured.
  • LINE_REFERENCE_NUM — an external or customer-defined reference carried at line level.
  • ATTRIBUTE_CATEGORY and ATTRIBUTE1ATTRIBUTE15 — the line-level descriptive flexfield context and value segments.
  • GLOBAL_ATTRIBUTE_CATEGORY and GLOBAL_ATTRIBUTE1GLOBAL_ATTRIBUTE20 — the global (typically non-localized) flexfield segments, used for extensibility and localization.

Taken together, the DFF and GFF columns give the view 35 attribute slots plus 2 category columns, which is why it is favoured for extraction work: virtually all client-specific line customisations can be carried in a single query.

Common Use Cases and Queries

Typical uses include staging purchasing line data for a warehouse or analytics target, reconciling line attributes against an external system, and building custom descriptive reports that require DFF values. A representative query joining the view to the header for context is shown below.

  • Populating an interface or staging table: SELECT PO_LINE_ID, LINE_NUM, ITEM_DESCRIPTION FROM AP_PO_LINES_EXTRACT_V;
  • Retrieving DFF values for a specific line: SELECT ATTRIBUTE_CATEGORY, ATTRIBUTE1, ATTRIBUTE2 FROM AP_PO_LINES_EXTRACT_V WHERE PO_LINE_ID = :p_line_id;
  • Reconciling attribute completeness: SELECT COUNT(*) FROM AP_PO_LINES_EXTRACT_V WHERE ATTRIBUTE_CATEGORY IS NOT NULL;
  • Joining to shipment data: SELECT V.LINE_NUM, S.SHIPMENT_NUM FROM AP_PO_LINES_EXTRACT_V V, PO_LINE_LOCATIONS_ALL S WHERE S.PO_LINE_ID = V.PO_LINE_ID;

Because the view is a thin projection of PO_LINES_ALL, administrators requiring header, supplier, or organisational context must join to PO_HEADERS_ALL or equivalent objects alongside it. Consumers should also note that, as with all APPS views, query performance is governed largely by the indexes on PO_LINES_ALL, and that the view carries no additional security predicates beyond those applied by the EBS application layer.