Data entity

HcmPositionWorkerAssignmentV2Entity

Records which worker is assigned to a position, with assignment start and end dates. The key is the position plus the valid-from date only. Compared with the first version, it also shows the worker's status.

Entity name
HcmPositionWorkerAssignmentV2Entity
Public entity name
PositionWorkerAssignmentV2
OData collection
PositionWorkerAssignmentsV2
Category
Not set
Module
HRM
Read-only
No
Data management enabled
Yes
Configuration key
None
Keys
PositionId, ValidFrom
Staging table
HcmPositionWorkerAssignmentV2Staging

Use it in Power BI and Power Platform

OData URL
https://<environment>/data/PositionWorkerAssignmentsV2
Dataverse virtual table
mserp_hcmpositionworkerassignmentv2entity. 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
  • HcmWorkerStatusView · OuterJoin to HcmWorkerPrimaryPositionAssignmentView · read-only

Fields (11)

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
IsPrimaryPositionYes/No flag showing whether this position is the worker's primary position.Enum
NoYesId
NoYes

Platform enum: values not in the metadata extract.

NoYescomputed
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
IsPrimaryPositionFromViewPrimary position indicator taken from the worker primary position view. It has no label, so its exact meaning is not stated.low confidenceEnum
NoYes

Platform enum: values not in the metadata extract.

NoNo (private)computed in view
WorkerStatusStatus of the assigned worker, shown as a fixed list of values.Enum
HcmWorkerStatus
  • Pending 0
  • Employed 1
  • Terminated 2
NoNo (private)computed 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 HcmPositionWorkerAssignmentV2Entity in Power BI, Power Automate or a migration? Talk to Dr Dynamics.

Email sales@drdynamics.co.uk