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, “Inventory value unchanged after aggregation”, 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 is
A periodic job that rolls up on-hand records with zero quantity and cleans up records that are marked as closed.
What you do here
Use this periodic task to reduce the number of on-hand records and speed up any function that reads them, while inventory value reports still show the same values.
Example
For example, BEAT sells coffee by batch number and has 640,000 InventSum rows for fully sold batches, some still carrying a value of 0.35 after a standard cost revaluation. The job copies those values to the site-level row of each item and deletes the batch-level rows, and the Inventory value report for site 1 still shows 1,284,310.55.
The page in Dynamics 365. page title tab to open what to set or check
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
When InventSum holds many rows with zero quantity, for example from batch numbers that are fully sold, and functions that read on-hand have become slow.
How often
On demand, when the number of zero-quantity on-hand rows has grown. Microsoft gives no fixed interval.
Batch settings
Run it as a batch job, because it goes through all InventSum records to find the ones with no open quantities.
What the output shows
Fewer InventSum rows: zero-quantity rows are rolled up to the site level and rows marked Closed are cleaned up. Inventory value reports still show the same values per site; a different value after the run points to a problem to raise before running it again.
Run On-hand entries aggregation by financial dimensions safely and only when the data is no longer needed.
Steps from Microsoft
Go to Inventory management > Periodic tasks > Clean up > On-hand entries aggregation by financial dimensions.
Decide whether you still need detail by batch for sold items: the job copies the remaining value of closed InventSum rows with no open quantity (for example a sold batch number) to the row for the site of the same item, and then deletes the row for the batch.
Use Records to include to limit which items are aggregated in this run.
Run it in the background as a batch job when the InventSum table is large.
Afterwards, run an inventory value report for an affected item and site: the value should be the same as before, with fewer on-hand rows behind it.
Run it as a batch job when InventSum holds many zero-quantity rows, and compare inventory value per site before and after in a copy first.Microsoft explains that inventory value reports aggregate InventSum to site level, so the batch-level rows aren't needed and the values stay the same.
On the live system, Information technology manager use this page.
Checked in Dynamics 365
Solution architect
5Design impact
Shared or per company
Per company: the job reads and changes only the data of the legal entity you run it in. Checked in Dynamics 365
Can it be undone
Irreversible: Batch-level InventSum rows with no open quantity are deleted after their value is copied to the site level; they can't be split back, and historical reports that read those rows can show incomplete data. 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 later
Historical and "as of date" reports can show incomplete data for periods where on-hand rows were removed. Microsoft Learn
Technical architect
6Technical
Menu item
action:InventSumSummarizeChecked in Dynamics 365
Form
SysOperationTemplateFormChecked in Dynamics 365
Who can open it
1 security role. Select a role to see its duties and privileges.
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 it
To use itInformation technology manager SysServerITManagerGive people one of these roles. On this system, 1 role can run this page.Checked in Dynamics 365
Load order: On-hand entries aggregation by financial dimensions has no data entity in Data management. On-hand rows come from opening on-hand journals and transactions in the new system; nothing is migrated for this job.Checked in Dynamics 365