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· rootHcmPosition· InnerJoin toHcmPositionWorkerAssignment· read-onlyHcmReasonCode· OuterJoin toHcmPositionWorkerAssignment· read-onlyHcmWorker· InnerJoin toHcmPositionWorkerAssignment· read-onlyHcmWorkerPrimaryPositionAssignmentView· OuterJoin toHcmPositionWorkerAssignment· read-onlyHcmWorkerStatusView· OuterJoin toHcmWorkerPrimaryPositionAssignmentView· read-only
Fields (11)
| Field and description | Type / EDT / enum | Mandatory | OData / Dataverse | References | Lineage root |
|---|---|---|---|---|---|
PositionThe position that the worker is assigned to. | Int64HcmPositionRecId | Yes | No (private) | HcmPosition.RecId | HcmPositionWorkerAssignment.Position |
PositionIdCode that identifies the position. | String (25)HcmPositionId | Yes | Yes | HcmPosition.PositionId | |
PersonnelNumberNumber that identifies the worker within the organisation. | String (25)HcmPersonnelNumberId | No | Yes | HcmWorker.PersonnelNumber | |
ReasonCodeReason code that explains the assignment. | Int64HcmReasonCodeRecId | No | No (private) | HcmReasonCode.RecId | HcmPositionWorkerAssignment.AssignmentReasonCode |
ReasonCodeIdCode that identifies the reason code. | String (15)HcmReasonCodeId | No | Yes | HcmReasonCode.ReasonCodeId | |
IsPrimaryPositionYes/No flag showing whether this position is the worker's primary position. | EnumNoYesId
| No | Yes | computed | |
ValidFromDate and time when the assignment starts. | UtcDateTimeHcmPositionWorkerAssignmentStartDate | No | Yes | HcmPositionWorkerAssignment.ValidFrom | |
ValidToDate and time when the assignment ends. | UtcDateTimeHcmPositionWorkerAssignmentEndDate | No | Yes | HcmPositionWorkerAssignment.ValidTo | |
WorkerThe worker who holds the position. | Int64HcmWorkerRecId | Yes | No (private) | HcmWorker.RecId | HcmPositionWorkerAssignment.Worker |
IsPrimaryPositionFromViewPrimary position indicator taken from the worker primary position view. It has no label, so its exact meaning is not stated.low confidence | Enum
| No | No (private) | computed in view | |
WorkerStatusStatus of the assigned worker, shown as a fixed list of values. | Enum
| No | No (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.
Position→HcmPosition.RecId(key of HcmPosition)Many HcmPositionWorkerAssignment records → exactly one HcmPosition record
HcmPosition details: see HcmPositionTimelineEntity, HcmJobPositionDualWriteEntity, HcmPositionEntity
ReasonCode→HcmReasonCode.RecId(key of HcmReasonCode)Many HcmPositionWorkerAssignment records → zero or one HcmReasonCode record
HcmReasonCode details: see HcmReasonCodeEntity, BenefitParametersV2Entity, BenefitPlanEmployeeV2Entity
Worker→HcmWorker.RecId(key of HcmWorker)Many HcmPositionWorkerAssignment records → exactly one HcmWorker record
HcmWorker details: see TrvExpMobileUserDisplayInfoEntity, BusinessProcessHeaderEntity, HcmInjuryIncidentEntity
Need help with HcmPositionWorkerAssignmentV2Entity in Power BI, Power Automate or a migration? Talk to Dr Dynamics.