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· rootHcmPosition· InnerJoin toHcmPositionWorkerAssignment· read-onlyHcmReasonCode· OuterJoin toHcmPositionWorkerAssignment· read-onlyHcmWorker· InnerJoin toHcmPositionWorkerAssignment· read-onlyHcmWorkerPrimaryPositionAssignmentView· OuterJoin toHcmPositionWorkerAssignment· read-only
Fields (9)
| 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 | |
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 |
IsPrimaryPositionYes/No flag showing whether this position is the worker's primary position. | Enum
| No | Yes | 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 HcmPositionWorkerAssignmentEntity in Power BI, Power Automate or a migration? Talk to Dr Dynamics.