History cleanup

Download is available until [expire_date]
  • Version 1.3
  • Download 1392
  • File Size 60.10 KB
  • File Count 1
  • Create Date 26/07/2017
  • Last Updated 22/01/2018

History cleanup


This tool provides a framework to cleanup historical data based on a query. The framework is easy to extend by using the extension framework. The following tables/framework are supported out of the box:

  • Batch history
  • Database logging
  • AIF logging
  • Notifications


1.2 - 27/11/2017

  • Added performance fix on the base class because query objects don't support firstonly.
  • Added extra index on the AifMessageLog table.

1.3 - 22/01/2018

  • Added cleanup for the EventInbox (Notifications) table.

(This tool has only been tested on a Dynamics Ax 2012 R3 CU12 environment, please test this before putting in to a production environment and use at your own risk)

One reply on “History cleanup”

Hi Kevin,
I read your posts, it looks very useful, I know it is an old post but I would like to have a copy of this class, thanks in advance!
Best regards
Jie Cheng

Leave a Reply

This site uses Akismet to reduce spam. Learn how your comment data is processed.