Showing posts with label Off Hours. Show all posts
Showing posts with label Off Hours. Show all posts

Active batch periods

 


Reference link

 It was the most demanding requirement from almost every client that they want to execute some XYZ batch after some X number of hours but only after office hours. As we all know this feature was not available in any previous version of AX/D365FO. But with the release of Platform update 21, an additional level of control over when batch jobs screen is now available. 

Scenario covered:

You can configure the hourly Batch job 7 days a week, and can strict the job to execute only the given time window.

Scenario not covered:

You want to configure the hourly Batch job 7 days a week, But you want to execute the job for entire days on weekends or holidays.

Instruction to implement the feature

Go to System administration > Setup > Active periods for batch jobs.

References screenshot



Enter the name of the batch period group, and specify the start and end dates time that the batch job will be active, and save the records.

References screenshot


now go
 to System administration > Inquiries > Batch jobs and find your targeted batch job.

References screenshot


Find the active period column, click on edit and 
select the active period that you want to assign, and then click Save.

References screenshot









Virtual Fields Vs Computed Fields

  Virtual Field: A virtual field in D365FO is a field that doesn't have a direct representation in the database. It's a field that y...