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, “Values 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 batch-managed paint, and each sold batch leaves an on-hand record with zero quantity. The job copies the remaining values of 12,000 such records to the site-level record of the same item and deletes them, and the inventory value per item and site stays the same.
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 on-hand queries slow down because many batch or serial number records with zero quantity remain in the on-hand table.
How often
On demand, when the number of closed on-hand records has grown again.
Batch settings
Run it in the background outside business hours; on large item ranges it reads the whole on-hand table.
What the output shows
Fewer on-hand records. Values from zero-quantity records are rolled up to the site level, so inventory value reports show the same totals. A changed total per item and site after the run points to a problem and should be raised before you continue.
Roll up zero-quantity on-hand records to site level to keep on-hand queries fast.
Steps from Microsoft
Go to Cost management > Inventory accounting > Clean up > On-hand entries aggregation by financial dimensions.
Before you start, run an inventory value report for a few items with batch or serial numbers, so you have values to compare with afterwards.
Know what the job does: it finds InventSum records with no open quantities, copies their remaining values to the record for the same item and site, and deletes the lower-level record.
Use Records to include to limit the first run to a few items or one item group, then select OK.
Run the same inventory value report again and check that the value per item and site is unchanged while the number of on-hand records has gone down.
Filter that limits which items and on-hand records the job processes.Checked in Dynamics 365
Run in the background
Sends the job to the batch framework with a batch group, recurrence and alerts instead of running it while you wait.Checked in Dynamics 365
Common errors and fixes
Message
What to do
A historical or as-of-date report shows less detail for an old period
The job removed on-hand records with zero quantity. Value totals per item and site stay the same; detail below site level for those records is gone. Limit the run to items where that detail isn't needed. Microsoft Learn
Test checklist
Inventory value per item and site is the same before and after the run.
Items with open quantities still show their on-hand records by batch or serial number.
Run it in the background for batch- or serial-tracked items when the on-hand table has grown, after running an inventory value report to compare.The routine keeps the inventory value per item and site the same while it removes records with no open quantity.
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, so it can't be loaded from a file or a configuration template. It rolls up existing on-hand records; nothing is migrated.Checked in Dynamics 365