BeyondERP.Newsletter
Menu

Setup step on the Dimension history for documents report data clean up page · Inventory management

Delete old dimension history report data

Run Dimension history for documents report data clean up safely and only when the data is no longer needed.

Used by
Information technology manager
Business process
Manage data
Menu item
action:InventReportDimHistoryCleanUp
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, “Exported data kept, old data removed”, 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 task dialog that permanently deletes stored Dimension history for documents report data older than a date you enter.
What you do hereUse this task to remove old Dimension history for documents report data. The dialog warns that the deleted data might not be possible to regenerate and recommends exporting the reports to external storage first.
ExampleFor example, BEAT exports the Dimension history for documents report data for 2024 to its document archive, then runs this cleanup with Clean up history before 1/1/2025 00:00 to remove the stored data for that year from the system.
Dimension history for documents report data clean up 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 › Dimension history for documents report data clean up
Set up firstInventory and warehouse management parameters Checked in Dynamics 365
Used next byTransactions Checked in Dynamics 365
Related pagesInventory on-hand report data clean up Microsoft Learn
In this process Delete old on-hand report data · Repair inconsistent transfer orders
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 itWhen stored Dimension history for documents report data is old and no longer needed, after you have exported the reports you must keep.
How oftenOn demand, when old report data needs to be removed.
What the output showsNo report. Stored Dimension history for documents report data before the date and time you entered is deleted. Data you didn't export first is lost.

Source: Microsoft Learn

Setup steps on this page

Delete old dimension history report data

Run Dimension history for documents report data clean up safely and only when the data is no longer needed.

Steps from Microsoft

  1. Go to Inventory management > Periodic tasks > Clean up > Dimension history for documents report data clean up.
  2. Read the warning: the stored Dimension history for documents report data is deleted for good and might not be possible to regenerate.
  3. Export the reports you still need to external storage first, as the dialog recommends.
  4. Enter the date and time in Clean up history before. Stored report data older than that is deleted.
  5. Afterwards, open the exported copies, and check that report data after the date is still in the system.

Source: Microsoft Learn

Fields on the page

FieldWhat it meansExample
Clean up history beforeStored Dimension history for documents report data older than this date and time is deleted.Checked in Dynamics 3651/1/2025 00:00

Common errors and fixes

MessageWhat to do
Report data from before the date is needed again.The dialog warns it might not be possible to regenerate. Restore it only from the copy you exported before the cleanup. Checked in Dynamics 365

Test checklist

  1. Export the report data before the chosen date.
  2. Run the cleanup in a copy with that date.
  3. Open the exported file and check its row count.
  4. Check that report data after the date is still in the system.

Source: Checked in Dynamics 365

Functional consultant

4Setup decisions

Setup stepRecommended value and whyDecision, common mistake and test
Delete old dimension history report dataExport the report data you must keep before every run, and clean up only data older than the period auditors ask for.The dialog itself warns that the data might not be possible to regenerate and recommends exporting the reports first.How long should dimension history report data stay in the system?Running it before the export has been checked.Test: Exported data kept, old data removed

Feature management and licence

Licence or add-inOn the live system, 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: Stored Dimension history for documents report data before the date is deleted for good and might not be possible to regenerate; export it to external storage first. 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 laterPermanently deletes stored Dimension history for documents report data older than the date you enter. Microsoft Learn
Technical architect

6Technical

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

1 security role. Select a role to see its duties and privileges.

  • RoleInformation technology managerSysServerITManager
    • DutyMaintain system settingsSysServerSettingsMaintain
      • PrivilegeInventReportDimHistoryCleanUpProcess
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 itInformation technology manager SysServerITManagerGive people one of these roles. On this system, 1 role can run this page.Checked in Dynamics 365
Developer

7Developer

Open it by URLhttps://<your-environment>/?mi=action:InventReportDimHistoryCleanUp
Data migrationLoad order: Dimension history for documents report data clean up has no data entity in Data management. The report data is built in the new system; it isn't migrated.Checked in Dynamics 365
Everyone

8Sources

To cite this step: IM-JOBA-190, Delete old dimension history report data. Beyond ERP Atlas Hub. https://www.beyonderp.cloud/atlas/step/IM-JOBA-190