BOM_DEPARTMENTS
Schema: BOMmasterPer inventory orgThe department (work center) master per inventory organization — the places operations happen, with class, location, and the scrap account
DEPARTMENT_ID is globally unique; the department CODE is unique only per organization.
What the badges mean
- Schema: INV
- Schema: the Oracle product schema that owns the table (INV, ONT, WSH, PO, BOM, WIP, MRP, MSC, AR, AP, GL, HR, APPLSYS) — tells you which product family the object belongs to, not who can query it.
- master
- Data class: what the table holds — master data, transaction documents, control/configuration, interface/staging, or an APPS-schema view.
- OU-striped (ORG_ID)
- Rows are scoped to an operating unit. A landed extract carries every operating unit’s rows — filter or join on
ORG_ID, and don’t confuse it withORGANIZATION_ID(see the quirks guide). - Per inventory org
- Rows are scoped to an inventory organization (plant or warehouse) via
ORGANIZATION_ID— a different partition from OU-striped tables (see the quirks guide). - Language-striped
- The table carries a
LANGUAGEcolumn (a _TL translation table or FND_LOOKUP_VALUES) — one row per language. Filter to oneLANGUAGEor a join multiplies rows (see the quirks guide). - View
- This is an APPS-schema convenience view, not a physical table. Extract the base tables it joins instead — views can be slow at scale and aren't guaranteed stable across patches.
Structural facts — how the table is partitioned, not a trap by itself
Join & extract hazards — verify before you rely on this
Fields
8 fields · 1 key
8 fields.
| # | Field | Description | Type | Flags |
|---|---|---|---|---|
| 1 | DEPARTMENT_ID | Surrogate key of the department — globally unique | NUMBER | Primary-key field |
| 2 | DEPARTMENT_CODE | The department code users see — unique only per organization | VARCHAR2 | |
| 3 | ORGANIZATION_ID | Inventory organization | NUMBER | |
| 4 | DESCRIPTION | Department description | VARCHAR2 | |
| 5 | DEPARTMENT_CLASS_CODE | Department class grouping | VARCHAR2 | |
| 6 | LOCATION_ID | Physical location record | NUMBER | |
| 7 | DISABLE_DATE | When the department was disabled — NULL while active | DATE | |
| 8 | SCRAP_ACCOUNT | The GL account (CCID) scrap at this department charges to | NUMBER |
Field provenance: hand-curated. 1 key field.
Boilerplate SQL
Starting point for reading BOM_DEPARTMENTS on Databricks — real DATE columns need no conversion, and the org anchor is already in place. The optional LAST_UPDATE_DATE watermark is included. Set your Unity Catalog location, schema, and org values below; they’re substituted into the SQL and the copy button.
5 parameters not filled: <catalog>, <schema>, <inventory_org_id>, <DEPARTMENT_ID>, <watermark>
-- ============================================================
-- Table : BOM_DEPARTMENTS — The department (work center) master per inventory organization — the places operations happen, with class, location, and the scrap account
-- Purpose: Column-selected read of BOM_DEPARTMENTS — auto-generated from field metadata
-- Grain : One row per inventory org (ORGANIZATION_ID) + DEPARTMENT_ID
-- 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.DEPARTMENT_ID AS "Surrogate key of the department — globally unique",
t.DEPARTMENT_CODE AS "The department code users see — unique only per organization",
t.ORGANIZATION_ID AS "Inventory organization",
t.DESCRIPTION AS "Department description",
t.DEPARTMENT_CLASS_CODE AS "Department class grouping",
t.LOCATION_ID AS "Physical location record",
t.DISABLE_DATE AS "When the department was disabled — NULL while active",
t.SCRAP_ACCOUNT AS "The GL account (CCID) scrap at this department charges to"
FROM <catalog>.<schema>.BOM_DEPARTMENTS t
WHERE
t.ORGANIZATION_ID = <inventory_org_id> -- inventory org, NOT the operating unit — see quirks guide #two-orgs
-- AND t.DEPARTMENT_ID = <DEPARTMENT_ID>
-- AND t.LAST_UPDATE_DATE >= TIMESTAMP '<watermark>' -- WHO watermark, bulk-stamped by batch jobs; see quirks guide #who-columns
ORDER BY t.DEPARTMENT_ID;Verified September 2026
Relationships
Diagram of 1-hop neighbors — join details below. FND lookup decode and translation edges are highlighted; they’re the joins newcomers most often get wrong.
Join details
ON BOM_OPERATION_SEQUENCES.DEPARTMENT_ID = BOM_DEPARTMENTS.DEPARTMENT_IDON BOM_DEPARTMENTS.ORGANIZATION_ID = MTL_PARAMETERS.ORGANIZATION_IDON CST_ITEM_COST_DETAILS.DEPARTMENT_ID = BOM_DEPARTMENTS.DEPARTMENT_ID AND CST_ITEM_COST_DETAILS.ORGANIZATION_ID = BOM_DEPARTMENTS.ORGANIZATION_IDON WIP_OPERATIONS.DEPARTMENT_ID = BOM_DEPARTMENTS.DEPARTMENT_ID AND WIP_OPERATIONS.ORGANIZATION_ID = BOM_DEPARTMENTS.ORGANIZATION_ID
More BOM & Costing tables
- BOM_INVENTORY_COMPONENTSThe compatibility view legacy queries know BOM components by — an APPS-schema access layer over the physical components table
- BOM_OPERATION_RESOURCESResources required per routing operation — usage rate, assigned units, and the basis and charge types that drive costing, capacity, and scheduling
- BOM_OPERATION_SEQUENCESRouting operations — one row per operation per routing per effectivity window, department-assigned, with the count-point and backflush controls that decide where work is recorded
- BOM_OPERATIONAL_ROUTINGSThe routing header — one routing per assembly item, organization, and alternate designator, with the common-routing pointer and the completion subinventory finished assemblies land in
- BOM_RESOURCESThe resource master — machines, labor, and outside processing, plus overhead and material sub-elements sharing the table (the cost element discriminates), each with its UOM, charge behavior, and absorption account
- BOM_STRUCTURES_BThe bill-of-material header — one bill per assembly item, organization, and alternate designator (manufacturing or engineering), with the common-bill pointer that lets organizations share one structure