HZ_HIERARCHY_NODES

The HZ_HIERARCHY_NODES table contains denormalized data for hierarchical relationships.

Details

  • Schema: FUSION

  • Object owner: HZ

  • Object type: TABLE

  • Tablespace: APPS_TS_TX_DATA

Primary Key

Name Columns

HZ_HIERARCHY_NODES_PK

HIERARCHY_NODE_ID

Columns

Name Datatype Length Precision Not-null Comments
HIERARCHY_NODE_ID NUMBER 18 Yes Unique hierarchy node identifier.
HIERARCHY_TYPE VARCHAR2 30 Yes The hierarchy type name
PARENT_ID NUMBER Yes Unique identifier of the parent in this hierarchical relationship
PARENT_TABLE_NAME VARCHAR2 30 Yes Name of the source table for the parent
PARENT_OBJECT_TYPE VARCHAR2 30 Yes Object type of the parent
CHILD_ID NUMBER Yes Unique identifier of the child in this hierarchical relationship
CHILD_TABLE_NAME VARCHAR2 30 Yes Name of the source table for the child
CHILD_OBJECT_TYPE VARCHAR2 30 Yes Object type of the child
LEVEL_NUMBER NUMBER Yes Number of relationship levels between the parent and the child
TOP_PARENT_FLAG VARCHAR2 1 Indicates if the parent is a root node. Y if the parent in the relationship is at the root node, N if the parent is not at the root node
LEAF_CHILD_FLAG VARCHAR2 1 Indicates if the child is leaf node. Y if the child in the relationship has no children, N if the child has children
EFFECTIVE_START_DATE DATE Yes Date Effective Entity: indicates the date at the beginning of the date range within which the row is effective.
EFFECTIVE_END_DATE DATE Yes Date Effective Entity: indicates the date at the end of the date range within which the row is effective.
STATUS VARCHAR2 1 Indicates if this hierarchical relationship is active or inactive
RELATIONSHIP_ID NUMBER Unique identifier of a hierarchical relationship
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.
ACTUAL_CONTENT_SOURCE VARCHAR2 30 Yes Source of data content
OBJECT_VERSION_NUMBER NUMBER 9 Yes Used to implement optimistic locking. This number is incremented every time that the row is updated. The number is compared at the start and end of a transaction to detect whether another session has updated the row since it was queried.
CONFLICT_ID NUMBER 18 Yes Disconnected Mobile: this value is used to guarantee the uniqueness of the row when duplicates are created in different databases (i.e. mobile databases or the server).
USER_LAST_UPDATE_DATE TIMESTAMP Disconnected Mobile: indicates the date and time of the last update of the row. This value is different from LAST_UPDATE_DATE if the update originally happened in a different database (i.e. a different mobile database or the server).

Foreign Keys

Table Foreign Table Foreign Key Column
HZ_HIERARCHY_NODES hz_geographies CHILD_ID
HZ_HIERARCHY_NODES hz_geographies PARENT_ID

Indexes

Index Uniqueness Tablespace Columns
HZ_HIERARCHY_NODES_N1 Non Unique Default PARENT_ID, PARENT_TABLE_NAME, PARENT_OBJECT_TYPE, HIERARCHY_TYPE, LEVEL_NUMBER
HZ_HIERARCHY_NODES_N2 Non Unique Default CHILD_ID, CHILD_TABLE_NAME, CHILD_OBJECT_TYPE, HIERARCHY_TYPE
HZ_HIERARCHY_NODES_N3 Non Unique Default RELATIONSHIP_ID
HZ_HIERARCHY_NODES_N4 Non Unique Default HIERARCHY_TYPE, TOP_PARENT_FLAG
HZ_HIERARCHY_NODES_N5 Non Unique Default PARENT_ID, CHILD_OBJECT_TYPE, HIERARCHY_TYPE
HZ_HIERARCHY_NODES_PK Unique Default HIERARCHY_NODE_ID