Search Results cn_head_hierarchies
Overview
The APPS.CN_HEAD_HIERARCHIES_ALL_PKG package is a repository-level PL/SQL package within the Oracle EBS Channel Revenue Management (CN) module. It provides the data access and maintenance layer for header hierarchies — the hierarchical groupings used to organize and report on channel revenue, customer, and product dimension structures. In Oracle EBS 12.1.1 and 12.2.2, this package underpins the storage and retrieval of hierarchy header definitions, including their translated descriptions, by centralizing DML operations against the base, translation, and secure-view tables that make up the CN_HEAD_HIERARCHIES entity. The package carries an API classification of OTHER, indicating it is primarily an internal support package rather than a public, versioned business API. It is the foundational component consumed by higher-level hierarchy processing logic, most notably CN_DIM_HIERARCHIES_PVT.
Key Procedures and Functions
The package exposes seven documented procedures that together cover the full lifecycle of a header hierarchy record:
- INSERT_ROW — Creates a new header hierarchy header record, establishing the primary key and base attributes in the underlying tables.
- UPDATE_ROW — Modifies the attributes of an existing header hierarchy record.
- DELETE_ROW — Removes a header hierarchy record and its associated translations.
- ADD_LANGUAGE — Inserts a new language translation row for an existing hierarchy, supporting multi-language deployments.
- LOAD_ROW — Loads a header hierarchy record, typically used during data migration, seeding, or bulk setup of hierarchy definitions.
- TRANSLATE_ROW — Populates or refreshes the translated (TL) description columns for an existing hierarchy record in a specified language.
- DEFAULT_HEADER — Establishes default attributes for a header hierarchy, likely invoked during creation to apply system defaults.
Each procedure operates on the DML layer only; parameter lists are not exposed in the metadata and should be confirmed against the deployed package specification in the target environment.
Tables Accessed
The package reads and writes the following tables through APPS synonyms:
- CN_HEAD_HIERARCHIES_ALL_B — the base table holding language-independent header hierarchy attributes.
- CN_HEAD_HIERARCHIES_ALL_TL — the translation table holding language-specific descriptions and names.
- CN_HEAD_HIERARCHIES — the runtime header hierarchy table consumed by downstream hierarchy logic.
- CN_HEAD_HIERARCHIES_S — the secure (organization/security-filtered) view or table used for access-controlled retrieval.
- CN_DIM_HIERARCHIES — the dimension hierarchy definition table that ties headers to dimensional structures.
- CN_HIERARCHY_EDGES and CN_HIERARCHY_NODES — the edge and node tables that define the actual hierarchical relationships beneath a header.
- FND_LANGUAGES — the EBS language reference table used to validate and drive translation logic.
- DUAL — used for single-row utility selection.
Usage Notes
CN_HEAD_HIERARCHIES_ALL_PKG is an internal package and is not intended for direct invocation from custom extensions. It is called by CN_DIM_HIERARCHIES_PVT, which is the public processing layer that forms, forms-based maintenance screens, and concurrent programs invoke for header hierarchy setup and maintenance. Administrators encounter its effects indirectly when defining or maintaining channel hierarchies in the EBS forms UI, and during multitenant or multi-org data migration where LOAD_ROW and TRANSLATE_ROW are used to seed hierarchy definitions. Because the package is documented as OTHER and depends on STANDARD together with the CN hierarchy tables, any customization should call the higher-level CN_DIM_HIERARCHIES_PVT rather than this package directly, and should respect the translation and secure-view tables to preserve multi-language and security semantics. Behavior is consistent across 12.1.1 and 12.2.2, though the 12.2.x online patching file system layout does not alter the package's logical role.
-
APPS.CNSYSP_SYSTEM_PARAMETERS_PKG SQL Statements
12.1.1
-
APPS.CNSYSP_SYSTEM_PARAMETERS_PKG SQL Statements
12.2.2
-
PACKAGE: APPS.CN_HEAD_HIERARCHIES_ALL_PKG
12.1.1
owner:APPS, object_type:PACKAGE, object_name:CN_HEAD_HIERARCHIES_ALL_PKG, status:VALID,
-
PACKAGE BODY: APPS.CNSYSP_SYSTEM_PARAMETERS_PKG
12.2.2
owner:APPS, object_type:PACKAGE BODY, object_name:CNSYSP_SYSTEM_PARAMETERS_PKG, status:VALID,
-
PACKAGE BODY: APPS.CNSYSP_SYSTEM_PARAMETERS_PKG
12.1.1
owner:APPS, object_type:PACKAGE BODY, object_name:CNSYSP_SYSTEM_PARAMETERS_PKG, status:VALID,
-
PACKAGE: APPS.CN_HEAD_HIERARCHIES_ALL_PKG
12.2.2
owner:APPS, object_type:PACKAGE, object_name:CN_HEAD_HIERARCHIES_ALL_PKG, status:VALID,
-
TRIGGER: APPS.CN_DIM_HIERARCHIES_T2
12.2.2
owner:APPS, object_type:TRIGGER, object_name:CN_DIM_HIERARCHIES_T2, status:VALID,
-
PACKAGE BODY: APPS.CNSYIN_ATTR_RULES_PKG
12.2.2
owner:APPS, object_type:PACKAGE BODY, object_name:CNSYIN_ATTR_RULES_PKG, status:VALID,
-
TRIGGER: APPS.CN_HIERARCHY_EDGES_T4
12.2.2
owner:APPS, object_type:TRIGGER, object_name:CN_HIERARCHY_EDGES_T4, status:VALID,
-
TRIGGER: APPS.CN_HIERARCHY_EDGES_T2
12.2.2
owner:APPS, object_type:TRIGGER, object_name:CN_HIERARCHY_EDGES_T2, status:VALID,
-
TRIGGER: APPS.CN_HIERARCHY_EDGES_T4
12.1.1
owner:APPS, object_type:TRIGGER, object_name:CN_HIERARCHY_EDGES_T4, status:VALID,
-
PACKAGE BODY: APPS.CN_SYIN_ATTR_RULES_PKG
12.2.2
owner:APPS, object_type:PACKAGE BODY, object_name:CN_SYIN_ATTR_RULES_PKG, status:VALID,
-
TRIGGER: APPS.CN_DIM_HIERARCHIES_T2
12.1.1
owner:APPS, object_type:TRIGGER, object_name:CN_DIM_HIERARCHIES_T2, status:VALID,
-
TRIGGER: APPS.CN_REPOSITORIES_T1
12.1.1
owner:APPS, object_type:TRIGGER, object_name:CN_REPOSITORIES_T1, status:VALID,
-
PACKAGE BODY: APPS.CNSYIN_ATTR_RULES_PKG
12.1.1
owner:APPS, object_type:PACKAGE BODY, object_name:CNSYIN_ATTR_RULES_PKG, status:VALID,
-
PACKAGE BODY: APPS.CN_SYIN_ATTR_RULES_PKG
12.1.1
owner:APPS, object_type:PACKAGE BODY, object_name:CN_SYIN_ATTR_RULES_PKG, status:VALID,
-
PACKAGE BODY: APPS.CN_RULES_DISP_PUB
12.1.1
owner:APPS, object_type:PACKAGE BODY, object_name:CN_RULES_DISP_PUB, status:VALID,
-
TRIGGER: APPS.CN_HIERARCHY_EDGES_T6
12.2.2
owner:APPS, object_type:TRIGGER, object_name:CN_HIERARCHY_EDGES_T6, status:VALID,
-
PACKAGE BODY: APPS.CN_REVENUE_CLASS_PKG
12.1.1
owner:APPS, object_type:PACKAGE BODY, object_name:CN_REVENUE_CLASS_PKG, status:VALID,
-
PACKAGE: APPS.CN_DIM_HIERARCHIES_PVT
12.2.2
owner:APPS, object_type:PACKAGE, object_name:CN_DIM_HIERARCHIES_PVT, status:VALID,
-
PACKAGE BODY: APPS.CN_DIMENSIONS_PKG
12.1.1
owner:APPS, object_type:PACKAGE BODY, object_name:CN_DIMENSIONS_PKG, status:VALID,
-
PACKAGE BODY: APPS.CN_REVENUE_CLASS_PKG
12.2.2
owner:APPS, object_type:PACKAGE BODY, object_name:CN_REVENUE_CLASS_PKG, status:VALID,
-
TRIGGER: APPS.CN_REPOSITORIES_T1
12.2.2
owner:APPS, object_type:TRIGGER, object_name:CN_REPOSITORIES_T1, status:VALID,
-
PACKAGE BODY: APPS.CN_IMP_HIERARCHY_PVT
12.1.1
owner:APPS, object_type:PACKAGE BODY, object_name:CN_IMP_HIERARCHY_PVT, status:VALID,
-
PACKAGE BODY: APPS.CN_RULE_PVT
12.2.2
owner:APPS, object_type:PACKAGE BODY, object_name:CN_RULE_PVT, status:VALID,
-
PACKAGE BODY: APPS.CN_RULEATTRIBUTE_PVT
12.1.1
owner:APPS, object_type:PACKAGE BODY, object_name:CN_RULEATTRIBUTE_PVT, status:VALID,
-
PACKAGE: APPS.CN_DIM_HIERARCHIES_PVT
12.1.1
owner:APPS, object_type:PACKAGE, object_name:CN_DIM_HIERARCHIES_PVT, status:VALID,
-
PACKAGE BODY: APPS.CN_QUOTA_RULES_PKG
12.1.1
owner:APPS, object_type:PACKAGE BODY, object_name:CN_QUOTA_RULES_PKG, status:VALID,
-
TRIGGER: APPS.CN_HIERARCHY_EDGES_T6
12.1.1
owner:APPS, object_type:TRIGGER, object_name:CN_HIERARCHY_EDGES_T6, status:VALID,
-
TRIGGER: APPS.CN_HIERARCHY_EDGES_T2
12.1.1
owner:APPS, object_type:TRIGGER, object_name:CN_HIERARCHY_EDGES_T2, status:VALID,
-
SYNONYM: APPS.CN_HEAD_HIERARCHIES
12.2.2
owner:APPS, object_type:SYNONYM, object_name:CN_HEAD_HIERARCHIES, status:VALID,
-
PACKAGE BODY: APPS.CN_RULEATTRIBUTE_PVT
12.2.2
owner:APPS, object_type:PACKAGE BODY, object_name:CN_RULEATTRIBUTE_PVT, status:VALID,
-
PACKAGE BODY: APPS.CN_HEAD_HIERARCHIES_ALL_PKG
12.1.1
owner:APPS, object_type:PACKAGE BODY, object_name:CN_HEAD_HIERARCHIES_ALL_PKG, status:VALID,
-
PACKAGE BODY: APPS.CN_HEAD_HIERARCHIES_ALL_PKG
12.2.2
owner:APPS, object_type:PACKAGE BODY, object_name:CN_HEAD_HIERARCHIES_ALL_PKG, status:VALID,
-
PACKAGE BODY: APPS.CN_RULES_DISP_PUB
12.2.2
owner:APPS, object_type:PACKAGE BODY, object_name:CN_RULES_DISP_PUB, status:VALID,
-
PACKAGE BODY: APPS.CN_DIMENSIONS_PKG
12.2.2
owner:APPS, object_type:PACKAGE BODY, object_name:CN_DIMENSIONS_PKG, status:VALID,
-
SYNONYM: APPS.CN_HEAD_HIERARCHIES
12.1.1
owner:APPS, object_type:SYNONYM, object_name:CN_HEAD_HIERARCHIES, status:VALID,
-
PACKAGE BODY: APPS.CN_QUOTA_RULES_PKG
12.2.2
owner:APPS, object_type:PACKAGE BODY, object_name:CN_QUOTA_RULES_PKG, status:VALID,
-
PACKAGE BODY: APPS.CN_RULE_PVT
12.1.1
owner:APPS, object_type:PACKAGE BODY, object_name:CN_RULE_PVT, status:VALID,
-
PACKAGE BODY: APPS.CN_IMP_HIERARCHY_PVT
12.2.2
owner:APPS, object_type:PACKAGE BODY, object_name:CN_IMP_HIERARCHY_PVT, status:VALID,
-
PACKAGE BODY: APPS.CN_DIM_HIERARCHIES_PVT
12.1.1
owner:APPS, object_type:PACKAGE BODY, object_name:CN_DIM_HIERARCHIES_PVT, status:VALID,
-
PACKAGE BODY: APPS.CN_DIM_HIERARCHIES_PVT
12.2.2
owner:APPS, object_type:PACKAGE BODY, object_name:CN_DIM_HIERARCHIES_PVT, status:VALID,
-
PACKAGE BODY: APPS.CN_IMP_RULE_PVT
12.1.1
owner:APPS, object_type:PACKAGE BODY, object_name:CN_IMP_RULE_PVT, status:VALID,
-
PACKAGE BODY: APPS.CN_IMP_RULE_PVT
12.2.2
owner:APPS, object_type:PACKAGE BODY, object_name:CN_IMP_RULE_PVT, status:VALID,
-
APPS.CN_DIMENSIONS_PKG SQL Statements
12.2.2
-
APPS.CN_DIMENSIONS_PKG SQL Statements
12.1.1
-
TRIGGER: APPS.CN_HIERARCHY_EDGES_T4
12.1.1
-
VIEW: APPS.CN_RULE_ATTRIBUTES_DESC_V
12.1.1
owner:APPS, object_type:VIEW, object_name:CN_RULE_ATTRIBUTES_DESC_V, status:VALID,
-
VIEW: APPS.CN_RULE_ATTRIBUTES_DESC_V
12.2.2
owner:APPS, object_type:VIEW, object_name:CN_RULE_ATTRIBUTES_DESC_V, status:VALID,
-
TRIGGER: APPS.CN_HIERARCHY_EDGES_T4
12.2.2