web
You’re offline. This is a read only version of the page.
close
Skip to main content

Announcements

No record found.

News and Announcements icon
Community site session details

Community site session details

Session Id :
Supply chain | Supply Chain Management, Commerce
Answered

Dimension history for documents report data clean up - How it works?

(2) ShareShare
ReportReport
Posted on by 21
Hello Everyone,
 
I am trying to clear out the back log and there is a feature with this name "Dimension history for documents report data clean up" and supposedly, it permanently deletes stored Dimension history for documents report data including purchase packing slip, purchase confirmation, sales packing slip, sales invoice, sales quotation, picking list, vendor invoice.
However, when i run this job, the logs doesn't show any deletion logs or anything. Further, i can see all the documents reports as well before the deletion date given in batch job.
I would request you to share your experience over this, if i am missing anything.
 
I have the same question (0)
  • Adis Profile Picture
    6,717 Super User 2026 Season 1 on at
     Hi,
     
    Could you show us where you set up those clean up jobs? Is it in a form or a batch job. If it is a batch job, please also share the class name.
    Just want to be sure that we are talking about the same clean up job.
     

    Kind regards, Adis

     

    If this helped, please mark it as "Verified" for others facing the same issue

    Keep in mind that it is possible to mark more than one answer as verified

  • MA-11111252-0 Profile Picture
    21 on at
    Hi Adis,
     
    Yes, it is a batch job. Class Name: InventReportDimHistoryCleanUp
     
    No Logs displayed:
     
     
    Batch Job:
  • Verified answer
    Martin Dráb Profile Picture
    239,551 Most Valuable Professional on at
    The class doesn't do much. It simply deletes all records from InventReportDimHistory (in the current partition and company) with CreatedDateTime smaller or equal to the value of Clean up history before dialog field.

Under review

Thank you for your reply! To ensure a great experience for everyone, your content is awaiting approval by our Community Managers. Please check back later.

Helpful resources

Quick Links

Introducing the 2026 Season 1 community Super Users

Congratulations to our 2026 Super Stars!

Meet the Microsoft Dynamics 365 Contact Center Champions

We are thrilled to have these Champions in our Community!

Congratulations to the April Top 10 Community Leaders

These are the community rock stars!

Leaderboard > Supply chain | Supply Chain Management, Commerce

#1
André Arnaud de Calavon Profile Picture

André Arnaud de Cal... 129 Super User 2026 Season 1

#2
Zain Mehmood Profile Picture

Zain Mehmood 89 Most Valuable Professional

#3
Laurens vd Tang Profile Picture

Laurens vd Tang 73 Super User 2026 Season 1

Last 30 days Overall leaderboard

Product updates

Dynamics 365 release plans