Accounting manager, Buying agent, Customer service manager and 28 more roles
Business process
Manage data
Menu item
action:InventOnhandStorageReportCleanUp
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, “Only runs before the date lose their data”, 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 deletes the stored on-hand data of reports that were run before a given date.
What you do here
Use this periodic task to remove saved data from old on-hand reports.
Example
For example, BEAT stores an Inventory on-hand report every month-end and has 36 stored runs. On a Sunday, when nobody runs the report, it deletes the stored data of runs before 1/1/2026 and keeps the last ten months.
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 stored data from old Inventory on-hand report runs is no longer needed, at a time when nobody is running that report.
How often
On demand, when old report data has piled up. Microsoft gives no fixed interval.
Batch settings
Schedule it at a time when the Inventory on-hand report isn't running.
What the output shows
No report. The stored on-hand data of report runs before the date is deleted. If someone needs an old run, it must be run again; it then shows on-hand as of the new run.
Keep the runs finance needs, for example the last 12 month-ends, and schedule the cleanup when nobody runs the Inventory on-hand report.The job deletes report data executed before the newest date to keep, and the dialog warns not to run it while the report runs.
On the live system, Quality control manager, Warehouse manager, Materials manager, Quality control clerk and Production supervisor 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: The stored on-hand data of report runs before the date is deleted for good. Don't run the cleanup while the Inventory on-hand report is running. 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
Deletes the stored on-hand data of Inventory on-hand report runs before the date you enter. Microsoft Learn
Technical architect
6Technical
Menu item
action:InventOnhandStorageReportCleanUpChecked in Dynamics 365
Form
DialogChecked in Dynamics 365
Who can open it
31 security roles. Select a role to see its duties and privileges.
RoleAccounting managerLedgerAccountingManager
DutyInquire into related inventory statusInventRelatedInventoryStatusInquire
PrivilegeView on-hand inventory per itemInventOnhandItemView
DutyInquire into inventory statusInventStatusInquire
PrivilegeView on-hand inventory per itemInventOnhandItemView
RoleBuying agentTradeBuyingAgent
DutyInquire into related inventory statusInventRelatedInventoryStatusInquire
PrivilegeView on-hand inventory per itemInventOnhandItemView
RoleCustomer service managerTradeCustomerServiceManager
DutyInquire into related inventory statusInventRelatedInventoryStatusInquire
PrivilegeView on-hand inventory per itemInventOnhandItemView
RoleCustomer service representativeTradeCustomerServiceRepresentative
DutyInquire into related inventory statusInventRelatedInventoryStatusInquire
PrivilegeView on-hand inventory per itemInventOnhandItemView
DutyMaintain service ordersSMAServiceOrdersMaintain
PrivilegeView on-hand inventory per itemInventOnhandItemView
RoleField Service Integration UserFieldServiceIntegrationUser
DutyInquire into inventory statusInventStatusInquire
PrivilegeView on-hand inventory per itemInventOnhandItemView
RoleField service technicianSMAFieldServiceTechnician
DutyInquire into service ordersSMAServiceOrderProgressInquire
PrivilegeView on-hand inventory per itemInventOnhandItemView
DutyMaintain service ordersSMAServiceOrdersMaintain
PrivilegeView on-hand inventory per itemInventOnhandItemView
RoleInventory accountantInventCostAccountant
DutyInquire into related inventory statusInventRelatedInventoryStatusInquire
PrivilegeView on-hand inventory per itemInventOnhandItemView
DutyInquire into inventory statusInventStatusInquire
PrivilegeView on-hand inventory per itemInventOnhandItemView
RoleInventory accountant clerkInventCostCostClerk
DutyInquire into related inventory statusInventRelatedInventoryStatusInquire
PrivilegeView on-hand inventory per itemInventOnhandItemView
DutyInquire into inventory statusInventStatusInquire
PrivilegeView on-hand inventory per itemInventOnhandItemView
RoleMaintenance clerkEntAssetMaintenanceClerk
DutyInquire into inventory statusInventStatusInquire
PrivilegeView on-hand inventory per itemInventOnhandItemView
RoleMaintenance managerEntAssetMaintenanceManager
DutyInquire into inventory statusInventStatusInquire
PrivilegeView on-hand inventory per itemInventOnhandItemView
RoleMaterials managerInventMaterialsManager
DutyInquire into related inventory statusInventRelatedInventoryStatusInquire
PrivilegeView on-hand inventory per itemInventOnhandItemView
DutyInquire into inventory statusInventStatusInquire
PrivilegeView on-hand inventory per itemInventOnhandItemView
DutyInquire into warehouse operation progressWMSWarehouseOperationProgressInquire
PrivilegeView on-hand inventory per itemInventOnhandItemView
RoleProduct design managerBOMProductDesignManager
DutyInquire into related inventory statusInventRelatedInventoryStatusInquire
PrivilegeView on-hand inventory per itemInventOnhandItemView
RoleProduct designerBOMProductDesigner
DutyInquire into related inventory statusInventRelatedInventoryStatusInquire
PrivilegeView on-hand inventory per itemInventOnhandItemView
RoleProduction managerProdProductionManager
DutyInquire into inventory statusInventStatusInquire
PrivilegeView on-hand inventory per itemInventOnhandItemView
RoleProduction supervisorProdProductionSupervisor
DutyInquire into inventory statusInventStatusInquire
PrivilegeView on-hand inventory per itemInventOnhandItemView
RoleProject assistantProjProjectClerk
DutyInquire into inventory statusInventStatusInquire
PrivilegeView on-hand inventory per itemInventOnhandItemView
RoleProject managerProjProjectManager
DutyInquire into inventory statusInventStatusInquire
PrivilegeView on-hand inventory per itemInventOnhandItemView
RolePurchasing managerTradePurchasingManager
DutyInquire into related inventory statusInventRelatedInventoryStatusInquire
PrivilegeView on-hand inventory per itemInventOnhandItemView
RoleQuality control clerkInventQualityControlClerk
DutyInquire into related inventory statusInventRelatedInventoryStatusInquire
PrivilegeView on-hand inventory per itemInventOnhandItemView
DutyInquire into warehouse operation progressWMSWarehouseOperationProgressInquire
PrivilegeView on-hand inventory per itemInventOnhandItemView
RoleQuality control managerInventQualityControlManager
DutyInquire into related inventory statusInventRelatedInventoryStatusInquire
PrivilegeView on-hand inventory per itemInventOnhandItemView
DutyInquire into inventory statusInventStatusInquire
PrivilegeView on-hand inventory per itemInventOnhandItemView
DutyInquire into warehouse operation progressWMSWarehouseOperationProgressInquire
PrivilegeView on-hand inventory per itemInventOnhandItemView
RoleReceiving clerkInventReceivingClerk
DutyInquire into related inventory statusInventRelatedInventoryStatusInquire
PrivilegeView on-hand inventory per itemInventOnhandItemView
DutyInquire into warehouse operation progressWMSWarehouseOperationProgressInquire
PrivilegeView on-hand inventory per itemInventOnhandItemView
RoleRetail serviceRetailService
DutyInquire into inventory statusInventStatusInquire
PrivilegeView on-hand inventory per itemInventOnhandItemView
RoleRetail store managerRetailStoreManager
DutyInquire into inventory statusInventStatusInquire
PrivilegeView on-hand inventory per itemInventOnhandItemView
RoleSales clerkTradeSalesClerk
DutyInquire into related inventory statusInventRelatedInventoryStsInqrWithoutRep
PrivilegeView on-hand inventory per itemInventOnhandItemView
RoleSales managerTradeSalesManager
DutyInquire into related inventory statusInventRelatedInventoryStatusInquire
PrivilegeView on-hand inventory per itemInventOnhandItemView
DutyInquire into service ordersSMAServiceOrderProgressInquire
PrivilegeView on-hand inventory per itemInventOnhandItemView
RoleSales representativeTradeSalesRepresentative
DutyInquire into related inventory statusInventRelatedInventoryStatusInquire
PrivilegeView on-hand inventory per itemInventOnhandItemView
DutyInquire into service ordersSMAServiceOrderProgressInquire
PrivilegeView on-hand inventory per itemInventOnhandItemView
DutyInquire into inventory statusInventStatusInquire
PrivilegeView on-hand inventory per itemInventOnhandItemView
DutyInquire into service ordersSMAServiceOrderProgressInquire
PrivilegeView on-hand inventory per itemInventOnhandItemView
DutyMaintain service ordersSMAServiceOrdersMaintain
PrivilegeView on-hand inventory per itemInventOnhandItemView
RoleService dispatcherSMADispatcher
DutyInquire into service ordersSMAServiceOrderProgressInquire
PrivilegeView on-hand inventory per itemInventOnhandItemView
DutyMaintain service ordersSMAServiceOrdersMaintain
PrivilegeView on-hand inventory per itemInventOnhandItemView
RoleShipping clerkInventShippingClerk
DutyInquire into related inventory statusInventRelatedInventoryStatusInquire
PrivilegeView on-hand inventory per itemInventOnhandItemView
DutyInquire into warehouse operation progressWMSWarehouseOperationProgressInquire
PrivilegeView on-hand inventory per itemInventOnhandItemView
RoleWarehouse managerWMSWarehouseManager
DutyInquire into related inventory statusInventRelatedInventoryStatusInquire
PrivilegeView on-hand inventory per itemInventOnhandItemView
DutyInquire into inventory statusInventStatusInquire
PrivilegeView on-hand inventory per itemInventOnhandItemView
DutyInquire into warehouse operation progressWMSWarehouseOperationProgressInquire
PrivilegeView on-hand inventory per itemInventOnhandItemView
RoleWarehouse workerWMSWarehouseWorker
DutyInquire into related inventory statusInventRelatedInventoryStatusInquire
PrivilegeView on-hand inventory per itemInventOnhandItemView
DutyInquire into warehouse operation progressWMSWarehouseOperationProgressInquire
PrivilegeView on-hand inventory per itemInventOnhandItemView
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 itQuality control manager InventQualityControlManagerWarehouse manager WMSWarehouseManagerMaterials manager InventMaterialsManagerQuality control clerk InventQualityControlClerkProduction supervisor ProdProductionSupervisorGive people one of these roles. On this system, 31 roles can run this page.Checked in Dynamics 365
Load order: Inventory on-hand report data clean up has no data entity in Data management. Stored report data is built by running the report in the new system; it isn't migrated.Checked in Dynamics 365