# how to set up batch job in AX?

**URL:** <https://www.dynamicsuser.net/t/how-to-set-up-batch-job-in-ax/42436>\
**Category:** User Forum\
**Created:** [December 21, 2012, 2:59am UTC](https://www.dynamicsuser.net/t/how-to-set-up-batch-job-in-ax/42436 "2012-12-21T02:59:52Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![tFabrio](https://avatars.discourse-cdn.com/v4/letter/t/4bbf92/32.png) [@tFabrio](https://www.dynamicsuser.net/u/tFabrio)\
**Post date:** [December 21, 2012, 2:59am UTC](https://www.dynamicsuser.net/t/how-to-set-up-batch-job-in-ax/42436/1 "2012-12-21T02:59:52Z")

</div>

Hi, we want to schedule the invoice postings all the payment journals, general journals, picklist journals to be schedule say once a day so that we can batch many journals togather and then post in 1 shot. Do we need to set up batch job for each type of journals? what is the best practice when it comes to scheduling the batch job? How to set this up? Do we need any special server to be set up for this purpose?

many thanks

---

<div class="post-metadata">

**Author:** ![tFabrio](https://avatars.discourse-cdn.com/v4/letter/t/4bbf92/32.png) [@tFabrio](https://www.dynamicsuser.net/u/tFabrio)\
**Post date:** [December 22, 2012, 12:50am UTC](https://www.dynamicsuser.net/t/how-to-set-up-batch-job-in-ax/42436/2 "2012-12-22T00:50:27Z")

</div>

any feedback from anyone?

---

<div class="post-metadata">

**Author:** ![AdamRoue](https://avatars.discourse-cdn.com/v4/letter/a/c37758/32.png) [@AdamRoue](https://www.dynamicsuser.net/u/AdamRoue)\
**Post date:** [December 22, 2012, 11:51am UTC](https://www.dynamicsuser.net/t/how-to-set-up-batch-job-in-ax/42436/3 "2012-12-22T11:51:30Z")

</div>

The batch job will depend upon timings, so you need to define each, so map out what you want with regards to posting and recurrence. You should have a batch server. This concept has not changed and there are lots of postings on this forum that you can search upon.

---

<div class="post-metadata">

**Author:** ![sajukbrave](https://avatars.discourse-cdn.com/v4/letter/s/c2a13f/32.png) [@sajukbrave](https://www.dynamicsuser.net/u/sajukbrave)\
**Post date:** [December 23, 2012, 10:28am UTC](https://www.dynamicsuser.net/t/how-to-set-up-batch-job-in-ax/42436/4 "2012-12-23T10:28:43Z")

</div>

Hi Patrick,

1. Click Area Page node: **Administration → Setup → Server configuration**.

2. Make sure the selection is changed in table Server Configuration to:

|   
  
**AOS instance name**  
  
 |   
  
**Is Batch Server**  
  
 |   
  
**Load Balancer**  
  
 |   
  
**Max concurrent sessions**  
  
 |   
  
**Cluster name**  
  
 |
| --- | --- | --- | --- | --- |
|   
  
02@AXSERVER  
  
 |   
  
No  
  
 |   
  
No  
  
 |   
  
2000  
  
 |   
  
Non Load Balanced AOS Instances  
  
 |

1. Change **Is Batch Server** from ‘No’ to ‘Yes’.

2. Close the **Server configuration** form.

3. Click Area Page node: **Basic → Inquiries → Batch job**.

4. Create a new record in the **Batch job** form.

5. Change **Job description** from ‘’ to ‘Test’.

6. Change **Created by** from ‘’ to ‘SAJU’.

7. Change **Company accounts** from ‘’ to ‘Your Company’.

8. Save the record in the **Batch job** form.

9. Click the **View tasks** button.

Form name: Batch tasks

1. Create a new record in the **Batch tasks** form.

2. Change **Task description** from ‘’ to ‘Test’.

3. Change **Company accounts** from ‘’ to ‘DAT’.

4. Change **Class name** from ‘’ to ‘Select The Class Name’.

5. Change **Run location** from ‘Client’ to ‘Server’.

6. Right-click the field to go to the main table.

**Form name: Batch group**

1. Create a new record in the **Batch group** form.

2. Change **Group** from ‘’ to ‘Test’.

3. Change **Description** from ‘’ to ‘Test’.

4. Save the record in the **Batch group** form.

5. Switch to the **Batch servers** tab on the **Batch group** form.

6. Click the **\<** button(Select the AOS server).

7. Save the record in the **Batch group** form.

8. Close the **Batch group** form.

9. Change **Batch group** from ‘’ to ‘Test’.

10. Save the record in the **Batch tasks** form.

11. Close the **Batch tasks** form.

12. Click the **Recurrence** button.

13. Change **TimezoneId** from ‘(GMT+02:00) Harare, Pretoria’ to ‘(GMT+05:30) Chennai, Kolkata, Mumbai, New Delhi’.

14. Change **Count** from ‘10’ to ‘2’.

15. Click the **OK** button.

16. Save the record in the **Batch job** form.

17. Close the **Batch job** form.

If you have any doubt on this.Please let me know.
