BeyondERP.Newsletter
Menu

Job page · Leave and absence

Accrue leave and absence plans

A process dialog that runs the leave accrual for leave and absence plans, for many employees at once.

Business process
Develop leave and absence policies
Menu item
LeaveAccrualController
Show what matters for
PAGE GUIDEWhat the page does and how to use it7 sections. Choose a role to highlight what matters to you.
Everyone

1What it is and why

What it isA process dialog that runs the leave accrual for leave and absence plans, for many employees at once.
What you do hereUse 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.
ExampleFor example, run the accrual for a single leave plan only, by setting All plans to No and choosing that plan.
Accrue leave and absence plans 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.

When to run it

When to run itAt the end of each accrual period, or before employees need current balances, for example before a payroll run.
How oftenPer accrual period of your leave plans, often set as a recurring job.
Batch settingsSelect Run in the background with Recurrence to accrue every period automatically, and Alerts to be told when it finishes.
What the output showsAccrual 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.

Source: Microsoft Learn

Steps from Microsoft

  1. Go to Leave and absence > Manage leave > Accrue leave and absence plans.
  2. 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.
  3. 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.
  4. To accrue for one worker only, start from the employee's record under Leave instead.
  5. Open Leave accrual audit and an employee's View time off, Balances tab, to see the new accrual transactions.

Source: Microsoft Learn

Fields on the page

FieldWhat it means
Accrue as ofThe date up to which accruals are calculated: today's date or a custom date.Microsoft Learn
All companiesRuns the accrual for every company; you then cannot pick a single leave plan.Microsoft Learn
All plansSet to No to limit the accrual to one leave plan.Microsoft Learn
Leave planThe single leave plan to accrue when All plans is No.Microsoft Learn
Run in the backgroundRuns the accrual as a batch job, which can be set to recur and to send alerts.Microsoft Learn

Test checklist

  1. Leave accrual audit shows the run with date and user.
  2. A sample employee's current balance rose by the expected accrual.
  3. Only the selected plan accrued when All plans was No.

Source: Microsoft Learn

Solution architect

4Design impact

Can it be undoneYes: Accruals dated today or later can be removed with Delete leave and absence plan accruals and then accrued again. Microsoft Learn
If you change it laterWhen 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

5Technical

Menu itemLeaveAccrualController Checked in Dynamics 365
FormSysOperationTemplateForm Checked in Dynamics 365
Roles to set it up and use itTo use itHuman resource assistant HcmHumanResourceAssistantGive people one of these roles. On this system, 1 role can run this page.Checked in Dynamics 365
Developer

6Developer

Open it by URLhttps://<your-environment>/?mi=LeaveAccrualController
Everyone

7Sources