Search Results mtl_cst_txn_cost_details
Overview
The MTL_CST_TXN_COST_DETAILS table is a core transactional data repository within the Oracle E-Business Suite Inventory (INV) module. It serves the critical function of storing the detailed cost breakdown for inventory transactions. As its description states, it holds "The cost of a transaction by element and by level." This granular storage is fundamental to Oracle's cost management architecture, enabling the system to track and report costs not just as a total, but decomposed into specific cost elements (like Material, Overhead, Resource) and cost levels (like This Level, Previous Level). This table is populated during cost processing and is essential for accurate inventory valuation, cost of goods sold (COGS) accounting, and detailed cost analysis.
Key Information Stored
The table's structure is designed to uniquely identify and store cost details for a specific transaction. Its primary key columns are TRANSACTION_ID, ORGANIZATION_ID, COST_ELEMENT_ID, and LEVEL_TYPE, ensuring a unique record for each cost element and level combination per transaction. Key columns include TRANSACTION_ID, which links to MTL_MATERIAL_TRANSACTIONS; COST_ELEMENT_ID, linking to CST_COST_ELEMENTS to identify the type of cost; and LEVEL_TYPE to distinguish between costs incurred at the current assembly level versus those rolled up from lower-level components. The table also holds INVENTORY_ITEM_ID and ORGANIZATION_ID (part of a foreign key to MTL_SYSTEM_ITEMS_B) to identify the item, along with columns to store the actual cost amounts, such as BASE_TRANSACTION_VALUE and ACTUAL_COST.
Common Use Cases and Queries
This table is central to any reporting or analysis requiring detailed cost insight. A primary use case is analyzing the cost composition of completed transactions, such as understanding the material versus overhead cost of a built assembly. It is also crucial for troubleshooting cost variances and reconciling inventory valuations. A typical analytical query joins this table to its related master data tables.
- Sample Query - Cost Breakdown by Element for a Transaction:
SELECT cce.COST_ELEMENT, mctcd.LEVEL_TYPE, mctcd.ACTUAL_COST
FROM INV.MTL_CST_TXN_COST_DETAILS mctcd,
CST.CST_COST_ELEMENTS cce
WHERE mctcd.COST_ELEMENT_ID = cce.COST_ELEMENT_ID
AND mctcd.TRANSACTION_ID = :p_transaction_id
ORDER BY cce.COST_ELEMENT_ID, mctcd.LEVEL_TYPE; - Reporting Use Case: Generating a report showing the detailed cost build-up for all work order completions in a period, aggregated by item and cost element.
Related Objects
MTL_CST_TXN_COST_DETAILS has integral relationships with several key EBS tables, as defined by its foreign keys. The primary parent is MTL_MATERIAL_TRANSACTIONS, the master table for all inventory movements. It references CST_COST_ELEMENTS to obtain the meaning of the cost element ID. Its relationship with MTL_SYSTEM_ITEMS_B (via INVENTORY_ITEM_ID and ORGANIZATION_ID) links the cost detail to the item definition. This table is also a key source for various cost-related views and is heavily referenced by the Cost Management (CST) module's processes for closing and valuation.
-
Table: MTL_CST_TXN_COST_DETAILS
12.1.1
owner:INV, object_type:TABLE, fnd_design_data:INV.MTL_CST_TXN_COST_DETAILS, object_name:MTL_CST_TXN_COST_DETAILS, status:VALID, product: INV - Inventory , description: The cost of a transaction by element and by level , implementation_dba_data: INV.MTL_CST_TXN_COST_DETAILS ,
-
Table: MTL_CST_TXN_COST_DETAILS
12.2.2
owner:INV, object_type:TABLE, fnd_design_data:INV.MTL_CST_TXN_COST_DETAILS, object_name:MTL_CST_TXN_COST_DETAILS, status:VALID, product: INV - Inventory , description: The cost of a transaction by element and by level , implementation_dba_data: INV.MTL_CST_TXN_COST_DETAILS ,
-
APPS.CSTPACWS dependencies on MTL_CST_TXN_COST_DETAILS
12.1.1
-
APPS.CSTPAVCP dependencies on MTL_CST_TXN_COST_DETAILS
12.2.2
-
APPS.CST_LCMADJUSTMENTS_PVT dependencies on MTL_CST_TXN_COST_DETAILS
12.2.2
-
APPS.INV_TXN_PURGE_WORKER dependencies on MTL_CST_TXN_COST_DETAILS
12.2.2
-
APPS.CSTPLENG dependencies on MTL_CST_TXN_COST_DETAILS
12.1.1
-
APPS.CSTPLCAS dependencies on MTL_CST_TXN_COST_DETAILS
12.2.2
-
APPS.CSTPLVCP dependencies on MTL_CST_TXN_COST_DETAILS
12.2.2
-
APPS.CSTPSISC dependencies on MTL_CST_TXN_COST_DETAILS
12.1.1
-
APPS.CST_LCMADJUSTMENTS_PVT dependencies on MTL_CST_TXN_COST_DETAILS
12.1.1
-
APPS.CSTPAVCP dependencies on MTL_CST_TXN_COST_DETAILS
12.1.1
-
APPS.CSTPACWS dependencies on MTL_CST_TXN_COST_DETAILS
12.2.2
-
APPS.CST_DIAGNOSTICS_PKG dependencies on MTL_CST_TXN_COST_DETAILS
12.2.2
-
APPS.CSTPCFMS dependencies on MTL_CST_TXN_COST_DETAILS
12.2.2
-
APPS.CSTPLCWP dependencies on MTL_CST_TXN_COST_DETAILS
12.2.2
-
APPS.CSTPACWP dependencies on MTL_CST_TXN_COST_DETAILS
12.1.1
-
APPS.MTL_CST_TXN_COST_DETAILS_PKG dependencies on MTL_CST_TXN_COST_DETAILS
12.1.1
-
APPS.CSTPCFMS dependencies on MTL_CST_TXN_COST_DETAILS
12.1.1
-
APPS.CSTPLCAS dependencies on MTL_CST_TXN_COST_DETAILS
12.1.1
-
APPS.CSTPLCAC dependencies on MTL_CST_TXN_COST_DETAILS
12.1.1
-
APPS.CST_DIAGNOSTICS_PKG dependencies on MTL_CST_TXN_COST_DETAILS
12.1.1
-
APPS.CSTPSISC dependencies on MTL_CST_TXN_COST_DETAILS
12.2.2
-
APPS.MTL_CST_TXN_COST_DETAILS_PKG dependencies on MTL_CST_TXN_COST_DETAILS
12.2.2
-
APPS.CSTPACWC dependencies on MTL_CST_TXN_COST_DETAILS
12.1.1
-
APPS.CSTPACIT dependencies on MTL_CST_TXN_COST_DETAILS
12.2.2
-
APPS.CSTPACWC dependencies on MTL_CST_TXN_COST_DETAILS
12.2.2
-
APPS.INV_WWACST dependencies on MTL_CST_TXN_COST_DETAILS
12.1.1
-
APPS.CSTPLVCP dependencies on MTL_CST_TXN_COST_DETAILS
12.1.1
-
APPS.INV_TXN_PURGE_WORKER dependencies on MTL_CST_TXN_COST_DETAILS
12.1.1
-
APPS.CSTPACIT dependencies on MTL_CST_TXN_COST_DETAILS
12.1.1
-
APPS.CSTPACDP dependencies on MTL_CST_TXN_COST_DETAILS
12.1.1
-
APPS.CSTPPINV dependencies on MTL_CST_TXN_COST_DETAILS
12.1.1
-
APPS.CSTPLCWP dependencies on MTL_CST_TXN_COST_DETAILS
12.1.1
-
APPS.CSTPLCAC dependencies on MTL_CST_TXN_COST_DETAILS
12.2.2
-
APPS.CSTPLCIR dependencies on MTL_CST_TXN_COST_DETAILS
12.2.2
-
APPS.INV_WWACST dependencies on MTL_CST_TXN_COST_DETAILS
12.2.2
-
APPS.CSTPLENG dependencies on MTL_CST_TXN_COST_DETAILS
12.2.2
-
APPS.CSTPLCIR dependencies on MTL_CST_TXN_COST_DETAILS
12.1.1
-
APPS.CSTPACWP dependencies on MTL_CST_TXN_COST_DETAILS
12.2.2
-
APPS.CSTPACDP dependencies on MTL_CST_TXN_COST_DETAILS
12.2.2
-
APPS.CSTPPINV dependencies on MTL_CST_TXN_COST_DETAILS
12.2.2
-
APPS.CSTPACWC dependencies on FND_CURRENCIES
12.1.1
-
APPS.MTL_CST_TXN_COST_DETAILS_PKG SQL Statements
12.2.2
-
APPS.MTL_CST_TXN_COST_DETAILS_PKG SQL Statements
12.1.1
-
APPS.CSTPACWC dependencies on FND_CURRENCIES
12.2.2
-
VIEW: INV.MTL_CST_TXN_COST_DETAILS#
12.2.2
owner:INV, object_type:VIEW, object_name:MTL_CST_TXN_COST_DETAILS#, status:VALID,
-
PACKAGE BODY: APPS.MTL_CST_TXN_COST_DETAILS_PKG
12.1.1
-
PACKAGE BODY: APPS.MTL_CST_TXN_COST_DETAILS_PKG
12.2.2
-
APPS.CST_LCMADJUSTMENTS_PVT dependencies on XLA_EVENTS_INT_GT
12.1.1