Data entity
EssLeaveRequestHeaderEntity
Holds the header of a leave request in employee self-service, with one row per request ID. It shows the status, submission date, comment, reason code and the worker. It also shows who submitted the request and whether it was sent on someone's behalf. Start and end dates are added as calculated fields.
- Entity name
EssLeaveRequestHeaderEntity- Public entity name
EssLeaveRequestHeader- OData collection
EssLeaveRequestHeaders- Category
Document- Module
HRM- Read-only
No- Data management enabled
No- Configuration key
None- Keys
RequestId- Staging table
None
Use it in Power BI and Power Platform
- OData URL
https://<environment>/data/EssLeaveRequestHeaders- Dataverse virtual table
mserp_essleaverequestheaderentity. Listed in the virtual-table catalogue. An administrator must make the virtual table visible before you can use it.- Data management
- Not enabled for import and export projects.
Data sources
LeaveRequest· rootHcmWorker· InnerJoin toLeaveRequest· read-onlyHcmReasonCode· OuterJoin toLeaveRequest· read-only
Fields (16)
| Field and description | Type / EDT / enum | Mandatory | OData / Dataverse | References | Lineage root |
|---|---|---|---|---|---|
RequestIdIdentifier of the leave request. | String (20)LeaveRequestId | No | Yes | LeaveRequest.RequestId | |
RequestDateDate on which the request was submitted. | DateLeaveRequestDate | No | Yes | LeaveRequest.RequestDate | |
StatusApproval status of the request, for example Draft, Submitted, Approved or Completed. | Enum
| Yes | Yes | LeaveRequest.Status | |
CommentFree-text comment on the request. | String (-1)LeaveRequestComment | No | Yes | LeaveRequest.Comment | |
ReasonCodeIdCode that identifies the reason code. | String (15)HcmReasonCodeId | No | Yes | HcmReasonCode.ReasonCodeId | |
PersonnelNumberNumber that identifies the worker within the organisation. | String (25)HcmPersonnelNumberId | No | Yes | HcmWorker.PersonnelNumber | |
IsSubmittedOnBehalfOfShows whether the request was submitted for another person: Unknown, No or Yes. | Enum
| No | Yes | LeaveRequest.IsSubmittedOnBehalfOf | |
IsSubmittedByManagerShows whether a manager submitted the request: Unknown, No or Yes. | Enum
| No | Yes | LeaveRequest.IsSubmittedByManager | |
IsSubmittedByHumanResourcesShows whether Human Resources submitted the request: Unknown, No or Yes. | Enum
| No | Yes | LeaveRequest.IsSubmittedByHumanResources | |
IsSubmittedByAbsenceManagerShows whether an absence manager submitted the request: Unknown, No or Yes. | Enum
| No | Yes | LeaveRequest.IsSubmittedByAbsenceManager | |
SubmittedByUserUser ID of the person who submitted the request. It relates to the user table. | StringUserId | No | Yes | LeaveRequest.SubmittedByUser | |
RequestA unique number that the system gives to every record. Other tables often use it to point to this record. | Int64RecId | No | Yes | LeaveRequest.RecId | |
WorkerPoints to the worker the request is for. | Int64HcmWorkerRecId | Yes | No (private) | HcmWorker.RecId | LeaveRequest.Worker |
StartDateFirst date covered by the leave request. | DateLeaveStartDate | No | Yes | computed | |
EndDateLast date covered by the leave request. | DateLeaveEndDate | No | Yes | computed | |
RequestTableIdPurpose not clear from the metadata.low confidence | Integer | No | No (private) | computed |
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 LeaveRequest records → exactly one HcmWorker record
HcmWorker details: see TrvExpMobileUserDisplayInfoEntity, BusinessProcessHeaderEntity, HcmInjuryIncidentEntity
Need help with EssLeaveRequestHeaderEntity in Power BI, Power Automate or a migration? Talk to Dr Dynamics.