Data entity
MssLeaveRequestDateEntity
Read-only list of leave request days for manager self service. Each row is one leave type on one date within a request. It shows the amount, half day definition, status and personnel numbers. It is joined to the manager's reporting workers view.
- Entity name
MssLeaveRequestDateEntity- Public entity name
MssLeaveRequestDate- OData collection
MssLeaveRequestDates- Category
Document- Module
HRM- Read-only
Yes- Data management enabled
No- Configuration key
None- Keys
RequestId, LeaveTypeId, LeaveDate- Staging table
None
Use it in Power BI and Power Platform
- OData URL
https://<environment>/data/MssLeaveRequestDates- Dataverse virtual table
mserp_mssleaverequestdateentity. 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
LeaveRequestDetail· rootLeaveType· InnerJoin toLeaveRequestDetail· read-onlyLeaveRequest· InnerJoin toLeaveRequestDetail· read-onlyHcmManagerLineReportingWorkersView· InnerJoin toLeaveRequestManager(tableHcmWorker) · InnerJoin toHcmManagerLineReportingWorkersViewHcmWorker· InnerJoin toLeaveRequest· read-only
Fields (13)
| Field and description | Type / EDT / enum | Mandatory | OData / Dataverse | References | Lineage root |
|---|---|---|---|---|---|
RequestIdIdentifier of the leave request. | String (20)LeaveRequestId | Yes | Yes | LeaveRequest.RequestId | |
LeaveTypeIdShort name that identifies the leave type. | String (30)LeaveTypeId | Yes | Yes | LeaveType.Type | |
LeaveDateDate of the leave on this line. | DateLeaveDate | Yes | Yes | LeaveRequestDetail.LeaveDate | |
AmountAmount of leave taken on this date. | RealLeaveRequestAmount | No | Yes | LeaveRequestDetail.Amount | |
HalfDayDefinitionShows whether the leave is for the first half of the day, the second half, or neither. | Enum
| No | Yes | LeaveRequestDetail.HalfDayDefinition | |
LeaveTypePoints to the leave type taken on this date. | Int64LeaveTypeRecId | Yes | No (private) | LeaveType.RecId | LeaveRequestDetail.LeaveType |
RequestA unique number that the system gives to every record. Other tables often use it to point to this record. | Int64RecId | No | No (private) | LeaveRequest.RecId | |
WorkerPoints to the worker the request is for. | Int64HcmWorkerRecId | Yes | No (private) | HcmWorker.RecId | LeaveRequest.Worker |
RequestDetailPoints to the leave request that this line belongs to. | Int64LeaveRequestRecId | Yes | No (private) | LeaveRequest.RecId | LeaveRequestDetail.Request |
ManagerWorkerThe worker who holds the position. | Int64HcmWorkerRecId | Yes | No (private) | HcmWorker.RecId | HcmPositionWorkerAssignment.Worker |
ManagerPersonnelNumberNumber that identifies the worker within the organisation. | String (25)HcmPersonnelNumberId | No | Yes | HcmWorker.PersonnelNumber | |
PersonnelNumberNumber that identifies the worker within the organisation. | String (25)HcmPersonnelNumberId | No | Yes | HcmWorker.PersonnelNumber | |
LeaveRequestStatusApproval status of the request, for example Draft, Submitted, Approved or Completed. | Enum
| Yes | Yes | LeaveRequest.Status |
Foreign keys (4)
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 LeaveRequestDetail records → exactly one LeaveType record
LeaveType details: see LeaveTypeEntity, EssLeaveBalanceEntity, LeaveBalanceActiveEntity
Worker→HcmWorker.RecId(key of HcmWorker)Many LeaveRequest records → exactly one HcmWorker record
HcmWorker details: see TrvExpMobileUserDisplayInfoEntity, BusinessProcessHeaderEntity, HcmInjuryIncidentEntity
RequestDetail→LeaveRequest.RecId(key of LeaveRequest)Many LeaveRequestDetail records → exactly one LeaveRequest record
LeaveRequest details: see LeaveOfAbsenceRequestEntity, LeaveRequestEntity, LeaveRequestV2Entity
ManagerWorker→HcmWorker.RecId(key of HcmWorker)Many HcmPositionWorkerAssignment records → exactly one HcmWorker record
HcmWorker details: see TrvExpMobileUserDisplayInfoEntity, BusinessProcessHeaderEntity, HcmInjuryIncidentEntity
Need help with MssLeaveRequestDateEntity in Power BI, Power Automate or a migration? Talk to Dr Dynamics.