Search Results mtl_supply_demand_temp
Overview
MTL_SUPPLY_DEMAND_TEMP is a temporary (transient) table owned by the INV schema in Oracle E-Business Suite. As documented in the ETRM metadata for releases 12.1.1 and 12.2.2, its purpose is to hold ATP (Available-to-Promise) detail records returned from an ATP user-exit. The table functions as a staging area into which a user-exit program writes computed supply, demand, and availability information, which downstream Oracle Inventory scheduling and ATP logic then consume. Because records are transient by design, rows are typically populated and consumed within a single concurrent process or session and are not intended for long-term retention.
From a data-modeling perspective, the heuristic Data Vault classification derived from the foreign-key structure is satellite-leaning. This suggests the table is best understood as a descriptive satellite attached to the core item/organization hub (MTL_SYSTEM_ITEMS_B), carrying measures and context rather than defining new business entities. It should not be treated as a source of truth for persistent supply/demand balances.
Key Information Stored
The documented physical schema contains 45 columns. The most consequential are:
- INVENTORY_ITEM_ID and ORGANIZATION_ID — the composite foreign key to MTL_SYSTEM_ITEMS_B, identifying the item and inventory organization for which ATP was evaluated.
- SEQ_NUM and ROW_NUMBER — sequence/ordering identifiers for the staged rows.
- GROUP_ID — groups a set of rows belonging to one ATP run or user-exit invocation.
- ATP_PERIOD_START_DATE, ATP_PERIOD_END_DATE, and REQUIREMENT_DATE — the time buckets and demand date against which availability is measured.
- ATP_PERIOD_TOTAL_SUPPLY and ATP_PERIOD_TOTAL_DEMAND — aggregated supply and demand within each period.
- ATP, ON_HAND_QUANTITY, QUANTITY, and PERIOD_NET_AVAILABLE — the core quantitative availability measures.
- SUPPLY_DEMAND_SOURCE_TYPE and SUPPLY_DEMAND_TYPE — classify the nature and origin of each staged record.
- DISPOSITION_TYPE, DISPOSITION_ID, DEPARTMENT_ID, and RESOURCE_ID — reference disposition, department, and resource context.
- UOM_CODE — the unit of measure for the quantities.
- C_COLUMN1..8, N_COLUMN1..5, and D_COLUMN1..5 — generic character, numeric, and date overflow columns used by the user-exit to pass custom values.
While the metadata documents foreign keys to MTL_SYSTEM_ITEMS_B, AHL_PRD_DISPOSITIONS_B, and BOM_DEPARTMENTS, no explicit surrogate primary key is listed; SEQ_NUM or GROUP_ID combined with the item/organization pair typically serves as the practical identifier.
Common Use Cases and Queries
Typical usage involves querying staged ATP results for a specific item and organization within a run, or joining to master data for reporting.
- Retrieve staged ATP for an item/organization:
SELECT ATP_PERIOD_START_DATE, ATP, PERIOD_NET_AVAILABLE FROM MTL_SUPPLY_DEMAND_TEMP WHERE INVENTORY_ITEM_ID = :item AND ORGANIZATION_ID = :org; - Summarize supply and demand by period using ATP_PERIOD_TOTAL_SUPPLY and ATP_PERIOD_TOTAL_DEMAND.
- Debugging ATP user-exit logic by inspecting ROW_NUMBER, RECORD_TYPE, and the C_/N_/D_ overflow columns.
- Reconciling on-hand versus available quantities via ON_HAND_QUANTITY and ATP.
Related Objects
- MTL_SYSTEM_ITEMS_B — joined on INVENTORY_ITEM_ID and ORGANIZATION_ID.
- AHL_PRD_DISPOSITIONS_B — joined on DISPOSITION_ID.
- BOM_DEPARTMENTS — joined on DEPARTMENT_ID.
- MTL_ONHAND_QUANTITIES and MTL_DEMAND — primary supply/demand sources compared during ATP.
- ATP user-exit APIs — populate this table at runtime.
- MRP/Planning and Order Management ATP — consumers of the resulting availability data.
-
Table: MTL_SUPPLY_DEMAND_TEMP
12.1.1
owner:INV, object_type:TABLE, fnd_design_data:INV.MTL_SUPPLY_DEMAND_TEMP, object_name:MTL_SUPPLY_DEMAND_TEMP, status:VALID, product: INV - Inventory , description: Temporary table containing ATP details returned from ATP user-exit , implementation_dba_data: INV.MTL_SUPPLY_DEMAND_TEMP ,
-
Table: MTL_SUPPLY_DEMAND_TEMP
12.2.2
owner:INV, object_type:TABLE, fnd_design_data:INV.MTL_SUPPLY_DEMAND_TEMP, object_name:MTL_SUPPLY_DEMAND_TEMP, status:VALID, product: INV - Inventory , description: Temporary table containing ATP details returned from ATP user-exit , implementation_dba_data: INV.MTL_SUPPLY_DEMAND_TEMP ,
-
SYNONYM: APPS.MTL_SUPPLY_DEMAND_TEMP
12.1.1
owner:APPS, object_type:SYNONYM, object_name:MTL_SUPPLY_DEMAND_TEMP, status:VALID,
-
SYNONYM: APPS.MTL_SUPPLY_DEMAND_TEMP
12.2.2
owner:APPS, object_type:SYNONYM, object_name:MTL_SUPPLY_DEMAND_TEMP, status:VALID,
-
VIEW: INV.MTL_SUPPLY_DEMAND_TEMP#
12.2.2
owner:INV, object_type:VIEW, object_name:MTL_SUPPLY_DEMAND_TEMP#, status:VALID,
-
VIEW: APPS.MRP_ATP_PERIOD_V
12.2.2
-
VIEW: INV.MTL_SUPPLY_DEMAND_TEMP#
12.2.2
-
VIEW: APPS.MRP_ATP_PERIOD_V
12.1.1
-
VIEW: APPS.ICX_MTL_SUPPLY_DEMAND_V
12.1.1
-
VIEW: APPS.ICX_MTL_SUPPLY_DEMAND_V
12.2.2
-
TABLE: INV.MTL_SUPPLY_DEMAND_TEMP
12.2.2
owner:INV, object_type:TABLE, fnd_design_data:INV.MTL_SUPPLY_DEMAND_TEMP, object_name:MTL_SUPPLY_DEMAND_TEMP, status:VALID,
-
TABLE: INV.MTL_SUPPLY_DEMAND_TEMP
12.1.1
owner:INV, object_type:TABLE, fnd_design_data:INV.MTL_SUPPLY_DEMAND_TEMP, object_name:MTL_SUPPLY_DEMAND_TEMP, status:VALID,
-
View: MRP_ATP_PERIOD_V
12.2.2
owner:APPS, object_type:VIEW, fnd_design_data:MRP.MRP_ATP_PERIOD_V, object_name:MRP_ATP_PERIOD_V, status:VALID, product: MRP - Master Scheduling/MRP , description: ATP period view , implementation_dba_data: APPS.MRP_ATP_PERIOD_V ,
-
PACKAGE BODY: APPS.MSC_ATP_UTILS
12.2.2
owner:APPS, object_type:PACKAGE BODY, object_name:MSC_ATP_UTILS, status:VALID,
-
PACKAGE BODY: APPS.MSC_ATP_UTILS
12.1.1
owner:APPS, object_type:PACKAGE BODY, object_name:MSC_ATP_UTILS, status:VALID,
-
PACKAGE BODY: APPS.WIP_WICTPG
12.1.1
owner:APPS, object_type:PACKAGE BODY, object_name:WIP_WICTPG, status:VALID,
-
VIEW: APPS.ICX_MTL_SUPPLY_DEMAND_V
12.2.2
owner:APPS, object_type:VIEW, fnd_design_data:ICX.ICX_MTL_SUPPLY_DEMAND_V, object_name:ICX_MTL_SUPPLY_DEMAND_V, status:VALID,
-
VIEW: APPS.ICX_MTL_SUPPLY_DEMAND_V
12.1.1
owner:APPS, object_type:VIEW, fnd_design_data:ICX.ICX_MTL_SUPPLY_DEMAND_V, object_name:ICX_MTL_SUPPLY_DEMAND_V, status:VALID,
-
View: MRP_ATP_PERIOD_V
12.1.1
owner:APPS, object_type:VIEW, fnd_design_data:MRP.MRP_ATP_PERIOD_V, object_name:MRP_ATP_PERIOD_V, status:VALID, product: MRP - Master Scheduling/MRP , description: ATP period view , implementation_dba_data: APPS.MRP_ATP_PERIOD_V ,
-
View: ICX_MTL_SUPPLY_DEMAND_V
12.1.1
owner:APPS, object_type:VIEW, fnd_design_data:ICX.ICX_MTL_SUPPLY_DEMAND_V, object_name:ICX_MTL_SUPPLY_DEMAND_V, status:VALID, product: ICX - Oracle iProcurement , description: Obsolete , implementation_dba_data: APPS.ICX_MTL_SUPPLY_DEMAND_V ,
-
PACKAGE BODY: APPS.WIP_WICTPG
12.2.2
owner:APPS, object_type:PACKAGE BODY, object_name:WIP_WICTPG, status:VALID,
-
View: ICX_MTL_SUPPLY_DEMAND_V
12.2.2
owner:APPS, object_type:VIEW, fnd_design_data:ICX.ICX_MTL_SUPPLY_DEMAND_V, object_name:ICX_MTL_SUPPLY_DEMAND_V, status:VALID, product: ICX - Oracle iProcurement , description: Obsolete , implementation_dba_data: APPS.ICX_MTL_SUPPLY_DEMAND_V ,
-
12.1.1 FND Design Data
12.1.1
-
12.1.1 DBA Data
12.1.1
-
12.2.2 FND Design Data
12.2.2
-
VIEW: APPS.MRP_ATP_PERIOD_V
12.2.2
owner:APPS, object_type:VIEW, fnd_design_data:MRP.MRP_ATP_PERIOD_V, object_name:MRP_ATP_PERIOD_V, status:VALID,
-
12.2.2 DBA Data
12.2.2
-
12.2.2 DBA Data
12.2.2
-
VIEW: APPS.MRP_ATP_PERIOD_V
12.1.1
owner:APPS, object_type:VIEW, fnd_design_data:MRP.MRP_ATP_PERIOD_V, object_name:MRP_ATP_PERIOD_V, status:VALID,
-
VIEW: APPS.MRP_PF_ATP_V
12.2.2
owner:APPS, object_type:VIEW, fnd_design_data:MRP.MRP_PF_ATP_V, object_name:MRP_PF_ATP_V, status:VALID,
-
VIEW: APPS.MRP_PF_ATP_V
12.1.1
owner:APPS, object_type:VIEW, fnd_design_data:MRP.MRP_PF_ATP_V, object_name:MRP_PF_ATP_V, status:VALID,
-
VIEW: APPS.MTL_GROUP_ATPS_VIEW
12.2.2
owner:APPS, object_type:VIEW, fnd_design_data:INV.MTL_GROUP_ATPS_VIEW, object_name:MTL_GROUP_ATPS_VIEW, status:VALID,
-
VIEW: APPS.MTL_GROUP_ATPS_VIEW
12.1.1
owner:APPS, object_type:VIEW, fnd_design_data:INV.MTL_GROUP_ATPS_VIEW, object_name:MTL_GROUP_ATPS_VIEW, status:VALID,
-
VIEW: APPS.MRP_ATP_BASE_V
12.1.1
owner:APPS, object_type:VIEW, fnd_design_data:MRP.MRP_ATP_BASE_V, object_name:MRP_ATP_BASE_V, status:VALID,
-
VIEW: APPS.MRP_ATP_BASE_V
12.2.2
owner:APPS, object_type:VIEW, fnd_design_data:MRP.MRP_ATP_BASE_V, object_name:MRP_ATP_BASE_V, status:VALID,
-
Table: MTL_SYSTEM_ITEMS_B
12.1.1
owner:INV, object_type:TABLE, fnd_design_data:INV.MTL_SYSTEM_ITEMS_B, object_name:MTL_SYSTEM_ITEMS_B, status:VALID, product: INV - Inventory , description: Inventory item definitions , implementation_dba_data: INV.MTL_SYSTEM_ITEMS_B ,
-
Table: MTL_SYSTEM_ITEMS_B
12.2.2
owner:INV, object_type:TABLE, fnd_design_data:INV.MTL_SYSTEM_ITEMS_B, object_name:MTL_SYSTEM_ITEMS_B, status:VALID, product: INV - Inventory , description: Inventory item definitions , implementation_dba_data: INV.MTL_SYSTEM_ITEMS_B ,
-
APPS.MSC_ATP_UTILS dependencies on MTL_SUPPLY_DEMAND_TEMP
12.2.2
-
APPS.WIP_WICTPG dependencies on MTL_SUPPLY_DEMAND_TEMP
12.2.2
-
APPS.WIP_WICTPG dependencies on MTL_SUPPLY_DEMAND_TEMP
12.1.1
-
VIEW: APPS.MRP_ATP_V
12.2.2
owner:APPS, object_type:VIEW, fnd_design_data:MRP.MRP_ATP_V, object_name:MRP_ATP_V, status:VALID,
-
VIEW: APPS.MRP_ATP_V
12.1.1
owner:APPS, object_type:VIEW, fnd_design_data:MRP.MRP_ATP_V, object_name:MRP_ATP_V, status:VALID,
-
APPS.MSC_ATP_UTILS dependencies on MTL_SUPPLY_DEMAND_TEMP
12.1.1
-
PACKAGE BODY: APPS.MRP_SCATP_PUB
12.2.2
-
APPS.WIP_WICTPG SQL Statements
12.2.2
-
APPS.WIP_WICTPG SQL Statements
12.1.1
-
PACKAGE BODY: APPS.MRP_SCATP_PUB
12.1.1
-
APPS.MSC_ATP_UTILS SQL Statements
12.1.1
-
APPS.MSC_ATP_UTILS SQL Statements
12.2.2
-
TABLE: INV.MTL_DEMAND_INTERFACE
12.2.2
owner:INV, object_type:TABLE, fnd_design_data:INV.MTL_DEMAND_INTERFACE, object_name:MTL_DEMAND_INTERFACE, status:VALID,