Data entity
EssLeaveRequestEntity
Holds one row per leave or absence request, per leave type and per date, for employee self-service. It is built on the leave request and its detail lines, and links to the worker, the leave type and the reason code. The key is request ID, leave type and leave date. Rows can be written as well as read.
- Entity name
EssLeaveRequestEntity- Public entity name
MyLeaveRequest- OData collection
MyLeaveRequests- Category
Document- Module
HRM- Read-only
No- Data management enabled
No- Configuration key
LeaveAbsence- Keys
RequestId, LeaveType, LeaveDate- Staging table
None
Use it in Power BI and Power Platform
- OData URL
https://<environment>/data/MyLeaveRequests- Dataverse virtual table
mserp_essleaverequestentity. 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-onlyLeaveRequestDetail· InnerJoin toLeaveRequestLeaveType· InnerJoin toLeaveRequestDetail· read-onlyHcmReasonCode· OuterJoin toLeaveRequest· read-only
Fields (11)
| Field and description | Type / EDT / enum | Mandatory | OData / Dataverse | References | Lineage root |
|---|---|---|---|---|---|
RequestIdIdentifier of the leave request. | String (20)LeaveRequestId | No | Yes | LeaveRequest.RequestId | |
LeaveTypeShort name that identifies the leave type. | String (30)LeaveTypeId | Yes | Yes | LeaveType.Type | |
LeaveDateDate of the leave on this line. | DateLeaveDate | Yes | Yes | LeaveRequestDetail.LeaveDate | |
AmountAmount of leave taken on this date. | RealLeaveRequestAmount | No | Yes | LeaveRequestDetail.Amount | |
HalfDayDefinitionShows whether the leave is for the first half of the day, the second half, or neither. | Enum
| No | Yes | LeaveRequestDetail.HalfDayDefinition | |
CommentFree-text comment on the request. | String (-1)LeaveRequestComment | No | Yes | LeaveRequest.Comment | |
StatusApproval status of the request, for example Draft, Submitted, Approved or Completed. | Enum
| Yes | Yes | LeaveRequest.Status | |
RequestDateDate on which the request was submitted. | DateLeaveRequestDate | No | Yes | LeaveRequest.RequestDate | |
PersonnelNumberNumber that identifies the worker within the organisation. | String (25)HcmPersonnelNumberId | No | Yes | HcmWorker.PersonnelNumber | |
ReasonCodeIdCode that identifies the reason code. | String (15)HcmReasonCodeId | No | Yes | HcmReasonCode.ReasonCodeId | |
WorkerPoints to the worker the request is for. | Int64HcmWorkerRecId | Yes | No (private) | HcmWorker.RecId | LeaveRequest.Worker |
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 EssLeaveRequestEntity in Power BI, Power Automate or a migration? Talk to Dr Dynamics.