Table

HcmPositionWorkerAssignment

Position worker assignments

Records which worker is assigned to which position, and for what period. The key is the position plus the start and end of the assignment. Each row can also carry a reason code that points to the reason codes table.

Table name
HcmPositionWorkerAssignment
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, ValidFrom, ValidTo
Model
PersonnelCore

Fields (14)

Field and descriptionType / EDT / enumMandatoryReferencesIn public entities
PositionThe position that the worker is assigned to.Int64
HcmPositionRecId
YesHcmPosition.RecIdHcmPositionWorkerAssignmentV2EntityHcmPositionWorkerAssignmentEntityVivaIntEssPersonalDetailsEntityand 1 more
ValidFromDate and time when the assignment starts.UtcDateTime
HcmPositionWorkerAssignmentStartDate
YesHcmPositionWorkerAssignmentV2EntityHcmPositionWorkerAssignmentEntityHcmPositionV2Entityand 8 more
ValidToDate and time when the assignment ends.UtcDateTime
HcmPositionWorkerAssignmentEndDate
YesHcmPositionWorkerAssignmentV2EntityHcmPositionWorkerAssignmentEntityHcmPositionV2Entityand 8 more
AssignmentReasonCodeReason code that explains the assignment.Int64
HcmReasonCodeRecId
NoHcmReasonCode.RecIdHcmPositionWorkerAssignmentV2EntityHcmPositionWorkerAssignmentEntityHcmPositionV2Entityand 2 more
CreatedByThe user who created the record. System field.String (20)
CreatedBy
NoHcmPositionTimelineEntity
CreatedDateTimeThe date and time when the record was created. System field.UtcDateTime
CreatedDateTime
NoHcmPositionTimelineEntity
ModifiedByThe user who last changed the record. System field.String (20)
ModifiedBy
NoHcmPositionTimelineEntity
ModifiedDateTimeThe date and time when the record was last changed. System field.UtcDateTime
ModifiedDateTime
NoHcmPositionTimelineEntity
PartitionA system field for the data partition. In most environments every record has the same value. System field.Int64
Partition
NoNone
RecIdA unique number that the system gives to every record. Other tables often use it to point to this record. System field.Int64
RecId
NoNone
RecVersionA system number that changes each time the record is updated. It is used to detect conflicting updates. System field.Integer
RecVersion
NoNone
SysRowVersionA system row version number that is used for change tracking. System field.Int64
SysRowVersion
NoNone
TableIdA system number that identifies the table. System field.Integer
TableId
NoNone
WorkerThe worker who holds the position.Int64
HcmWorkerRecId
YesHcmWorker.RecIdHcmPositionWorkerAssignmentV2EntityHcmPositionWorkerAssignmentEntityHcmPositionV2Entityand 7 more

Indexes (3)

Relations (3)

Each relation joins HcmPositionWorkerAssignment to another table on the fields shown.

  • Position → HcmPosition

    Join on Position = HcmPosition.RecId

    Many HcmPositionWorkerAssignment records → exactly one HcmPosition record

  • Worker → HcmWorker

    Join on Worker = HcmWorker.RecId

    Many HcmPositionWorkerAssignment records → exactly one HcmWorker record

  • ResignReasonCode → HcmReasonCode

    Join on AssignmentReasonCode = HcmReasonCode.RecId

    Many HcmPositionWorkerAssignment records → zero or one HcmReasonCode record

Get this data out

Tables are not exposed directly. These public entities read from HcmPositionWorkerAssignment; use one of them in Power BI, Power Platform or a data management project.

Need help with HcmPositionWorkerAssignment in a report, an integration or a migration? Talk to Dr Dynamics.

Email sales@drdynamics.co.uk