Search Results mtl_demand
Overview
The MTL_DEMAND table is a core transactional table within the Oracle E-Business Suite Inventory (INV) module, specifically for versions 12.1.1 and 12.2.2. It serves as the primary repository for sales order demand and reservation records. Its fundamental role is to track and manage the specific allocation of on-hand inventory to fulfill sales orders and other demand sources. This table is critical for maintaining accurate available-to-promise (ATP) calculations, supporting reservation logic, and interfacing with Oracle Order Management and Advanced Supply Chain Planning modules. The data in MTL_DEMAND directly influences material availability, shipment scheduling, and fulfillment workflows.
Key Information Stored
The table stores detailed records linking demand sources to specific inventory items and their attributes. Key columns, as indicated by its primary and foreign keys, include DEMAND_ID (a unique system-generated identifier), INVENTORY_ITEM_ID, and ORGANIZATION_ID to identify the item and its owning inventory organization. Crucially, it tracks the demand source through DEMAND_SOURCE_HEADER_ID, DEMAND_SOURCE_TYPE, DEMAND_SOURCE_LINE, and DEMAND_SOURCE_DELIVERY, which typically reference sales order headers and lines. For reservations, it stores the precise inventory location using SUBINVENTORY and LOCATOR_ID, and can track specific lots (LOT_NUMBER) and revisions (REVISION). The COMPONENT_SEQUENCE_ID links demand for components to specific Bills of Material (BOM).
Common Use Cases and Queries
Common use cases include analyzing sales order reservations, troubleshooting fulfillment issues, and generating custom availability reports. Technical consultants often query this table to reconcile inventory commitments. A typical query pattern joins MTL_DEMAND with MTL_SYSTEM_ITEMS_B and OE_ORDER_HEADERS_ALL to report on all reservations for a specific item or sales order.
- Sample Query: To find all reservations for a sales order:
SELECT md.demand_id, msi.segment1 item_code, md.quantity
FROM inv.mtl_demand md,
inv.mtl_system_items_b msi
WHERE md.inventory_item_id = msi.inventory_item_id
AND md.organization_id = msi.organization_id
AND md.demand_source_header_id = <order_header_id>
AND md.demand_source_type = 2; -- Typically 'Sales Order' - Another critical use is interfacing with planning systems (MRP), as the table is referenced by MRP_RELIEF_INTERFACE and MRP_SALES_ORDER_UPDATES for demand relief and order update processes.
Related Objects
MTL_DEMAND has extensive foreign key relationships, centralizing its integration within the EBS schema. Key documented relationships include:
- MTL_SYSTEM_ITEMS_B: On INVENTORY_ITEM_ID and ORGANIZATION_ID for item master data.
- MTL_SALES_ORDERS / OE_ORDER_HEADERS_ALL: On DEMAND_SOURCE_HEADER_ID for sales order information.
- MTL_ITEM_LOCATIONS: On LOCATOR_ID and ORGANIZATION_ID for detailed locator data.
- MTL_SECONDARY_INVENTORIES: On SUBINVENTORY and ORGANIZATION_ID.
- MTL_LOT_NUMBERS & MTL_ITEM_REVISIONS_B: For lot and revision control.
- BOM_COMPONENTS_B: On COMPONENT_SEQUENCE_ID for component demand.
- MTL_DEMAND_INTERFACE: On DEMAND_ID, linking interface records to created demand.
- MRP_RELIEF_INTERFACE & MRP_SALES_ORDER_UPDATES: For planning system integration.
-
Table: MTL_DEMAND
12.2.2
owner:INV, object_type:TABLE, fnd_design_data:INV.MTL_DEMAND, object_name:MTL_DEMAND, status:VALID, product: INV - Inventory , description: Sales order demand and reservations , implementation_dba_data: INV.MTL_DEMAND ,
-
Table: MTL_DEMAND
12.1.1
owner:INV, object_type:TABLE, fnd_design_data:INV.MTL_DEMAND, object_name:MTL_DEMAND, status:VALID, product: INV - Inventory , description: Sales order demand and reservations , implementation_dba_data: INV.MTL_DEMAND ,
-
APPS.FLM_SUPPLY_DEMAND dependencies on MTL_DEMAND
12.1.1
-
APPS.BOMPLDCB dependencies on MTL_DEMAND
12.1.1
-
APPS.BOMPCHDU dependencies on MTL_DEMAND
12.1.1
-
APPS.MRP_ATP_COLLECTION dependencies on MTL_DEMAND
12.1.1
-
APPS.WIP_WICTPG dependencies on MTL_DEMAND
12.2.2
-
APPS.BOMPMCFG dependencies on MTL_DEMAND
12.1.1
-
APPS.OE_SO_ATO dependencies on MTL_DEMAND
12.2.2
-
APPS.INVP_CMERGE_SPDM dependencies on MTL_DEMAND
12.2.2
-
APPS.BOMPLDCB dependencies on MTL_DEMAND
12.2.2
-
APPS.WIP_ATO_UTILS dependencies on MTL_DEMAND
12.2.2
-
APPS.CSP_EXCESS_PARTS_PVT dependencies on MTL_DEMAND
12.2.2
-
APPS.MRP_OE dependencies on MTL_DEMAND
12.2.2
-
APPS.WPS_SUPPLY_DEMAND dependencies on MTL_DEMAND
12.1.1
-
APPS.INV_RSV_SYNCH dependencies on MTL_DEMAND
12.2.2
-
APPS.CSP_MINMAX_PVT dependencies on MTL_DEMAND
12.1.1
-
APPS.FLM_PURGE dependencies on MTL_DEMAND
12.2.2
-
APPS.INVIDIT3 dependencies on MTL_DEMAND
12.1.1
-
APPS.FLM_PURGE dependencies on MTL_DEMAND
12.1.1
-
APPS.WIP_WICTPG dependencies on MTL_DEMAND
12.1.1
-
APPS.WSH_PR_PICKING_OBJECTS dependencies on MTL_DEMAND
12.1.1
-
APPS.MRP_MANAGER_PK dependencies on MTL_DEMAND
12.1.1
-
APPS.WIP_VALIDATE dependencies on MTL_DEMAND
12.1.1
-
APPS.INVP_CMERGE_SPDM dependencies on MTL_DEMAND
12.1.1
-
APPS.MRP_MANAGER_PK dependencies on MTL_DEMAND
12.2.2
-
APPS.INVIDIT3 dependencies on MTL_DEMAND
12.2.2
-
APPS.BOMPCHDU dependencies on MTL_DEMAND
12.2.2
-
APPS.BOMPLDCI dependencies on MTL_DEMAND
12.2.2
-
APPS.MRP_OE dependencies on MTL_DEMAND
12.1.1
-
APPS.MRP_MRPRPROP_XMLP_PKG dependencies on MTL_DEMAND
12.1.1
-
APPS.WPS_SUPPLY_DEMAND dependencies on MTL_DEMAND
12.2.2
-
APPS.FLM_SUPPLY_DEMAND dependencies on MTL_DEMAND
12.2.2
-
APPS.OEXPURGE dependencies on MTL_DEMAND
12.2.2
-
APPS.INV_RSV_SYNCH dependencies on MTL_DEMAND
12.1.1
-
APPS.PJM_UTILS dependencies on MTL_DEMAND
12.1.1
-
APPS.WSH_PR_PICKING_OBJECTS dependencies on MTL_DEMAND
12.2.2
-
APPS.BOM_ATO_NEW_ATP_PK dependencies on MTL_DEMAND
12.2.2
-
APPS.WIP_VALIDATE dependencies on MTL_DEMAND
12.2.2
-
APPS.BOMPMCFG dependencies on MTL_DEMAND
12.2.2
-
APPS.CSP_MINMAX_PVT dependencies on MTL_DEMAND
12.2.2
-
APPS.MRP_MRPRPROP_XMLP_PKG dependencies on MTL_DEMAND
12.2.2
-
APPS.PJM_UTILS dependencies on MTL_DEMAND
12.2.2
-
APPS.INV_MINMAX_PVT dependencies on MTL_DEMAND
12.2.2
-
APPS.MRP_ATP_COLLECTION dependencies on MTL_DEMAND
12.2.2
-
APPS.BOMPLDCI dependencies on MTL_DEMAND
12.1.1
-
APPS.OEXPURGE dependencies on MTL_DEMAND
12.1.1
-
APPS.INV_MINMAX_PVT dependencies on MTL_DEMAND
12.1.1
-
APPS.WIP_ATO_UTILS dependencies on MTL_DEMAND
12.1.1
-
APPS.CSP_EXCESS_PARTS_PVT dependencies on MTL_DEMAND
12.1.1