Results for “cn_hierarchy_nodes_all”

42 results




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

Overview

CN_HIERARCHY_NODES_ALL is a core table in the Oracle Incentive Compensation (CN) module of Oracle E-Business Suite, available in releases 12.1.1 and 12.2.2. It stores the individual nodes that make up the dimensional hierarchies used by Incentive Compensation for territory, product, customer, and resource dimensions. Each row represents a single hierarchy member, identified by a surrogate key and linked to its parent through the edges table.

Under the heuristic Data Vault classification provided in the metadata, this table is hub-leaning. This is a modeling suggestion rather than a physical EBS construct: the table functions as a hub of unique hierarchy members keyed by VALUE_ID, with descriptive attributes and organization/security context acting in a satellite-like capacity. Downstream relationships (edges and dimensional explosion) behave as link and bridge structures connecting nodes to one another.

Key Information Stored

The table contains 17 documented columns. The most significant are:

Two unique indexes serve as business-key candidates: CN_HIERARCHY_NODES_U1 on (VALUE_ID, ORG_ID), and CN_HIERARCHY_NODES_U2 on (DIM_HIERARCHY_ID, EXTERNAL_ID, ORG_ID), the latter enforcing that an external identifier is unique within a hierarchy and operating unit.

Common Use Cases and Queries

Typical scenarios include extracting hierarchy members for territory alignment reporting, resolving node names for incentive plan analytics, and validating external identifiers during data loads.

  • Listing nodes for a hierarchy and operating unit:

    SELECT VALUE_ID, NAME, HIERARCHY_LEVEL FROM CN_HIERARCHY_NODES_ALL WHERE DIM_HIERARCHY_ID = :p AND ORG_ID = :org ORDER BY HIERARCHY_LEVEL;

  • Joining nodes to edges to reconstruct parent-child paths:

    SELECT e.PARENT_VALUE_ID, n.NAME FROM CN_HIERARCHY_EDGES_ALL e JOIN CN_HIERARCHY_NODES_ALL n ON n.VALUE_ID = e.VALUE_ID WHERE n.ORG_ID = :org;

  • Resolving a node from its external identifier:

    SELECT VALUE_ID FROM CN_HIERARCHY_NODES_ALL WHERE DIM_HIERARCHY_ID = :p AND EXTERNAL_ID = :ext AND ORG_ID = :org;

  • Auditing recent changes via LAST_UPDATE_DATE and PROGRAM_ID for concurrent program reconciliation.

Related Objects

  • CN_HIERARCHY_EDGES_ALL — the edge table; VALUE_ID and PARENT_VALUE_ID both reference CN_HIERARCHY_NODES_ALL.VALUE_ID, defining parent-child links.
  • CN_DIM_EXPLOSION_ALL — the pre-exploded dimensional table; VALUE_ID and ANCESTOR_ID reference this table's primary key for rollup performance.
  • FND_SECURITY_GROUPS — referenced by SECURITY_GROUP_ID for row-level security control.

These relationships establish CN_HIERARCHY_NODES_ALL as the anchor for hierarchy traversal in Incentive Compensation.