Data entity

HcmPositionWorkerAssignmentEntity

Records which worker is assigned to a position, with assignment start and end dates. The key is the position plus the valid-from and valid-to dates. It also shows a reason code and whether the position is the worker's primary one.

Entity name
HcmPositionWorkerAssignmentEntity
Public entity name
PositionWorkerAssignment
OData collection
PositionWorkerAssignments
Category
Not set
Module
HRM
Read-only
No
Data management enabled
Yes
Configuration key
None
Keys
PositionId, ValidFrom, ValidTo
Staging table
HcmPositionWorkerAssignmentStaging

Use it in Power BI and Power Platform

OData URL
https://<environment>/data/PositionWorkerAssignments
Dataverse virtual table
mserp_hcmpositionworkerassignmententity. Listed in the virtual-table catalogue. An administrator must make the virtual table visible before you can use it.
Data management
Enabled: you can use it in import and export projects.

Data sources

  • HcmPositionWorkerAssignment · root
  • HcmPosition · InnerJoin to HcmPositionWorkerAssignment · read-only
  • HcmReasonCode · OuterJoin to HcmPositionWorkerAssignment · read-only
  • HcmWorker · InnerJoin to HcmPositionWorkerAssignment · read-only
  • HcmWorkerPrimaryPositionAssignmentView · OuterJoin to HcmPositionWorkerAssignment · read-only

Fields (9)

Field and descriptionType / EDT / enumMandatoryOData / DataverseReferencesLineage root
PositionThe position that the worker is assigned to.Int64
HcmPositionRecId
YesNo (private)HcmPosition.RecIdHcmPositionWorkerAssignment.Position
PositionIdCode that identifies the position.String (25)
HcmPositionId
YesYesHcmPosition.PositionId
PersonnelNumberNumber that identifies the worker within the organisation.String (25)
HcmPersonnelNumberId
NoYesHcmWorker.PersonnelNumber
ReasonCodeReason code that explains the assignment.Int64
HcmReasonCodeRecId
NoNo (private)HcmReasonCode.RecIdHcmPositionWorkerAssignment.AssignmentReasonCode
ReasonCodeIdCode that identifies the reason code.String (15)
HcmReasonCodeId
NoYesHcmReasonCode.ReasonCodeId
ValidFromDate and time when the assignment starts.UtcDateTime
HcmPositionWorkerAssignmentStartDate
NoYesHcmPositionWorkerAssignment.ValidFrom
ValidToDate and time when the assignment ends.UtcDateTime
HcmPositionWorkerAssignmentEndDate
NoYesHcmPositionWorkerAssignment.ValidTo
WorkerThe worker who holds the position.Int64
HcmWorkerRecId
YesNo (private)HcmWorker.RecIdHcmPositionWorkerAssignment.Worker
IsPrimaryPositionYes/No flag showing whether this position is the worker's primary position.Enum
NoYes

Platform enum: values not in the metadata extract.

NoYescomputed in view

Foreign keys (3)

Each field below points to the key of another table. Join on it in Power BI, or follow the link to an entity that exposes that table.

Need help with HcmPositionWorkerAssignmentEntity in Power BI, Power Automate or a migration? Talk to Dr Dynamics.

Email sales@drdynamics.co.uk