Data entity
LeaveOfAbsenceRequestEntity
Holds leave of absence requests, keyed by request ID. It links to the worker, the leave type and a reason code. It shows the dates, status, comment, submission date and who submitted the request (worker, manager, HR or absence manager). It also includes the request detail, such as amount, cancelled flag and half-day flags.
- Entity name
LeaveOfAbsenceRequestEntity- Public entity name
LeaveOfAbsenceRequest- OData collection
LeaveOfAbsenceRequests- Category
Document- Module
HRM- Read-only
No- Data management enabled
Yes- Configuration key
LeaveAbsence- Keys
RequestId- Staging table
LeaveOfAbsenceRequestStaging
Use it in Power BI and Power Platform
- OData URL
https://<environment>/data/LeaveOfAbsenceRequests- Dataverse virtual table
mserp_leaveofabsencerequestentity. 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
LeaveRequest· rootHcmWorker· InnerJoin toLeaveRequest· read-onlyLeaveOfAbsenceRequestDetail· InnerJoin toLeaveRequestLeaveType· InnerJoin toLeaveOfAbsenceRequestDetail· read-onlyPreviousLeaveRequest(tableLeaveRequest) · OuterJoin toLeaveOfAbsenceRequestDetail· read-onlyHcmReasonCode· OuterJoin toLeaveRequest· read-only
Fields (20)
| 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 | |
StartDateFirst day of the requested absence. | DateLeaveRequestStartDate | Yes | Yes | LeaveOfAbsenceRequestDetail.StartDate | |
EndDateLast day of the requested absence. | DateLeaveRequestEndDate | Yes | Yes | LeaveOfAbsenceRequestDetail.EndDate | |
CommentFree-text comment on the request. | String (-1)LeaveRequestComment | No | Yes | LeaveRequest.Comment | |
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 | |
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 | |
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 | |
SubmittedByUserUser ID of the person who submitted the request. It relates to the user table. | StringUserId | No | Yes | LeaveRequest.SubmittedByUser | |
PreviousRequestIDIdentifier of the leave request. | String (20)LeaveRequestId | No | Yes | LeaveRequest.RequestId | |
CanceledYes/No flag showing whether the request has been cancelled. | Enum
| No | Yes | LeaveOfAbsenceRequestDetail.Canceled | |
RequestTypeShows whether the request is new, an update or a cancellation. | Enum
| No | Yes | LeaveOfAbsenceRequestDetail.RequestType | |
FirstHalfOfEndDateYes/No flag. When set, the request covers only the first half of the last day of leave. | Enum
| No | Yes | LeaveOfAbsenceRequestDetail.FirstHalfOfEndDate | |
SecondHalfOfStartDateYes/No flag. When set, the request covers only the second half of the first day of leave. | Enum
| No | Yes | LeaveOfAbsenceRequestDetail.SecondHalfOfStartDate | |
AmountAmount of leave requested. | RealLeaveRequestAmount | No | Yes | LeaveOfAbsenceRequestDetail.Amount |
Need help with LeaveOfAbsenceRequestEntity in Power BI, Power Automate or a migration? Talk to Dr Dynamics.