AX / D365FO – Clean up the batch job history

When several batch jobs have been created, especially batch jobs that have a high recurrence, lots of batch job history entries are generated. Too many entries in the history table can negatively affect the performance of future jobs.

Two pages that have been added to the System administration module make it easy to clean up the batch job history:

  • Batch job history clean-up
  • Custom batch job history clean-up

Batch job history clean-up

Follow these steps to quickly clean up all history entries that are older than a specified number of days.

  1. On the Periodic tasks in System administration module, select Batch job history clean-up.
  2. In the History limit (days) field, specify the number of days to keep a history of batch jobs.
  3. Select OK.

Batch job history clean-up (custom)

The custom batch job lets you to apply additional filtering, based on criteria such as status, job description, company, or user. You can also add other filter criteria by selecting the Filter button.

  1. On the Periodic tasks in System administration module, select Batch job history clean-up (custom).
  2. In the History limit (days) field, specify the number of days to keep a history of batch jobs.
  3. On the Records to include FastTab, specify any filter criteria that you require, and then select OK.
  4. Select OK.

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out /  Change )

Facebook photo

You are commenting using your Facebook account. Log Out /  Change )

Connecting to %s