Search Results metric_tpl_assoc_id
Overview
The AMS_MET_TPL_ASSOCS table is a core data repository within the Oracle E-Business Suite Marketing (AMS) module, specifically for versions 12.1.1 and 12.2.2. It functions as a junction table that manages the associations between Metric Templates and other customizable entities within the application. Its primary role is to define the linkage of a specific metric template to various custom setups and object types, enabling the flexible application of performance metrics across different marketing objects and configurations. This association mechanism is fundamental for tailoring the metric measurement and reporting framework to an organization's specific business processes.
Key Information Stored
The table's structure is designed to capture the essential elements of an association. The primary key column, METRIC_TPL_ASSOC_ID, uniquely identifies each association record. A critical foreign key column is METRIC_TPL_HEADER_ID, which links the association back to the base metric template definition stored in the AMS_MET_TPL_HEADERS_B table. While the provided ETRM excerpt does not list all columns, the table's description implies the presence of additional columns to identify the associated object type (e.g., a specific marketing campaign type or activity setup) and the custom setup identifier. These columns collectively define the context in which a given metric template is applicable.
Common Use Cases and Queries
A primary use case involves determining which metric templates are available for a specific marketing object or custom setup during configuration. For instance, an administrator setting up a new campaign type would query this table to identify all associated metric templates that should be presented for data entry or reporting. Common reporting queries aggregate metric templates by their associated object types. A fundamental SQL pattern to retrieve all associations for a given template would be:
- SELECT * FROM AMS.AMS_MET_TPL_ASSOCS WHERE METRIC_TPL_HEADER_ID = <header_id>;
Conversely, to find all templates linked to a specific object or setup, a query would join this table with AMS_MET_TPL_HEADERS_B using the foreign key relationship.
Related Objects
The most direct and critical relationship for AMS_MET_TPL_ASSOCS is with the AMS_MET_TPL_HEADERS_B table, as defined by its foreign key constraint. This table holds the master definition of the metric templates themselves. The association table acts as an extension, specifying where those templates are used. While not explicitly listed in the excerpt, this table is also likely referenced by various AMS application forms, APIs (such as the Marketing Metrics API), and underlying PL/SQL packages responsible for rendering metric options and validating metric data entry based on the defined associations. It serves as a key piece in the data model supporting the marketing performance management functionality.
-
Table: AMS_MET_TPL_ASSOCS
12.1.1
owner:AMS, object_type:TABLE, fnd_design_data:AMS.AMS_MET_TPL_ASSOCS, object_name:AMS_MET_TPL_ASSOCS, status:VALID, product: AMS - Marketing , description: This table stores Metric Template Associations to Custom Setups and Object Types. , implementation_dba_data: AMS.AMS_MET_TPL_ASSOCS ,
-
Table: AMS_MET_TPL_ASSOCS
12.2.2
owner:AMS, object_type:TABLE, fnd_design_data:AMS.AMS_MET_TPL_ASSOCS, object_name:AMS_MET_TPL_ASSOCS, status:VALID, product: AMS - Marketing , description: This table stores Metric Template Associations to Custom Setups and Object Types. , implementation_dba_data: AMS.AMS_MET_TPL_ASSOCS ,