HZ_PARTY_HIERARCHY_DENORM

Oracle internal use only. This table hz_party_hierarchy_denorm store snapshot information of customer hierarchies. This data is used in UI and REST API allowing user to view hierarchies withe better performance.

Details

  • Schema: FUSION

  • Object owner: HZ

  • Object type: TABLE

  • Tablespace: DEFAULT

Primary Key

Name Columns

HZ_PARTY_HIERARCHY_DENORM_PK

PARTY_ID, TREE_VERSION_ID, TREE_CODE, TREE_STRUCTURE_CODE

Columns

Name Datatype Length Precision Not-null Comments
PARTY_ID NUMBER 18 Yes Unique party indentifier. Foreign key to the HZ_PARTIES table.
TREE_STRUCTURE_CODE VARCHAR2 30 Yes Unique Identifier for a tree structure.
TREE_CODE VARCHAR2 30 Yes User defined Identifier for tree code.
TREE_VERSION_ID VARCHAR2 32 Yes Unique Identifier for the tree version.
PARENT_PARTY_ID NUMBER 18 The unique identifier of the parent account.
ULTIMATE_PARENT_PARTY_ID NUMBER 18 The unique identifier of the ultimate parent account.
DESCENDENT_COUNT NUMBER 8 Number of child nodes in the hierarchy for the entity.
IMMEDIATE_CHILD_COUNT NUMBER 8 Number of immediate child nodes in the hierarchy for the entity.
LIST_OF_ANCESTOR_IDS VARCHAR2 900 List of unique party identifier of parent nodes in the hierarchy for the entity.
CREATED_BY VARCHAR2 64 Yes Who column: indicates the user who created the row.
CREATION_DATE TIMESTAMP Yes Who column: indicates the date and time of the creation of the row.
LAST_UPDATED_BY VARCHAR2 64 Yes Who column: indicates the user who last updated the row.
LAST_UPDATE_DATE TIMESTAMP Yes Who column: indicates the date and time of the last update of the row.
LAST_UPDATE_LOGIN VARCHAR2 32 Who column: indicates the session login associated to the user who last updated the row.
REQUEST_ID NUMBER 18 Enterprise Service Scheduler: indicates the request ID of the job that created or last updated the row.

Indexes

Index Uniqueness Tablespace Columns
HZ_PARTY_HIERARCHY_DENORM_N1 Non Unique Default PARTY_ID, TREE_VERSION_ID, TREE_CODE, TREE_STRUCTURE_CODE
HZ_PARTY_HIERARCHY_DENORM_N2 Non Unique Default TREE_VERSION_ID, TREE_CODE, TREE_STRUCTURE_CODE
HZ_PARTY_HIERARCHY_DENORM_N3 Non Unique Default PARENT_PARTY_ID, TREE_STRUCTURE_CODE
HZ_PARTY_HIERARCHY_DENORM_N4 Non Unique Default ULTIMATE_PARENT_PARTY_ID, TREE_STRUCTURE_CODE