Table
HcmPositionHierarchy
Position hierarchies
Describes reporting lines between positions within a position hierarchy. The key is position, hierarchy type and the validity period. Each record links a position to the position it reports to, and to a hierarchy type (HcmPositionHierarchyType).
- Table name
HcmPositionHierarchy- Module
Cross-module and platform- Table group
Group- Table type
Regular- Data per company
No- Configuration key
None- Primary index
None- Replacement key
PositionIdx- Key fields
Position, PositionHierarchyType, ValidFrom, ValidTo- Model
PersonnelCore
Fields (14)
| Field and description | Type / EDT / enum | Mandatory | References | In public entities |
|---|---|---|---|---|
PositionPoints to the position whose reporting line is described. | Int64HcmPositionRecId | Yes | HcmPosition.RecId | HcmPositionHierarchyEntityPayIntV1HcmPositionHierarchyEntity |
PositionHierarchyTypePoints to the hierarchy (by name) that this reporting line belongs to. | Int64HcmPositionHierarchyTypeRecId | Yes | HcmPositionHierarchyType.RecId | HcmPositionHierarchyEntityPayIntV1HcmPositionHierarchyEntity |
ValidFromDate and time the reporting line starts to apply. | UtcDateTimeEffectiveDateTime | No | HcmPositionHierarchyEntityPayIntV1HcmPositionHierarchyEntityHcmJobPositionDualWriteEntityand 2 more | |
ValidToDate and time the reporting line stops applying. | UtcDateTimeExpirationDateTime | No | HcmPositionHierarchyEntityPayIntV1HcmPositionHierarchyEntityHcmJobPositionDualWriteEntityand 2 more | |
CreatedByThe user who created the record. System field. | String (20)CreatedBy | No | None | |
CreatedDateTimeThe date and time when the record was created. System field. | UtcDateTimeCreatedDateTime | No | None | |
ModifiedByThe user who last changed the record. System field. | String (20)ModifiedBy | No | None | |
ModifiedDateTimeThe date and time when the record was last changed. System field. | UtcDateTimeModifiedDateTime | No | None | |
ParentPositionPoints to the position that this position reports to. | Int64HcmPositionRecId | No | HcmPosition.RecId | HcmPositionHierarchyEntityPayIntV1HcmPositionHierarchyEntityHcmJobPositionDualWriteEntity |
PartitionA system field for the data partition. In most environments every record has the same value. System field. | Int64Partition | No | None | |
RecIdA unique number that the system gives to every record. Other tables often use it to point to this record. System field. | Int64RecId | No | HcmJobPositionDualWriteEntity | |
RecVersionA system number that changes each time the record is updated. It is used to detect conflicting updates. System field. | IntegerRecVersion | No | None | |
SysRowVersionA system row version number that is used for change tracking. System field. | Int64SysRowVersion | No | None | |
TableIdA system number that identifies the table. System field. | IntegerTableId | No | None |
Indexes (2)
PositionIdxReplacement keyPosition,PositionHierarchyType,ValidFrom,ValidToUnique, alternate key.
ParentPositionIdxParentPosition,PositionHierarchyType,PositionNot unique.
Relations (3)
Each relation joins HcmPositionHierarchy to another table on the fields shown.
ParentPosition→HcmPositionJoin on
ParentPosition = HcmPosition.RecIdMany HcmPositionHierarchy records → zero or one HcmPosition record
Position→HcmPositionJoin on
Position = HcmPosition.RecIdMany HcmPositionHierarchy records → exactly one HcmPosition record
PositionHierarchyType→HcmPositionHierarchyTypeJoin on
PositionHierarchyType = HcmPositionHierarchyType.RecIdMany HcmPositionHierarchy records → exactly one HcmPositionHierarchyType record
Get this data out
Tables are not exposed directly. These public entities read from HcmPositionHierarchy; use one of them in Power BI, Power Platform or a data management project.
HcmPositionHierarchyEntity· 5 fields from this tablePayIntV1HcmPositionHierarchyEntity· 5 fields from this tableHcmJobPositionDualWriteEntity· 4 fields from this tableHcmPositionEntity· 2 fields from this tableAadWorkerIntegrationEntity· 2 fields from this table
Need help with HcmPositionHierarchy in a report, an integration or a migration? Talk to Dr Dynamics.