Search Results mtl_item_templ_attributes
Overview
The MTL_ITEM_TEMPL_ATTRIBUTES table is a core data structure within the Oracle E-Business Suite Inventory (INV) module, specifically for versions 12.1.1 and 12.2.2. It serves as the repository for defining and storing the specific attributes and their assigned values that constitute an item template. An item template is a predefined set of item master attributes used to streamline and standardize the creation of new items. This table is fundamental to the template functionality, linking a template definition (MTL_ITEM_TEMPLATES) to the universe of available item attributes (MTL_ITEM_ATTRIBUTES) and holding the specific default or suggested value for each attribute within that template's context.
Key Information Stored
The table's primary purpose is to establish the many-to-many relationship between templates and attributes, storing the attribute value for each pairing. Its structure is defined by a composite primary key and critical foreign key relationships. The key columns are:
- TEMPLATE_ID: A foreign key column linking to MTL_ITEM_TEMPLATES.TEMPLATE_ID. This identifies the specific template to which the attribute belongs.
- ATTRIBUTE_NAME: A foreign key column linking to MTL_ITEM_ATTRIBUTES.ATTRIBUTE_NAME. This identifies the specific item master attribute being defined, such as 'DESCRIPTION', 'PRIMARY_UOM_CODE', or 'INVENTORY_ITEM_FLAG'.
- ATTRIBUTE_VALUE: The actual default or suggested value assigned to the specified ATTRIBUTE_NAME for the given TEMPLATE_ID. This is the data that populates the corresponding field when a new item is created using this template.
Common Use Cases and Queries
This table is central to operations involving item template management and analysis. Common use cases include auditing template definitions, troubleshooting item creation issues, and generating reports on template standardization. A typical query retrieves all attributes and values for a specific template, which is essential for understanding its complete configuration. For example:
SELECT attribute_name, attribute_value FROM inv.mtl_item_templ_attributes WHERE template_id = 1001 ORDER BY attribute_name;
Another common pattern is joining to the MTL_ITEM_TEMPLATES table to list templates and their attribute counts, useful for administrative reporting:
SELECT t.template_name, COUNT(a.attribute_name) AS attribute_count FROM inv.mtl_item_templates t, inv.mtl_item_templ_attributes a WHERE t.template_id = a.template_id GROUP BY t.template_name;
Data in this table is primarily maintained through the Oracle EBS user interface for defining item templates, not via direct SQL manipulation.
Related Objects
The MTL_ITEM_TEMPL_ATTRIBUTES table has integral relationships with other key Inventory tables, as defined by its foreign keys:
- MTL_ITEM_TEMPLATES: This is the parent table. The foreign key on TEMPLATE_ID enforces that every attribute assignment must belong to a valid, existing template definition.
- MTL_ITEM_ATTRIBUTES: This is the reference table for valid attribute definitions. The foreign key on ATTRIBUTE_NAME ensures that only attributes defined in the system can be associated with a template.
- Item Creation Interface: While not a database object, the primary consumer of this table's data is the item creation process (e.g., the Master Items form or Open Item Interface), which reads the ATTRIBUTE_VALUE for each ATTRIBUTE_NAME in the selected template to pre-populate the new item's attributes.
-
Table: MTL_ITEM_TEMPL_ATTRIBUTES
12.2.2
owner:INV, object_type:TABLE, fnd_design_data:INV.MTL_ITEM_TEMPL_ATTRIBUTES, object_name:MTL_ITEM_TEMPL_ATTRIBUTES, status:VALID, product: INV - Inventory , description: Item attributes and attribute values for a template , implementation_dba_data: INV.MTL_ITEM_TEMPL_ATTRIBUTES ,
-
Table: MTL_ITEM_TEMPL_ATTRIBUTES
12.1.1
owner:INV, object_type:TABLE, fnd_design_data:INV.MTL_ITEM_TEMPL_ATTRIBUTES, object_name:MTL_ITEM_TEMPL_ATTRIBUTES, status:VALID, product: INV - Inventory , description: Item attributes and attribute values for a template , implementation_dba_data: INV.MTL_ITEM_TEMPL_ATTRIBUTES ,
-
Table: MTL_ITEM_TEMPLATES
12.2.2
product: INV - Inventory , description: Item template definitions , implementation_dba_data: Not implemented in this database ,
-
Table: MTL_ITEM_TEMPLATES
12.1.1
product: INV - Inventory , description: Item template definitions , implementation_dba_data: Not implemented in this database ,
-
Table: MTL_ITEM_ATTRIBUTES
12.2.2
owner:INV, object_type:TABLE, fnd_design_data:INV.MTL_ITEM_ATTRIBUTES, object_name:MTL_ITEM_ATTRIBUTES, status:VALID, product: INV - Inventory , description: Item attributes table , implementation_dba_data: INV.MTL_ITEM_ATTRIBUTES ,
-
Table: MTL_ITEM_ATTRIBUTES
12.1.1
owner:INV, object_type:TABLE, fnd_design_data:INV.MTL_ITEM_ATTRIBUTES, object_name:MTL_ITEM_ATTRIBUTES, status:VALID, product: INV - Inventory , description: Item attributes table , implementation_dba_data: INV.MTL_ITEM_ATTRIBUTES ,
-
View: MTL_ITEM_TEMPL_ATTRIBUTES_V
12.2.2
owner:APPS, object_type:VIEW, fnd_design_data:INV.MTL_ITEM_TEMPL_ATTRIBUTES_V, object_name:MTL_ITEM_TEMPL_ATTRIBUTES_V, status:VALID, product: INV - Inventory , description: 10SC ONLY , implementation_dba_data: APPS.MTL_ITEM_TEMPL_ATTRIBUTES_V ,
-
View: MTL_ITEM_TEMPL_ATTRIBUTES_V
12.1.1
owner:APPS, object_type:VIEW, fnd_design_data:INV.MTL_ITEM_TEMPL_ATTRIBUTES_V, object_name:MTL_ITEM_TEMPL_ATTRIBUTES_V, status:VALID, product: INV - Inventory , description: 10SC ONLY , implementation_dba_data: APPS.MTL_ITEM_TEMPL_ATTRIBUTES_V ,