Data entity
LeaveRequestV2Entity
A second version of the leave and time off request entity, with one row per request, leave type and date. It has the same key and the same 15 fields as the original leave request entity. Each row includes the amount, half day definition, status, submitter details and reason code.
- Entity name
LeaveRequestV2Entity- Public entity name
LeaveRequestV2- OData collection
LeaveRequestsV2- Category
Document- Module
HRM- Read-only
No- Data management enabled
Yes- Configuration key
LeaveAbsence- Keys
RequestId, LeaveType, LeaveDate- Staging table
LeaveRequestV2Staging
Use it in Power BI and Power Platform
- OData URL
https://<environment>/data/LeaveRequestsV2- Dataverse virtual table
mserp_leaverequestv2entity. 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
LeaveRequest· rootHcmWorker· InnerJoin toLeaveRequest· read-onlyLeaveRequestDetail· InnerJoin toLeaveRequestLeaveType· InnerJoin toLeaveRequestDetail· read-onlyHcmReasonCode· OuterJoin toLeaveRequest· read-only
Fields (15)
| Field and description | Type / EDT / enum | Mandatory | OData / Dataverse | References | Lineage root |
|---|---|---|---|---|---|
RequestIdIdentifier of the leave request. | String (20)LeaveRequestId | No | Yes | LeaveRequest.RequestId | |
LeaveTypeShort name that identifies the leave type. | String (30)LeaveTypeId | Yes | Yes | LeaveType.Type | |
LeaveDateDate of the leave on this line. | DateLeaveDate | Yes | Yes | LeaveRequestDetail.LeaveDate | |
AmountAmount of leave taken on this date. | RealLeaveRequestAmount | No | Yes | LeaveRequestDetail.Amount | |
HalfDayDefinitionShows whether the leave is for the first half of the day, the second half, or neither. | Enum
| No | Yes | LeaveRequestDetail.HalfDayDefinition | |
CommentFree-text comment on the request. | String (-1)LeaveRequestComment | No | Yes | LeaveRequest.Comment | |
StatusApproval status of the request, for example Draft, Submitted, Approved or Completed. | Enum
| Yes | Yes | LeaveRequest.Status | |
RequestDateDate on which the request was submitted. | DateLeaveRequestDate | No | Yes | LeaveRequest.RequestDate | |
PersonnelNumberNumber that identifies the worker within the organisation. | String (25)HcmPersonnelNumberId | No | Yes | HcmWorker.PersonnelNumber | |
IsSubmittedOnBehalfOfShows whether the request was submitted for another person: Unknown, No or Yes. | Enum
| No | Yes | LeaveRequest.IsSubmittedOnBehalfOf | |
IsSubmittedByManagerShows whether a manager submitted the request: Unknown, No or Yes. | Enum
| No | Yes | LeaveRequest.IsSubmittedByManager | |
IsSubmittedByHumanResourcesShows whether Human Resources submitted the request: Unknown, No or Yes. | Enum
| No | Yes | LeaveRequest.IsSubmittedByHumanResources | |
IsSubmittedByAbsenceManagerShows whether an absence manager submitted the request: Unknown, No or Yes. | Enum
| No | Yes | LeaveRequest.IsSubmittedByAbsenceManager | |
SubmittedByUserUser ID of the person who submitted the request. It relates to the user table. | StringUserId | No | Yes | LeaveRequest.SubmittedByUser | |
ReasonCodeIdCode that identifies the reason code. | String (15)HcmReasonCodeId | No | Yes | HcmReasonCode.ReasonCodeId |
Need help with LeaveRequestV2Entity in Power BI, Power Automate or a migration? Talk to Dr Dynamics.