Results for “ozf_act_metric_formulas”

50+ results




AI-generated from documented ETRM metadata — verify critical details on the linked pages.

Overview

The OZF_ACT_METRIC_FORMULAS table is a Trade Management (OZF) data object that stores the formulas executed at each hierarchy level for a metric. In Oracle EBS Trade Management, activity metrics are calculated across organizational and customer hierarchy levels — for example, aggregating promotional spend or claim balances from a leaf node up through parent levels. This table defines which formula runs at each level of that hierarchy, making it the configuration backbone for metric roll-up and calculation logic.

The table is owned by the OZF schema and is present and valid in both Oracle EBS 12.1.1 and 12.2.2. Its documented physical schema contains 12 columns. Based on a heuristic Data Vault classification derived from the foreign key structure, the table is satellite-leaning: it primarily holds descriptive and contextual attributes that depend on a parent business key (the activity metric) rather than acting as an independent hub or a pure many-to-many link. This classification should be treated as a modeling suggestion rather than a strict architectural constraint.

Key Information Stored

The most significant columns in the documented schema include:

The distinction between the surrogate key and business keys is straightforward here: FORMULA_ID serves as the single-column primary key and the sole documented unique index. The true business context is supplied by ACTIVITY_METRIC_ID combined with LEVEL_DEPTH and FORMULA_TYPE.

Common Use Cases and Queries

Typical scenarios involve retrieving the formulas configured for a metric and reconstructing hierarchy roll-up logic. Queries frequently join this table to OZF_ACT_METRICS_ALL to resolve metric names, and to OZF_ACT_METRIC_FORM_ENT to obtain the actual formula expressions.

  • Listing all formulas for a metric: SELECT formula_id, level_depth, formula_type FROM ozf.ozf_act_metric_formulas WHERE activity_metric_id = :metric_id ORDER BY level_depth;
  • Retrieving formula definitions with their expressions via the entry table on FORMULA_ID.
  • Reconstructing the parent-child formula tree using PARENT_FORMULA_ID for recursive hierarchy reports.
  • Auditing configuration changes by filtering on LAST_UPDATE_DATE and LAST_UPDATED_BY.
  • Security-filtered reporting constrained by SECURITY_GROUP_ID.

Related Objects

  • OZF_ACT_METRICS_ALL — Parent metric table; joined via OZF_ACT_METRIC_FORMULAS.ACTIVITY_METRIC_ID = OZF_ACT_METRICS_ALL.ACTIVITY_METRIC_ID.
  • OZF_ACT_METRIC_FORM_ENT — Details table referencing OZF_ACT_METRIC_FORMULAS.FORMULA_ID = OZF_ACT_METRIC_FORM_ENT.FORMULA_ID; holds the formula entry content.
  • FND_SECURITY_GROUPS — Referenced via SECURITY_GROUP_ID for data-security partitioning.