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 description | Type / EDT / enum | Mandatory | References | In public entities |
|---|---|---|---|---|
WorkerPoints to the enrolled worker. | Int64HcmWorkerRecId | Yes | HcmWorker.RecId | LeaveEnrollmentV2EntityLeaveEnrollmentEntityEssLeaveBalanceEntityand 2 more |
PlanPoints to the leave and absence plan the worker is enrolled in. | Int64LeavePlanRecId | Yes | LeavePlan.RecId | LeaveEnrollmentV2EntityLeaveEnrollmentEntity |
StartDateDate on which the worker was enrolled in the plan. | DateLeaveStartDate | Yes | LeaveEnrollmentV2EntityLeaveEnrollmentEntity | |
AccrualDateBasisDate used as the starting point for accrual periods. It also acts as the anniversary date for carry-forward balances. | DateLeaveDate | No | LeaveEnrollmentV2EntityLeaveEnrollmentEntity | |
AccrualStartDateDate from which accruals begin for this enrolment. | DateLeaveDate | Yes | LeaveEnrollmentV2EntityLeaveEnrollmentEntityLeaveBalanceActiveEntityand 1 more | |
CustomDateCustom date for the enrolment. It is presumably used when the tier basis is a custom date.low confidence | DateLeaveDate | No | LeaveEnrollmentV2EntityLeaveEnrollmentEntity | |
DataAreaIdThe company (legal entity) that the record belongs to. System field. | String (4)DataAreaId | No | None | |
EndDateDate on which the enrolment ends. | DateLeaveEndDate | Yes | LeaveEnrollmentV2EntityLeaveEnrollmentEntity | |
IsAccrualSuspendedYes/No flag. When Yes, accruals are not processed for this enrolment. | EnumNoYes (enum) | No | LeaveEnrollmentV2EntityLeaveEnrollmentEntity | |
PartitionA system field for the data partition. In most environments every record has the same value. System field. | Int64Partition | No | None | |
RecIdA unique number that the system gives to every record. Other tables often use it to point to this record. System field. | Int64RecId | No | None | |
RecVersionA system number that changes each time the record is updated. It is used to detect conflicting updates. System field. | IntegerRecVersion | No | None | |
TableIdA system number that identifies the table. System field. | IntegerTableId | No | None | |
TierBasisChoice of which date is used to place the worker in the plan's tiers, such as hire date, anniversary date or hours worked. | EnumLeaveTierBasis (enum) | Yes | LeaveEnrollmentV2EntityLeaveEnrollmentEntity |
Indexes (2)
Relations (2)
Each relation joins LeaveEnrollment to another table on the fields shown.
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.
LeaveEnrollmentV2Entity· 9 fields from this tableLeaveEnrollmentEntity· 9 fields from this tableEssLeaveBalanceEntity· 1 field from this tableLeaveBalanceActiveEntity· 2 fields from this tableLeaveBalanceEntity· 2 fields from this table
Need help with LeaveEnrollment in a report, an integration or a migration? Talk to Dr Dynamics.