Human resource assistant, Human resource manager, Leave and absence manager
Business process
Record employee absences
Menu item
LeaveRequest
Main table
LeaveRequest
Data entity
LeaveRequestEntity
Setup steps
1 on this page
How this guide was checked
Checked in Dynamics 365
Version 10.0.49: the menu item, form, table and security, the page.
Recommended values
Based on Microsoft's documentation. A sound starting point to adjust to your own business requirements.
Tests
A ready-to-run test, “Request without workflow”, to confirm this setup in your own test environment.
Show what matters for
SETUP GUIDEHow to set it up8 sections. Choose a role to highlight what matters to you.
Everyone
1What it is and why
What it is
A list page where human resources staff see employees' time off requests and their status.
What you do here
Use this page to review and follow up time off requests across employees and to open the message log of a request. Requests go through the leave request workflow when one is set up; without a workflow they are approved automatically.
Example
For example, BEAT HR filters Status on Failed and finds request LR-000412 for 16.00 hours of PTO that failed at approval because the employee's balance was only 12.00 hours.
The page in Dynamics 365. page title tab to open what to set or check
About the examples: Examples and screenshots in this guide use BEAT, a demo company in a Dynamics 365 test environment. Use your own company's codes and values instead of copying them.
Setup steps on this page
Follow up time off requests
Use the list to find requests that wait for approval or failed, and to check the workflow history.
Steps from Microsoft
Go to Leave and absence > Manage leave > Time off requests.
Set the Status filter, for example Submitted to see requests waiting for approval or Failed to see requests that failed at approval.
Select a request and select Message log to see how it was processed and its workflow history.
Select View company calendar to see the request next to the team's other leave.
The total hours or days requested.Checked in Dynamics 365
Submitted by
Who submitted it: the employee, a manager or HR on the employee's behalf.Microsoft Learn
Common errors and fixes
Message
What to do
A request has status Failed.
Validation failed at approval, for example because the balance was too low at that time. Check the employee's balance and the plan's minimum balance, then have the request submitted again. Microsoft Learn
Test checklist
As an employee, submit a time off request for 8.00 hours of a leave type that has a workflow.
On this page, filter Status on Submitted and check the request is listed with its Request ID.
Approve the work item, then check the status is Approved and the employee's balance dropped by 8.00.
Filter Status on Submitted for open approvals and on Failed for requests that need action; open Message log before changing anything.Failed requests didn't pass validation at approval, often because of the balance, and the message log shows where the workflow stopped.
Requests belong to the employee's legal entity. The Data management list marks the leave time off request entities as company-specific. Checked in Dynamics 365
Can it be undone
Reversible with effort: Approved time off can be cancelled, which gives the balance back.
If you change it later
Without a leave request workflow, requests are approved automatically. With one, approval follows the workflow, which can auto-approve requests submitted by HR or managers on behalf of employees. Microsoft Learn
Technical architect
6Technical
Menu item
LeaveRequestChecked in Dynamics 365
Form
LeaveRequestChecked in Dynamics 365
Table
LeaveRequestShown as “LEAVE REQUEST” in Record infoKey field: RequestIdChecked in Dynamics 365
Data entities
LeaveRequestEntityLeave time off request Checked in Dynamics 365LeaveRequestV2EntityLeave time off request V2 Checked in Dynamics 365LeaveRequestHeaderEntityLeave time off request header Checked in Dynamics 365LeaveOfAbsenceRequestEntityLeave of absence request Checked in Dynamics 365
Who can open it
3 security roles. Select a role to see its duties and privileges.
PrivilegeView pending time off requests from direct reportsMssAbsenceManagerPendingLeaveRequestsView
Checked in Dynamics 365
Roles to set it up and use it
To set it up or change itHuman resource assistant HcmHumanResourceAssistantTo use itHuman resource manager HcmHumanResourceManagerLeave and absence manager LeaveAbsenceManagerGive people one of these roles. On this system, 3 roles can open this page.Checked in Dynamics 365
Actions on the page
(Action Pane without tabs): Message logChecked in Dynamics 365
Developer
7Developer
Open it by URL
https://<your-environment>/?mi=LeaveRequest
Integrate with
LeaveRequestEntity data entity Checked in Dynamics 365
Data migration
LeaveRequestV2Entity Time off requests when Multiple leave types per plan is on.LeaveBankTransactionV2Entity The balance transactions the requests create; importing requests alone doesn't create them.Load order: Microsoft's Leave and absence data template loads, in this order: Leave and absence parameters, Leave and absence type, type reason code, suspension relationship, plan V2, plan tier V2, enrollment V2, time off request V2, leave of absence request, bank transaction V2 and accrual suspension (the version with Multiple leave types per plan on). Load setup first, then enrollments, then requests and balances, before the first accrual run after go-live. Learn: if you import only the leave requests, the leave bank transactions aren't created, so import both, with the requests in a completed state.Load first: Leave and absence type, Leave and absence enrollment V2Microsoft Learn