Search Results cst_cg_item_costs_view
Overview
CST_CG_ITEM_COSTS_VIEW is a cost-management view owned by the APPS schema in Oracle E-Business Suite, associated with the Bills of Material (BOM) product family. Its documented purpose is to expose the this-level, previous-level, and total elemental costs of an item within an average costing organization. In EBS costing terminology, "elemental costs" refers to the individual cost elements—material, material overhead, resource, outside processing, and overhead—that roll up into the total item cost.
The view reconciles two data sources. The first is the item cost record held in CST_ITEM_COSTS, which stores elemental and rollup cost attributes for an inventory item in a cost group. The second is the cost quantity layer stored in CST_QUANTITY_LAYERS, which represents the average-cost layer created when an inventory transaction or cost update introduces quantity and value into the organization. The view is therefore central to any reporting or integration that must present per-layer average costing data alongside the standard item cost definition. Its LAYER_QUANTITY column, matching the user's search term, is the quantity associated with a given costing layer.
Underlying Base Objects
The view is defined over three documented base objects, exposed to APPS through synonyms:
CST_ITEM_COSTS(SYNONYM) — the item-level cost record containing elemental and total cost columns for the item and cost group.CST_QUANTITY_LAYERS(SYNONYM) — the average-cost quantity layers, keyed by layer, cost group, and inventory item.MTL_PARAMETERS(SYNONYM) — the organization parameters table, providing the organization's primary cost method and default cost group used in the DECODE logic.
The join logic is expressed through DECODE constructs. When a cost quantity layer exists for the item (CQL.INVENTORY_ITEM_ID is not null), the view returns the layer's cost group and layer-quantity values; otherwise it falls back to the item-cost record and organization defaults. Similarly, each elemental cost column is drawn from the layer when present, and from CST_ITEM_COSTS otherwise.
Key Columns
LAYER_ID— the quantity layer identifier; defaults to 1 when no layer is present.COST_GROUP_ID— the cost group for the layer, or the organization default cost group (with primary cost method 1 mapping to 1) when no layer exists.LAYER_QUANTITY— the quantity belonging to the costing layer; defaults to 1 when no layer is present. This is the column most relevant to the user's search.INVENTORY_ITEM_ID,ORGANIZATION_ID— the item and inventory organization identifiers.INVENTORY_ASSET_FLAG,LOT_SIZE,SHRINKAGE_RATE,BASED_ON_ROLLUP_FLAG,DEFAULTED_FLAG,COST_UPDATE_ID— item-cost attributes carried fromCST_ITEM_COSTS.- Previous-level (
PL_*), this-level (TL_*), and total elemental cost columns — material, material overhead, resource, outside processing, and overhead — each resolved from the layer or the item cost record as appropriate.
Common Use Cases and Queries
Typical uses include average-cost layer reporting, reconciliation of layer quantity against elemental layer value, and integration feeds requiring this-level versus previous-level cost breakdowns.
To inspect layer quantities for an item in an organization:
SELECT inventory_item_id, organization_id, layer_id,
cost_group_id, layer_quantity, material_cost, resource_cost
FROM apps.cst_cg_item_costs_view
WHERE organization_id = :org_id
AND inventory_item_id = :item_id;
To summarize total layer quantity by item:
SELECT inventory_item_id, SUM(layer_quantity) total_qty
FROM apps.cst_cg_item_costs_view
WHERE organization_id = :org_id
GROUP BY inventory_item_id;
Queries should always be constrained by organization and item, since the view spans all average-costing organizations and items accessible to the APPS schema.
-
View: CST_CG_ITEM_COSTS_VIEW
12.2.2
owner:APPS, object_type:VIEW, fnd_design_data:BOM.CST_CG_ITEM_COSTS_VIEW, object_name:CST_CG_ITEM_COSTS_VIEW, status:VALID, product: BOM - Bills of Material , description: This level, previous level and total elemental costs in an average costing organization. , implementation_dba_data: APPS.CST_CG_ITEM_COSTS_VIEW ,
-
View: CST_CG_ITEM_COSTS_VIEW
12.1.1
owner:APPS, object_type:VIEW, fnd_design_data:BOM.CST_CG_ITEM_COSTS_VIEW, object_name:CST_CG_ITEM_COSTS_VIEW, status:VALID, product: BOM - Bills of Material , description: This level, previous level and total elemental costs in an average costing organization. , implementation_dba_data: APPS.CST_CG_ITEM_COSTS_VIEW ,
-
VIEW: APPS.MTL_ONHAND_QTY_COST_V
12.1.1
-
VIEW: APPS.MTL_BIS_INV_VALUE_V
12.2.2
-
VIEW: APPS.MTL_GROSS_REQ_COST_V
12.2.2
-
VIEW: APPS.MTL_PHY_ADJ_COST_V
12.2.2
-
VIEW: APPS.MTL_PHY_INV_TAGS_COST_V
12.1.1
-
VIEW: APPS.MTL_PHY_ADJ_COST_V
12.1.1
-
View: MTL_ONHAND_QTY_COST_V
12.1.1
owner:APPS, object_type:VIEW, fnd_design_data:INV.MTL_ONHAND_QTY_COST_V, object_name:MTL_ONHAND_QTY_COST_V, status:VALID, product: INV - Inventory , description: - Retrofitted , implementation_dba_data: APPS.MTL_ONHAND_QTY_COST_V ,
-
VIEW: APPS.MTL_PHY_INV_TAGS_COST_V
12.2.2
-
VIEW: APPS.MTL_ONHAND_QTY_COST_V
12.2.2
-
View: MTL_GROSS_REQ_COST_V
12.2.2
owner:APPS, object_type:VIEW, fnd_design_data:INV.MTL_GROSS_REQ_COST_V, object_name:MTL_GROSS_REQ_COST_V, status:VALID, product: INV - Inventory , description: - Retrofitted , implementation_dba_data: APPS.MTL_GROSS_REQ_COST_V ,
-
VIEW: APPS.MTL_GROSS_REQ_COST_V
12.1.1
-
View: MTL_GROSS_REQ_COST_V
12.1.1
owner:APPS, object_type:VIEW, fnd_design_data:INV.MTL_GROSS_REQ_COST_V, object_name:MTL_GROSS_REQ_COST_V, status:VALID, product: INV - Inventory , description: - Retrofitted , implementation_dba_data: APPS.MTL_GROSS_REQ_COST_V ,
-
VIEW: APPS.MTL_BIS_INV_VALUE_V
12.1.1
-
View: MTL_PHY_ADJ_COST_V
12.1.1
owner:APPS, object_type:VIEW, fnd_design_data:INV.MTL_PHY_ADJ_COST_V, object_name:MTL_PHY_ADJ_COST_V, status:VALID, product: INV - Inventory , description: - Retrofitted , implementation_dba_data: APPS.MTL_PHY_ADJ_COST_V ,
-
VIEW: APPS.MTL_FORECAST_DATES_COST_V
12.1.1
-
View: MTL_ONHAND_QTY_COST_V
12.2.2
owner:APPS, object_type:VIEW, fnd_design_data:INV.MTL_ONHAND_QTY_COST_V, object_name:MTL_ONHAND_QTY_COST_V, status:VALID, product: INV - Inventory , description: - Retrofitted , implementation_dba_data: APPS.MTL_ONHAND_QTY_COST_V ,
-
View: MTL_PHY_INV_TAGS_COST_V
12.1.1
owner:APPS, object_type:VIEW, fnd_design_data:INV.MTL_PHY_INV_TAGS_COST_V, object_name:MTL_PHY_INV_TAGS_COST_V, status:VALID, product: INV - Inventory , description: - Retrofitted , implementation_dba_data: APPS.MTL_PHY_INV_TAGS_COST_V ,
-
View: MTL_PHY_ADJ_COST_V
12.2.2
owner:APPS, object_type:VIEW, fnd_design_data:INV.MTL_PHY_ADJ_COST_V, object_name:MTL_PHY_ADJ_COST_V, status:VALID, product: INV - Inventory , description: - Retrofitted , implementation_dba_data: APPS.MTL_PHY_ADJ_COST_V ,
-
View: MTL_PHY_INV_TAGS_COST_V
12.2.2
owner:APPS, object_type:VIEW, fnd_design_data:INV.MTL_PHY_INV_TAGS_COST_V, object_name:MTL_PHY_INV_TAGS_COST_V, status:VALID, product: INV - Inventory , description: - Retrofitted , implementation_dba_data: APPS.MTL_PHY_INV_TAGS_COST_V ,
-
VIEW: APPS.MTL_FORECAST_DATES_COST_V
12.2.2
-
View: MTL_FORECAST_DATES_COST_V
12.2.2
owner:APPS, object_type:VIEW, fnd_design_data:INV.MTL_FORECAST_DATES_COST_V, object_name:MTL_FORECAST_DATES_COST_V, status:VALID, product: INV - Inventory , description: - Retrofitted , implementation_dba_data: APPS.MTL_FORECAST_DATES_COST_V ,
-
View: MTL_BIS_INV_VALUE_V
12.1.1
owner:APPS, object_type:VIEW, fnd_design_data:INV.MTL_BIS_INV_VALUE_V, object_name:MTL_BIS_INV_VALUE_V, status:VALID, product: INV - Inventory , description: Stores Onhand/Intransit quantity and value for Inventory items at organization and intransit owning organizations respectively. , implementation_dba_data: APPS.MTL_BIS_INV_VALUE_V ,
-
View: MTL_BIS_INV_VALUE_V
12.2.2
owner:APPS, object_type:VIEW, fnd_design_data:INV.MTL_BIS_INV_VALUE_V, object_name:MTL_BIS_INV_VALUE_V, status:VALID, product: INV - Inventory , description: Stores Onhand/Intransit quantity and value for Inventory items at organization and intransit owning organizations respectively. , implementation_dba_data: APPS.MTL_BIS_INV_VALUE_V ,
-
View: MTL_FORECAST_DATES_COST_V
12.1.1
owner:APPS, object_type:VIEW, fnd_design_data:INV.MTL_FORECAST_DATES_COST_V, object_name:MTL_FORECAST_DATES_COST_V, status:VALID, product: INV - Inventory , description: - Retrofitted , implementation_dba_data: APPS.MTL_FORECAST_DATES_COST_V ,
-
PACKAGE BODY: APPS.INV_TURNS
12.1.1
owner:APPS, object_type:PACKAGE BODY, object_name:INV_TURNS, status:VALID,
-
PACKAGE BODY: APPS.INV_TURNS
12.2.2
owner:APPS, object_type:PACKAGE BODY, object_name:INV_TURNS, status:VALID,
-
PACKAGE BODY: APPS.MTL_ABC_COMPILE_PKG
12.1.1
owner:APPS, object_type:PACKAGE BODY, object_name:MTL_ABC_COMPILE_PKG, status:VALID,
-
PACKAGE BODY: APPS.MTL_ABC_COMPILE_PKG
12.2.2
owner:APPS, object_type:PACKAGE BODY, object_name:MTL_ABC_COMPILE_PKG, status:VALID,
-
PACKAGE BODY: APPS.CST_EAMJOB_ACTESTIMATE
12.1.1
owner:APPS, object_type:PACKAGE BODY, object_name:CST_EAMJOB_ACTESTIMATE, status:VALID,
-
PACKAGE BODY: APPS.CST_EAMJOB_ACTESTIMATE
12.2.2
owner:APPS, object_type:PACKAGE BODY, object_name:CST_EAMJOB_ACTESTIMATE, status:VALID,
-
PACKAGE BODY: APPS.CST_PRJMFG_COST_COLLECTOR
12.2.2
owner:APPS, object_type:PACKAGE BODY, object_name:CST_PRJMFG_COST_COLLECTOR, status:VALID,
-
PACKAGE BODY: APPS.INV_UTILITIES
12.1.1
owner:APPS, object_type:PACKAGE BODY, object_name:INV_UTILITIES, status:VALID,
-
PACKAGE BODY: APPS.INV_COST_GROUP_PVT
12.1.1
owner:APPS, object_type:PACKAGE BODY, object_name:INV_COST_GROUP_PVT, status:VALID,
-
PACKAGE BODY: APPS.INV_COST_GROUP_PVT
12.2.2
owner:APPS, object_type:PACKAGE BODY, object_name:INV_COST_GROUP_PVT, status:VALID,
-
VIEW: APPS.MTL_ONHAND_QTY_COST_V
12.2.2
owner:APPS, object_type:VIEW, fnd_design_data:INV.MTL_ONHAND_QTY_COST_V, object_name:MTL_ONHAND_QTY_COST_V, status:VALID,
-
PACKAGE BODY: APPS.CST_PRJMFG_COST_COLLECTOR
12.1.1
owner:APPS, object_type:PACKAGE BODY, object_name:CST_PRJMFG_COST_COLLECTOR, status:VALID,
-
VIEW: APPS.MTL_BIS_INV_VALUE_V
12.1.1
owner:APPS, object_type:VIEW, fnd_design_data:INV.MTL_BIS_INV_VALUE_V, object_name:MTL_BIS_INV_VALUE_V, status:VALID,
-
APPS.INV_UTILITIES SQL Statements
12.1.1
-
PACKAGE BODY: APPS.EAM_CONSTRUCTION_EST_PVT
12.1.1
owner:APPS, object_type:PACKAGE BODY, object_name:EAM_CONSTRUCTION_EST_PVT, status:VALID,
-
PACKAGE BODY: APPS.INV_UTILITIES
12.2.2
owner:APPS, object_type:PACKAGE BODY, object_name:INV_UTILITIES, status:VALID,
-
VIEW: APPS.MTL_BIS_INV_VALUE_V
12.2.2
owner:APPS, object_type:VIEW, fnd_design_data:INV.MTL_BIS_INV_VALUE_V, object_name:MTL_BIS_INV_VALUE_V, status:VALID,
-
PACKAGE BODY: APPS.MTL_CCEOI_PROCESS_PVT
12.2.2
owner:APPS, object_type:PACKAGE BODY, object_name:MTL_CCEOI_PROCESS_PVT, status:VALID,
-
PACKAGE BODY: APPS.EAM_CONSTRUCTION_EST_PVT
12.2.2
owner:APPS, object_type:PACKAGE BODY, object_name:EAM_CONSTRUCTION_EST_PVT, status:VALID,
-
VIEW: APPS.MTL_ONHAND_QTY_COST_V
12.1.1
owner:APPS, object_type:VIEW, fnd_design_data:INV.MTL_ONHAND_QTY_COST_V, object_name:MTL_ONHAND_QTY_COST_V, status:VALID,
-
PACKAGE BODY: APPS.MTL_CCEOI_PROCESS_PVT
12.1.1
owner:APPS, object_type:PACKAGE BODY, object_name:MTL_CCEOI_PROCESS_PVT, status:VALID,
-
12.1.1 DBA Data
12.1.1
-
VIEW: APPS.MTL_GROSS_REQ_COST_V
12.2.2
owner:APPS, object_type:VIEW, fnd_design_data:INV.MTL_GROSS_REQ_COST_V, object_name:MTL_GROSS_REQ_COST_V, status:VALID,
-
PACKAGE BODY: APPS.INV_CYC_LOVS
12.2.2
owner:APPS, object_type:PACKAGE BODY, object_name:INV_CYC_LOVS, status:VALID,