Data entity
EssLeaveBalanceEntity
Read-only leave balances for employee self-service. Each record is for one worker and one leave type. It shows the available balance, accrual rate, last carry-forward amount, and the amounts taken and totalled this year.
- Entity name
EssLeaveBalanceEntity- Public entity name
EssLeaveBalance- OData collection
EssLeaveBalances- Category
Reference- Module
HRM- Read-only
Yes- Data management enabled
Yes- Configuration key
None- Keys
PersonnelNumber, LeaveTypeId- Staging table
EssLeaveBalanceStaging
Use it in Power BI and Power Platform
- OData URL
https://<environment>/data/EssLeaveBalances- Dataverse virtual table
mserp_essleavebalanceentity. 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 · read-onlyHcmWorker· InnerJoin toLeaveEnrollment· read-onlyDirPerson_FK(tableDirPerson) · InnerJoin toHcmWorker· read-onlyLeavePlan· InnerJoin toLeaveEnrollmentLeavePlanTypesUnionView· InnerJoin toLeavePlan· read-onlyLeaveType· InnerJoin toLeavePlanTypesUnionViewLeaveEnrollmentComputedColumnView· InnerJoin toLeaveEnrollment· read-only
Fields (10)
| Field and description | Type / EDT / enum | Mandatory | OData / Dataverse | References | Lineage root |
|---|---|---|---|---|---|
WorkerPoints to the enrolled worker. | Int64HcmWorkerRecId | Yes | No (private) | HcmWorker.RecId | LeaveEnrollment.Worker |
PersonnelNumberNumber that identifies the worker within the organisation. | String (25)HcmPersonnelNumberId | No | Yes | HcmWorker.PersonnelNumber | |
BalanceAvailableThe leave balance the worker still has available. | Real | No | Yes | virtual | |
LeaveTypePoints to the leave type that the plan covers. | Int64LeaveTypeRecId | No | No (private) | LeaveType.RecId | LeavePlan.Type |
LeaveTypeIdShort name that identifies the leave type. | String (30)LeaveTypeId | Yes | Yes | LeaveType.Type | |
AccrualRateDescriptionText that describes the rate at which leave builds up. | String (30)LeaveAccrualRateDescription | No | Yes | virtual | |
LastCarryForwardAmountThe amount of leave carried forward the last time, as a signed number. | RealLeaveAmountSigned | No | Yes | virtual | |
TakenThisYearThe amount of leave the worker has taken this year, as a signed number. | RealLeaveAmountSigned | No | Yes | virtual | |
TotalThisYearThe total leave amount for this year.low confidence | Real | No | Yes | virtual | |
HideLeaveBalancesYes/No flag. When Yes, workers do not see their balance for this leave type. | Enum
| No | No (private) | LeaveType.HideLeaveBalances |
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.
Worker→HcmWorker.RecId(key of HcmWorker)Many LeaveEnrollment records → exactly one HcmWorker record
HcmWorker details: see TrvExpMobileUserDisplayInfoEntity, BusinessProcessHeaderEntity, HcmInjuryIncidentEntity
LeaveType→LeaveType.RecId(key of LeaveType)Many LeavePlan records → zero or one LeaveType record
LeaveType details: see LeaveTypeEntity, LeaveBalanceActiveEntity, LeaveBalanceEntity
Need help with EssLeaveBalanceEntity in Power BI, Power Automate or a migration? Talk to Dr Dynamics.