PO_LINE_LOCATIONS_ALL
Schema: POtransactionOU-striped (ORG_ID)PO shipment schedules — one row per delivery schedule per line with need-by/promised dates and the running received/billed/cancelled quantity counters; blanket price-break rows share the table
Price-break rows share this table with real shipments (SHIPMENT_TYPE distinguishes them), and QUANTITY_RECEIVED/QUANTITY_BILLED are running totals, not events — filter the type and treat the counters as balances
SHIP_TO_ORGANIZATION_ID is the receiving inventory org — the org half of every item join from purchasing (see quirks #two-orgs). Open quantity is QUANTITY − QUANTITY_RECEIVED − QUANTITY_CANCELLED. Receipt events live in the receiving transaction ledger.
What the badges mean
- master
- Data class: what the table holds — master data, transaction documents, control/configuration, interface/staging, or an APPS-schema view.
Fields
17 fields · 1 key
| # | Field | Description | Type | Flags |
|---|---|---|---|---|
| 1 | LINE_LOCATION_ID | Surrogate key of the shipment schedule — what receiving and drop-ship rows point at | NUMBER | Key |
| 2 | PO_HEADER_ID | The document header (denormalized) | NUMBER | |
| 3 | PO_LINE_ID | The document line | NUMBER | |
| 4 | ORG_ID | Operating unit | NUMBER | |
| 5 | PO_RELEASE_ID | The blanket release that created this shipment — NULL on standard POs | NUMBER | |
| 6 | SHIPMENT_TYPE | Shipment vs blanket price break — price-break rows share this table; filter before summing | VARCHAR2 | |
| 7 | SHIPMENT_NUM | Shipment number within the line | NUMBER | |
| 8 | SHIP_TO_ORGANIZATION_ID | The receiving inventory org — the org half of purchasing's item joins (see quirks guide #two-orgs) | NUMBER | |
| 9 | QUANTITY | Ordered quantity on the shipment (or the break quantity on price-break rows) | NUMBER | |
| 10 | QUANTITY_RECEIVED | Running total received — a balance, not an event; events live in the receiving ledger | NUMBER | |
| 11 | QUANTITY_BILLED | Running total billed by payables matching | NUMBER | |
| 12 | QUANTITY_CANCELLED | Quantity cancelled off the shipment | NUMBER | |
| 13 | PRICE_OVERRIDE | Shipment-level price (or the break price on price-break rows) | NUMBER | |
| 14 | NEED_BY_DATE | When the org needs the goods — the demand-side analysis date | DATE | Filter date |
| 15 | PROMISED_DATE | The supplier's committed date — the OTD denominator | DATE | |
| 16 | CLOSED_CODE | Shipment closure state | VARCHAR2 | |
| 17 | CANCEL_FLAG | Y when the shipment is cancelled | VARCHAR2 |
Field provenance: hand-curated. 1 key field.
Boilerplate SQL
Starting point for reading PO_LINE_LOCATIONS_ALLon Databricks — real DATE columns need no conversion, and the org anchor and the LAST_UPDATE_DATE watermark 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 shipment schedules — one row per delivery schedule per line with need-by/promised dates and the running received/billed/cancelled quantity counters; blanket price-break rows share the table
-- Purpose: Column-selected read of PO_LINE_LOCATIONS_ALL — auto-generated from field metadata
-- Grain : One row per operating unit (ORG_ID) + LINE_LOCATION_ID
-- Caution: Price-break rows share this table with real shipments (SHIPMENT_TYPE distinguishes them), and QUANTITY_RECEIVED/QUANTITY_BILLED are running totals, not events — filter the type and treat the counters as balances
-- Notes : Auto-generated skeleton for Oracle EBS R12 data landed in your lakehouse. 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 shipment schedule — what receiving and drop-ship rows point at",
t.PO_HEADER_ID AS "The document header (denormalized)",
t.PO_LINE_ID AS "The document line",
t.ORG_ID AS "Operating unit",
t.PO_RELEASE_ID AS "The blanket release that created this shipment — NULL on standard POs",
t.SHIPMENT_TYPE AS "Shipment vs blanket price break — price-break rows share this table; filter before summing",
t.SHIPMENT_NUM AS "Shipment number within the line",
t.SHIP_TO_ORGANIZATION_ID AS "The receiving inventory org — the org half of purchasing's item joins (see quirks guide #two-orgs)",
t.QUANTITY AS "Ordered quantity on the shipment (or the break quantity on price-break rows)",
t.QUANTITY_RECEIVED AS "Running total received — a balance, not an event; events live in the receiving ledger",
t.QUANTITY_BILLED AS "Running total billed by payables matching",
t.QUANTITY_CANCELLED AS "Quantity cancelled off the shipment",
t.PRICE_OVERRIDE AS "Shipment-level price (or the break price on price-break rows)",
t.NEED_BY_DATE AS "When the org needs the goods — the demand-side analysis date",
t.PROMISED_DATE AS "The supplier's committed date — the OTD denominator",
t.CLOSED_CODE AS "Shipment closure state",
t.CANCEL_FLAG AS "Y when the shipment is cancelled"
FROM <catalog>.<schema>.PO_LINE_LOCATIONS_ALL t
WHERE
t.ORG_ID = <operating_unit_id> -- operating unit (MOAC does not filter extracts)
-- 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>' -- WHO watermark, bulk-stamped by batch jobs; see quirks guide #who-columns
ORDER BY t.LINE_LOCATION_ID;7 parameters not filled: <catalog>, <schema>, <operating_unit_id>, <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 OE_DROP_SHIP_SOURCES.LINE_LOCATION_ID = PO_LINE_LOCATIONS_ALL.LINE_LOCATION_ID AND OE_DROP_SHIP_SOURCES.ORG_ID = PO_LINE_LOCATIONS_ALL.ORG_IDON PO_LINE_LOCATIONS_ALL.PO_LINE_ID = PO_LINES_ALL.PO_LINE_ID AND PO_LINE_LOCATIONS_ALL.ORG_ID = PO_LINES_ALL.ORG_IDON PO_LINE_LOCATIONS_ALL.PO_RELEASE_ID = PO_RELEASES_ALL.PO_RELEASE_ID AND PO_LINE_LOCATIONS_ALL.ORG_ID = PO_RELEASES_ALL.ORG_IDON PO_LINE_LOCATIONS_ALL.SHIP_TO_ORGANIZATION_ID = MTL_PARAMETERS.ORGANIZATION_IDON PO_DISTRIBUTIONS_ALL.LINE_LOCATION_ID = PO_LINE_LOCATIONS_ALL.LINE_LOCATION_ID AND PO_DISTRIBUTIONS_ALL.ORG_ID = PO_LINE_LOCATIONS_ALL.ORG_IDON PO_REQUISITION_LINES_ALL.LINE_LOCATION_ID = PO_LINE_LOCATIONS_ALL.LINE_LOCATION_ID AND PO_REQUISITION_LINES_ALL.ORG_ID = PO_LINE_LOCATIONS_ALL.ORG_IDON RCV_TRANSACTIONS.PO_LINE_LOCATION_ID = PO_LINE_LOCATIONS_ALL.LINE_LOCATION_ID