Table

LeaveRequestDetail

Leave and absence request detail

Holds the daily lines of a leave request. Each line gives the leave type, a date and an amount, and can mark which half of the day is taken. It links to the leave request header.

Table name
LeaveRequestDetail
Module
Cross-module and platform
Table group
Miscellaneous
Table type
Regular
Data per company
Yes
Configuration key
None
Primary index
None
Replacement key
None
Key fields
None
Model
Leave

Fields (15)

Field and descriptionType / EDT / enumMandatoryReferencesIn public entities
AmountAmount of leave taken on this date.Real
LeaveRequestAmount
NoLeaveRequestDetailEntityEssLeaveRequestAssignedDetailEntityEssLeaveRequestDetailEntityand 9 more
CreatedByThe user who created the record. System field.String (20)
CreatedBy
NoNone
CreatedDateTimeThe date and time when the record was created. System field.UtcDateTime
CreatedDateTime
NoNone
DataAreaIdThe company (legal entity) that the record belongs to. System field.String (4)
DataAreaId
NoEssTimeOffDetailApproverEntity
HalfDayDefinitionShows whether the leave is for the first half of the day, the second half, or neither.Enum
LeaveHalfDayDefinition (enum)
NoLeaveRequestDetailEntityEssLeaveRequestAssignedDetailEntityEssLeaveRequestDetailEntityand 5 more
LeaveDateDate of the leave on this line.Date
LeaveDate
YesLeaveRequestDetailEntityEssLeaveRequestAssignedDetailEntityEssLeaveRequestDetailEntityand 13 more
LeaveTypePoints to the leave type taken on this date.Int64
LeaveTypeRecId
YesLeaveType.RecIdLeaveRequestDetailEntityEssLeaveRequestAssignedDetailEntityEssLeaveRequestDetailEntityand 4 more
ModifiedByThe user who last changed the record. System field.String (20)
ModifiedBy
NoNone
ModifiedDateTimeThe date and time when the record was last changed. System field.UtcDateTime
ModifiedDateTime
NoNone
PartitionA system field for the data partition. In most environments every record has the same value. System field.Int64
Partition
NoNone
RecIdA unique number that the system gives to every record. Other tables often use it to point to this record. System field.Int64
RecId
NoNone
RecVersionA system number that changes each time the record is updated. It is used to detect conflicting updates. System field.Integer
RecVersion
NoNone
RequestPoints to the leave request that this line belongs to.Int64
LeaveRequestRecId
YesLeaveRequest.RecIdLeaveRequestDetailEntityEssLeaveRequestAssignedDetailEntityEssLeaveRequestDetailEntityand 4 more
SysRowVersionA system row version number that is used for change tracking. System field.Int64
SysRowVersion
NoNone
TableIdA system number that identifies the table. System field.Integer
TableId
NoNone

Indexes (2)

Relations (2)

Each relation joins LeaveRequestDetail to another table on the fields shown.

  • LeaveRequest → LeaveRequest

    Join on Request = LeaveRequest.RecId

    Many LeaveRequestDetail records → exactly one LeaveRequest record

  • LeaveType → LeaveType

    Join on LeaveType = LeaveType.RecId

    Many LeaveRequestDetail records → exactly one LeaveType record

Get this data out

Tables are not exposed directly. These public entities read from LeaveRequestDetail; use one of them in Power BI, Power Platform or a data management project.

Need help with LeaveRequestDetail in a report, an integration or a migration? Talk to Dr Dynamics.

Email sales@drdynamics.co.uk