HierStrucID and HierUnitid

The system uses the following values to define the hierarchy structure:

HierStrucId (HSID)

The enterprise and each zone only have one HierStrucID. A location and revenue will have a HierStrucID for its default node and for each time it is added to a zone.

ParentHierStrucId (PHSID)

The HierStrucId of the node above this one.

HierUnitId (HUID)

A unique value assigned to each node. All nodes have one HierUnitId.

The following diagram shows the hierarchy again in terms of these three values:
images/hierstrucid_hierunitid.png

As the picture shows, a location or revenue can have multiple HierStrucIds, but the HierUnitId remains the same, regardless of how the location or RVC was navigated to.

As a result of multiple HierStrucIds existing for an entity, the C&C API utilizes the HierUnitId when interacting with definitions.