Human resource assistant, Manager, Self-service manager
Business process
Record employee absences
Menu item
LeaveBuySellRequest
Main table
LeaveBuySellRequest
Data entity
LeaveBuySellRequestEntity
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, “Sell request lowers the balance”, 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 of employees' requests to buy or sell leave under the company's buy and sell leave policies.
What you do here
Use this page to review buy and sell leave requests and, when a request workflow fails, open the message log to see how the transactions were processed.
Example
For example, under BEAT's 2026 buy and sell policy an employee asks to sell 16.00 hours of PTO; the request waits for approval and HR opens Message log when the workflow fails.
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 buy and sell leave requests
Use the list to check requests that wait for approval and to find failed workflows.
Steps from Microsoft
Go to Leave and absence > Manage leave > Buy and sell leave requests.
Set the Status filter to find the requests to follow up.
Select a request and select Message log to see how the transactions were processed and the workflow history.
If requests can't be submitted at all, check the policy's start and end dates on Buy and sell leave policy.
The leave type the employee wants to buy or sell.Microsoft Learn
LeaveType
Amount
How much leave the employee wants to buy or sell.Microsoft Learn
Amount
Submission date
When the request was submitted.Checked in Dynamics 365
Status
Where the request stands in its workflow.Checked in Dynamics 365
Worker
The employee who asked to buy or sell.Checked in Dynamics 365
Request type
Whether the employee asked to buy or to sell leave.Microsoft Learn
Submitted by
Who submitted the request.Checked in Dynamics 365
Common errors and fixes
Message
What to do
A buy or sell request workflow failed.
A user with the EssLeaveBuySellRequestApprover privilege opens Message log here to see how the transactions were processed and where the workflow stopped. Microsoft Learn
Employees can't submit buy or sell requests.
Set Allow employees to buy leave and Allow employees to sell leave to Yes on Leave and absence parameters, and check today is between the policy's start and end dates. Microsoft Learn
Test checklist
With buy and sell allowed and a policy active, submit a sell request for 8.00 hours as an enrolled employee.
Check it is listed here with Request type Sell.
Approve it and check the employee's balance dropped by 8.00.
Filter Status on the requests in progress, and give the EssLeaveBuySellRequestApprover privilege to the person who reads the message log.Only users with that privilege can review the message log of all buy and sell requests when a workflow fails.
On the live system, Human resource assistant, Manager and Self-service manager use this page.
Checked in Dynamics 365
Solution architect
5Design impact
Shared or per company
Requests belong to the employee's legal entity. The Data management list marks the buy or sell leave request entity as company-specific. Checked in Dynamics 365
Can it be undone
Reversible with effort: An approved request has changed the balance; it is corrected with an adjustment.
If you change it later
Depending on the policy, an approved or automatically accepted request updates the employee's leave balance. Microsoft Learn
Technical architect
6Technical
Menu item
LeaveBuySellRequestChecked in Dynamics 365
Form
LeaveBuySellRequestChecked in Dynamics 365
Table
LeaveBuySellRequestShown as “BUY OR SELL LEAVE REQUEST” in Record infoChecked in Dynamics 365
Data entities
LeaveBuySellRequestEntityBuy or sell leave request Checked in Dynamics 365
Who can open it
3 security roles. Select a role to see its duties and privileges.
DutyMaintain leave and absence setupLeaveSetupMaintain
PrivilegeCreate and modify buy sell leave policyLeaveBuySellPolicyAdminMaintain
RoleManagerHcmManager
DutyMaintain manager access to direct report information (Enterprise Information)MssMaintain
PrivilegeMaintain time off requests from direct reportsMssLeaveRequestsMaintain
RoleSelf-service managerHcmManagerSelfService
DutyMaintain manager access to direct report information (Enterprise Information)MssMaintain
PrivilegeMaintain time off requests from direct reportsMssLeaveRequestsMaintain
Checked in Dynamics 365
Roles to set it up and use it
To set it up or change itHuman resource assistant HcmHumanResourceAssistantSelf-service manager HcmManagerSelfServiceManager HcmManagerGive 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
LeaveBuySellRequestEntity data entity Checked in Dynamics 365
Data migration
LeaveBuySellRequestEntity The buy and sell requests.Load order: Load the buy and sell leave policy (policy, buy tier, sell tier) before the requests, and the leave types and enrollments before both. Open requests are best finished in the old system before cut-over.Load first: Buy and sell leave policy, Leave and absence enrollment V2Microsoft Learn