WIE_WORK_ORDERS_B
Product: WIEtransactionPer inventory orgThe work order header — the primary product being built, the work definition version it was created from, the build quantity, status, and planned/actual execution dates
COMPLETED/SCRAPPED/REJECTED quantities are maintained counters, not events — event history lives in the two transaction ledgers
Statuses are user-definable rows: WORK_ORDER_STATUS_ID points at a status record mapped to a system status (unreleased/released/on hold/completed/closed/canceled) — join through it rather than filtering literals; no status ladder ships. Translated names live on WIE_WORK_ORDERS_TL (not yet cataloged).
What the badges mean
- master
- Data class: what the table holds — master data, transaction documents, control/configuration, interface/staging, or a documented view.
Header & line
WIE_WORK_ORDERS_B is the header for its lines in WIE_WO_OPERATIONS_B.
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.ScmExtractAM.WieBiccExtractAM.WorkOrderExtractPVOOTBI: Manufacturing - Work Order Performance Real Time
Work Orders data store — keyed on WorkOrderId. The subject-area name is Work Order Performance in Oracle's book — no plain Work Orders subject area exists.
Oracle data-store documentation →
Fields
17 fields · 2 key
| # | Field | Description | Type | Flags |
|---|---|---|---|---|
| 1 | WORK_ORDER_ID | Surrogate key of the work order | NUMBER | Key |
| 2 | WORK_ORDER_NUMBER | User-facing work order number | VARCHAR2 | Key |
| 3 | ORGANIZATION_ID | Manufacturing plant owning the work order | NUMBER | |
| 4 | INVENTORY_ITEM_ID | The assembly / primary product item | NUMBER | |
| 5 | WORK_DEFINITION_ID | The work definition used | NUMBER | |
| 6 | WORK_DEFINITION_VERSION_ID | The specific version the order was created from | NUMBER | |
| 7 | WORK_ORDER_STATUS_ID | The user-definable status row — join through it, don't filter literals | NUMBER | |
| 8 | WORK_ORDER_TYPE | Standard vs nonstandard work | VARCHAR2 | ORA_WIE_WO_TYPE |
| 9 | PLANNED_START_QUANTITY | Planned build quantity | NUMBER | |
| 10 | COMPLETED_QUANTITY | Running total completed — a maintained counter, not events | NUMBER | |
| 11 | SCRAPPED_QUANTITY | Running total scrapped | NUMBER | |
| 12 | UOM_CODE | UOM the assembly is produced in | VARCHAR2 | |
| 13 | PLANNED_START_DATE | Scheduled start | TIMESTAMP | |
| 14 | PLANNED_COMPLETION_DATE | Scheduled finish | TIMESTAMP | |
| 15 | ACTUAL_START_DATE | Actual start | TIMESTAMP | |
| 16 | ACTUAL_COMPLETION_DATE | Actual finish | TIMESTAMP | |
| 17 | RELEASED_DATE | When released to the shop floor | TIMESTAMP |
Field provenance: hand-curated. 2 key fields.
Boilerplate SQL
Starting point for reading the BICC-landed copy of WIE_WORK_ORDERS_Bon 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 : WIE_WORK_ORDERS_B — The work order header — the primary product being built, the work definition version it was created from, the build quantity, status, and planned/actual execution dates
-- Purpose: Column-selected read of WIE_WORK_ORDERS_B — auto-generated from field metadata
-- Grain : One row per inventory org (ORGANIZATION_ID) + WORK_ORDER_ID + WORK_ORDER_NUMBER
-- Caution: COMPLETED/SCRAPPED/REJECTED quantities are maintained counters, not events — event history lives in the two transaction ledgers
-- 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.WORK_ORDER_ID AS "Surrogate key of the work order",
t.WORK_ORDER_NUMBER AS "User-facing work order number",
t.ORGANIZATION_ID AS "Manufacturing plant owning the work order",
t.INVENTORY_ITEM_ID AS "The assembly / primary product item",
t.WORK_DEFINITION_ID AS "The work definition used",
t.WORK_DEFINITION_VERSION_ID AS "The specific version the order was created from",
t.WORK_ORDER_STATUS_ID AS "The user-definable status row — join through it, don't filter literals",
t.WORK_ORDER_TYPE AS "Standard vs nonstandard work", -- decode t.WORK_ORDER_TYPE via FND_LOOKUP_VALUES (LOOKUP_TYPE = 'ORA_WIE_WO_TYPE', LANGUAGE-filtered)
t.PLANNED_START_QUANTITY AS "Planned build quantity",
t.COMPLETED_QUANTITY AS "Running total completed — a maintained counter, not events",
t.SCRAPPED_QUANTITY AS "Running total scrapped",
t.UOM_CODE AS "UOM the assembly is produced in",
t.PLANNED_START_DATE AS "Scheduled start",
t.PLANNED_COMPLETION_DATE AS "Scheduled finish",
t.ACTUAL_START_DATE AS "Actual start",
t.ACTUAL_COMPLETION_DATE AS "Actual finish",
t.RELEASED_DATE AS "When released to the shop floor"
FROM <catalog>.<schema>.WIE_WORK_ORDERS_B t
WHERE
t.ORGANIZATION_ID = <inventory_org_id> -- inventory org, NOT the business unit — see quirks guide #item-org-striping
-- AND t.WORK_ORDER_ID = <WORK_ORDER_ID>
-- AND t.WORK_ORDER_NUMBER = '<WORK_ORDER_NUMBER>'
-- AND t.LAST_UPDATE_DATE >= TIMESTAMP '<watermark>' -- the column incremental BICC extracts key on
ORDER BY t.WORK_ORDER_ID;6 parameters not filled: <catalog>, <schema>, <inventory_org_id>, <WORK_ORDER_ID>, <WORK_ORDER_NUMBER>, <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 WIE_WORK_ORDERS_B.WORK_ORDER_ID = WIE_WO_OPERATIONS_B.WORK_ORDER_ID AND WIE_WORK_ORDERS_B.ORGANIZATION_ID = WIE_WO_OPERATIONS_B.ORGANIZATION_IDON WIE_WORK_ORDERS_B.INVENTORY_ITEM_ID = EGP_SYSTEM_ITEMS_B.INVENTORY_ITEM_ID AND WIE_WORK_ORDERS_B.ORGANIZATION_ID = EGP_SYSTEM_ITEMS_B.ORGANIZATION_IDON WIE_WORK_ORDERS_B.WORK_DEFINITION_ID = WIS_WORK_DEFINITIONS.WORK_DEFINITION_ID AND WIE_WORK_ORDERS_B.ORGANIZATION_ID = WIS_WORK_DEFINITIONS.ORGANIZATION_IDON WIE_WORK_ORDERS_B.WORK_DEFINITION_VERSION_ID = WIS_WD_VERSIONS.WORK_DEFINITION_VERSION_IDON WIE_WORK_ORDERS_B.ORGANIZATION_ID = INV_ORG_PARAMETERS.ORGANIZATION_IDON WIE_OPERATION_TRANSACTIONS.WORK_ORDER_ID = WIE_WORK_ORDERS_B.WORK_ORDER_ID AND WIE_OPERATION_TRANSACTIONS.ORGANIZATION_ID = WIE_WORK_ORDERS_B.ORGANIZATION_IDON WIE_RESOURCE_TRANSACTIONS.WORK_ORDER_ID = WIE_WORK_ORDERS_B.WORK_ORDER_ID AND WIE_RESOURCE_TRANSACTIONS.ORGANIZATION_ID = WIE_WORK_ORDERS_B.ORGANIZATION_ID