Table

LeaveOfAbsenceRequestDetail

Leave of absence request detail

Holds the detail lines of leave of absence requests. Each line links to a leave request and a leave type, and has a start date, an end date and an amount. It also records whether the line is new, updated or cancelled, and links to the original request when there is one.

Table name
LeaveOfAbsenceRequestDetail
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 (22)

Field and descriptionType / EDT / enumMandatoryReferencesIn public entities
AmountAmount of leave requested.Real
LeaveRequestAmount
NoLeaveOfAbsenceRequestDetailEntityEssLoaRequestDetailApproverEntityLeaveOfAbsenceRequestEntityand 3 more
CanceledYes/No flag showing whether the request has been cancelled.Enum
NoYes (enum)
NoLeaveOfAbsenceRequestDetailEntityLeaveOfAbsenceRequestEntityEssLoaRequestEntity
ConfirmedEndDateYes/No flag showing whether the end date of an open-ended absence has been confirmed.Enum
NoYes (enum)
NoNone
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
NoEssLoaRequestDetailApproverEntity
EndDateLast day of the requested absence.Date
LeaveRequestEndDate
YesLeaveOfAbsenceRequestDetailEntityEssLoaRequestDetailApproverEntityLeaveOfAbsenceRequestEntityand 3 more
FirstHalfOfEndDateYes/No flag. When set, the request covers only the first half of the last day of leave.Enum
NoYes (enum)
NoLeaveOfAbsenceRequestDetailEntityEssLoaRequestDetailApproverEntityLeaveOfAbsenceRequestEntityand 1 more
LeaveTypePoints to the leave type of the absence.Int64
LeaveTypeRecId
YesLeaveType.RecIdEssLoaRequestDetailApproverEntityEssLoaRequestEntity
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
PreviousRequestPoints to the earlier leave request that this one changes or cancels.Int64
LeaveRequestRecId
NoLeaveRequest.RecIdEssLoaRequestEntity
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 detail belongs to.Int64
LeaveRequestRecId
YesLeaveRequest.RecIdEssLoaRequestDetailApproverEntity
RequestTypeShows whether the request is new, an update or a cancellation.Enum
LeaveRequestType (enum)
NoLeaveOfAbsenceRequestDetailEntityLeaveOfAbsenceRequestEntityEssLoaRequestEntity
ReturnToWorkYes/No flag showing whether a return to work notice is attached.Enum
NoYes (enum)
NoNone
SecondHalfOfStartDateYes/No flag. When set, the request covers only the second half of the first day of leave.Enum
NoYes (enum)
NoLeaveOfAbsenceRequestDetailEntityEssLoaRequestDetailApproverEntityLeaveOfAbsenceRequestEntityand 1 more
StartDateFirst day of the requested absence.Date
LeaveRequestStartDate
YesLeaveOfAbsenceRequestDetailEntityEssLoaRequestDetailApproverEntityLeaveOfAbsenceRequestEntityand 3 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 (1)

  • RequestIdx

    Request

    Unique, alternate key.

Relations (3)

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

  • LeaveRequest → LeaveRequest

    Join on Request = LeaveRequest.RecId

    Zero or one LeaveOfAbsenceRequestDetail record → exactly one LeaveRequest record

  • LeaveType → LeaveType

    Join on LeaveType = LeaveType.RecId

    Many LeaveOfAbsenceRequestDetail records → exactly one LeaveType record

  • PreviousLeaveRequest → LeaveRequest

    Join on PreviousRequest = LeaveRequest.RecId

    Many LeaveOfAbsenceRequestDetail records → zero or one LeaveRequest record

Get this data out

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

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

Email sales@drdynamics.co.uk