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 · root
  • LeaveType · InnerJoin to LeaveRequestDetail · read-only
  • LeaveRequest · InnerJoin to LeaveRequestDetail · read-only

Fields (7)

Field and descriptionType / EDT / enumMandatoryOData / DataverseReferencesLineage root
LeaveTypeRecIdPoints to the leave type taken on this date.Int64
LeaveTypeRecId
YesNo (private)LeaveType.RecIdLeaveRequestDetail.LeaveType
LeaveDateDate of the leave on this line.Date
LeaveDate
YesYesLeaveRequestDetail.LeaveDate
AmountAmount of leave taken on this date.Real
LeaveRequestAmount
NoYesLeaveRequestDetail.Amount
RequestRecIdPoints to the leave request that this line belongs to.Int64
LeaveRequestRecId
YesNo (private)LeaveRequest.RecIdLeaveRequestDetail.Request
TypeShort name that identifies the leave type.String (30)
LeaveTypeId
YesYesLeaveType.Type
RequestIdIdentifier of the leave request.String (20)
LeaveRequestId
NoYesLeaveRequest.RequestId
HalfDayDefinitionShows whether the leave is for the first half of the day, the second half, or neither.Enum
LeaveHalfDayDefinition
  • None 0
  • FirstHalf 1
  • SecondHalf 2
NoYesLeaveRequestDetail.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.

Need help with LeaveRequestDetailEntity in Power BI, Power Automate or a migration? Talk to Dr Dynamics.

Email sales@drdynamics.co.uk