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 description | Type / EDT / enum | Mandatory | References | In public entities |
|---|---|---|---|---|
AmountAmount of leave requested. | RealLeaveRequestAmount | No | LeaveOfAbsenceRequestDetailEntityEssLoaRequestDetailApproverEntityLeaveOfAbsenceRequestEntityand 3 more | |
CanceledYes/No flag showing whether the request has been cancelled. | EnumNoYes (enum) | No | LeaveOfAbsenceRequestDetailEntityLeaveOfAbsenceRequestEntityEssLoaRequestEntity | |
ConfirmedEndDateYes/No flag showing whether the end date of an open-ended absence has been confirmed. | EnumNoYes (enum) | No | None | |
CreatedByThe user who created the record. System field. | String (20)CreatedBy | No | None | |
CreatedDateTimeThe date and time when the record was created. System field. | UtcDateTimeCreatedDateTime | No | None | |
DataAreaIdThe company (legal entity) that the record belongs to. System field. | String (4)DataAreaId | No | EssLoaRequestDetailApproverEntity | |
EndDateLast day of the requested absence. | DateLeaveRequestEndDate | Yes | LeaveOfAbsenceRequestDetailEntityEssLoaRequestDetailApproverEntityLeaveOfAbsenceRequestEntityand 3 more | |
FirstHalfOfEndDateYes/No flag. When set, the request covers only the first half of the last day of leave. | EnumNoYes (enum) | No | LeaveOfAbsenceRequestDetailEntityEssLoaRequestDetailApproverEntityLeaveOfAbsenceRequestEntityand 1 more | |
LeaveTypePoints to the leave type of the absence. | Int64LeaveTypeRecId | Yes | LeaveType.RecId | EssLoaRequestDetailApproverEntityEssLoaRequestEntity |
ModifiedByThe user who last changed the record. System field. | String (20)ModifiedBy | No | None | |
ModifiedDateTimeThe date and time when the record was last changed. System field. | UtcDateTimeModifiedDateTime | No | None | |
PartitionA system field for the data partition. In most environments every record has the same value. System field. | Int64Partition | No | None | |
PreviousRequestPoints to the earlier leave request that this one changes or cancels. | Int64LeaveRequestRecId | No | LeaveRequest.RecId | EssLoaRequestEntity |
RecIdA unique number that the system gives to every record. Other tables often use it to point to this record. System field. | Int64RecId | No | None | |
RecVersionA system number that changes each time the record is updated. It is used to detect conflicting updates. System field. | IntegerRecVersion | No | None | |
RequestPoints to the leave request that this detail belongs to. | Int64LeaveRequestRecId | Yes | LeaveRequest.RecId | EssLoaRequestDetailApproverEntity |
RequestTypeShows whether the request is new, an update or a cancellation. | EnumLeaveRequestType (enum) | No | LeaveOfAbsenceRequestDetailEntityLeaveOfAbsenceRequestEntityEssLoaRequestEntity | |
ReturnToWorkYes/No flag showing whether a return to work notice is attached. | EnumNoYes (enum) | No | None | |
SecondHalfOfStartDateYes/No flag. When set, the request covers only the second half of the first day of leave. | EnumNoYes (enum) | No | LeaveOfAbsenceRequestDetailEntityEssLoaRequestDetailApproverEntityLeaveOfAbsenceRequestEntityand 1 more | |
StartDateFirst day of the requested absence. | DateLeaveRequestStartDate | Yes | LeaveOfAbsenceRequestDetailEntityEssLoaRequestDetailApproverEntityLeaveOfAbsenceRequestEntityand 3 more | |
SysRowVersionA system row version number that is used for change tracking. System field. | Int64SysRowVersion | No | None | |
TableIdA system number that identifies the table. System field. | IntegerTableId | No | None |
Indexes (1)
RequestIdxUnique, alternate key.
Relations (3)
Each relation joins LeaveOfAbsenceRequestDetail to another table on the fields shown.
LeaveRequest→LeaveRequestJoin on
Request = LeaveRequest.RecIdZero or one LeaveOfAbsenceRequestDetail record → exactly one LeaveRequest record
LeaveType→LeaveTypeJoin on
LeaveType = LeaveType.RecIdMany LeaveOfAbsenceRequestDetail records → exactly one LeaveType record
PreviousLeaveRequest→LeaveRequestJoin on
PreviousRequest = LeaveRequest.RecIdMany 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.
LeaveOfAbsenceRequestDetailEntity· 7 fields from this tableEssLoaRequestDetailApproverEntity· 8 fields from this tableLeaveOfAbsenceRequestEntity· 7 fields from this tableEssLoaRequestEntity· 9 fields from this tableMssHRTeamsAppPendingLoaEntity· 3 fields from this tableMssPendingLoaRequestWorkflowEntity· 3 fields from this table
Need help with LeaveOfAbsenceRequestDetail in a report, an integration or a migration? Talk to Dr Dynamics.