CST_ITEM_COSTS
Schema: BOMmasterPer inventory orgThe item cost header — one row per item, organization, and cost type, carrying the total unit cost and its five cost-element buckets plus this-level/previous-level splits
One row per item per org PER COST TYPE — filter one cost type or unit costs multiply; which type is current depends on the org's costing method (see MTL_PARAMETERS)
Frozen is the live cost for standard-costing orgs, Average for average-costing orgs — the org's PRIMARY_COST_METHOD decides. Owned by the BOM schema (Cost Management shares it) per the data dictionary.
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
16 fields · 3 key
| # | Field | Description | Type | Flags |
|---|---|---|---|---|
| 1 | INVENTORY_ITEM_ID | Item id — the cost is per item, org, and cost type | NUMBER | Key |
| 2 | ORGANIZATION_ID | Inventory organization | NUMBER | Key |
| 3 | COST_TYPE_ID | The cost type — filter to one or unit costs multiply | NUMBER | Key |
| 4 | ITEM_COST | Total unit cost — the sum of the element buckets | NUMBER | |
| 5 | MATERIAL_COST | Material element of the unit cost | NUMBER | |
| 6 | MATERIAL_OVERHEAD_COST | Material overhead element | NUMBER | |
| 7 | RESOURCE_COST | Resource element | NUMBER | |
| 8 | OUTSIDE_PROCESSING_COST | Outside processing element | NUMBER | |
| 9 | OVERHEAD_COST | Overhead element | NUMBER | |
| 10 | TL_MATERIAL | This-level material — the split between the item's own cost and its components' | NUMBER | |
| 11 | TL_RESOURCE | This-level resource | NUMBER | |
| 12 | PL_MATERIAL | Previous-level material — rolled up from components | NUMBER | |
| 13 | INVENTORY_ASSET_FLAG | Whether the item is an inventory asset under this cost type | NUMBER | |
| 14 | BASED_ON_ROLLUP_FLAG | Whether the cost came from a rollup vs manual entry | NUMBER | |
| 15 | LOT_SIZE | Costing lot size lot-basis charges spread over | NUMBER | |
| 16 | SHRINKAGE_RATE | Shrinkage rate applied in the rollup | NUMBER |
Field provenance: hand-curated. 3 key fields.
Boilerplate SQL
Starting point for reading CST_ITEM_COSTSon 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 : CST_ITEM_COSTS — The item cost header — one row per item, organization, and cost type, carrying the total unit cost and its five cost-element buckets plus this-level/previous-level splits
-- Purpose: Column-selected read of CST_ITEM_COSTS — auto-generated from field metadata
-- Grain : One row per inventory org (ORGANIZATION_ID) + INVENTORY_ITEM_ID + COST_TYPE_ID
-- Caution: One row per item per org PER COST TYPE — filter one cost type or unit costs multiply; which type is current depends on the org's costing method (see MTL_PARAMETERS)
-- 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.INVENTORY_ITEM_ID AS "Item id — the cost is per item, org, and cost type",
t.ORGANIZATION_ID AS "Inventory organization",
t.COST_TYPE_ID AS "The cost type — filter to one or unit costs multiply",
t.ITEM_COST AS "Total unit cost — the sum of the element buckets",
t.MATERIAL_COST AS "Material element of the unit cost",
t.MATERIAL_OVERHEAD_COST AS "Material overhead element",
t.RESOURCE_COST AS "Resource element",
t.OUTSIDE_PROCESSING_COST AS "Outside processing element",
t.OVERHEAD_COST AS "Overhead element",
t.TL_MATERIAL AS "This-level material — the split between the item's own cost and its components'",
t.TL_RESOURCE AS "This-level resource",
t.PL_MATERIAL AS "Previous-level material — rolled up from components",
t.INVENTORY_ASSET_FLAG AS "Whether the item is an inventory asset under this cost type",
t.BASED_ON_ROLLUP_FLAG AS "Whether the cost came from a rollup vs manual entry",
t.LOT_SIZE AS "Costing lot size lot-basis charges spread over",
t.SHRINKAGE_RATE AS "Shrinkage rate applied in the rollup"
FROM <catalog>.<schema>.CST_ITEM_COSTS t
WHERE
t.ORGANIZATION_ID = <inventory_org_id> -- inventory org, NOT the operating unit — see quirks guide #two-orgs
-- AND t.INVENTORY_ITEM_ID = <INVENTORY_ITEM_ID>
-- AND t.COST_TYPE_ID = <COST_TYPE_ID>
-- AND t.LAST_UPDATE_DATE >= TIMESTAMP '<watermark>' -- WHO watermark, bulk-stamped by batch jobs; see quirks guide #who-columns
ORDER BY t.INVENTORY_ITEM_ID;6 parameters not filled: <catalog>, <schema>, <inventory_org_id>, <INVENTORY_ITEM_ID>, <COST_TYPE_ID>, <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 CST_ITEM_COSTS.INVENTORY_ITEM_ID = MTL_SYSTEM_ITEMS_B.INVENTORY_ITEM_ID AND CST_ITEM_COSTS.ORGANIZATION_ID = MTL_SYSTEM_ITEMS_B.ORGANIZATION_IDON CST_ITEM_COSTS.COST_TYPE_ID = CST_COST_TYPES.COST_TYPE_IDON CST_ITEM_COSTS.ORGANIZATION_ID = MTL_PARAMETERS.ORGANIZATION_IDON CST_ITEM_COST_DETAILS.INVENTORY_ITEM_ID = CST_ITEM_COSTS.INVENTORY_ITEM_ID AND CST_ITEM_COST_DETAILS.ORGANIZATION_ID = CST_ITEM_COSTS.ORGANIZATION_ID AND CST_ITEM_COST_DETAILS.COST_TYPE_ID = CST_ITEM_COSTS.COST_TYPE_ID