BeyondERP.Newsletter
Menu

Setup step on the Buy and sell leave requests page · Leave and absence

Follow up buy and sell leave requests

Use the list to check requests that wait for approval and to find failed workflows.

See how to set it up Back to Leave and absence

Used by
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 isA list page of employees' requests to buy or sell leave under the company's buy and sell leave policies.
What you do hereUse 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.
ExampleFor 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.
Buy and sell leave requests page in Dynamics 365
The page in Dynamics 365. page title tab to open what to set or check
Functional consultant · Solution architect

2Where it fits

End user · Functional consultant

3How to do it

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

  1. Go to Leave and absence > Manage leave > Buy and sell leave requests.
  2. Set the Status filter to find the requests to follow up.
  3. Select a request and select Message log to see how the transactions were processed and the workflow history.
  4. If requests can't be submitted at all, check the policy's start and end dates on Buy and sell leave policy.

Source: Microsoft Learn

Fields on the page

FieldWhat it meansTable column
Leave typeThe leave type the employee wants to buy or sell.Microsoft Learn LeaveType
AmountHow much leave the employee wants to buy or sell.Microsoft Learn Amount
Submission dateWhen the request was submitted.Checked in Dynamics 365
StatusWhere the request stands in its workflow.Checked in Dynamics 365
WorkerThe employee who asked to buy or sell.Checked in Dynamics 365
Request typeWhether the employee asked to buy or to sell leave.Microsoft Learn
Submitted byWho submitted the request.Checked in Dynamics 365

Common errors and fixes

MessageWhat 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

  1. With buy and sell allowed and a policy active, submit a sell request for 8.00 hours as an enrolled employee.
  2. Check it is listed here with Request type Sell.
  3. Approve it and check the employee's balance dropped by 8.00.

Source: Microsoft Learn

Functional consultant

4Setup decisions

Setup stepRecommended value and whyDecision, common mistake and test
Follow up buy and sell leave requestsFilter 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.Should buy and sell requests need approval?Reading an approved sell request as pending: depending on the policy, the balance updates automatically or only after approval.Test: Sell request lowers the balance

Feature management and licence

Licence or add-inOn 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 companyRequests 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 undoneReversible with effort: An approved request has changed the balance; it is corrected with an adjustment.
If you change it laterDepending on the policy, an approved or automatically accepted request updates the employee's leave balance. Microsoft Learn
Technical architect

6Technical

Menu itemLeaveBuySellRequest Checked in Dynamics 365
FormLeaveBuySellRequest Checked in Dynamics 365
TableLeaveBuySellRequestShown as “BUY OR SELL LEAVE REQUEST” in Record infoChecked in Dynamics 365
Data entitiesLeaveBuySellRequestEntityBuy or sell leave request Checked in Dynamics 365
Who can open it

3 security roles. Select a role to see its duties and privileges.

  • RoleHuman resource assistantHcmHumanResourceAssistant
    • 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 itTo 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
Developer

7Developer

Open it by URLhttps://<your-environment>/?mi=LeaveBuySellRequest
Integrate withLeaveBuySellRequestEntity data entity Checked in Dynamics 365
Data migrationLeaveBuySellRequestEntity 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
Everyone

8Sources