Data entity
EssLeaveApprovedRequestEntity
Read-only list of approved leave requests for employee self-service. Each record shows the request, leave type, start and end dates, request type and personnel number. It also has an amount, a half day definition and a unit.
- Entity name
EssLeaveApprovedRequestEntity- Public entity name
EssLeaveApprovedRequest- OData collection
EssLeaveApprovedRequests- Category
Document- Module
HRM- Read-only
Yes- Data management enabled
No- Configuration key
None- Keys
Request, LeaveType, StartDate, EndDate, RequestType, PersonnelNumber- Staging table
None
Use it in Power BI and Power Platform
- OData URL
https://<environment>/data/EssLeaveApprovedRequests- Dataverse virtual table
mserp_essleaveapprovedrequestentity. 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
LeaveApprovedRequests· root · read-onlyLeaveRequestMain(tableLeaveRequest) · InnerJoin toLeaveApprovedRequests· read-onlyHcmWorker· InnerJoin toLeaveRequestMain· read-onlyLeaveType· InnerJoin toLeaveApprovedRequests· read-only
Fields (12)
| Field and description | Type / EDT / enum | Mandatory | OData / Dataverse | References | Lineage root |
|---|---|---|---|---|---|
AmountAmount of leave taken on this date. | RealLeaveRequestAmount | No | Yes | LeaveRequestDetail.Amount | |
EndDateDate of the leave on this line. | DateLeaveDate | Yes | Yes | LeaveRequestDetail.LeaveDate | |
HalfDayDefinitionShows how a half day is defined for the leave, chosen from a fixed list of values. | Enum
| No | Yes | computed in view | |
LeaveTypePoints to the leave type taken on this date. | Int64LeaveTypeRecId | Yes | No (private) | LeaveType.RecId | LeaveRequestDetail.LeaveType |
RequestPoints to the leave request that this line belongs to. | Int64LeaveRequestRecId | Yes | No (private) | LeaveRequest.RecId | LeaveRequestDetail.Request |
StartDateDate of the leave on this line. | DateLeaveDate | Yes | Yes | LeaveRequestDetail.LeaveDate | |
RequestIdIdentifier of the leave request. | String (20)LeaveRequestId | No | Yes | LeaveRequest.RequestId | |
TypeShort name that identifies the leave type. | String (30)LeaveTypeId | Yes | Yes | LeaveType.Type | |
RequestTypeShows whether the type is used for time off or for a leave of absence. | Enum
| Yes | Yes | LeaveType.RequestType | |
PersonnelNumberNumber that identifies the worker within the organisation. | String (25)HcmPersonnelNumberId | No | Yes | HcmWorker.PersonnelNumber | |
WorkerPoints to the worker the request is for. | Int64HcmWorkerRecId | Yes | No (private) | HcmWorker.RecId | LeaveRequest.Worker |
LeaveUnitShows the unit in which the leave amount is measured, chosen from a fixed list of values. | Enum
| No | Yes | virtual |
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.
LeaveType→LeaveType.RecId(key of LeaveType)Many LeaveRequestDetail records → exactly one LeaveType record
LeaveType details: see LeaveTypeEntity, EssLeaveBalanceEntity, LeaveBalanceActiveEntity
Request→LeaveRequest.RecId(key of LeaveRequest)Many LeaveRequestDetail records → exactly one LeaveRequest record
LeaveRequest details: see LeaveOfAbsenceRequestEntity, LeaveRequestEntity, LeaveRequestV2Entity
Worker→HcmWorker.RecId(key of HcmWorker)Many LeaveRequest records → exactly one HcmWorker record
HcmWorker details: see TrvExpMobileUserDisplayInfoEntity, BusinessProcessHeaderEntity, HcmInjuryIncidentEntity
Need help with EssLeaveApprovedRequestEntity in Power BI, Power Automate or a migration? Talk to Dr Dynamics.