Data entity

LeavePlanV2Entity

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

Entity name
LeavePlanV2Entity
Public entity name
LeavePlanV2
OData collection
LeavePlansV2
Category
Not set
Module
HRM
Read-only
No
Data management enabled
Yes
Configuration key
LeaveAbsence
Keys
Name
Staging table
LeavePlanV2Staging

Use it in Power BI and Power Platform

OData URL
https://<environment>/data/LeavePlansV2
Dataverse virtual table
mserp_leaveplanv2entity. 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 · OuterJoin to LeavePlan · read-only

Fields (13)

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
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
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
LeaveTypeIdShort name that identifies the leave type.String (30)
LeaveTypeId
NoYesLeaveType.Type

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

Email sales@drdynamics.co.uk