Search Results mtl_supply_demand_temp
The MTL_SUPPLY_DEMAND_TEMP
table in Oracle E-Business Suite (EBS) 12.1.1 and 12.2.2 is a critical temporary table used within the Inventory and Supply Chain modules to manage supply and demand data during transaction processing. It serves as a staging area for temporary records before they are processed into permanent tables, ensuring data integrity and performance optimization during complex inventory operations. Below is a detailed breakdown of its structure, purpose, and usage.
Purpose and Functionality
TheMTL_SUPPLY_DEMAND_TEMP
table acts as an intermediary storage for supply and demand transactions, such as sales orders, purchase orders, transfers, and replenishments. It facilitates real-time inventory visibility by temporarily holding transactional data before it is committed to permanent tables like MTL_SUPPLY
or MTL_DEMAND
. This temporary storage mechanism improves performance by reducing contention on primary tables during high-volume transactions.
Key Columns and Structure
The table includes columns that capture essential supply and demand attributes, such as:- TEMP_ID: A unique identifier for each temporary record.
- INVENTORY_ITEM_ID: References the item in
MTL_SYSTEM_ITEMS_B
. - ORGANIZATION_ID: Identifies the inventory organization.
- SUPPLY_DEMAND_TYPE: Distinguishes between supply (e.g., purchase orders) and demand (e.g., sales orders).
- QUANTITY: The quantity involved in the transaction.
- DATE_REQUIRED: The date by which the supply or demand is needed.
- REFERENCE_NUM: Links to the source document (e.g., PO or SO number).
- PROCESS_FLAG: Indicates whether the record has been processed (e.g., 'Y' or 'N').
Integration with Oracle EBS Modules
The table is utilized across multiple modules:- Inventory Management: Tracks pending material movements.
- Order Management: Temporarily holds sales order demand before allocation.
- Purchasing: Stores purchase order supply data before processing.
- MRP (Material Requirements Planning): Supports planning engines by providing transient supply/demand data.
Transaction Workflow
- Data Insertion: Transactions populate
MTL_SUPPLY_DEMAND_TEMP
via APIs or forms. - Processing: Background processes (e.g.,
INV_TXN_MANAGER
) validate and transfer records to permanent tables. - Cleanup: Processed records are purged or archived to maintain performance.
Performance Considerations
To avoid bottlenecks:- Indexes on
TEMP_ID
,PROCESS_FLAG
, andREFERENCE_NUM
optimize queries. - Regular purging of processed records prevents table bloating.
- Partitioning (in 12.2.2) may be used for high-volume environments.
Customizations and Extensions
While Oracle discourages direct modifications, extensions can be implemented via:- Custom APIs to insert/update records.
- Triggers or PL/SQL logic for additional validation.
- Concurrent programs to automate cleanup tasks.
Conclusion
TheMTL_SUPPLY_DEMAND_TEMP
table is a foundational component in Oracle EBS, enabling efficient supply-demand synchronization. Its design ensures transactional integrity while supporting high-performance inventory operations. Understanding its structure and workflow is essential for troubleshooting and optimizing inventory processes in EBS 12.1.1 and 12.2.2.
-
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 ,
-
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 ,