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· rootLeaveType· InnerJoin toLeavePlan· read-only
Fields (14)
| Field and description | Type / EDT / enum | Mandatory | OData / Dataverse | References | Lineage root |
|---|---|---|---|---|---|
NameShort name that identifies the plan. | String (30)LeavePlanName | Yes | Yes | LeavePlan.Name | |
DescriptionFree-text description of the plan. | String (60)HrmDescription | No | Yes | LeavePlan.Description | |
LeaveTypePoints to the leave type that the plan covers. | Int64LeaveTypeRecId | No | No (private) | LeaveType.RecId | LeavePlan.Type |
StartDateDate from which the plan is active. It can also serve as the basis for accrual periods. | DateLeaveDate | Yes | Yes | LeavePlan.StartDate | |
AccrualFrequencyHow often leave accrues, for example daily, weekly, monthly or annually. | Enum
| Yes | Yes | LeavePlan.AccrualFrequency | |
AccrualPeriodBasisChoice of whether accrual periods follow the plan start date or a date specific to each employee. | Enum
| No | Yes | LeavePlan.AccrualPeriodBasis | |
LeaveTypeIdShort name that identifies the leave type. | String (30)LeaveTypeId | Yes | Yes | LeaveType.Type | |
EmployeeSpecificDateFieldNameName of the field that holds the employee-specific date used for accrual periods. The metadata gives no label.low confidence | StringFieldName | No | Yes | LeavePlan.EmployeeSpecificDateFieldName | |
EmployeeSpecificDateTableNameName of the table that holds the employee-specific date used for accrual periods. The metadata gives no label.low confidence | StringTableName | No | Yes | LeavePlan.EmployeeSpecificDateTableName | |
AccrualTypeShows whether accrual is based on months of service or on hours worked. | Enum
| No | Yes | LeavePlan.AccrualType | |
HoursWorkedTypeShows whether regular or overtime hours are counted for accrual. | Enum
| No | Yes | LeavePlan.HoursWorkedType | |
EnrollmentAccrualPolicyRule for accrual when a worker enrols part-way through an accrual period: prorated, full or none. | Enum
| No | Yes | LeavePlan.EnrollmentAccrualPolicy | |
UnenrollmentAccrualPolicyRule for accrual when a worker leaves the plan part-way through an accrual period: prorated, full or none. | Enum
| No | Yes | LeavePlan.UnenrollmentAccrualPolicy | |
AccrualAwardDateBasisShows whether accrued leave is awarded at the start or at the end of the accrual period. | Enum
| No | Yes | LeavePlan.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.
LeaveType→LeaveType.RecId(key of LeaveType)Many LeavePlan records → zero or one LeaveType record
LeaveType details: see LeaveTypeEntity, EssLeaveBalanceEntity, LeaveBalanceActiveEntity
Need help with LeavePlanEntity in Power BI, Power Automate or a migration? Talk to Dr Dynamics.