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-only
  • LeaveRequestMain (table LeaveRequest) · InnerJoin to LeaveApprovedRequests · read-only
  • HcmWorker · InnerJoin to LeaveRequestMain · read-only
  • LeaveType · InnerJoin to LeaveApprovedRequests · read-only

Fields (12)

Field and descriptionType / EDT / enumMandatoryOData / DataverseReferencesLineage root
AmountAmount of leave taken on this date.Real
LeaveRequestAmount
NoYesLeaveRequestDetail.Amount
EndDateDate of the leave on this line.Date
LeaveDate
YesYesLeaveRequestDetail.LeaveDate
HalfDayDefinitionShows how a half day is defined for the leave, chosen from a fixed list of values.Enum
LeaveRequestHalfDayDefination
  • None 0
  • FirstHalf 1
  • SecondHalf 2
  • FirstHalfEndDate 3
  • SecondHalfStartDate 4
  • FirstHalfEndDateAndSecondHalfStartDate 5
NoYescomputed in view
LeaveTypePoints to the leave type taken on this date.Int64
LeaveTypeRecId
YesNo (private)LeaveType.RecIdLeaveRequestDetail.LeaveType
RequestPoints to the leave request that this line belongs to.Int64
LeaveRequestRecId
YesNo (private)LeaveRequest.RecIdLeaveRequestDetail.Request
StartDateDate of the leave on this line.Date
LeaveDate
YesYesLeaveRequestDetail.LeaveDate
RequestIdIdentifier of the leave request.String (20)
LeaveRequestId
NoYesLeaveRequest.RequestId
TypeShort name that identifies the leave type.String (30)
LeaveTypeId
YesYesLeaveType.Type
RequestTypeShows whether the type is used for time off or for a leave of absence.Enum
LeaveTypeRequestType
  • TimeOff 0
  • LeaveOfAbsence 1
YesYesLeaveType.RequestType
PersonnelNumberNumber that identifies the worker within the organisation.String (25)
HcmPersonnelNumberId
NoYesHcmWorker.PersonnelNumber
WorkerPoints to the worker the request is for.Int64
HcmWorkerRecId
YesNo (private)HcmWorker.RecIdLeaveRequest.Worker
LeaveUnitShows the unit in which the leave amount is measured, chosen from a fixed list of values.Enum
LeaveAmountUnit
  • Hours 0
  • Days 1
NoYesvirtual

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 EssLeaveApprovedRequestEntity in Power BI, Power Automate or a migration? Talk to Dr Dynamics.

Email sales@drdynamics.co.uk