Data entity
LeaveHoursWorkedEntity
Holds the hours a worker has worked on each date, by type of hours. It is keyed by personnel number, date worked and type.
- Entity name
LeaveHoursWorkedEntity- Public entity name
HoursWorked- OData collection
HoursWorked- Category
Not set- Module
HRM- Read-only
No- Data management enabled
Yes- Configuration key
LeaveAbsence- Keys
PersonnelNumber, DateWorked, Type- Staging table
LeaveHoursWorkedStaging
Use it in Power BI and Power Platform
- OData URL
https://<environment>/data/HoursWorked- Dataverse virtual table
mserp_leavehoursworkedentity. 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
LeaveHoursWorked· rootHcmWorker· InnerJoin toLeaveHoursWorked· read-only
Fields (5)
| Field and description | Type / EDT / enum | Mandatory | OData / Dataverse | References | Lineage root |
|---|---|---|---|---|---|
WorkerPoints to the worker who did the hours. | Int64HcmWorkerRecId | Yes | No (private) | HcmWorker.RecId | LeaveHoursWorked.Worker |
DateWorkedDate on which the hours were worked. | DateLeaveDate | No | Yes | LeaveHoursWorked.DateWorked | |
TypeShows whether the hours are regular or overtime. | Enum
| No | Yes | LeaveHoursWorked.Type | |
HoursNumber of hours worked. | RealLeaveHours | No | Yes | LeaveHoursWorked.Hours | |
PersonnelNumberNumber that identifies the worker within the organisation. | String (25)HcmPersonnelNumberId | No | Yes | HcmWorker.PersonnelNumber |
Foreign keys (1)
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.
Worker→HcmWorker.RecId(key of HcmWorker)Many LeaveHoursWorked records → exactly one HcmWorker record
HcmWorker details: see TrvExpMobileUserDisplayInfoEntity, BusinessProcessHeaderEntity, HcmInjuryIncidentEntity
Need help with LeaveHoursWorkedEntity in Power BI, Power Automate or a migration? Talk to Dr Dynamics.