Sales update history cleanup job fails or has performance issues

Symptoms

The Sales update history cleanup batch job fails or has performance issues.

Cause

This can occur when your system includes a large number of sales updates, which can result in a large amount of sales update data. The cleanup job attempts to clean all of this data in one transaction. As a result, the job may take a very long time to run or even fail.

Resolution

A new version of the Sales update history cleanup batch job is available for Supply Chain Management version 10.0.19 and higher. This feature isn't turned on by default. For details about how it works and how to enable it in feature management, see Schedule sales history data cleanup.