Table
HcmWorkerPrimaryPosition
Worker primary position
Shows which position assignment is the primary one for a worker over a period. The key is the worker plus the start and end of the period. Each record links to a position worker assignment.
- Table name
HcmWorkerPrimaryPosition- Module
Cross-module and platform- Table group
Group- Table type
Regular- Data per company
No- Configuration key
None- Primary index
None- Replacement key
WorkerIdx- Key fields
Worker, ValidFrom, ValidTo- Model
PersonnelManagement
Fields (13)
| Field and description | Type / EDT / enum | Mandatory | References | In public entities |
|---|---|---|---|---|
WorkerLink to the worker. | Int64HcmWorkerRecId | Yes | HcmWorker.RecId | None |
ValidFromDate and time from which the primary position applies. | UtcDateTimeValidFromDateTime | No | None | |
ValidToDate and time until which the primary position applies. | UtcDateTimeValidToDateTime | No | None | |
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 | |
PartitionA system field for the data partition. In most environments every record has the same value. System field. | Int64Partition | No | None | |
PositionAssignmentLink to the position worker assignment that is the primary position. | Int64HcmPositionWorkerAssignmentRecId | No | HcmPositionWorkerAssignment.RecId | 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 | None | |
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)
WorkerIdxReplacement keyUnique, alternate key.
HcmPositionWorkerAssignmentIdxNot unique.
Relations (2)
Each relation joins HcmWorkerPrimaryPosition to another table on the fields shown.
HcmPositionWorkerAssignment→HcmPositionWorkerAssignmentJoin on
PositionAssignment = HcmPositionWorkerAssignment.RecIdMany HcmWorkerPrimaryPosition records → zero or one HcmPositionWorkerAssignment record
Worker→HcmWorkerJoin on
Worker = HcmWorker.RecIdMany HcmWorkerPrimaryPosition records → exactly one HcmWorker record
Get this data out
No public entity reads from HcmWorkerPrimaryPosition. Its data is only reachable through the application, a custom entity or a database export.
Need help with HcmWorkerPrimaryPosition in a report, an integration or a migration? Talk to Dr Dynamics.