PO_LINE_LOCATIONS_ALL
Product: POtransactionPO schedules — one row per shipment schedule (or blanket price break) with need-by/promised dates and the system-maintained received/accepted/rejected/billed quantity buckets; the workhorse grain for open-PO analytics
QUANTITY_RECEIVED/ACCEPTED/REJECTED and QUANTITY_BILLED are running totals maintained by Receiving and Payables — balances, not events; open quantity is ordered − received − cancelled
SHIP_TO_ORGANIZATION_ID is the receiving inventory org — the org half of every item join from procurement. Closure is expressed through SCHEDULE_STATUS plus three separate close dates (receiving, invoice, both) — there is no CLOSED_CODE. MATCH_OPTION and the receipt/inspection flags drive 2/3/4-way matching.
What the badges mean
- master
- Data class: what the table holds — master data, transaction documents, control/configuration, interface/staging, or a documented view.
Extract access
The delivered surfaces that reach this table — the BICC extract data store (PVO) for bulk extraction and the OTBI subject areas for real-time queries. There is no SQL path to the SaaS database.
- FscmTopModelAM.PrcExtractAM.PoBiccExtractAM.PurchasingDocumentLineLocationExtractPVOOTBI: Procurement - Purchasing Real Time
Purchasing Document Schedules data store — keyed on LineLocationId; blanket price breaks share the store (same underlying entity).
Oracle data-store documentation →
Fields
18 fields · 1 key
| # | Field | Description | Type | Flags |
|---|---|---|---|---|
| 1 | LINE_LOCATION_ID | Surrogate key of the schedule | NUMBER | Key |
| 2 | PO_LINE_ID | Parent line | NUMBER | |
| 3 | PO_HEADER_ID | Parent header (denormalized) | NUMBER | |
| 4 | SHIPMENT_NUM | Visible schedule number | NUMBER | |
| 5 | SHIP_TO_ORGANIZATION_ID | Receiving inventory organization — the org half of every item join from procurement | NUMBER | |
| 6 | SHIP_TO_LOCATION_ID | Ship-to location | NUMBER | |
| 7 | QUANTITY | Scheduled quantity (or price-break quantity on agreements) | NUMBER | |
| 8 | QUANTITY_RECEIVED | Cumulative quantity received to date — maintained by Receiving, a balance not an event | NUMBER | |
| 9 | QUANTITY_ACCEPTED | Post-inspection accepted total | NUMBER | |
| 10 | QUANTITY_REJECTED | Post-inspection rejected total | NUMBER | |
| 11 | QUANTITY_BILLED | Quantity invoiced by Payables to date | NUMBER | |
| 12 | QUANTITY_CANCELLED | Quantity cancelled — open quantity is QUANTITY − QUANTITY_RECEIVED − QUANTITY_CANCELLED | NUMBER | |
| 13 | PRICE_OVERRIDE | Schedule price / price-break price | NUMBER | |
| 14 | NEED_BY_DATE | Requested delivery date | DATE | Filter date |
| 15 | PROMISED_DATE | Supplier-promised delivery date | DATE | |
| 16 | SCHEDULE_STATUS | Schedule status — closure is this plus three separate close dates, no CLOSED_CODE | VARCHAR2 | |
| 17 | MATCH_OPTION | Match invoices to the PO or to the receipt | VARCHAR2 | |
| 18 | DESTINATION_TYPE_CODE | Inventory vs expense destination | VARCHAR2 |
Field provenance: hand-curated. 1 key field.
Boilerplate SQL
Starting point for reading the BICC-landed copy of PO_LINE_LOCATIONS_ALLon Databricks — real DATE columns need no conversion, and the org anchor and the LAST_UPDATE_DATE watermark (the column incremental BICC extracts key on) are already in place. Set your Unity Catalog location, schema, and org values below; they’re substituted into the SQL and the copy button.
-- ============================================================
-- Table : PO_LINE_LOCATIONS_ALL — PO schedules — one row per shipment schedule (or blanket price break) with need-by/promised dates and the system-maintained received/accepted/rejected/billed quantity buckets; the workhorse grain for open-PO analytics
-- Purpose: Column-selected read of PO_LINE_LOCATIONS_ALL — auto-generated from field metadata
-- Grain : One row per LINE_LOCATION_ID
-- Caution: QUANTITY_RECEIVED/ACCEPTED/REJECTED and QUANTITY_BILLED are running totals maintained by Receiving and Payables — balances, not events; open quantity is ordered − received − cancelled
-- Notes : Auto-generated skeleton for Oracle Fusion Cloud data landed in your lakehouse by a BICC extract — there is no SQL path to the SaaS database. Column names follow Oracle's table documentation — if your landed data still carries PVO attribute headers, map names first; see quirks #pvo-drift. Dates are real DATE/TIMESTAMP columns — no conversion needed. WHO audit columns omitted (see the quirks guide); the optional LAST_UPDATE_DATE watermark filter supports incremental extracts.
-- ============================================================
SELECT
t.LINE_LOCATION_ID AS "Surrogate key of the schedule",
t.PO_LINE_ID AS "Parent line",
t.PO_HEADER_ID AS "Parent header (denormalized)",
t.SHIPMENT_NUM AS "Visible schedule number",
t.SHIP_TO_ORGANIZATION_ID AS "Receiving inventory organization — the org half of every item join from procurement",
t.SHIP_TO_LOCATION_ID AS "Ship-to location",
t.QUANTITY AS "Scheduled quantity (or price-break quantity on agreements)",
t.QUANTITY_RECEIVED AS "Cumulative quantity received to date — maintained by Receiving, a balance not an event",
t.QUANTITY_ACCEPTED AS "Post-inspection accepted total",
t.QUANTITY_REJECTED AS "Post-inspection rejected total",
t.QUANTITY_BILLED AS "Quantity invoiced by Payables to date",
t.QUANTITY_CANCELLED AS "Quantity cancelled — open quantity is QUANTITY − QUANTITY_RECEIVED − QUANTITY_CANCELLED",
t.PRICE_OVERRIDE AS "Schedule price / price-break price",
t.NEED_BY_DATE AS "Requested delivery date",
t.PROMISED_DATE AS "Supplier-promised delivery date",
t.SCHEDULE_STATUS AS "Schedule status — closure is this plus three separate close dates, no CLOSED_CODE",
t.MATCH_OPTION AS "Match invoices to the PO or to the receipt",
t.DESTINATION_TYPE_CODE AS "Inventory vs expense destination"
FROM <catalog>.<schema>.PO_LINE_LOCATIONS_ALL t
WHERE
1 = 1 -- no partition column on this table; the filters below are optional
-- AND t.LINE_LOCATION_ID = <LINE_LOCATION_ID>
-- AND t.NEED_BY_DATE >= DATE '<DATE_FROM>'
-- AND t.NEED_BY_DATE <= DATE '<DATE_TO>'
-- AND t.LAST_UPDATE_DATE >= TIMESTAMP '<watermark>' -- the column incremental BICC extracts key on
ORDER BY t.LINE_LOCATION_ID;6 parameters not filled: <catalog>, <schema>, <LINE_LOCATION_ID>, <DATE_FROM>, <DATE_TO>, <watermark>
Relationships
1-hop neighbors — click a table to navigate there. FND lookup decode and translation edges are highlighted; they’re the joins newcomers most often get wrong.
Join details
ON PO_LINE_LOCATIONS_ALL.PO_LINE_ID = PO_LINES_ALL.PO_LINE_IDON PO_LINE_LOCATIONS_ALL.SHIP_TO_ORGANIZATION_ID = INV_ORG_PARAMETERS.ORGANIZATION_IDON PO_DISTRIBUTIONS_ALL.LINE_LOCATION_ID = PO_LINE_LOCATIONS_ALL.LINE_LOCATION_IDON POR_REQUISITION_LINES_ALL.LINE_LOCATION_ID = PO_LINE_LOCATIONS_ALL.LINE_LOCATION_IDON RCV_SHIPMENT_LINES.PO_LINE_LOCATION_ID = PO_LINE_LOCATIONS_ALL.LINE_LOCATION_IDON RCV_TRANSACTIONS.PO_LINE_LOCATION_ID = PO_LINE_LOCATIONS_ALL.LINE_LOCATION_ID