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
Only after the business has confirmed that settlement detail before the chosen dates is no longer needed. If you also plan Inventory transaction consolidation, run this cleanup first.
How often
On demand, when old settlement data needs to be reduced. Microsoft gives no fixed interval for this routine.
Batch settings
Run it as a batch job after testing it in a test environment, as Microsoft recommends for every cleanup routine.
What the output shows
Grouped settlements for closed transactions and deleted canceled settlements before the dates you entered. There is no report; if inventory no longer reconciles with finance for a period, the dates were set too close to the present.
Go to Inventory management > Periodic tasks > Clean up > Inventory settlements cleanup.
In Group settlements posted before, enter the date before which the settlements of closed inventory transactions are grouped. Keep it well away from the current date and fiscal year, because grouped transactions lose part of their settlement detail.
To remove canceled inventory settlements, set Delete canceled settlements posted before to the cut-off date. Leave either date empty when you only want the other action.
Use Records to include to limit which settlement records the run covers, and run it in the background when the backlog is large.
Afterwards, open the inventory settlements for an old closed transaction: settlements before the group date are grouped, and canceled settlements before the delete date are gone.
No: Grouped settlements can't be split again and deleted canceled settlements can't be restored or reconciled with finance transactions. Test the routine in a test environment first. Microsoft Learn
If you change it later
Grouped closed transactions can no longer be changed, and deleted canceled settlements can't be reconciled with finance transactions. Microsoft Learn
Technical architect
5Technical
Menu item
action:InventCostCleanUpChecked in Dynamics 365
Form
DialogChecked in Dynamics 365
Roles to set it up and use it
To 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