BeyondERP.Newsletter
Menu

Setup step on the Inventory settlements cleanup page · Inventory management

Group or delete old inventory settlements

Run Inventory settlements cleanup safely and only when the data is no longer needed.

Used by
Information technology manager, Inventory accountant
Business process
Manage data
Menu item
action:InventCostCleanUp
Setup steps
1 on this page

How this guide was checked

Checked in Dynamics 365
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, “Old settlements grouped, recent ones untouched”, 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 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.
ExampleFor example, in November 2026 BEAT groups the settlements of closed inventory transactions posted before 1/1/2023 and deletes canceled settlements before the same date, three years away from the current fiscal year, before it runs Inventory transaction consolidation.
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 pathInventory management › Periodic tasks › Clean up › Inventory settlements cleanup
Set up firstClosing and adjustment Microsoft Learn
Used next byInventory transaction consolidation Microsoft Learn
Related pagesInventory value Microsoft Learn
In this process Delete posted inventory journals · Delete unused inventory dimension combinations
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 itOnly 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 oftenOn demand, when old settlement data needs to be reduced. Microsoft gives no fixed interval for this routine.
Batch settingsRun it as a batch job after testing it in a test environment, as Microsoft recommends for every cleanup routine.
What the output showsGrouped 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.

Source: Microsoft Learn

Setup steps on this page

Group or delete old inventory settlements

Run Inventory settlements cleanup safely and only when the data is no longer needed.

Steps from Microsoft

  1. Go to Inventory management > Periodic tasks > Clean up > Inventory settlements cleanup.
  2. 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.
  3. 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.
  4. Use Records to include to limit which settlement records the run covers, and run it in the background when the backlog is large.
  5. 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.

Source: Microsoft Learn

Fields on the page

FieldWhat it meansExample
Group settlements posted beforeClosed transaction settlements posted before this date are grouped.Microsoft Learn 1/1/2023
Delete canceled settlements posted beforeCanceled settlements before this date are deleted.Microsoft Learn 1/1/2023

Common errors and fixes

MessageWhat to do
Canceled settlements can no longer be reconciled with finance transactions.That is the effect of deleting them. Choose dates well away from the current date and fiscal year, and test in a copy first. Microsoft Learn

Test checklist

  1. Note the settlements of one closed transaction from 2022 and one from this year.
  2. Run the job in a copy with both dates set to 1/1/2023.
  3. Check that the 2022 settlements are grouped and canceled ones are gone.
  4. Check that this year's settlements are unchanged.

Source: Microsoft Learn

Functional consultant

4Setup decisions

Setup stepRecommended value and whyDecision, common mistake and test
Group or delete old inventory settlementsUse dates at least a full fiscal year before the current one, and run it before Inventory transaction consolidation.Microsoft warns not to group or delete settlements close to the current date or fiscal year, and to run this cleanup before consolidation.How far back should settlements be grouped or deleted?Using a date in the current fiscal year, which loses settlement detail that auditors and inventory close may still need.Test: Old settlements grouped, recent ones untouched

Feature management and licence

Licence or add-inOn the live system, Inventory accountant and Information technology manager use this page.

Checked in Dynamics 365

Solution architect

5Design impact

Shared or per companyPer company: the job reads and changes only the data of the legal entity you run it in. Checked in Dynamics 365
Can it be undoneIrreversible: Grouped settlements lose part of their transaction information and the transactions can't be changed afterwards; deleted canceled settlements can't be restored or reconciled with finance. Run it first in a copy of production, such as a sandbox refreshed from production, and give the privilege only to the people who own the cleanup.
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

6Technical

Menu itemaction:InventCostCleanUp Checked in Dynamics 365
FormDialog Checked in Dynamics 365
Who can open it

2 security roles. Select a role to see its duties and privileges.

  • RoleInformation technology managerSysServerITManager
    • DutyMaintain system settingsSysServerSettingsMaintain
      • PrivilegeClean up inventory settlementsInventCostCleanUpProcess
  • RoleInventory accountantInventCostAccountant
    • DutyMaintain inventory valuationInventClosingInventoryValuationMaintain
      • PrivilegeClean up inventory settlementsInventCostCleanUpProcess
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 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

7Developer

Open it by URLhttps://<your-environment>/?mi=action:InventCostCleanUp
Data migrationLoad order: Inventory settlements cleanup has no data entity in Data management. Settlements come from inventory close in the new system; nothing is migrated. Run it only after several years of history exist.Checked in Dynamics 365
Everyone

8Sources

To cite this step: IM-JOBA-100, Group or delete old inventory settlements. Beyond ERP Atlas Hub. https://www.beyonderp.cloud/atlas/step/IM-JOBA-100