Data entity

EssLeaveRequestAssignedHeaderEntity

Holds leave requests for employee self-service. Each request is identified by its request ID. It stores the status, submission date, comment and reason code, and who submitted it (the worker, a manager or Human Resources). It links to the worker, the person and the reason code.

Entity name
EssLeaveRequestAssignedHeaderEntity
Public entity name
EssLeaveRequestAssignedHeader
OData collection
EssLeaveRequestAssignedHeaders
Category
Document
Module
Other (no module in the metadata)
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/EssLeaveRequestAssignedHeaders
Dataverse virtual table
mserp_essleaverequestassignedheaderentity. 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
  • DirPerson_FK (table DirPerson) · InnerJoin to HcmWorker · read-only
  • HcmReasonCode · OuterJoin to LeaveRequest · read-only

Fields (16)

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
YesYesHcmReasonCode.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
SubmittedByUserUser ID of the person who submitted the request. It relates to the user table.String
UserId
NoYesLeaveRequest.SubmittedByUser
LeaveClassificationShows whether the request is for time off or for a leave of absence.Enum
LeaveClassification
  • TimeOff 0
  • LeaveOfAbsence 1
NoYesLeaveRequest.LeaveClassification
RequestA unique number that the system gives to every record. Other tables often use it to point to this record.Int64
RecId
NoYesLeaveRequest.RecId
WorkerPoints to the worker the request is for.Int64
HcmWorkerRecId
YesNo (private)HcmWorker.RecIdLeaveRequest.Worker
StartDateThe first day of the leave request.Date
LeaveStartDate
NoYescomputed
EndDateThe last day of the leave request.Date
LeaveEndDate
NoYescomputed
RequestTableIdWhole number that identifies the table holding the request. The metadata gives no further meaning.low confidenceIntegerNoNo (private)computed

Foreign keys (1)

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

Email sales@drdynamics.co.uk