Data entity

LeaveEnrollmentEntity

Holds the enrolment of workers in leave and absence plans. Each row is keyed by personnel number, plan and start date. It has the enrolment and end dates, accrual start date, accrual date basis, tier basis, a custom date and a switch to turn off accrual. It also shows the leave type.

Entity name
LeaveEnrollmentEntity
Public entity name
LeaveEnrollment
OData collection
LeaveEnrollments
Category
Not set
Module
HRM
Read-only
No
Data management enabled
Yes
Configuration key
LeaveAbsence
Keys
PersonnelNumber, LeavePlanId, StartDate
Staging table
LeaveEnrollmentStaging

Use it in Power BI and Power Platform

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

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

Fields (12)

Field and descriptionType / EDT / enumMandatoryOData / DataverseReferencesLineage root
WorkerPoints to the enrolled worker.Int64
HcmWorkerRecId
YesNo (private)HcmWorker.RecIdLeaveEnrollment.Worker
LeavePlanPoints to the leave and absence plan the worker is enrolled in.Int64
LeavePlanRecId
YesNo (private)LeavePlan.RecIdLeaveEnrollment.Plan
IsAccrualSuspendedYes/No flag. When Yes, accruals are not processed for this enrolment.Enum
NoYes

Platform enum: values not in the metadata extract.

NoYesLeaveEnrollment.IsAccrualSuspended
TierBasisChoice of which date is used to place the worker in the plan's tiers, such as hire date, anniversary date or hours worked.Enum
LeaveTierBasis
  • CustomDate 2
  • AdjustedWorkerStartDate 6
  • AnniversaryDate 4
  • EmploymentStartDate 0
  • OriginalHireDate 5
  • HoursWorked 3
  • SeniorityDate 1
YesYesLeaveEnrollment.TierBasis
CustomDateCustom date for the enrolment. It is presumably used when the tier basis is a custom date.low confidenceDate
LeaveDate
NoYesLeaveEnrollment.CustomDate
StartDateDate on which the worker was enrolled in the plan.Date
LeaveStartDate
YesYesLeaveEnrollment.StartDate
EndDateDate on which the enrolment ends.Date
LeaveEndDate
YesYesLeaveEnrollment.EndDate
AccrualStartDateDate from which accruals begin for this enrolment.Date
LeaveDate
YesYesLeaveEnrollment.AccrualStartDate
AccrualDateBasisDate used as the starting point for accrual periods. It also acts as the anniversary date for carry-forward balances.Date
LeaveDate
NoYesLeaveEnrollment.AccrualDateBasis
PersonnelNumberNumber that identifies the worker within the organisation.String (25)
HcmPersonnelNumberId
NoYesHcmWorker.PersonnelNumber
LeavePlanIdShort name that identifies the plan.String (30)
LeavePlanName
YesYesLeavePlan.Name
LeaveTypeShort name that identifies the leave type.String (30)
LeaveTypeId
YesYesLeaveType.Type

Foreign keys (2)

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

Email sales@drdynamics.co.uk