Search Results ams_met_tpl_headers_b




Overview

The AMS_MET_TPL_HEADERS_B table is a core data object within the Oracle E-Business Suite (EBS) Marketing (AMS) module, specifically for versions 12.1.1 and 12.2.2. It serves as the primary repository for the header information of metric templates, which define default metrics used across marketing campaigns and activities. These templates provide a standardized framework for measuring performance, ensuring consistency in how key performance indicators (KPIs) are defined, calculated, and reported. The table's role is foundational to the marketing analytics and performance management capabilities of Oracle EBS, enabling the systematic creation and association of metrics with various marketing entities.

Key Information Stored

The table's structure is centered on uniquely identifying and categorizing each metric template. The primary key column, METRIC_TPL_HEADER_ID, is the unique identifier for each template record. A critical foreign key column is USED_BY_ID, which links the template to its associated setup or application entity via the AMS_CUSTOM_SETUPS_B table. This linkage determines the context or scope in which the metric template is applicable. While the provided metadata does not list all columns, typical attributes in such a header table would include creation and last update dates, the creating user, and columns indicating the template's status, type, and potentially its association with specific object types or business areas within marketing.

Common Use Cases and Queries

This table is primarily accessed for administrative setup, reporting, and data integrity checks. Common operational scenarios include generating a list of all available metric templates for configuration purposes or auditing template usage. A typical query would join the table with its corresponding translation table, AMS_MET_TPL_HEADERS_TL, to retrieve user-friendly names in the session language. For instance:

  • SELECT b.METRIC_TPL_HEADER_ID, tl.NAME, b.CREATION_DATE FROM AMS_MET_TPL_HEADERS_B b, AMS_MET_TPL_HEADERS_TL tl WHERE b.METRIC_TPL_HEADER_ID = tl.METRIC_TPL_HEADER_ID AND tl.LANGUAGE = USERENV('LANG');

Another critical use case involves validating data relationships before migrations or upgrades by checking for orphaned records or verifying the existence of templates referenced in association tables.

Related Objects

The AMS_MET_TPL_HEADERS_B table is central to a small hierarchy of related objects. It has a direct one-to-many relationship with the AMS_MET_TPL_ASSOCS table, which stores the specific associations of these template headers to other marketing objects. It also has a one-to-one relationship with the AMS_MET_TPL_HEADERS_TL table, which holds the translated names and descriptions for multilingual deployments. As indicated by its foreign key, it depends on the AMS_CUSTOM_SETUPS_B table to define its usage context. When querying for complete template information, these related tables must be considered.