Table

LeaveEnrollment

Leave and absence enrollment

Holds the enrolment of a worker in a leave and absence plan. It is keyed by worker, plan and enrolment date. It also holds the end date and the dates that drive accrual tiers and accrual periods.

Table name
LeaveEnrollment
Module
Cross-module and platform
Table group
Miscellaneous
Table type
Regular
Data per company
Yes
Configuration key
None
Primary index
None
Replacement key
WorkerPlanIdx
Key fields
Worker, Plan, StartDate
Model
Leave

Fields (14)

Field and descriptionType / EDT / enumMandatoryReferencesIn public entities
WorkerPoints to the enrolled worker.Int64
HcmWorkerRecId
YesHcmWorker.RecIdLeaveEnrollmentV2EntityLeaveEnrollmentEntityEssLeaveBalanceEntityand 2 more
PlanPoints to the leave and absence plan the worker is enrolled in.Int64
LeavePlanRecId
YesLeavePlan.RecIdLeaveEnrollmentV2EntityLeaveEnrollmentEntity
StartDateDate on which the worker was enrolled in the plan.Date
LeaveStartDate
YesLeaveEnrollmentV2EntityLeaveEnrollmentEntity
AccrualDateBasisDate used as the starting point for accrual periods. It also acts as the anniversary date for carry-forward balances.Date
LeaveDate
NoLeaveEnrollmentV2EntityLeaveEnrollmentEntity
AccrualStartDateDate from which accruals begin for this enrolment.Date
LeaveDate
YesLeaveEnrollmentV2EntityLeaveEnrollmentEntityLeaveBalanceActiveEntityand 1 more
CustomDateCustom date for the enrolment. It is presumably used when the tier basis is a custom date.low confidenceDate
LeaveDate
NoLeaveEnrollmentV2EntityLeaveEnrollmentEntity
DataAreaIdThe company (legal entity) that the record belongs to. System field.String (4)
DataAreaId
NoNone
EndDateDate on which the enrolment ends.Date
LeaveEndDate
YesLeaveEnrollmentV2EntityLeaveEnrollmentEntity
IsAccrualSuspendedYes/No flag. When Yes, accruals are not processed for this enrolment.Enum
NoYes (enum)
NoLeaveEnrollmentV2EntityLeaveEnrollmentEntity
PartitionA system field for the data partition. In most environments every record has the same value. System field.Int64
Partition
NoNone
RecIdA unique number that the system gives to every record. Other tables often use it to point to this record. System field.Int64
RecId
NoNone
RecVersionA system number that changes each time the record is updated. It is used to detect conflicting updates. System field.Integer
RecVersion
NoNone
TableIdA system number that identifies the table. System field.Integer
TableId
NoNone
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 (enum)
YesLeaveEnrollmentV2EntityLeaveEnrollmentEntity

Indexes (2)

Relations (2)

Each relation joins LeaveEnrollment to another table on the fields shown.

  • HcmWorker → HcmWorker

    Join on Worker = HcmWorker.RecId

    Many LeaveEnrollment records → exactly one HcmWorker record

  • LeavePlan → LeavePlan

    Join on Plan = LeavePlan.RecId

    Many LeaveEnrollment records → exactly one LeavePlan record

Get this data out

Tables are not exposed directly. These public entities read from LeaveEnrollment; use one of them in Power BI, Power Platform or a data management project.

Need help with LeaveEnrollment in a report, an integration or a migration? Talk to Dr Dynamics.

Email sales@drdynamics.co.uk