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

Community site session details

Session Id :

[Batch Framework] Maintaining batch Job History by Save job to history option in MSD365 Finance and Operations

Ramit Paul Profile Picture Ramit Paul 22,797 Most Valuable Professional

Dear Microsoft BizApps Community,

Welcome to my next blog on batch jobs framework, in this article, we shall see how we can define which job to have batch job history saved and also, we can define which job to have only error history saved.

Scenario and Concept

A batch job helps to execute any activity in D365 in the background without having manual effort for the same activity, example, Posting Free Text invoice by batch, it helps to post Free text invoice automatically without manual effort in recurrence basis.

However, if a batch job is recurring time is very short, the batch job history keeps increasing and as a result database size gets increased, it has costing impact.

Solution design Concept

MSD365 has a very robust function in batch job setup itself, where Consultant can setup which batch to have history saved or only Error history saved.

Note- It also has possibility not to have any history as well, however this anyway does not help for audit purpose for critical batch jobs.

Configurations

Navigate to System administration->> Inquires ->> batch jobs

Select any batch job-> clink on the “job ID”

pastedimage1661631698438v1.png

The below form will open for that batch job

 

From the same form, Go to “Save job to history” field  ->> from here we have three options as follows~

Always- System will store all the recurrence batch job ran history in Batch Job history form

Errors only- System will only store ran but failed/error history in Batch Job history form

Never- System wont ever store any history in the Batch Job history form

 pastedimage1661631715050v2.png

That’s it for this article, thanks for going through

Happy days

Comments

*This post is locked for comments