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, “Accrual covers the whole period”, 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 process dialog that runs the leave accrual for leave and absence plans, for many employees at once.
What you do here
Use this page to award the time off that employees have earned under their leave plans up to a chosen date, for all companies, all plans or a single plan.
Example
For example, BEAT runs the accrual on 1 February as of 1 February for its monthly PTO-US plan, so the 160 enrolled employees each receive January's 8.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.
When to run it
When to run it
At the end of each accrual period, or before employees need current balances, for example before a payroll run.
How often
Per accrual period of your leave plans, often set as a recurring job.
Batch settings
Select Run in the background with Recurrence to accrue every period automatically, and Alerts to be told when it finishes.
What the output shows
Accrual transactions that raise each enrolled employee's balance for the leave types in the plans. A balance that is too low usually means the Accrue as of date didn't cover the full accrual period.
Decide when the accrual job runs and with which date, so balances are complete for each accrual period.
Steps from Microsoft
Go to Leave and absence > Manage leave > Accrue leave and absence plans.
In Accrue as of, select Today's date, or select Custom date and enter the date up to which time off is earned. For plans that award at period end, the date must cover the whole period.
Select All companies to accrue everywhere, or set All plans to No and pick one Leave plan. You can't pick a single plan when All companies is selected.
To accrue for one worker only, start from the employee's record under Leave instead.
Open Leave accrual audit and an employee's View time off, Balances tab, to see the new accrual transactions.
The date up to which accruals are calculated: today's date or a custom date.Microsoft Learn
All companies
Runs the accrual for every company; you then cannot pick a single leave plan.Microsoft Learn
All plans
Set to No to limit the accrual to one leave plan.Microsoft Learn
Leave plan
The single leave plan to accrue when All plans is No.Microsoft Learn
Run in the background
Runs the accrual as a batch job, which can be set to recur and to send alerts.Microsoft Learn
Common errors and fixes
Message
What to do
Employees received less time off than the plan gives for the period.
For plans that award at the accrual period end date, run the accrual with an Accrue as of date after the period, for example 1 February to include all of January. Microsoft Learn
An employee's balance doesn't change after the run.
Check that the employee is enrolled in the plan from a date before the period (Assign to employees, or Leave > Leave and absence on the employee) and that no accrual suspension covers the date. Microsoft Learn
Test checklist
Leave accrual audit shows the run with date and user.
A sample employee's current balance rose by the expected accrual.
Only the selected plan accrued when All plans was No.
A recurring batch job (Run in the background with Recurrence) that runs the day after each accrual period ends, with Accrue as of set to that day and All plans = Yes, plus an alert to the person who checks the run.Plans that award at the accrual period end date only give the full amount when the run covers the whole period, and Learn's dialog supports recurrence and alerts in the background.
On the live system, Human resource assistant runs this job.
Checked in Dynamics 365
Solution architect
5Design impact
Shared or per company
Runs in the current company, or in every company when All companies is Yes. With All companies you can't limit the run to one plan. Microsoft Learn
Can it be undone
Reversible with effort: Accruals dated today or later can be deleted per plan and run again; older accruals stay.
If you change it later
When a plan awards time off at the end of each accrual period, the accrual date you choose must cover the whole period or the employee will not receive the full amount. Microsoft Learn
Technical architect
6Technical
Menu item
LeaveAccrualControllerChecked in Dynamics 365
Form
SysOperationTemplateFormChecked in Dynamics 365
Who can open it
1 security role. Select a role to see its duties and privileges.
DutyMaintain worker-specific leave and absence processesLeaveProcessMaintain
PrivilegeProcess accruals for leave and absenceLeaveAccrualProcess
Roles worked out from Microsoft's standard security setup and checked in a working Dynamics 365 system (version 10.0.49)
Roles to set it up and use it
To use itHuman resource assistant HcmHumanResourceAssistantGive people one of these roles. On this system, 1 role can run this page.Checked in Dynamics 365
Load order: Accrue leave and absence plans has no data entity in Data management: it creates accrual transactions from the enrollments. To bring opening balances from another system, load them with the Leave and absence bank transaction V2 entity, then run the accrual from the go-live date so the balance isn't counted twice.Load first: Leave and absence plan V2, Leave and absence enrollment V2Microsoft Learn