Delete sales history of update (class form) [AX 2012]

Updated: October 17, 2012

Applies To: Microsoft Dynamics AX 2012 R3, Microsoft Dynamics AX 2012 R2, Microsoft Dynamics AX 2012 Feature Pack, Microsoft Dynamics AX 2012

Click Sales and marketing > Periodic > Clean up > Sales update history cleanup.

Use this form to delete old update history transactions. All updates of confirmations, picking lists, packing slips, and invoices generate update history transactions. You can view these transactions in the History on update form. You can delete history transactions that are generated with or without errors.

For instructions about how to delete the updates, see Delete the update history of purchase or sales orders.


It is useful to delete the history of updates before you upgrade Microsoft Dynamics AX, because you then avoid occupying system resources that are needed more for updates of data.

The following tables provide descriptions for the controls in this form.




Select the type of sales update history that you want to delete.


View the settings that you have to consider to set up a batch job to delete the sales history of update transactions.




Set up recurring batch jobs.


Set up an alert for the batch jobs.



Clean up

Indicate what should be cleaned up. This can be history transactions with or without errors. You can select one of these options:

  • Executed

  • Executed and erroneous

Created until

Enter the date until which you want to delete existing history of update transactions.

Batch processing

Select to run the task as a batch job.


Enter a description of the batch job.

Batch group

Select a batch group to attach the batch job to.


Select to make sure that only the user who ordered the job can run the job.

Announcements: To see known issues and recent fixes, use Issue search in Microsoft Dynamics Lifecycle Services (LCS).