Search Results ams_metrics_all_tl
Overview
The AMS_METRICS_ALL_TL table is a core data object within the Oracle E-Business Suite Marketing (AMS) module, specifically for versions 12.1.1 and 12.2.2. It functions as a translation table, storing multilingual descriptions for flexible marketing metrics. This table is essential for enabling global deployments of Oracle EBS, as it allows metric definitions, names, and other descriptive attributes to be presented in a user's native language. It operates in conjunction with its base table, AMS_METRICS_ALL_B, which holds the language-independent, transactional data. The existence of this "_TL" (Translation) table is a standard Oracle application architecture pattern for supporting multiple languages within a single installation.
Key Information Stored
The table's primary purpose is to store translated text columns associated with a specific metric definition. Its structure is defined by a composite primary key consisting of METRIC_ID and LANGUAGE. The METRIC_ID column is a foreign key that uniquely links each translated record to its corresponding master record in the AMS_METRICS_ALL_B table. The LANGUAGE column holds the language code (e.g., 'US' for American English, 'KO' for Korean) for the translation. While the specific translated column names are not detailed in the provided metadata, typical "_TL" tables in Oracle EBS contain columns such as METRIC_NAME, DESCRIPTION, and SOURCE_LANG. These columns hold the translated text and a marker for the source language of the original data, respectively.
Common Use Cases and Queries
This table is primarily accessed by the Oracle Applications framework to dynamically serve translated content to users based on their session language settings. Common practical scenarios include generating localized reports, configuring multilingual dashboards within the Marketing module, and ensuring user interfaces display metric labels correctly. A typical query to retrieve translated metric information for a specific language would join this table with its base table. For example, to fetch active metric names in French, a developer might use:
- SELECT b.METRIC_CODE, tl.METRIC_NAME
- FROM AMS_METRICS_ALL_B b, AMS_METRICS_ALL_TL tl
- WHERE b.METRIC_ID = tl.METRIC_ID
- AND tl.LANGUAGE = 'F'
- AND b.ENABLED_FLAG = 'Y';
Reporting and data extraction scripts must always include a filter on the LANGUAGE column or use the NLS-aware application views to ensure accurate, single-language results.
Related Objects
The AMS_METRICS_ALL_TL table has a direct and critical relationship with several other key objects in the AMS schema. Its primary foreign key constraint links it to the AMS_METRICS_ALL_B table via the METRIC_ID column, establishing a master-detail relationship. For most application development and reporting purposes, developers should query the corresponding application view, which is typically named AMS_METRICS_ALL_VL (where 'VL' stands for View, Localized). This view performs the necessary join between the '_B' and '_TL' tables and automatically filters translations based on the user's session language, providing a safer and more efficient access layer. The table is also integral to the underlying APIs and packages within the Marketing module that create, update, and manage metric definitions in a multilingual environment.
-
Table: AMS_METRICS_ALL_TL
12.1.1
owner:AMS, object_type:TABLE, fnd_design_data:AMS.AMS_METRICS_ALL_TL, object_name:AMS_METRICS_ALL_TL, status:VALID, product: AMS - Marketing , description: This table stores all translated columns for flexible metrics definition. , implementation_dba_data: AMS.AMS_METRICS_ALL_TL ,
-
Table: AMS_METRICS_ALL_TL
12.2.2
owner:AMS, object_type:TABLE, fnd_design_data:AMS.AMS_METRICS_ALL_TL, object_name:AMS_METRICS_ALL_TL, status:VALID, product: AMS - Marketing , description: This table stores all translated columns for flexible metrics definition. , implementation_dba_data: AMS.AMS_METRICS_ALL_TL ,
-
APPS.AMS_METRIC_PVT dependencies on AMS_METRICS_ALL_TL
12.1.1
-
APPS.AMS_METRICS_ALL_PKG dependencies on AMS_METRICS_ALL_TL
12.1.1
-
APPS.AMS_METRICS_ALL_PKG dependencies on AMS_METRICS_ALL_TL
12.2.2
-
APPS.AMS_METRIC_PVT dependencies on AMS_METRICS_ALL_TL
12.2.2
-
APPS.AMS_METRICS_ALL_PKG SQL Statements
12.2.2
-
APPS.AMS_METRICS_ALL_PKG dependencies on FND_LANGUAGES
12.1.1
-
APPS.AMS_METRICS_ALL_PKG dependencies on FND_LANGUAGES
12.2.2
-
VIEW: AMS.AMS_METRICS_ALL_TL#
12.2.2
owner:AMS, object_type:VIEW, object_name:AMS_METRICS_ALL_TL#, status:VALID,
-
SYNONYM: APPS.AMS_METRICS_ALL_TL
12.1.1
owner:APPS, object_type:SYNONYM, object_name:AMS_METRICS_ALL_TL, status:VALID,
-
SYNONYM: APPS.AMS_METRICS_ALL_TL
12.2.2
owner:APPS, object_type:SYNONYM, object_name:AMS_METRICS_ALL_TL, status:VALID,
-
VIEW: APPS.AMS_METRICS_VL
12.2.2
-
TRIGGER: APPS.AMS_METRICS_ALL_TL+
12.2.2
owner:APPS, object_type:TRIGGER, object_name:AMS_METRICS_ALL_TL+, status:VALID,
-
APPS.AMS_METRICS_ALL_PKG SQL Statements
12.1.1
-
TRIGGER: APPS.AMS_METRICS_ALL_TL+
12.2.2
-
TABLE: AMS.AMS_METRICS_ALL_TL
12.2.2
owner:AMS, object_type:TABLE, fnd_design_data:AMS.AMS_METRICS_ALL_TL, object_name:AMS_METRICS_ALL_TL, status:VALID,
-
VIEW: APPS.AMS_METRICS_INFO_V
12.2.2
-
PACKAGE BODY: APPS.AMS_METRICS_ALL_PKG
12.1.1
-
VIEW: AMS.AMS_METRICS_ALL_TL#
12.2.2
-
FUNCTION: APPS.AMS_METRICS_ALL_TL=
12.2.2
-
TABLE: AMS.AMS_METRICS_ALL_TL
12.1.1
owner:AMS, object_type:TABLE, fnd_design_data:AMS.AMS_METRICS_ALL_TL, object_name:AMS_METRICS_ALL_TL, status:VALID,
-
VIEW: APPS.AMS_METRICS_VL
12.1.1
-
APPS.AMS_METRIC_PVT dependencies on FND_LANGUAGES
12.1.1
-
APPS.AMS_METRIC_PVT dependencies on FND_LANGUAGES
12.2.2
-
APPS.AMS_METRIC_PVT SQL Statements
12.2.2
-
PACKAGE BODY: APPS.AMS_METRICS_ALL_PKG
12.2.2
-
PACKAGE BODY: APPS.AMS_METRICS_ALL_PKG
12.1.1
owner:APPS, object_type:PACKAGE BODY, object_name:AMS_METRICS_ALL_PKG, status:VALID,
-
APPS.AMS_METRICS_ALL_PKG dependencies on AMS_METRICS_ALL_B
12.2.2
-
PACKAGE BODY: APPS.AMS_METRICS_ALL_PKG
12.2.2
owner:APPS, object_type:PACKAGE BODY, object_name:AMS_METRICS_ALL_PKG, status:VALID,
-
APPS.AMS_METRIC_PVT SQL Statements
12.1.1
-
View: AMS_METRICS_VL
12.1.1
owner:APPS, object_type:VIEW, fnd_design_data:AMS.AMS_METRICS_VL, object_name:AMS_METRICS_VL, status:VALID, product: AMS - Marketing , description: This view returns the details of Metrics measures that can be used by an activity. , implementation_dba_data: APPS.AMS_METRICS_VL ,
-
View: AMS_METRICS_VL
12.2.2
owner:APPS, object_type:VIEW, fnd_design_data:AMS.AMS_METRICS_VL, object_name:AMS_METRICS_VL, status:VALID, product: AMS - Marketing , description: This view returns the details of Metrics measures that can be used by an activity. , implementation_dba_data: APPS.AMS_METRICS_VL ,
-
12.2.2 DBA Data
12.2.2
-
PACKAGE BODY: APPS.AMS_METRIC_PVT
12.1.1
owner:APPS, object_type:PACKAGE BODY, object_name:AMS_METRIC_PVT, status:VALID,
-
FUNCTION: APPS.AMS_METRICS_ALL_TL=
12.2.2
owner:APPS, object_type:FUNCTION, object_name:AMS_METRICS_ALL_TL=, status:VALID,
-
12.2.2 DBA Data
12.2.2
-
APPS.AMS_METRICS_ALL_PKG dependencies on AMS_METRICS_ALL_B
12.1.1
-
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 ,
-
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 ,
-
PACKAGE BODY: APPS.AMS_METRIC_PVT
12.2.2
owner:APPS, object_type:PACKAGE BODY, object_name:AMS_METRIC_PVT, status:VALID,
-
VIEW: APPS.AMS_METRICS_INFO_V
12.2.2
owner:APPS, object_type:VIEW, fnd_design_data:AMS.AMS_METRICS_INFO_V, object_name:AMS_METRICS_INFO_V, status:VALID,
-
TABLE: AMS.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,
-
VIEW: APPS.AMS_METRICS_VL
12.2.2
owner:APPS, object_type:VIEW, fnd_design_data:AMS.AMS_METRICS_VL, object_name:AMS_METRICS_VL, status:VALID,
-
12.1.1 DBA Data
12.1.1
-
12.2.2 DBA Data
12.2.2
-
TABLE: AMS.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,
-
12.1.1 DBA Data
12.1.1
-
12.2.2 DBA Data
12.2.2
-
VIEW: APPS.AMS_METRICS_VL
12.1.1
owner:APPS, object_type:VIEW, fnd_design_data:AMS.AMS_METRICS_VL, object_name:AMS_METRICS_VL, status:VALID,