Search Results mtl_onhand_quantities_detail
Overview
The MTL_ONHAND_QUANTITIES_DETAIL table is a core transactional table within the Oracle E-Business Suite Inventory (INV) module. It serves as the detailed repository for tracking on-hand inventory quantities using the First-In, First-Out (FIFO) costing method. Its primary role is to store granular receipt-level quantity data, enabling the system to accurately determine the cost of goods sold and the valuation of remaining inventory based on the chronological order of receipts. This table is fundamental to the financial integrity of inventory accounting for organizations utilizing the FIFO cost model in versions 12.1.1 and 12.2.2.
Key Information Stored
The table's structure is designed to record inventory balances at multiple organizational and receipt levels. As indicated by the primary key constraints, critical columns include a unique surrogate key (ONHAND_QUANTITIES_ID) and a composite key for FIFO tracking. Essential data points stored are:
- INVENTORY_ITEM_ID and ORGANIZATION_ID: Identify the specific item and its stocking organization.
- OWNING_ORGANIZATION_ID and PLANNING_ORGANIZATION_ID: Support inter-org and multi-org inventory structures.
- DATE_RECEIVED: The pivotal timestamp for FIFO calculation, determining the cost layer sequence.
- Quantity and secondary quantity fields to record the on-hand balance from each specific receipt.
The dual primary keys highlight its dual purpose: ensuring row uniqueness (MTL_ONHAND_QUANTITIES_PK) and supporting the FIFO costing engine's need to query and sequence receipts efficiently (MTL_FIFO_COST_U1).
Common Use Cases and Queries
This table is central to inventory valuation and cost management processes. A primary use case is generating the FIFO cost layers report, which details the quantity and cost of inventory available for consumption, ordered by receipt date. It is also heavily queried during transaction processing (like issues and shipments) to identify the specific cost layer to relieve. Common SQL patterns involve joining with MTL_SYSTEM_ITEMS_B and HR_ORGANIZATION_UNITS for reporting.
SELECT mohqd.inventory_item_id,
msi.segment1 item_code,
mohqd.organization_id,
mohqd.date_received,
mohqd.primary_transaction_quantity
FROM inv.mtl_onhand_quantities_detail mohqd,
inv.mtl_system_items_b msi
WHERE mohqd.inventory_item_id = msi.inventory_item_id
AND mohqd.organization_id = msi.organization_id
AND mohqd.organization_id = :p_org_id
ORDER BY mohqd.date_received;
This query retrieves the FIFO layers for a given organization, crucial for month-end closing and financial analysis.
Related Objects
MTL_ONHAND_QUANTITIES_DETAIL is intrinsically linked to other key Inventory entities. It is the detailed counterpart to summary on-hand tables like MTL_ONHAND_QUANTITIES. For transactional integrity, it relates to MTL_MATERIAL_TRANSACTIONS, which posts transactions that create or consume the detailed quantities. The table is maintained by internal Inventory APIs and is the direct source for cost calculation views used by the Cost Management module. Key related objects include the MTL_FIFO_COST_U1 index for performance and the primary key relationship with other inventory detail tables.
-
Table: MTL_ONHAND_QUANTITIES_DETAIL
12.2.2
owner:INV, object_type:TABLE, fnd_design_data:INV.MTL_ONHAND_QUANTITIES_DETAIL, object_name:MTL_ONHAND_QUANTITIES_DETAIL, status:VALID, product: INV - Inventory , description: FIFO quantities by control level and receipt , implementation_dba_data: INV.MTL_ONHAND_QUANTITIES_DETAIL ,
-
Table: MTL_ONHAND_QUANTITIES_DETAIL
12.1.1
owner:INV, object_type:TABLE, fnd_design_data:INV.MTL_ONHAND_QUANTITIES_DETAIL, object_name:MTL_ONHAND_QUANTITIES_DETAIL, status:VALID, product: INV - Inventory , description: FIFO quantities by control level and receipt , implementation_dba_data: INV.MTL_ONHAND_QUANTITIES_DETAIL ,
-
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: 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_SECINV_QUANTITIES_VIEW
12.2.2
owner:APPS, object_type:VIEW, fnd_design_data:INV.MTL_SECINV_QUANTITIES_VIEW, object_name:MTL_SECINV_QUANTITIES_VIEW, status:VALID, product: INV - Inventory , description: View of Item subinventory , implementation_dba_data: APPS.MTL_SECINV_QUANTITIES_VIEW ,
-
View: ICX_MTL_DEMAND_SUMMARY_V
12.2.2
owner:APPS, object_type:VIEW, fnd_design_data:ICX.ICX_MTL_DEMAND_SUMMARY_V INV.ICX_MTL_DEMAND_SUMMARY_V, object_name:ICX_MTL_DEMAND_SUMMARY_V, status:VALID, product: INV - Inventory , implementation_dba_data: APPS.ICX_MTL_DEMAND_SUMMARY_V ,
-
View: MTL_ITEM_LOCATIONS_VIEW
12.2.2
owner:APPS, object_type:VIEW, fnd_design_data:INV.MTL_ITEM_LOCATIONS_VIEW, object_name:MTL_ITEM_LOCATIONS_VIEW, status:VALID, product: INV - Inventory , description: View of item quantities by locator , implementation_dba_data: APPS.MTL_ITEM_LOCATIONS_VIEW ,
-
View: ICX_MTL_DEMAND_SUMMARY_V
12.1.1
owner:APPS, object_type:VIEW, fnd_design_data:ICX.ICX_MTL_DEMAND_SUMMARY_V INV.ICX_MTL_DEMAND_SUMMARY_V, object_name:ICX_MTL_DEMAND_SUMMARY_V, status:VALID, product: INV - Inventory , implementation_dba_data: APPS.ICX_MTL_DEMAND_SUMMARY_V ,
-
View: MTL_SECINV_QUANTITIES_VIEW
12.1.1
owner:APPS, object_type:VIEW, fnd_design_data:INV.MTL_SECINV_QUANTITIES_VIEW, object_name:MTL_SECINV_QUANTITIES_VIEW, status:VALID, product: INV - Inventory , description: View of Item subinventory , implementation_dba_data: APPS.MTL_SECINV_QUANTITIES_VIEW ,
-
View: MTL_ITEM_QUANTITIES_VIEW
12.2.2
owner:APPS, object_type:VIEW, fnd_design_data:INV.MTL_ITEM_QUANTITIES_VIEW, object_name:MTL_ITEM_QUANTITIES_VIEW, status:VALID, product: INV - Inventory , description: Item onhand quantities view , implementation_dba_data: APPS.MTL_ITEM_QUANTITIES_VIEW ,
-
View: MTL_ITEM_LOCATIONS_VIEW
12.1.1
owner:APPS, object_type:VIEW, fnd_design_data:INV.MTL_ITEM_LOCATIONS_VIEW, object_name:MTL_ITEM_LOCATIONS_VIEW, status:VALID, product: INV - Inventory , description: View of item quantities by locator , implementation_dba_data: APPS.MTL_ITEM_LOCATIONS_VIEW ,
-
View: MTL_ITEM_QUANTITIES_VIEW
12.1.1
owner:APPS, object_type:VIEW, fnd_design_data:INV.MTL_ITEM_QUANTITIES_VIEW, object_name:MTL_ITEM_QUANTITIES_VIEW, status:VALID, product: INV - Inventory , description: Item onhand quantities view , implementation_dba_data: APPS.MTL_ITEM_QUANTITIES_VIEW ,
-
View: MTL_ITEM_LOT_QUANTITIES_VIEW
12.1.1
owner:APPS, object_type:VIEW, fnd_design_data:INV.MTL_ITEM_LOT_QUANTITIES_VIEW, object_name:MTL_ITEM_LOT_QUANTITIES_VIEW, status:VALID, product: INV - Inventory , description: Item lot quantities under subinventory and locator , implementation_dba_data: APPS.MTL_ITEM_LOT_QUANTITIES_VIEW ,
-
View: MTL_QOH_LOC_ALL_V
12.1.1
owner:APPS, object_type:VIEW, fnd_design_data:INV.MTL_QOH_LOC_ALL_V, object_name:MTL_QOH_LOC_ALL_V, status:VALID, product: INV - Inventory , description: 10SC ONLY , implementation_dba_data: APPS.MTL_QOH_LOC_ALL_V ,
-
View: MTL_QOH_SUB_ALL_V
12.2.2
owner:APPS, object_type:VIEW, fnd_design_data:INV.MTL_QOH_SUB_ALL_V, object_name:MTL_QOH_SUB_ALL_V, status:VALID, product: INV - Inventory , description: 10SC ONLY , implementation_dba_data: APPS.MTL_QOH_SUB_ALL_V ,
-
View: MTL_ITEM_LOT_QUANTITIES_VIEW
12.2.2
owner:APPS, object_type:VIEW, fnd_design_data:INV.MTL_ITEM_LOT_QUANTITIES_VIEW, object_name:MTL_ITEM_LOT_QUANTITIES_VIEW, status:VALID, product: INV - Inventory , description: Item lot quantities under subinventory and locator , implementation_dba_data: APPS.MTL_ITEM_LOT_QUANTITIES_VIEW ,
-
View: MTL_NEGATIVE_VIEW
12.2.2
owner:APPS, object_type:VIEW, fnd_design_data:INV.MTL_NEGATIVE_VIEW, object_name:MTL_NEGATIVE_VIEW, status:VALID, product: INV - Inventory , description: View of onhand negative inventory , implementation_dba_data: APPS.MTL_NEGATIVE_VIEW ,
-
View: MTL_NEGATIVE_VIEW
12.1.1
owner:APPS, object_type:VIEW, fnd_design_data:INV.MTL_NEGATIVE_VIEW, object_name:MTL_NEGATIVE_VIEW, status:VALID, product: INV - Inventory , description: View of onhand negative inventory , implementation_dba_data: APPS.MTL_NEGATIVE_VIEW ,
-
View: MTL_QOH_LOT_ALL_V
12.2.2
owner:APPS, object_type:VIEW, fnd_design_data:INV.MTL_QOH_LOT_ALL_V, object_name:MTL_QOH_LOT_ALL_V, status:VALID, product: INV - Inventory , description: 10SC ONLY , implementation_dba_data: APPS.MTL_QOH_LOT_ALL_V ,
-
View: MTL_QOH_LOC_ALL_V
12.2.2
owner:APPS, object_type:VIEW, fnd_design_data:INV.MTL_QOH_LOC_ALL_V, object_name:MTL_QOH_LOC_ALL_V, status:VALID, product: INV - Inventory , description: 10SC ONLY , implementation_dba_data: APPS.MTL_QOH_LOC_ALL_V ,
-
View: MTL_QOH_SUB_ALL_V
12.1.1
owner:APPS, object_type:VIEW, fnd_design_data:INV.MTL_QOH_SUB_ALL_V, object_name:MTL_QOH_SUB_ALL_V, status:VALID, product: INV - Inventory , description: 10SC ONLY , implementation_dba_data: APPS.MTL_QOH_SUB_ALL_V ,
-
View: MTL_LOT_ISSUES_VAL_V
12.2.2
owner:APPS, object_type:VIEW, fnd_design_data:INV.MTL_LOT_ISSUES_VAL_V, object_name:MTL_LOT_ISSUES_VAL_V, status:VALID, product: INV - Inventory , description: 10SC ONLY , implementation_dba_data: APPS.MTL_LOT_ISSUES_VAL_V ,
-
View: MTL_QOH_ITEM_ALL_V
12.1.1
owner:APPS, object_type:VIEW, fnd_design_data:INV.MTL_QOH_ITEM_ALL_V, object_name:MTL_QOH_ITEM_ALL_V, status:VALID, product: INV - Inventory , description: 10SC ONLY , implementation_dba_data: APPS.MTL_QOH_ITEM_ALL_V ,
-
View: MTL_QOH_ITEM_ALL_V
12.2.2
owner:APPS, object_type:VIEW, fnd_design_data:INV.MTL_QOH_ITEM_ALL_V, object_name:MTL_QOH_ITEM_ALL_V, status:VALID, product: INV - Inventory , description: 10SC ONLY , implementation_dba_data: APPS.MTL_QOH_ITEM_ALL_V ,
-
View: MTL_QOH_REV_ALL_V
12.1.1
owner:APPS, object_type:VIEW, fnd_design_data:INV.MTL_QOH_REV_ALL_V, object_name:MTL_QOH_REV_ALL_V, status:VALID, product: INV - Inventory , description: 10SC ONLY , implementation_dba_data: APPS.MTL_QOH_REV_ALL_V ,
-
View: MTL_QOH_REV_ALL_V
12.2.2
owner:APPS, object_type:VIEW, fnd_design_data:INV.MTL_QOH_REV_ALL_V, object_name:MTL_QOH_REV_ALL_V, status:VALID, product: INV - Inventory , description: 10SC ONLY , implementation_dba_data: APPS.MTL_QOH_REV_ALL_V ,
-
View: MTL_QOH_LOT_ALL_V
12.1.1
owner:APPS, object_type:VIEW, fnd_design_data:INV.MTL_QOH_LOT_ALL_V, object_name:MTL_QOH_LOT_ALL_V, status:VALID, product: INV - Inventory , description: 10SC ONLY , implementation_dba_data: APPS.MTL_QOH_LOT_ALL_V ,
-
View: MTL_LOT_ISSUES_VAL_V
12.1.1
owner:APPS, object_type:VIEW, fnd_design_data:INV.MTL_LOT_ISSUES_VAL_V, object_name:MTL_LOT_ISSUES_VAL_V, status:VALID, product: INV - Inventory , description: 10SC ONLY , implementation_dba_data: APPS.MTL_LOT_ISSUES_VAL_V ,
-
View: MTL_ONHAND_ITEMS_V
12.1.1
owner:APPS, object_type:VIEW, fnd_design_data:INV.MTL_ONHAND_ITEMS_V, object_name:MTL_ONHAND_ITEMS_V, status:VALID, product: INV - Inventory , description: 10SC ONLY , implementation_dba_data: APPS.MTL_ONHAND_ITEMS_V ,
-
View: MTL_ONHAND_REV_V
12.1.1
owner:APPS, object_type:VIEW, fnd_design_data:INV.MTL_ONHAND_REV_V, object_name:MTL_ONHAND_REV_V, status:VALID, product: INV - Inventory , description: 10SC ONLY , implementation_dba_data: APPS.MTL_ONHAND_REV_V ,
-
View: MTL_ONHAND_ITEMS_V
12.2.2
owner:APPS, object_type:VIEW, fnd_design_data:INV.MTL_ONHAND_ITEMS_V, object_name:MTL_ONHAND_ITEMS_V, status:VALID, product: INV - Inventory , description: 10SC ONLY , implementation_dba_data: APPS.MTL_ONHAND_ITEMS_V ,
-
View: MTL_ONHAND_REV_V
12.2.2
owner:APPS, object_type:VIEW, fnd_design_data:INV.MTL_ONHAND_REV_V, object_name:MTL_ONHAND_REV_V, status:VALID, product: INV - Inventory , description: 10SC ONLY , implementation_dba_data: APPS.MTL_ONHAND_REV_V ,
-
View: MTL_ONHAND_QUANTITIES
12.2.2
owner:APPS, object_type:VIEW, fnd_design_data:INV.MTL_ONHAND_QUANTITIES, object_name:MTL_ONHAND_QUANTITIES, status:VALID, product: INV - Inventory , description: View of items owned, planned and physically belonging to the same inventory organization , implementation_dba_data: APPS.MTL_ONHAND_QUANTITIES ,
-
View: MTL_ONHAND_SUB_V
12.1.1
owner:APPS, object_type:VIEW, fnd_design_data:INV.MTL_ONHAND_SUB_V, object_name:MTL_ONHAND_SUB_V, status:VALID, product: INV - Inventory , description: 10SC ONLY , implementation_dba_data: APPS.MTL_ONHAND_SUB_V ,
-
View: MTL_ONHAND_QUANTITIES
12.1.1
owner:APPS, object_type:VIEW, fnd_design_data:INV.MTL_ONHAND_QUANTITIES, object_name:MTL_ONHAND_QUANTITIES, status:VALID, product: INV - Inventory , description: View of items owned, planned and physically belonging to the same inventory organization , implementation_dba_data: APPS.MTL_ONHAND_QUANTITIES ,
-
View: MTL_ONHAND_LOCATOR_V
12.2.2
owner:APPS, object_type:VIEW, fnd_design_data:INV.MTL_ONHAND_LOCATOR_V, object_name:MTL_ONHAND_LOCATOR_V, status:VALID, product: INV - Inventory , description: 10SC ONLY , implementation_dba_data: APPS.MTL_ONHAND_LOCATOR_V ,
-
View: MTL_ONHAND_LOCATOR_LOT_V
12.1.1
owner:APPS, object_type:VIEW, fnd_design_data:INV.MTL_ONHAND_LOCATOR_LOT_V, object_name:MTL_ONHAND_LOCATOR_LOT_V, status:VALID, product: INV - Inventory , description: 10SC ONLY , implementation_dba_data: APPS.MTL_ONHAND_LOCATOR_LOT_V ,
-
View: MTL_ONHAND_LOCATOR_LOT_V
12.2.2
owner:APPS, object_type:VIEW, fnd_design_data:INV.MTL_ONHAND_LOCATOR_LOT_V, object_name:MTL_ONHAND_LOCATOR_LOT_V, status:VALID, product: INV - Inventory , description: 10SC ONLY , implementation_dba_data: APPS.MTL_ONHAND_LOCATOR_LOT_V ,
-
View: MTL_ONHAND_LOCATOR_V
12.1.1
owner:APPS, object_type:VIEW, fnd_design_data:INV.MTL_ONHAND_LOCATOR_V, object_name:MTL_ONHAND_LOCATOR_V, status:VALID, product: INV - Inventory , description: 10SC ONLY , implementation_dba_data: APPS.MTL_ONHAND_LOCATOR_V ,
-
View: MTL_ONHAND_ATP
12.2.2
owner:APPS, object_type:VIEW, fnd_design_data:INV.MTL_ONHAND_ATP, object_name:MTL_ONHAND_ATP, status:VALID, product: INV - Inventory , description: This view would be used by Planning to calculate the ATPable quantity for an item. , implementation_dba_data: APPS.MTL_ONHAND_ATP ,
-
View: MTL_ONHAND_ATP
12.1.1
owner:APPS, object_type:VIEW, fnd_design_data:INV.MTL_ONHAND_ATP, object_name:MTL_ONHAND_ATP, status:VALID, product: INV - Inventory , description: This view would be used by Planning to calculate the ATPable quantity for an item. , implementation_dba_data: APPS.MTL_ONHAND_ATP ,
-
View: MTL_ONHAND_SUB_V
12.2.2
owner:APPS, object_type:VIEW, fnd_design_data:INV.MTL_ONHAND_SUB_V, object_name:MTL_ONHAND_SUB_V, status:VALID, product: INV - Inventory , description: 10SC ONLY , implementation_dba_data: APPS.MTL_ONHAND_SUB_V ,
-
View: MTL_ONHAND_LOT_V
12.1.1
owner:APPS, object_type:VIEW, fnd_design_data:INV.MTL_ONHAND_LOT_V, object_name:MTL_ONHAND_LOT_V, status:VALID, product: INV - Inventory , description: 10SC ONLY , implementation_dba_data: APPS.MTL_ONHAND_LOT_V ,
-
View: MTL_ONHAND_LOT_V
12.2.2
owner:APPS, object_type:VIEW, fnd_design_data:INV.MTL_ONHAND_LOT_V, object_name:MTL_ONHAND_LOT_V, status:VALID, product: INV - Inventory , description: 10SC ONLY , implementation_dba_data: APPS.MTL_ONHAND_LOT_V ,
-
View: MTL_ONHAND_NET
12.1.1
owner:APPS, object_type:VIEW, fnd_design_data:INV.MTL_ONHAND_NET, object_name:MTL_ONHAND_NET, status:VALID, product: INV - Inventory , description: The view shows the net onhand quantity and checks the validity of lot number and locator. , implementation_dba_data: APPS.MTL_ONHAND_NET ,
-
View: MTL_LOT_ONHAND_SUM_V
12.2.2
owner:APPS, object_type:VIEW, fnd_design_data:INV.MTL_LOT_ONHAND_SUM_V, object_name:MTL_LOT_ONHAND_SUM_V, status:VALID, product: INV - Inventory , description: Quantity view for Lot uom conversion use , implementation_dba_data: APPS.MTL_LOT_ONHAND_SUM_V ,
-
View: MTL_LOT_ONHAND_SUM_V
12.1.1
owner:APPS, object_type:VIEW, fnd_design_data:INV.MTL_LOT_ONHAND_SUM_V, object_name:MTL_LOT_ONHAND_SUM_V, status:VALID, product: INV - Inventory , description: The view is used to get total onhand of a lot number. , implementation_dba_data: APPS.MTL_LOT_ONHAND_SUM_V ,
-
View: MTL_ONHAND_NET
12.2.2
owner:APPS, object_type:VIEW, fnd_design_data:INV.MTL_ONHAND_NET, object_name:MTL_ONHAND_NET, status:VALID, product: INV - Inventory , implementation_dba_data: APPS.MTL_ONHAND_NET ,
-
View: MTL_ORGANIZATIONS
12.1.1
owner:APPS, object_type:VIEW, fnd_design_data:INV.MTL_ORGANIZATIONS, object_name:MTL_ORGANIZATIONS, status:VALID, product: INV - Inventory , description: View of organizations , implementation_dba_data: APPS.MTL_ORGANIZATIONS ,
-
View: MTL_ORGANIZATIONS
12.2.2
owner:APPS, object_type:VIEW, fnd_design_data:INV.MTL_ORGANIZATIONS, object_name:MTL_ORGANIZATIONS, status:VALID, product: INV - Inventory , description: View of organizations , implementation_dba_data: APPS.MTL_ORGANIZATIONS ,