Data entity
EssLoaRequestEntity
Holds the header of a leave of absence request in employee self-service, one row per request ID. It combines request data with the first leave of absence detail line, such as start and end dates, leave type, amount and cancellation. It links to the worker and the reason code. Rows can be written as well as read.
- Entity name
EssLoaRequestEntity- Public entity name
EssLoaRequestHeader- OData collection
EssLoaRequestHeaders- 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/EssLoaRequestHeaders- Dataverse virtual table
mserp_essloarequestentity. 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-onlyLeaveOfAbsenceRequestDetail· InnerJoin toLeaveRequestLeaveType· InnerJoin toLeaveOfAbsenceRequestDetail· read-onlyPreviousLeaveRequest(tableLeaveRequest) · OuterJoin toLeaveOfAbsenceRequestDetail· read-only
Fields (24)
| 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 | No (private) | LeaveRequest.RecId | |
WorkerPoints to the worker the request is for. | Int64HcmWorkerRecId | Yes | No (private) | HcmWorker.RecId | LeaveRequest.Worker |
StartDateFirst day of the requested absence. | DateLeaveRequestStartDate | No | Yes | LeaveOfAbsenceRequestDetail.StartDate | |
EndDateLast day of the requested absence. | DateLeaveRequestEndDate | No | Yes | LeaveOfAbsenceRequestDetail.EndDate | |
LeaveTypeIdShort name that identifies the leave type. | String (30)LeaveTypeId | Yes | Yes | LeaveType.Type | |
LeaveTypePoints to the leave type of the absence. | Int64LeaveTypeRecId | Yes | No (private) | LeaveType.RecId | LeaveOfAbsenceRequestDetail.LeaveType |
AmountAmount of leave requested. | RealLeaveRequestAmount | No | Yes | LeaveOfAbsenceRequestDetail.Amount | |
SecondHalfOfStartDateYes/No flag. When set, the request covers only the second half of the first day of leave. | Enum
| No | Yes | LeaveOfAbsenceRequestDetail.SecondHalfOfStartDate | |
FirstHalfOfEndDateYes/No flag. When set, the request covers only the first half of the last day of leave. | Enum
| No | Yes | LeaveOfAbsenceRequestDetail.FirstHalfOfEndDate | |
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 | |
PreviousRequestPoints to the earlier leave request that this one changes or cancels. | Int64LeaveRequestRecId | No | No (private) | LeaveRequest.RecId | LeaveOfAbsenceRequestDetail.PreviousRequest |
PreviousRequestIdIdentifier of the leave request. | String (20)LeaveRequestId | No | Yes | LeaveRequest.RequestId |
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.
Worker→HcmWorker.RecId(key of HcmWorker)Many LeaveRequest records → exactly one HcmWorker record
HcmWorker details: see TrvExpMobileUserDisplayInfoEntity, BusinessProcessHeaderEntity, HcmInjuryIncidentEntity
LeaveType→LeaveType.RecId(key of LeaveType)Many LeaveOfAbsenceRequestDetail records → exactly one LeaveType record
LeaveType details: see LeaveTypeEntity, EssLeaveBalanceEntity, LeaveBalanceActiveEntity
PreviousRequest→LeaveRequest.RecId(key of LeaveRequest)Many LeaveOfAbsenceRequestDetail records → zero or one LeaveRequest record
LeaveRequest details: see LeaveOfAbsenceRequestEntity, LeaveRequestEntity, LeaveRequestV2Entity
Need help with EssLoaRequestEntity in Power BI, Power Automate or a migration? Talk to Dr Dynamics.