Data entity
LeaveRequestDetailEntity
Holds the daily detail lines of leave requests. Each row is keyed by request ID, leave date and leave type. It shows the amount for that date and the half-day definition.
- Entity name
LeaveRequestDetailEntity- Public entity name
LeaveRequestDetail- OData collection
LeaveRequestDetails- Category
Document- Module
HRM- Read-only
No- Data management enabled
Yes- Configuration key
LeaveAbsence- Keys
RequestId, LeaveDate, Type- Staging table
LeaveRequestDetailStaging
Use it in Power BI and Power Platform
- OData URL
https://<environment>/data/LeaveRequestDetails- Dataverse virtual table
mserp_leaverequestdetailentity. 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
LeaveRequestDetail· rootLeaveType· InnerJoin toLeaveRequestDetail· read-onlyLeaveRequest· InnerJoin toLeaveRequestDetail· read-only
Fields (7)
| Field and description | Type / EDT / enum | Mandatory | OData / Dataverse | References | Lineage root |
|---|---|---|---|---|---|
LeaveTypeRecIdPoints to the leave type taken on this date. | Int64LeaveTypeRecId | Yes | No (private) | LeaveType.RecId | LeaveRequestDetail.LeaveType |
LeaveDateDate of the leave on this line. | DateLeaveDate | Yes | Yes | LeaveRequestDetail.LeaveDate | |
AmountAmount of leave taken on this date. | RealLeaveRequestAmount | No | Yes | LeaveRequestDetail.Amount | |
RequestRecIdPoints to the leave request that this line belongs to. | Int64LeaveRequestRecId | Yes | No (private) | LeaveRequest.RecId | LeaveRequestDetail.Request |
TypeShort name that identifies the leave type. | String (30)LeaveTypeId | Yes | Yes | LeaveType.Type | |
RequestIdIdentifier of the leave request. | String (20)LeaveRequestId | No | Yes | LeaveRequest.RequestId | |
HalfDayDefinitionShows whether the leave is for the first half of the day, the second half, or neither. | Enum
| No | Yes | LeaveRequestDetail.HalfDayDefinition |
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.
LeaveTypeRecId→LeaveType.RecId(key of LeaveType)Many LeaveRequestDetail records → exactly one LeaveType record
LeaveType details: see LeaveTypeEntity, EssLeaveBalanceEntity, LeaveBalanceActiveEntity
RequestRecId→LeaveRequest.RecId(key of LeaveRequest)Many LeaveRequestDetail records → exactly one LeaveRequest record
LeaveRequest details: see LeaveOfAbsenceRequestEntity, LeaveRequestEntity, LeaveRequestV2Entity
Need help with LeaveRequestDetailEntity in Power BI, Power Automate or a migration? Talk to Dr Dynamics.