Data entity
MssLeaveTimeOffDateEntity
Read-only list of leave and time off dates per worker, for manager self service. It is built from the leave request calendar. The key is the date, personnel number and leave type. It is joined to the manager's reporting workers view.
- Entity name
MssLeaveTimeOffDateEntity- Public entity name
MssLeaveTimeOffDate- OData collection
MssLeaveTimeOffDates- Category
Transaction- Module
HRM- Read-only
Yes- Data management enabled
No- Configuration key
None- Keys
LeaveDate, PersonnelNumber, LeaveTypeId- Staging table
None
Use it in Power BI and Power Platform
- OData URL
https://<environment>/data/MssLeaveTimeOffDates- Dataverse virtual table
mserp_mssleavetimeoffdateentity. Listed in the virtual-table catalogue. An administrator must make the virtual table visible before you can use it.- Data management
- Not enabled for import and export projects.
Data sources
LeaveRequestCalendar· rootLeaveType· InnerJoin toLeaveRequestCalendarHcmWorker· InnerJoin toLeaveRequestCalendar· read-onlyHcmManagerLineReportingWorkersView· InnerJoin toLeaveRequestCalendarManager(tableHcmWorker) · InnerJoin toHcmManagerLineReportingWorkersView
Fields (9)
| Field and description | Type / EDT / enum | Mandatory | OData / Dataverse | References | Lineage root |
|---|---|---|---|---|---|
AmountSigned amount of leave taken on the date. | RealLeaveAmountSigned | No | Yes | computed in view | |
HalfDayDefinitionSays whether the leave covers a half day, using a fixed list of values. | Enum
| No | Yes | computed in view | |
LeaveDateDate of the transaction. | DateLeaveDate | Yes | Yes | LeaveBankTransaction.TransactionDate | |
LeaveTypeThe leave type of the transaction. Points to the leave type record. | Int64LeaveTypeRecId | Yes | No (private) | LeaveType.RecId | LeaveBankTransaction.LeaveType |
WorkerThe worker the transaction belongs to. Points to the worker record. | Int64HcmWorkerRecId | Yes | No (private) | HcmWorker.RecId | LeaveBankTransaction.Worker |
LeaveTypeIdShort name that identifies the leave type. | String (30)LeaveTypeId | Yes | Yes | LeaveType.Type | |
PersonnelNumberNumber that identifies the worker within the organisation. | String (25)HcmPersonnelNumberId | No | Yes | HcmWorker.PersonnelNumber | |
ManagerPersonnelNumberNumber that identifies the worker within the organisation. | String (25)HcmPersonnelNumberId | No | Yes | HcmWorker.PersonnelNumber | |
ManagerWorkerThe worker who holds the position. | Int64HcmWorkerRecId | Yes | No (private) | HcmWorker.RecId | HcmPositionWorkerAssignment.Worker |
Foreign keys (3)
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.
LeaveType→LeaveType.RecId(key of LeaveType)Many LeaveBankTransaction records → exactly one LeaveType record
LeaveType details: see LeaveTypeEntity, EssLeaveBalanceEntity, LeaveBalanceActiveEntity
Worker→HcmWorker.RecId(key of HcmWorker)Many LeaveBankTransaction records → exactly one HcmWorker record
HcmWorker details: see TrvExpMobileUserDisplayInfoEntity, BusinessProcessHeaderEntity, HcmInjuryIncidentEntity
ManagerWorker→HcmWorker.RecId(key of HcmWorker)Many HcmPositionWorkerAssignment records → exactly one HcmWorker record
HcmWorker details: see TrvExpMobileUserDisplayInfoEntity, BusinessProcessHeaderEntity, HcmInjuryIncidentEntity
Need help with MssLeaveTimeOffDateEntity in Power BI, Power Automate or a migration? Talk to Dr Dynamics.