Data entity

EssLeaveTypeEntity

Read-only list of leave and absence types, one row per leave type ID. It carries the description, category, unit and request rules such as whether a reason code or attachment is needed. It also holds the settings for open-ended leave and for holidays and closed days. It joins to the HR parameters.

Entity name
EssLeaveTypeEntity
Public entity name
EssLeaveType
OData collection
EssLeaveTypes
Category
Reference
Module
HRM
Read-only
Yes
Data management enabled
No
Configuration key
None
Keys
LeaveTypeId
Staging table
None

Use it in Power BI and Power Platform

OData URL
https://<environment>/data/EssLeaveTypes
Dataverse virtual table
mserp_essleavetypeentity. 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

  • LeaveType · root
  • hcmParametersEntity · OuterJoin to LeaveType · read-only

Fields (20)

Field and descriptionType / EDT / enumMandatoryOData / DataverseReferencesLineage root
LeaveTypeIdShort name that identifies the leave type.String (30)
LeaveTypeId
YesYesLeaveType.Type
DescriptionFree-text description of the leave type.String (60)
HrmDescription
NoYesLeaveType.Description
CategoryShows whether the leave is scheduled, unscheduled or has no category.Enum
LeaveTypeCategory
  • None 0
  • Scheduled 0
  • Unscheduled 0
NoYesLeaveType.Category
IsReasonCodeRequiredYes/No flag: when on, time off requests of this leave type cannot be submitted without a reason code.low confidenceEnum
NoYes

Platform enum: values not in the metadata extract.

NoYesLeaveType.IsReasonCodeRequired
EnableHalfDayDefinitionTells whether workers may say which half of a day they are away.Enum
NoYes

Platform enum: values not in the metadata extract.

NoYesvirtual
LeaveAmountUnitThe unit in which leave amounts are measured, such as days or hours. It applies to all leave processes and is fixed once leave amounts exist.Enum
LeaveAmountUnit
  • Hours 0
  • Days 1
NoYesvirtual
LeaveAmountUnitFromLeaveTypeUnit for all leave amounts of this type: hours or days.Enum
LeaveAmountUnit
  • Hours 0
  • Days 1
NoNo (private)LeaveType.LeaveAmountUnit
EnableHalfDayDefinitionFromLeaveTypeYes/No flag. When Yes, workers can say which half of the day they are away.Enum
NoYes

Platform enum: values not in the metadata extract.

NoNo (private)LeaveType.EnableHalfDayDefinition
EnableHalfDayDefinitionFromParametersEntityYes/No flag that lets workers state which half of the day they are out.Enum
NoYes

Platform enum: values not in the metadata extract.

NoNo (private)HRMParameters.EnableHalfDayDefinition
LeaveAmountUnitFromParametersEntityUnit used for leave and absence amounts: hours or days.Enum
LeaveAmountUnit
  • Hours 0
  • Days 1
NoNo (private)HRMParameters.LeaveAmountUnit
IsAttachmentRequiredYes/No flag showing whether documents must be attached to requests of this type.Enum
NoYes

Platform enum: values not in the metadata extract.

NoYesLeaveType.IsAttachmentRequired
IsOpenEndedYes/No flag. When Yes, open-ended leave of absence requests are allowed.Enum
NoYes

Platform enum: values not in the metadata extract.

NoYesLeaveType.IsOpenEnded
RequestTypeShows whether the type is used for time off or for a leave of absence.Enum
LeaveTypeRequestType
  • TimeOff 0
  • LeaveOfAbsence 1
YesYesLeaveType.RequestType
AttachmentRequiredOnCancelYes/No flag showing whether an attachment is needed when a leave request is cancelled.Enum
NoYes

Platform enum: values not in the metadata extract.

NoYesLeaveType.AttachmentRequiredOnCancel
AttachmentRequiredOnCreateYes/No flag showing whether an attachment is needed when a leave request is created.Enum
NoYes

Platform enum: values not in the metadata extract.

NoYesLeaveType.AttachmentRequiredOnCreate
AttachmentRequiredOnUpdateYes/No flag showing whether an attachment is needed when a leave request is updated.Enum
NoYes

Platform enum: values not in the metadata extract.

NoYesLeaveType.AttachmentRequiredOnUpdate
IncludeWeekendAndHolidaysYes/No flag showing whether closed days and holidays count in a request.Enum
NoYes

Platform enum: values not in the metadata extract.

NoYesLeaveType.IncludeWeekendAndHolidays
IncludeHolidaysYes/No flag showing whether holidays count in a request.Enum
NoYes

Platform enum: values not in the metadata extract.

NoYesLeaveType.IncludeHolidays
IncludeClosedDaysYes/No flag showing whether closed days count in a request.Enum
NoYes

Platform enum: values not in the metadata extract.

NoYesLeaveType.IncludeClosedDays
ClosedDaysWorkingHoursNumber of hours that count as one closed day. It must be above 0 and not more than 24.Real
ClosedDaysWorkingHours
NoYesLeaveType.ClosedDaysWorkingHours

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

Email sales@drdynamics.co.uk