Search Results mtl_stat_type_usages
Overview
The MTL_STAT_TYPE_USAGES table is a core configuration table within the Oracle E-Business Suite Inventory (INV) module. Its primary role is to define and control the statistical type data required for each legal entity operating within the application. This table acts as a central mapping mechanism, linking legal entities and economic zones to specific statistical types and their associated usage rules. By storing this configuration, it enables the system to enforce and report on statistical data—such as intrastat reporting for the European Union—based on the legal and geographic context of a transaction. Its existence is fundamental for organizations that must comply with regional trade and fiscal regulations requiring detailed movement-of-goods statistics.
Key Information Stored
The table's structure is defined by its primary key and several foreign key relationships. The primary key uniquely identifies a configuration record through a combination of four columns: LEGAL_ENTITY_ID, ZONE_CODE, STAT_TYPE, and USAGE_TYPE. This design allows for granular control, specifying valid statistical types (STAT_TYPE) for a given usage (USAGE_TYPE) within a specific legal entity (LEGAL_ENTITY_ID) and economic zone (ZONE_CODE). Two critical foreign key columns, ATTRIBUTE_RULE_SET_CODE and ALT_UOM_RULE_SET_CODE, reference the MTL_MVT_STATS_RULE_SETS_B table. These columns determine which rule sets govern the validation of statistical attributes and the conversion rules for alternate units of measure, respectively, for the defined statistical type usage.
Common Use Cases and Queries
The primary use case for this table is the setup and maintenance of intrastat and other statistical reporting requirements within the Inventory and Order Management modules. A common administrative task is querying the current configuration for a legal entity to verify setup completeness. A typical validation query would join to related setup tables:
SELECT mstu.legal_entity_id,
mstu.zone_code,
mstu.stat_type,
mstu.usage_type,
mstu.attribute_rule_set_code,
mstu.alt_uom_rule_set_code
FROM inv.mtl_stat_type_usages mstu,
hr_all_organization_units hou
WHERE mstu.legal_entity_id = hou.organization_id
AND hou.name = '&LEGAL_ENTITY_NAME';
This table is also central during transaction processing (e.g., shipping a sales order), where the system queries it to determine the applicable statistical type and rule sets for generating statistical data based on the transaction's legal entity, item, and destination.
Related Objects
- HR_ALL_ORGANIZATION_UNITS: Provides the legal entity definition via a foreign key relationship on LEGAL_ENTITY_ID.
- MTL_ECONOMIC_ZONES_B: Defines the economic zones (e.g., EU) referenced by the ZONE_CODE foreign key.
- MTL_MVT_STATS_RULE_SETS_B: The source table for the rule sets governing attribute validation (ATTRIBUTE_RULE_SET_CODE) and unit of measure conversion (ALT_UOM_RULE_SET_CODE).
- MTL_TRANSACTION_STATISTICS: This transactional table likely consumes the rules defined in MTL_STAT_TYPE_USAGES to store the actual statistical data generated from material transactions.
-
Table: MTL_STAT_TYPE_USAGES
12.2.2
owner:INV, object_type:TABLE, fnd_design_data:INV.MTL_STAT_TYPE_USAGES, object_name:MTL_STAT_TYPE_USAGES, status:VALID, product: INV - Inventory , description: Stores information which determines the statistical type data for each legal entity. , implementation_dba_data: INV.MTL_STAT_TYPE_USAGES ,
-
Table: MTL_STAT_TYPE_USAGES
12.1.1
owner:INV, object_type:TABLE, fnd_design_data:INV.MTL_STAT_TYPE_USAGES, object_name:MTL_STAT_TYPE_USAGES, status:VALID, product: INV - Inventory , description: Stores information which determines the statistical type data for each legal entity. , implementation_dba_data: INV.MTL_STAT_TYPE_USAGES ,
-
APPS.MTL_STAT_TYPE_USAGES_PKG dependencies on MTL_STAT_TYPE_USAGES
12.1.1
-
APPS.INV_MGD_MVT_DATA_STR dependencies on MTL_STAT_TYPE_USAGES
12.2.2
-
APPS.INV_MGD_MVT_FIN_MDTR dependencies on MTL_STAT_TYPE_USAGES
12.1.1
-
APPS.INV_MGD_MVT_UTILS_PKG dependencies on MTL_STAT_TYPE_USAGES
12.2.2
-
APPS.INV_MGD_MVT_FIN_MDTR dependencies on MTL_STAT_TYPE_USAGES
12.2.2
-
APPS.MTL_STAT_TYPE_USAGES_PKG dependencies on MTL_STAT_TYPE_USAGES
12.2.2
-
APPS.INV_MGD_MVT_SETUP_MDTR dependencies on MTL_STAT_TYPE_USAGES
12.2.2
-
APPS.INV_MGD_MVT_UTILS_PKG dependencies on MTL_STAT_TYPE_USAGES
12.1.1
-
APPS.INV_INVSTMVT_XMLP_PKG dependencies on MTL_STAT_TYPE_USAGES
12.2.2
-
APPS.INV_MGD_MVT_DATA_STR dependencies on MTL_STAT_TYPE_USAGES
12.1.1
-
APPS.INV_INVSTMVT_XMLP_PKG dependencies on MTL_STAT_TYPE_USAGES
12.1.1
-
APPS.INV_MGD_MVT_SETUP_MDTR dependencies on MTL_STAT_TYPE_USAGES
12.1.1
-
APPS.MTL_STAT_TYPE_USAGES_PKG SQL Statements
12.1.1
-
APPS.MTL_STAT_TYPE_USAGES_PKG SQL Statements
12.2.2
-
SYNONYM: APPS.MTL_STAT_TYPE_USAGES
12.1.1
owner:APPS, object_type:SYNONYM, object_name:MTL_STAT_TYPE_USAGES, status:VALID,
-
Table: MTL_MVT_STATS_RULE_SETS_B
12.1.1
owner:INV, object_type:TABLE, fnd_design_data:INV.MTL_MVT_STATS_RULE_SETS_B, object_name:MTL_MVT_STATS_RULE_SETS_B, status:VALID, product: INV - Inventory , description: Movement Statistics table to store Rule Sets for validation rules. , implementation_dba_data: INV.MTL_MVT_STATS_RULE_SETS_B ,
-
Table: MTL_MVT_STATS_RULE_SETS_B
12.2.2
owner:INV, object_type:TABLE, fnd_design_data:INV.MTL_MVT_STATS_RULE_SETS_B, object_name:MTL_MVT_STATS_RULE_SETS_B, status:VALID, product: INV - Inventory , description: Movement Statistics table to store Rule Sets for validation rules. , implementation_dba_data: INV.MTL_MVT_STATS_RULE_SETS_B ,
-
APPS.INV_MGD_MVT_SETUP_MDTR dependencies on GL_PERIODS
12.1.1
-
APPS.INV_MGD_MVT_SETUP_MDTR dependencies on GL_PERIODS
12.2.2
-
APPS.INV_MGD_MVT_SETUP_MDTR dependencies on GL_LEDGER_LE_V
12.1.1
-
VIEW: APPS.MTL_STAT_TYPE_USAGES_V
12.2.2
-
APPS.INV_MGD_MVT_SETUP_MDTR SQL Statements
12.1.1
-
VIEW: APPS.MTL_STAT_TYPE_USAGES_V
12.1.1
-
SYNONYM: APPS.MTL_STAT_TYPE_USAGES
12.2.2
owner:APPS, object_type:SYNONYM, object_name:MTL_STAT_TYPE_USAGES, status:VALID,
-
APPS.INV_MGD_MVT_SETUP_MDTR SQL Statements
12.2.2
-
VIEW: INV.MTL_STAT_TYPE_USAGES#
12.2.2
owner:INV, object_type:VIEW, object_name:MTL_STAT_TYPE_USAGES#, status:VALID,
-
APPS.INV_MGD_MVT_SETUP_MDTR dependencies on GL_LEDGER_LE_V
12.2.2
-
TABLE: INV.MTL_STAT_TYPE_USAGES
12.1.1
owner:INV, object_type:TABLE, fnd_design_data:INV.MTL_STAT_TYPE_USAGES, object_name:MTL_STAT_TYPE_USAGES, status:VALID,
-
TABLE: INV.MTL_STAT_TYPE_USAGES
12.2.2
owner:INV, object_type:TABLE, fnd_design_data:INV.MTL_STAT_TYPE_USAGES, object_name:MTL_STAT_TYPE_USAGES, status:VALID,
-
VIEW: INV.MTL_STAT_TYPE_USAGES#
12.2.2
-
Table: MTL_ECONOMIC_ZONES_B
12.2.2
owner:INV, object_type:TABLE, fnd_design_data:INV.MTL_ECONOMIC_ZONES_B, object_name:MTL_ECONOMIC_ZONES_B, status:VALID, product: INV - Inventory , description: Stores information concerning all the economic zones. , implementation_dba_data: INV.MTL_ECONOMIC_ZONES_B ,
-
View: MTL_STAT_TYPE_USAGES_V
12.1.1
owner:APPS, object_type:VIEW, fnd_design_data:INV.MTL_STAT_TYPE_USAGES_V, object_name:MTL_STAT_TYPE_USAGES_V, status:VALID, product: INV - Inventory , description: Join of Stat_Type_Usages, Hr Legal Entities, Category Sets, Economic Zones View and Hr Locations , implementation_dba_data: APPS.MTL_STAT_TYPE_USAGES_V ,
-
PACKAGE BODY: APPS.MTL_STAT_TYPE_USAGES_PKG
12.1.1
owner:APPS, object_type:PACKAGE BODY, object_name:MTL_STAT_TYPE_USAGES_PKG, status:VALID,
-
View: MTL_STAT_TYPE_USAGES_V
12.2.2
owner:APPS, object_type:VIEW, fnd_design_data:INV.MTL_STAT_TYPE_USAGES_V, object_name:MTL_STAT_TYPE_USAGES_V, status:VALID, product: INV - Inventory , description: Join of Stat_Type_Usages, Hr Legal Entities, Category Sets, Economic Zones View and Hr Locations , implementation_dba_data: APPS.MTL_STAT_TYPE_USAGES_V ,
-
Table: MTL_ECONOMIC_ZONES_B
12.1.1
owner:INV, object_type:TABLE, fnd_design_data:INV.MTL_ECONOMIC_ZONES_B, object_name:MTL_ECONOMIC_ZONES_B, status:VALID, product: INV - Inventory , description: Stores information concerning all the economic zones. , implementation_dba_data: INV.MTL_ECONOMIC_ZONES_B ,
-
PACKAGE BODY: APPS.MTL_STAT_TYPE_USAGES_PKG
12.2.2
-
PACKAGE BODY: APPS.INV_MGD_MVT_SETUP_MDTR
12.1.1
owner:APPS, object_type:PACKAGE BODY, object_name:INV_MGD_MVT_SETUP_MDTR, status:VALID,
-
PACKAGE BODY: APPS.INV_MGD_MVT_SETUP_MDTR
12.2.2
owner:APPS, object_type:PACKAGE BODY, object_name:INV_MGD_MVT_SETUP_MDTR, status:VALID,
-
PACKAGE BODY: APPS.MTL_STAT_TYPE_USAGES_PKG
12.2.2
owner:APPS, object_type:PACKAGE BODY, object_name:MTL_STAT_TYPE_USAGES_PKG, status:VALID,
-
PACKAGE BODY: APPS.MTL_STAT_TYPE_USAGES_PKG
12.1.1
-
PACKAGE BODY: APPS.INV_MGD_MVT_FIN_MDTR
12.1.1
owner:APPS, object_type:PACKAGE BODY, object_name:INV_MGD_MVT_FIN_MDTR, status:VALID,
-
PACKAGE: APPS.INV_MGD_MVT_DATA_STR
12.2.2
owner:APPS, object_type:PACKAGE, object_name:INV_MGD_MVT_DATA_STR, status:VALID,
-
APPS.MTL_STAT_TYPE_USAGES_PKG dependencies on MTL_STAT_TYPE_USAGES_PKG
12.1.1
-
PACKAGE BODY: APPS.INV_MGD_MVT_FIN_MDTR
12.2.2
owner:APPS, object_type:PACKAGE BODY, object_name:INV_MGD_MVT_FIN_MDTR, status:VALID,
-
PACKAGE BODY: APPS.INV_MGD_MVT_UTILS_PKG
12.1.1
owner:APPS, object_type:PACKAGE BODY, object_name:INV_MGD_MVT_UTILS_PKG, status:VALID,
-
APPS.INV_INVSTMVT_XMLP_PKG dependencies on STANDARD
12.2.2
-
PACKAGE BODY: APPS.INV_INVSTMVT_XMLP_PKG
12.2.2
owner:APPS, object_type:PACKAGE BODY, object_name:INV_INVSTMVT_XMLP_PKG, status:VALID,
-
APPS.MTL_STAT_TYPE_USAGES_PKG dependencies on MTL_STAT_TYPE_USAGES_PKG
12.2.2