Search Results ams_metrics_all_b
Overview
The AMS_METRICS_ALL_B table is a core data repository within the Oracle E-Business Suite (EBS) Marketing (AMS) module. It serves as the master definition table for all flexible metrics configured in the system. In the context of Oracle EBS 12.1.1 and 12.2.2, metrics are quantifiable measures used to track and analyze marketing performance, such as campaign response rates, lead conversion costs, or return on investment. This table stores the foundational metadata that defines each metric's characteristics, enabling the creation, calculation, and reporting of complex marketing analytics across the enterprise. Its role is central to the AMS module's analytical capabilities, providing the structural framework for performance measurement.
Key Information Stored
The table's primary key is the METRIC_ID, which uniquely identifies each metric definition. Key structural columns include METRIC_PARENT_ID and SUMMARY_METRIC_ID, which establish hierarchical relationships between metrics, allowing for the creation of derived or roll-up metrics. The METRIC_CATEGORY and METRIC_SUB_CATEGORY columns classify metrics, referencing the AMS_CATEGORIES_B table for standardized categorization. The HIERARCHY_ID links to AMS_HIERARCHIES_ALL_B, enabling metric organization within defined structures. The APPLICATION_ID column, referencing FND_APPLICATION, associates the metric with a specific EBS application. Other critical attributes stored for each definition include the metric's calculation status, data type, and configuration flags that control its behavior in formulas and reports.
Common Use Cases and Queries
A primary use case is the generation of reports on available metric definitions for system administration or user reference. Developers often query this table to understand metric relationships when building custom calculations or integrations. A common query retrieves all active metrics within a specific category:
- SELECT metric_id, name FROM ams_metrics_all_b WHERE metric_category = '&CATEGORY' AND status = 'ACTIVE';
Another frequent pattern involves tracing metric hierarchies to understand derivation logic, using self-joins on METRIC_PARENT_ID or SUMMARY_METRIC_ID. When troubleshooting data issues in marketing activity metrics (AMS_ACT_METRICS_ALL), queries join back to this table to validate the underlying metric definition's properties and status. The table is also central for any custom seeding or migration scripts involving metric setup data.
Related Objects
The AMS_METRICS_ALL_B table has extensive relationships within the AMS schema. The translated descriptions for metrics are stored in AMS_METRICS_ALL_TL. Key transactional child tables include AMS_ACT_METRICS_ALL and AMS_ACT_METRIC_HST, which store the actual calculated metric values for marketing activities. The AMS_METRIC_FORMULAS table references METRIC_ID to define calculation rules and can also use it as a SOURCE_ID. Template details for metrics are stored in AMS_MET_TPL_DETAILS. As indicated by the foreign keys, it maintains referential integrity with master tables AMS_CATEGORIES_B (for categories), FND_APPLICATION, and AMS_HIERARCHIES_ALL_B. The table also has recursive foreign key relationships to itself to support metric hierarchies.
-
Table: AMS_METRICS_ALL_B
12.2.2
owner:AMS, object_type:TABLE, fnd_design_data:AMS.AMS_METRICS_ALL_B, object_name:AMS_METRICS_ALL_B, status:VALID, product: AMS - Marketing , description: This table stores all the flexible metric definitions. , implementation_dba_data: AMS.AMS_METRICS_ALL_B ,
-
Table: AMS_METRICS_ALL_B
12.1.1
owner:AMS, object_type:TABLE, fnd_design_data:AMS.AMS_METRICS_ALL_B, object_name:AMS_METRICS_ALL_B, status:VALID, product: AMS - Marketing , description: This table stores all the flexible metric definitions. , implementation_dba_data: AMS.AMS_METRICS_ALL_B ,
-
APPS.BIM_CAMPAIGN_FACTS dependencies on AMS_METRICS_ALL_B
12.1.1
-
APPS.AMS_ACTMETRICS_ENGINE_PVT dependencies on AMS_METRICS_ALL_B
12.1.1
-
APPS.BIM_MARKET_FACTS_PKG dependencies on AMS_METRICS_ALL_B
12.1.1
-
APPS.AMS_METRIC_FORMULA_PVT dependencies on AMS_METRICS_ALL_B
12.1.1
-
APPS.AMS_THLDCHK_PVT dependencies on AMS_METRICS_ALL_B
12.2.2
-
APPS.AMS_METRICCUSTOM_PVT dependencies on AMS_METRICS_ALL_B
12.2.2
-
APPS.AMS_METRICS_ALL_PKG dependencies on AMS_METRICS_ALL_B
12.2.2
-
APPS.AMS_MET_TPL_DTL_PVT dependencies on AMS_METRICS_ALL_B
12.1.1
-
APPS.BIM_EVENT_FACTS dependencies on AMS_METRICS_ALL_B
12.1.1
-
APPS.BIM_EDW_CMPFRCST_F_SIZE dependencies on AMS_METRICS_ALL_B
12.1.1
-
APPS.AMS_ADI_MEDIA_PLANNER_PVT dependencies on AMS_METRICS_ALL_B
12.1.1
-
APPS.BIM_CAMPAIGN_FACTS dependencies on AMS_METRICS_ALL_B
12.2.2
-
APPS.BIM_EVENT_FACTS dependencies on AMS_METRICS_ALL_B
12.2.2
-
APPS.AMS_METRIC_PVT dependencies on AMS_METRICS_ALL_B
12.1.1
-
APPS.AMS_ACTMETRICS_SEED_PVT dependencies on AMS_METRICS_ALL_B
12.1.1
-
APPS.AMS_ACTMETRIC_PVT dependencies on AMS_METRICS_ALL_B
12.1.1
-
APPS.AMS_ACTMETRICS_SEED_PVT dependencies on AMS_METRICS_ALL_B
12.2.2
-
APPS.AMS_ACTMETRIC_PVT dependencies on AMS_METRICS_ALL_B
12.2.2
-
APPS.AMS_METRICS_ALL_PKG dependencies on AMS_METRICS_ALL_B
12.1.1
-
APPS.AMS_THLDCHK_PVT dependencies on AMS_METRICS_ALL_B
12.1.1
-
APPS.AMS_METRIC_PVT dependencies on AMS_METRICS_ALL_B
12.2.2
-
APPS.OZF_ACTMETRIC_PVT dependencies on AMS_METRICS_ALL_B
12.2.2
-
APPS.AMS_METRIC_FORMULA_PVT dependencies on AMS_METRICS_ALL_B
12.2.2
-
APPS.AMS_ADI_MEDIA_PLANNER_PVT dependencies on AMS_METRICS_ALL_B
12.2.2
-
APPS.AMS_MET_TPL_DTL_PVT dependencies on AMS_METRICS_ALL_B
12.2.2
-
APPS.AMS_ACTMETRICS_ENGINE_PVT dependencies on AMS_METRICS_ALL_B
12.2.2
-
APPS.AMS_REFRESHMETRIC_PVT dependencies on AMS_METRICS_ALL_B
12.2.2
-
APPS.AMS_METRICCUSTOM_PVT dependencies on AMS_METRICS_ALL_B
12.1.1
-
APPS.AMS_REFRESHMETRIC_PVT dependencies on AMS_METRICS_ALL_B
12.1.1
-
APPS.OZF_ACTMETRIC_PVT dependencies on AMS_METRICS_ALL_B
12.1.1
-
APPS.AMS_ACTMETRICS_SEED_PVT dependencies on AMS_ACT_METRICS_ALL
12.1.1
-
APPS.BIM_MARKET_FACTS_PKG dependencies on AMS_ACT_METRIC_HST
12.1.1
-
APPS.AMS_ACTMETRICS_SEED_PVT dependencies on AMS_CAMPAIGN_SCHEDULES_B
12.1.1
-
APPS.AMS_ACTMETRICS_SEED_PVT dependencies on AMS_LIST_HEADERS_ALL
12.2.2
-
APPS.AMS_ACTMETRICS_SEED_PVT dependencies on AMS_ACT_METRICS_ALL
12.2.2
-
APPS.AMS_ACTMETRICS_SEED_PVT dependencies on AMS_SOURCE_CODES
12.2.2
-
APPS.AMS_ACTMETRICS_ENGINE_PVT dependencies on AMS_METRIC_FORMULAS
12.2.2
-
APPS.AMS_ACTMETRICS_SEED_PVT dependencies on AMS_LIST_ENTRIES
12.2.2
-
APPS.BIM_CAMPAIGN_FACTS dependencies on AMS_ACT_METRIC_HST
12.1.1
-
APPS.AMS_ACTMETRICS_SEED_PVT dependencies on AMS_CAMPAIGN_SCHEDULES_B
12.2.2
-
APPS.AMS_ACTMETRICS_SEED_PVT dependencies on AMS_LIST_HEADERS_ALL
12.1.1
-
APPS.AMS_ACTMETRICS_SEED_PVT dependencies on HZ_RELATIONSHIPS
12.2.2
-
APPS.AMS_ACTMETRICS_SEED_PVT dependencies on AMS_LIST_ENTRIES
12.1.1
-
APPS.BIM_CAMPAIGN_FACTS dependencies on AMS_ACT_METRIC_HST
12.2.2
-
APPS.AMS_ACTMETRICS_SEED_PVT dependencies on HZ_RELATIONSHIPS
12.1.1
-
APPS.AMS_ACTMETRICS_ENGINE_PVT dependencies on AMS_METRIC_FORMULAS
12.1.1
-
APPS.AMS_METRICS_ALL_PKG dependencies on AMS_METRICS_ALL_B_S
12.2.2
-
APPS.AMS_ACTMETRICS_ENGINE_PVT dependencies on AMS_ACT_METRICS_ALL
12.1.1