BeyondERP.Newsletter
Menu

Job page · Cost management

Inventory settlements cleanup

A periodic job that groups closed inventory transactions or deletes canceled inventory settlements.

Business process
Manage data
Menu item
action:InventCostCleanUp
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 periodic job that groups closed inventory transactions or deletes canceled inventory settlements.
What you do hereUse this periodic task to free system resources by grouping or deleting old settlement data.
Inventory settlements cleanup 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 data
Menu pathCost management › Inventory accounting › Clean up › Inventory settlements cleanup
Used next byInventory transaction consolidation 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 itAfter inventory close for the old periods is final and the business has confirmed that settlement detail before the chosen dates is no longer needed.
How oftenOn demand, as part of periodic database housekeeping, with dates far behind the current fiscal year.
Batch settingsSchedule it as a one-off batch job outside business hours; the first run on years of settlements can process a large volume.
What the output showsFewer inventory settlement records: closed settlements before the first date are grouped, and canceled settlements before the second date are deleted. If later reconciliation of inventory with finance fails for an old period, the dates were set too close to that period.

Source: Microsoft Learn

Steps from Microsoft

  1. Go to Cost management > Inventory accounting > Clean up > Inventory settlements cleanup.
  2. In Group settlements posted before, enter the date before which the settlements of closed inventory transactions are grouped. Grouped transactions can no longer be changed, so stay well away from the current date and fiscal year.
  3. In Delete canceled settlements posted before, enter the date before which canceled settlements are deleted. Both dates are optional, so fill in only the action you want.
  4. Use Records to include to limit the run to certain items or item groups, and run it in the background for large volumes, then select OK.
  5. Open the inventory settlements of a sample item and check that settlements before the date are grouped and canceled settlements are gone.

Source: Microsoft Learn

Fields on the page

FieldWhat it means
Group settlements posted beforeClosed transaction settlements posted before this date are grouped.Microsoft Learn
Delete canceled settlements posted beforeCanceled settlements before this date are deleted.Microsoft Learn

Test checklist

  1. No settlement after the chosen dates was grouped or deleted.
  2. Inventory value for the closed periods is the same before and after the run.
  3. The batch job log shows no errors.

Source: Microsoft Learn

Solution architect

4Design impact

Can it be undoneNo: Grouped settlements lose their transaction detail and deleted canceled settlements can't be restored or reconciled with finance transactions. Test the job in a test environment first. Microsoft Learn
If you change it laterGrouped closed transactions can no longer be changed, and deleted canceled settlements can't be reconciled with finance transactions. Microsoft Learn
Technical architect

5Technical

Menu itemaction:InventCostCleanUp Checked in Dynamics 365
FormDialog Checked in Dynamics 365
Roles to set it up and use itTo use itInventory accountant InventCostAccountantInformation technology manager SysServerITManagerGive people one of these roles. On this system, 2 roles can run this page.Checked in Dynamics 365
Developer

6Developer

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

7Sources