BeyondERP.Newsletter
Menu

Job page · Leave and absence

Delete leave and absence plan accruals

A process dialog that deletes leave accrual records for one leave plan from a chosen date onward.

Business process
Develop leave and absence policies
Menu item
LeaveAccrualDeleteController
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 deletes leave accrual records for one leave plan from a chosen date onward.
What you do hereUse this page to remove accruals for a leave plan dated today or later, optionally including balance adjustments, for example before running the accrual again.
Delete leave and absence plan accruals 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

Business processManage time and attendance › Develop leave and absence policies
Menu pathLeave and absence › Manage leave › Delete leave and absence plan accruals
Set up firstAccrue leave and absence plans Microsoft Learn
Used next byLeave accrual audit Microsoft Learn
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 itWhen accruals for a plan were run with wrong settings or dates and must be removed before you accrue again.
How oftenOn demand, only when accruals need correcting.
What the output showsAccrual records for the plan from the chosen date on are removed, and employee balances drop by those amounts. If past accruals are still there, remember the date can't be earlier than today.

Source: Microsoft Learn

Steps from Microsoft

  1. Go to Leave and absence > Manage leave > Delete leave and absence plan accruals.
  2. Select the Leave plan whose accruals are wrong; the delete works on one plan at a time.
  3. Choose Delete balance adjustments only if the balance adjustments in that range must go too.
  4. Enter the Leave accrual date. It must be today or a later date; accruals from that date onward are deleted.
  5. Open Leave accrual audit to see the delete, then run Accrue leave and absence plans again if balances must be rebuilt.

Source: Microsoft Learn

Fields on the page

FieldWhat it means
Leave planThe leave plan whose accruals are deleted.Microsoft Learn
Delete balance adjustmentsAlso deletes balance adjustments, when applicable.Microsoft Learn
Leave accrual dateThe date from which accruals are deleted; it must be today or a future date.Microsoft Learn

Test checklist

  1. Leave accrual audit lists the delete.
  2. A sample employee's balance no longer includes accruals from the chosen date on.
  3. Accruals in other plans are unchanged.

Source: Microsoft Learn

Solution architect

4Design impact

Can it be undoneNo: Deleted accruals and balance adjustments are gone. Run the accrual again to rebuild balances; deleted manual balance adjustments must be entered again. Microsoft Learn
If you change it laterRunning the dialog deletes the matching accrual records, which changes the leave balances of the employees in that plan. Microsoft Learn
Technical architect

5Technical

Menu itemLeaveAccrualDeleteController 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=LeaveAccrualDeleteController
Everyone

7Sources