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:
- VALUE_ID — the surrogate primary key (
CN_HIERARCHY_NODES_PK) uniquely identifying each hierarchy node. - NAME — the display name of the node as presented in hierarchy maintenance and reporting.
- EXTERNAL_ID — the source-system identifier for the node, used in integration and reconciliation with feeder systems.
- DIM_HIERARCHY_ID — identifies the dimensional hierarchy to which the node belongs.
- HIERARCHY_LEVEL — the depth of the node within its hierarchy, supporting level-based aggregation and rollup logic.
- REF_COUNT — a reference counter reflecting how many times the node is referenced, typically across edges or explosion rows.
- ORG_ID — the operating unit context, enforcing multi-org data segregation.
- SECURITY_GROUP_ID — the security group governing row-level access, with a foreign key to
FND_SECURITY_GROUPS. - CREATED_BY, CREATION_DATE, LAST_UPDATED_BY, LAST_UPDATE_DATE, LAST_UPDATE_LOGIN — standard WHO audit columns.
- PROGRAM_ID, REQUEST_ID, PROGRAM_APPLICATION_ID, PROGRAM_UPDATE_DATE — concurrent program context for the last update.
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_DATEandPROGRAM_IDfor concurrent program reconciliation.
Related Objects
- CN_HIERARCHY_EDGES_ALL — the edge table;
VALUE_IDandPARENT_VALUE_IDboth referenceCN_HIERARCHY_NODES_ALL.VALUE_ID, defining parent-child links. - CN_DIM_EXPLOSION_ALL — the pre-exploded dimensional table;
VALUE_IDandANCESTOR_IDreference this table's primary key for rollup performance. - FND_SECURITY_GROUPS — referenced by
SECURITY_GROUP_IDfor row-level security control.
These relationships establish CN_HIERARCHY_NODES_ALL as the anchor for hierarchy traversal in Incentive Compensation.
-
Nodes in the hierarchy.
-
Nodes in the hierarchy.
-
Denormalizes ancestral relationships
-
Parent child relationships in hierarchies.
-
Denormalizes ancestral relationships
-
Parent child relationships in hierarchies.
-
12.1.1 FND Design Data 12.1.1
-
12.1.1 DBA Data 12.1.1
-
12.2.2 DBA Data 12.2.2
-
12.1.1 DBA Data 12.1.1
-
12.2.2 DBA Data 12.2.2
-
12.2.2 DBA Data 12.2.2
-
12.2.2 FND Design Data 12.2.2
-
12.2.2 DBA Data 12.2.2
-
12.1.1 DBA Data 12.1.1
-
12.2.2 DBA Data 12.2.2
-
eTRM - CN Tables and Views 12.1.1
-
eTRM - CN Tables and Views 12.2.2
-
eTRM - CN Tables and Views 12.1.1
-
eTRM - CN Tables and Views 12.2.2
-
PACKAGE BODY: APPS.AD_MORG 12.1.1
-
PACKAGE BODY: APPS.AD_MORG 12.2.2
-
12.2.2 DBA Data 12.2.2
-
12.1.1 DBA Data 12.1.1