Table
LeaveHoursWorked
Leave and absence hours worked
Holds hours worked by a worker on a given date, split into regular and overtime hours. Each record links to a worker. The table has no key defined in the metadata.
- Table name
LeaveHoursWorked- Module
Cross-module and platform- Table group
Miscellaneous- Table type
Regular- Data per company
Yes- Configuration key
None- Primary index
None- Replacement key
None- Key fields
None- Model
Leave
Fields (12)
| Field and description | Type / EDT / enum | Mandatory | References | In public entities |
|---|---|---|---|---|
CreatedDateTimeThe date and time when the record was created. System field. | UtcDateTimeCreatedDateTime | No | None | |
DataAreaIdThe company (legal entity) that the record belongs to. System field. | String (4)DataAreaId | No | None | |
DateWorkedDate on which the hours were worked. | DateLeaveDate | No | LeaveHoursWorkedEntity | |
HoursNumber of hours worked. | RealLeaveHours | No | LeaveHoursWorkedEntity | |
ModifiedDateTimeThe date and time when the record was last changed. System field. | UtcDateTimeModifiedDateTime | No | None | |
PartitionA system field for the data partition. In most environments every record has the same value. System field. | Int64Partition | No | None | |
RecIdA unique number that the system gives to every record. Other tables often use it to point to this record. System field. | Int64RecId | No | None | |
RecVersionA system number that changes each time the record is updated. It is used to detect conflicting updates. System field. | IntegerRecVersion | No | None | |
SysRowVersionA system row version number that is used for change tracking. System field. | Int64SysRowVersion | No | None | |
TableIdA system number that identifies the table. System field. | IntegerTableId | No | None | |
TypeShows whether the hours are regular or overtime. | EnumLeaveHoursWorkedType (enum) | No | LeaveHoursWorkedEntity | |
WorkerPoints to the worker who did the hours. | Int64HcmWorkerRecId | Yes | HcmWorker.RecId | LeaveHoursWorkedEntity |
Indexes (1)
WorkerDateIdxUnique, alternate key.
Relations (1)
Each relation joins LeaveHoursWorked to another table on the fields shown.
HcmWorker→HcmWorkerJoin on
Worker = HcmWorker.RecIdMany LeaveHoursWorked records → exactly one HcmWorker record
Get this data out
Tables are not exposed directly. These public entities read from LeaveHoursWorked; use one of them in Power BI, Power Platform or a data management project.
LeaveHoursWorkedEntity· 4 fields from this table
Need help with LeaveHoursWorked in a report, an integration or a migration? Talk to Dr Dynamics.