Search Results post_function_name




Overview

AMS_P_ACT_METRICS_V is a public Oracle E-Business Suite view owned by the APPS schema in the AMS (Marketing) product family. It returns the metrics that will be tracked for marketing activities, joining the transactional activity-metric assignments held in AMS_ACT_METRICS_ALL to the metric definitions in AMS_METRICS_VL and the categorization hierarchy in AMS_CATEGORIES_VL. The view is documented as VALID in both EBS 12.1.1 and 12.2.2, and because it is a public (APPS-owned) view, it is safe for customer reporting, custom concurrent programs, and integration layers that must not query the underlying AMS base tables directly.

The view supports reporting on forecasted, committed, and actual metric values in both transaction and functional currencies, along with the calculation metadata (function name, accrual type, value type) that drives how each metric is derived. The column ACTIVITY_METRIC_ORIGIN_ID, which prompted this search, identifies the origin of the activity-metric assignment and is exposed directly from the base table without further derivation.

Underlying Base Objects

The documented base objects for this view are:

  • AMS_ACT_METRICS_ALL (SYNONYM) — the primary driving table, aliased as B. It contains one row per activity-metric assignment, including all transactional values, currency amounts, rollup parameters, descriptive flexfields, and the ORG_ID used for multi-org security.
  • AMS_METRICS_VL (VIEW) — aliased as M, supplies the metric definition: name, calculation type, category and sub-category, accrual type, value type, function name/type, parent and summary metric relationships.
  • AMS_CATEGORIES_VL (VIEW) — joined twice (C1 for the metric category, C2 for the metric sub-category) to resolve category names.

The join condition is B.METRIC_ID = M.METRIC_ID, with the category views joined on the respective category identifiers. The view also exposes B.ROWID as ROW_ID, enabling row-level identification of the underlying base record for update or diagnostic purposes.

Key Columns

Common Use Cases and Queries

Typical uses include marketing activity performance reporting, reconciliation of committed versus actual metric values, identification of metrics awaiting recalculation, and integration extracts into external analytics platforms. Because the view is public and multi-org enabled, queries should always constrain ORG_ID.

Sample query listing tracked metrics for an operating unit:

SELECT activity_metric_id, metrics_name, metric_category,
       func_forecasted_value, func_committed_value, func_actual_value
FROM   apps.ams_p_act_metrics_v
WHERE  org_id = :p_org_id
AND    NVL(dirty_flag,'N') = 'Y';

Sample query isolating records by origin:

SELECT activity_metric_id, activity_metric_origin_id, metrics_name,
       calculation_type, last_calculated_date
FROM   apps.ams_p_act_metrics_v
WHERE  org_id = :p_org_id
AND    activity_metric_origin_id IS NOT NULL
ORDER  BY last_calculated_date DESC;

Both queries rely solely on documented columns and demonstrate the view's utility as a read-only reporting interface over the AMS activity-metric model.

  • View: AMS_P_ACT_METRICS_V 12.1.1

    owner:APPS,  object_type:VIEW,  fnd_design_data:AMS.AMS_P_ACT_METRICS_V,  object_name:AMS_P_ACT_METRICS_V,  status:VALID,  product: AMS - Marketingdescription: This public view returns the metrics that will be tracked for marketing activities. ,  implementation_dba_data: APPS.AMS_P_ACT_METRICS_V

  • View: AMS_P_ACT_METRICS_V 12.2.2

    owner:APPS,  object_type:VIEW,  fnd_design_data:AMS.AMS_P_ACT_METRICS_V,  object_name:AMS_P_ACT_METRICS_V,  status:VALID,  product: AMS - Marketingdescription: This public view returns the metrics that will be tracked for marketing activities. ,  implementation_dba_data: APPS.AMS_P_ACT_METRICS_V