Data entity
LeaveBalanceActiveEntity
Read-only list of leave balances for workers, one row per worker and balance type. It shows the worker's name, personnel number, accrual start date and the remaining balance. It also has a flag to hide the leave balance. The name suggests it covers active workers, but the metadata does not state this.low confidence
- Entity name
LeaveBalanceActiveEntity- Public entity name
LeaveBalanceActive- OData collection
LeaveBalancesActive- Category
Document- Module
HRM- Read-only
Yes- Data management enabled
Yes- Configuration key
None- Keys
BalanceType, DataAreaId, FirstName, LastName, MiddleName, PersonnelNumber, Worker- Staging table
LeaveBalanceActiveStaging
Use it in Power BI and Power Platform
- OData URL
https://<environment>/data/LeaveBalancesActive- Dataverse virtual table
mserp_leavebalanceactiveentity. 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
LeaveBalanceDetailsView· root
Fields (9)
| Field and description | Type / EDT / enum | Mandatory | OData / Dataverse | References | Lineage root |
|---|---|---|---|---|---|
BalanceTypeShort name that identifies the leave type. | String (30)LeaveTypeId | Yes | Yes | LeaveType.Type | |
BalanceRemainingThe leave balance for the worker and balance type. The value can be positive or negative. | RealLeaveAmountSigned | No | Yes | computed in view | |
WorkerPoints to the enrolled worker. | Int64HcmWorkerRecId | Yes | Yes | HcmWorker.RecId | LeaveEnrollment.Worker |
AccrualStartDateDate from which accruals begin for this enrolment. | DateLeaveDate | Yes | Yes | LeaveEnrollment.AccrualStartDate | |
FirstNameFirst name of the person. | String (50)FirstName | No | Yes | DirPersonName.FirstName | |
MiddleNameMiddle name of the person. | String (50)MiddleName | No | Yes | DirPersonName.MiddleName | |
LastNameLast name of the person. | String (50)LastName | No | Yes | DirPersonName.LastName | |
PersonnelNumberNumber that identifies the worker within the organisation. | String (25)HcmPersonnelNumberId | No | Yes | HcmWorker.PersonnelNumber | |
HideLeaveBalancesYes/No flag. When Yes, workers do not see their balance for this leave type. | Enum
| No | Yes | LeaveType.HideLeaveBalances |
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.
Worker→HcmWorker.RecId(key of HcmWorker)Many LeaveEnrollment records → exactly one HcmWorker record
HcmWorker details: see TrvExpMobileUserDisplayInfoEntity, BusinessProcessHeaderEntity, HcmInjuryIncidentEntity
Need help with LeaveBalanceActiveEntity in Power BI, Power Automate or a migration? Talk to Dr Dynamics.