Data entity

LeavePlanEntity

Holds leave and absence plans, keyed by plan name. It has a description, start date, accrual frequency, accrual period basis, accrual type and type of hours. It also holds accrual policies for enrolment and unenrolment, the accrual award date and the leave type.

Entity name
LeavePlanEntity
Public entity name
LeavePlan
OData collection
LeavePlans
Category
Not set
Module
HRM
Read-only
No
Data management enabled
Yes
Configuration key
LeaveAbsence
Keys
Name
Staging table
LeavePlanStaging

Use it in Power BI and Power Platform

OData URL
https://<environment>/data/LeavePlans
Dataverse virtual table
mserp_leaveplanentity. Listed in the virtual-table catalogue. An administrator must make the virtual table visible before you can use it.
Data management
Enabled: you can use it in import and export projects.

Data sources

  • LeavePlan · root
  • LeaveType · InnerJoin to LeavePlan · read-only

Fields (14)

Field and descriptionType / EDT / enumMandatoryOData / DataverseReferencesLineage root
NameShort name that identifies the plan.String (30)
LeavePlanName
YesYesLeavePlan.Name
DescriptionFree-text description of the plan.String (60)
HrmDescription
NoYesLeavePlan.Description
LeaveTypePoints to the leave type that the plan covers.Int64
LeaveTypeRecId
NoNo (private)LeaveType.RecIdLeavePlan.Type
StartDateDate from which the plan is active. It can also serve as the basis for accrual periods.Date
LeaveDate
YesYesLeavePlan.StartDate
AccrualFrequencyHow often leave accrues, for example daily, weekly, monthly or annually.Enum
LeavePlanAccrualFrequency
  • None 0
  • Daily 1
  • Weekly 2
  • Biweekly 3
  • Semimonthly 4
  • Monthly 5
  • Quarterly 6
  • Semiannually 7
  • Annually 8
  • NoAccruals 9
YesYesLeavePlan.AccrualFrequency
AccrualPeriodBasisChoice of whether accrual periods follow the plan start date or a date specific to each employee.Enum
LeavePlanAccrualPeriodBasis
  • PlanStartDate 0
  • EmployeeSpecificDate 1
NoYesLeavePlan.AccrualPeriodBasis
LeaveTypeIdShort name that identifies the leave type.String (30)
LeaveTypeId
YesYesLeaveType.Type
EmployeeSpecificDateFieldNameName of the field that holds the employee-specific date used for accrual periods. The metadata gives no label.low confidenceString
FieldName
NoYesLeavePlan.EmployeeSpecificDateFieldName
EmployeeSpecificDateTableNameName of the table that holds the employee-specific date used for accrual periods. The metadata gives no label.low confidenceString
TableName
NoYesLeavePlan.EmployeeSpecificDateTableName
AccrualTypeShows whether accrual is based on months of service or on hours worked.Enum
LeavePlanAccrualType
  • MonthsOfService 0
  • HoursWorked 1
NoYesLeavePlan.AccrualType
HoursWorkedTypeShows whether regular or overtime hours are counted for accrual.Enum
LeaveHoursWorkedType
  • Regular 0
  • Overtime 1
NoYesLeavePlan.HoursWorkedType
EnrollmentAccrualPolicyRule for accrual when a worker enrols part-way through an accrual period: prorated, full or none.Enum
LeavePlanAccrualPolicy
  • Prorated 0
  • FullAccrual 1
  • NoAccrual 2
NoYesLeavePlan.EnrollmentAccrualPolicy
UnenrollmentAccrualPolicyRule for accrual when a worker leaves the plan part-way through an accrual period: prorated, full or none.Enum
LeavePlanAccrualPolicy
  • Prorated 0
  • FullAccrual 1
  • NoAccrual 2
NoYesLeavePlan.UnenrollmentAccrualPolicy
AccrualAwardDateBasisShows whether accrued leave is awarded at the start or at the end of the accrual period.Enum
LeaveAccrualAwardDateBasis
  • AccrualPeriodEndDate 0
  • AccrualPeriodStartDate 1
NoYesLeavePlan.AccrualAwardDateBasis

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

Email sales@drdynamics.co.uk