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 · root
  • HcmWorker · InnerJoin to LeaveRequest · read-only
  • HcmReasonCode · OuterJoin to LeaveRequest · read-only
  • LeaveOfAbsenceRequestDetail · InnerJoin to LeaveRequest
  • LeaveType · InnerJoin to LeaveOfAbsenceRequestDetail · read-only
  • PreviousLeaveRequest (table LeaveRequest) · OuterJoin to LeaveOfAbsenceRequestDetail · read-only

Fields (24)

Field and descriptionType / EDT / enumMandatoryOData / DataverseReferencesLineage root
RequestIdIdentifier of the leave request.String (20)
LeaveRequestId
NoYesLeaveRequest.RequestId
RequestDateDate on which the request was submitted.Date
LeaveRequestDate
NoYesLeaveRequest.RequestDate
StatusApproval status of the request, for example Draft, Submitted, Approved or Completed.Enum
LeaveRequestApprovalStatus
  • Draft 0
  • Submitted 1
  • InReview 2
  • Canceled 3
  • Denied 4
  • Approved 5
  • Failed 6
  • Processing 7
  • ChangeRequested 8
  • Completed 9
YesYesLeaveRequest.Status
CommentFree-text comment on the request.String (-1)
LeaveRequestComment
NoYesLeaveRequest.Comment
ReasonCodeIdCode that identifies the reason code.String (15)
HcmReasonCodeId
NoYesHcmReasonCode.ReasonCodeId
PersonnelNumberNumber that identifies the worker within the organisation.String (25)
HcmPersonnelNumberId
NoYesHcmWorker.PersonnelNumber
IsSubmittedOnBehalfOfShows whether the request was submitted for another person: Unknown, No or Yes.Enum
UnknownNoYes
  • Unknown 0
  • No 1
  • Yes 2
NoYesLeaveRequest.IsSubmittedOnBehalfOf
IsSubmittedByManagerShows whether a manager submitted the request: Unknown, No or Yes.Enum
UnknownNoYes
  • Unknown 0
  • No 1
  • Yes 2
NoYesLeaveRequest.IsSubmittedByManager
IsSubmittedByHumanResourcesShows whether Human Resources submitted the request: Unknown, No or Yes.Enum
UnknownNoYes
  • Unknown 0
  • No 1
  • Yes 2
NoYesLeaveRequest.IsSubmittedByHumanResources
IsSubmittedByAbsenceManagerShows whether an absence manager submitted the request: Unknown, No or Yes.Enum
UnknownNoYes
  • Unknown 0
  • No 1
  • Yes 2
NoYesLeaveRequest.IsSubmittedByAbsenceManager
SubmittedByUserUser ID of the person who submitted the request. It relates to the user table.String
UserId
NoYesLeaveRequest.SubmittedByUser
RequestA unique number that the system gives to every record. Other tables often use it to point to this record.Int64
RecId
NoNo (private)LeaveRequest.RecId
WorkerPoints to the worker the request is for.Int64
HcmWorkerRecId
YesNo (private)HcmWorker.RecIdLeaveRequest.Worker
StartDateFirst day of the requested absence.Date
LeaveRequestStartDate
NoYesLeaveOfAbsenceRequestDetail.StartDate
EndDateLast day of the requested absence.Date
LeaveRequestEndDate
NoYesLeaveOfAbsenceRequestDetail.EndDate
LeaveTypeIdShort name that identifies the leave type.String (30)
LeaveTypeId
YesYesLeaveType.Type
LeaveTypePoints to the leave type of the absence.Int64
LeaveTypeRecId
YesNo (private)LeaveType.RecIdLeaveOfAbsenceRequestDetail.LeaveType
AmountAmount of leave requested.Real
LeaveRequestAmount
NoYesLeaveOfAbsenceRequestDetail.Amount
SecondHalfOfStartDateYes/No flag. When set, the request covers only the second half of the first day of leave.Enum
NoYes

Platform enum: values not in the metadata extract.

NoYesLeaveOfAbsenceRequestDetail.SecondHalfOfStartDate
FirstHalfOfEndDateYes/No flag. When set, the request covers only the first half of the last day of leave.Enum
NoYes

Platform enum: values not in the metadata extract.

NoYesLeaveOfAbsenceRequestDetail.FirstHalfOfEndDate
CanceledYes/No flag showing whether the request has been cancelled.Enum
NoYes

Platform enum: values not in the metadata extract.

NoYesLeaveOfAbsenceRequestDetail.Canceled
RequestTypeShows whether the request is new, an update or a cancellation.Enum
LeaveRequestType
  • New 0
  • Update 1
  • Cancellation 2
NoYesLeaveOfAbsenceRequestDetail.RequestType
PreviousRequestPoints to the earlier leave request that this one changes or cancels.Int64
LeaveRequestRecId
NoNo (private)LeaveRequest.RecIdLeaveOfAbsenceRequestDetail.PreviousRequest
PreviousRequestIdIdentifier of the leave request.String (20)
LeaveRequestId
NoYesLeaveRequest.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.

Need help with EssLoaRequestEntity in Power BI, Power Automate or a migration? Talk to Dr Dynamics.

Email sales@drdynamics.co.uk