Search Results mtl_material_status_history
Overview
The MTL_MATERIAL_STATUS_HISTORY table is a transactional history table within the Oracle E-Business Suite Inventory (INV) module. Its primary role is to serve as an audit trail, specifically for the Oracle Warehouse Management System (WMS), by logging every instance where the material status of an inventory item is changed. Material statuses control the usability of items (e.g., available, hold, quarantine) within a warehouse. This table provides a historical record of these status transitions, capturing the who, what, when, and why for each update, which is critical for compliance, traceability, and troubleshooting within complex warehouse operations.
Key Information Stored
The table's structure is designed to capture the complete context of a status change. The primary key, STATUS_UPDATE_ID, uniquely identifies each historical entry. Core data points include the ID of the new status (STATUS_ID), identifiers for the specific inventory entity affected (INVENTORY_ITEM_ID, ORGANIZATION_ID, SUBINVENTORY_CODE, LOCATOR_ID), and identifiers for lot and serial-controlled items (LOT_NUMBER, SERIAL_NUMBER). Crucially, it records the transaction details: the user who performed the update (LAST_UPDATED_BY), the timestamp (LAST_UPDATE_DATE), and the reason for the change via a link to MTL_TRANSACTION_REASONS (UPDATE_REASON_ID). The ZONE_CODE column indicates the warehouse zone associated with the update.
Common Use Cases and Queries
This table is primarily used for audit reporting and historical analysis within WMS-enabled environments. A common use case is tracing the status history of a specific serialized asset or lot to verify its chain of custody or to investigate quality holds. Another scenario involves generating reports for internal audits to demonstrate control over inventory status changes. Sample queries often join to related master tables to translate IDs into meaningful names. For example, to see the full history for a specific item in a location:
- SELECT ms.STATUS_CODE, msh.* FROM MTL_MATERIAL_STATUS_HISTORY msh, MTL_MATERIAL_STATUSES_B ms WHERE msh.STATUS_ID = ms.STATUS_ID AND msh.INVENTORY_ITEM_ID = :item_id AND msh.ORGANIZATION_ID = :org_id AND msh.SUBINVENTORY_CODE = :subinv ORDER BY msh.LAST_UPDATE_DATE DESC;
Direct data manipulation is typically performed through the standard WMS or Inventory APIs, not via direct DML on this history table.
Related Objects
The MTL_MATERIAL_STATUS_HISTORY table maintains foreign key relationships with several core Inventory master tables, ensuring referential integrity for its logged data. As documented in the ETRM, the key relationships are:
- MTL_MATERIAL_STATUSES_B: Links via STATUS_ID to validate and describe the new material status applied.
- MTL_SECONDARY_INVENTORIES: Links via ORGANIZATION_ID and SUBINVENTORY_CODE (implied as ZONE_CODE in some contexts) to identify the subinventory.
- MTL_ITEM_LOCATIONS: Links via ORGANIZATION_ID and LOCATOR_ID to identify the precise storage location.
- MTL_LOT_NUMBERS: Links via ORGANIZATION_ID, INVENTORY_ITEM_ID, and LOT_NUMBER for lot-specific status history.
- MTL_SERIAL_NUMBERS: Links via ORGANIZATION_ID, INVENTORY_ITEM_ID, and SERIAL_NUMBER for serial-specific status history.
- MTL_TRANSACTION_REASONS: Links via UPDATE_REASON_ID to capture the documented reason for the status change.
-
Table: MTL_MATERIAL_STATUS_HISTORY
12.2.2
owner:INV, object_type:TABLE, fnd_design_data:INV.MTL_MATERIAL_STATUS_HISTORY, object_name:MTL_MATERIAL_STATUS_HISTORY, status:VALID, product: INV - Inventory , description: Inventory status update history - Used by WMS only , implementation_dba_data: INV.MTL_MATERIAL_STATUS_HISTORY ,
-
Table: MTL_MATERIAL_STATUS_HISTORY
12.1.1
owner:INV, object_type:TABLE, fnd_design_data:INV.MTL_MATERIAL_STATUS_HISTORY, object_name:MTL_MATERIAL_STATUS_HISTORY, status:VALID, product: INV - Inventory , description: Inventory status update history - Used by WMS only , implementation_dba_data: INV.MTL_MATERIAL_STATUS_HISTORY ,
-
APPS.INV_MWB_LOCATION_TREE dependencies on MTL_MATERIAL_STATUS_HISTORY
12.2.2
-
APPS.INV_MATERIAL_STATUS_PKG dependencies on MTL_MATERIAL_STATUS_HISTORY
12.2.2
-
APPS.INV_MATERIAL_STATUS_GRP dependencies on MTL_MATERIAL_STATUS_HISTORY
12.2.2
-
APPS.INV_MWB_LOCATION_TREE dependencies on MTL_MATERIAL_STATUS_HISTORY
12.1.1
-
APPS.INV_MATERIAL_STATUS_PKG dependencies on MTL_MATERIAL_STATUS_HISTORY
12.1.1
-
APPS.INV_STATUS_PKG dependencies on MTL_MATERIAL_STATUS_HISTORY
12.2.2
-
SYNONYM: APPS.MTL_MATERIAL_STATUS_HISTORY
12.2.2
owner:APPS, object_type:SYNONYM, object_name:MTL_MATERIAL_STATUS_HISTORY, status:VALID,
-
SYNONYM: APPS.MTL_MATERIAL_STATUS_HISTORY
12.1.1
owner:APPS, object_type:SYNONYM, object_name:MTL_MATERIAL_STATUS_HISTORY, status:VALID,
-
VIEW: APPS.MTL_MATERIAL_STATUS_HIST_ERV
12.1.1
-
VIEW: APPS.MTL_MATERIAL_STATUS_HIST_ERV
12.2.2
-
View: MTL_MATERIAL_STATUS_HIST_ERV
12.1.1
owner:APPS, object_type:VIEW, fnd_design_data:INV.MTL_MATERIAL_STATUS_HIST_ERV, object_name:MTL_MATERIAL_STATUS_HIST_ERV, status:VALID, product: INV - Inventory , implementation_dba_data: APPS.MTL_MATERIAL_STATUS_HIST_ERV ,
-
APPS.INV_STATUS_PKG SQL Statements
12.2.2
-
VIEW: INV.MTL_MATERIAL_STATUS_HISTORY#
12.2.2
owner:INV, object_type:VIEW, object_name:MTL_MATERIAL_STATUS_HISTORY#, status:VALID,
-
APPS.MTL_LOT_NUMBERS_PKG dependencies on INV_INSTALL
12.2.2
-
View: MTL_MATERIAL_STATUS_HIST_ERV
12.2.2
owner:APPS, object_type:VIEW, fnd_design_data:INV.MTL_MATERIAL_STATUS_HIST_ERV, object_name:MTL_MATERIAL_STATUS_HIST_ERV, status:VALID, product: INV - Inventory , implementation_dba_data: APPS.MTL_MATERIAL_STATUS_HIST_ERV ,
-
VIEW: INV.MTL_MATERIAL_STATUS_HISTORY#
12.2.2
-
APPS.MTL_LOT_NUMBERS_PKG dependencies on INV_INSTALL
12.1.1
-
TABLE: INV.MTL_MATERIAL_STATUS_HISTORY
12.1.1
owner:INV, object_type:TABLE, fnd_design_data:INV.MTL_MATERIAL_STATUS_HISTORY, object_name:MTL_MATERIAL_STATUS_HISTORY, status:VALID,
-
APPS.INV_MATERIAL_STATUS_GRP dependencies on INV_CACHE
12.1.1
-
TABLE: INV.MTL_MATERIAL_STATUS_HISTORY
12.2.2
owner:INV, object_type:TABLE, fnd_design_data:INV.MTL_MATERIAL_STATUS_HISTORY, object_name:MTL_MATERIAL_STATUS_HISTORY, status:VALID,
-
Table: MTL_MATERIAL_STATUSES_B
12.1.1
owner:INV, object_type:TABLE, fnd_design_data:INV.MTL_MATERIAL_STATUSES_B, object_name:MTL_MATERIAL_STATUSES_B, status:VALID, product: INV - Inventory , description: Base table for inventory status definitions - Used by WMS only , implementation_dba_data: INV.MTL_MATERIAL_STATUSES_B ,
-
PACKAGE BODY: APPS.INV_MWB_LOCATION_TREE
12.2.2
owner:APPS, object_type:PACKAGE BODY, object_name:INV_MWB_LOCATION_TREE, status:VALID,
-
APPS.INV_MATERIAL_STATUS_GRP dependencies on INV_CACHE
12.2.2
-
Table: MTL_MATERIAL_STATUSES_B
12.2.2
owner:INV, object_type:TABLE, fnd_design_data:INV.MTL_MATERIAL_STATUSES_B, object_name:MTL_MATERIAL_STATUSES_B, status:VALID, product: INV - Inventory , description: Base table for inventory status definitions - Used by WMS only , implementation_dba_data: INV.MTL_MATERIAL_STATUSES_B ,
-
VIEW: APPS.MTL_GRD_STS_HISTORY_V
12.1.1
-
Table: MTL_TRANSACTION_REASONS
12.1.1
owner:INV, object_type:TABLE, fnd_design_data:INV.MTL_TRANSACTION_REASONS, object_name:MTL_TRANSACTION_REASONS, status:VALID, product: INV - Inventory , description: Inventory Transaction Reasons Table , implementation_dba_data: INV.MTL_TRANSACTION_REASONS ,
-
VIEW: APPS.MTL_GRD_STS_HISTORY_V
12.2.2
-
PACKAGE BODY: APPS.INV_MWB_LOCATION_TREE
12.1.1
owner:APPS, object_type:PACKAGE BODY, object_name:INV_MWB_LOCATION_TREE, status:VALID,
-
VIEW: APPS.MTL_ONHAND_STATUS_HIST_ERV
12.2.2
-
PACKAGE BODY: APPS.INV_MATERIAL_STATUS_GRP
12.2.2
owner:APPS, object_type:PACKAGE BODY, object_name:INV_MATERIAL_STATUS_GRP, status:VALID,
-
PACKAGE BODY: APPS.INV_MATERIAL_STATUS_PKG
12.1.1
owner:APPS, object_type:PACKAGE BODY, object_name:INV_MATERIAL_STATUS_PKG, status:VALID,
-
Table: MTL_TRANSACTION_REASONS
12.2.2
owner:INV, object_type:TABLE, fnd_design_data:INV.MTL_TRANSACTION_REASONS, object_name:MTL_TRANSACTION_REASONS, status:VALID, product: INV - Inventory , description: Inventory Transaction Reasons Table , implementation_dba_data: INV.MTL_TRANSACTION_REASONS ,
-
PACKAGE BODY: APPS.INV_MATERIAL_STATUS_PKG
12.2.2
owner:APPS, object_type:PACKAGE BODY, object_name:INV_MATERIAL_STATUS_PKG, status:VALID,
-
APPS.INV_STATUS_PKG dependencies on MTL_SECONDARY_INVENTORIES
12.2.2
-
PACKAGE BODY: APPS.INV_STATUS_PKG
12.2.2
owner:APPS, object_type:PACKAGE BODY, object_name:INV_STATUS_PKG, status:VALID,
-
Table: MTL_LOT_NUMBERS
12.1.1
owner:INV, object_type:TABLE, fnd_design_data:INV.MTL_LOT_NUMBERS, object_name:MTL_LOT_NUMBERS, status:VALID, product: INV - Inventory , description: Lot number definitions , implementation_dba_data: INV.MTL_LOT_NUMBERS ,
-
View: MTL_GRD_STS_HISTORY_V
12.2.2
owner:APPS, object_type:VIEW, fnd_design_data:INV.MTL_GRD_STS_HISTORY_V, object_name:MTL_GRD_STS_HISTORY_V, status:VALID, product: INV - Inventory , implementation_dba_data: APPS.MTL_GRD_STS_HISTORY_V ,
-
APPS.INV_STATUS_PKG dependencies on MTL_ITEM_LOCATIONS
12.2.2
-
APPS.INV_STATUS_PKG dependencies on MTL_SERIAL_NUMBERS
12.2.2
-
VIEW: APPS.MTL_MATERIAL_STATUS_HIST_ERV
12.1.1
owner:APPS, object_type:VIEW, fnd_design_data:INV.MTL_MATERIAL_STATUS_HIST_ERV, object_name:MTL_MATERIAL_STATUS_HIST_ERV, status:VALID,
-
View: MTL_GRD_STS_HISTORY_V
12.1.1
owner:APPS, object_type:VIEW, fnd_design_data:INV.MTL_GRD_STS_HISTORY_V, object_name:MTL_GRD_STS_HISTORY_V, status:VALID, product: INV - Inventory , implementation_dba_data: APPS.MTL_GRD_STS_HISTORY_V ,
-
Table: MTL_LOT_NUMBERS
12.2.2
owner:INV, object_type:TABLE, fnd_design_data:INV.MTL_LOT_NUMBERS, object_name:MTL_LOT_NUMBERS, status:VALID, product: INV - Inventory , description: Lot number definitions , implementation_dba_data: INV.MTL_LOT_NUMBERS ,
-
Table: MTL_SERIAL_NUMBERS
12.2.2
owner:INV, object_type:TABLE, fnd_design_data:INV.MTL_SERIAL_NUMBERS, object_name:MTL_SERIAL_NUMBERS, status:VALID, product: INV - Inventory , description: Serial number definitions , implementation_dba_data: INV.MTL_SERIAL_NUMBERS ,
-
Table: MTL_ITEM_LOCATIONS
12.1.1
owner:INV, object_type:TABLE, fnd_design_data:INV.MTL_ITEM_LOCATIONS, object_name:MTL_ITEM_LOCATIONS, status:VALID, product: INV - Inventory , description: Definitions for stock locators , implementation_dba_data: INV.MTL_ITEM_LOCATIONS ,
-
Table: MTL_ITEM_LOCATIONS
12.2.2
owner:INV, object_type:TABLE, fnd_design_data:INV.MTL_ITEM_LOCATIONS, object_name:MTL_ITEM_LOCATIONS, status:VALID, product: INV - Inventory , description: Definitions for stock locators , implementation_dba_data: INV.MTL_ITEM_LOCATIONS ,
-
VIEW: APPS.MTL_GRD_STS_HISTORY_V
12.1.1
owner:APPS, object_type:VIEW, fnd_design_data:INV.MTL_GRD_STS_HISTORY_V, object_name:MTL_GRD_STS_HISTORY_V, status:VALID,
-
APPS.MTL_SECONDARY_INVENTORIES_PKG SQL Statements
12.1.1
-
APPS.MTL_SECONDARY_INVENTORIES_PKG SQL Statements
12.2.2