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 :
Microsoft Dynamics AX (Archived)

Batch job consolidation

(0) ShareShare
ReportReport
Posted on by 2,985

Hi All,

I have a four batch job which is having dependencies.I want to create a new batch job which includes all the dependency 4 batch jobs logic. I dont want to add it as a seperate task in batch form.Is there any logic behing to call multiple classes in a single class.

*This post is locked for comments

I have the same question (0)
  • André Arnaud de Calavon Profile Picture
    297,200 Super User 2025 Season 2 on at
    RE: Batch job consolidation

    Hi Kavitha,

    To be able to suggest something, you need to provide coding or summarized pseudo coding how you did the 4 jobs before and now 1 class with all in it.

  • Pravasti AK Profile Picture
    2,985 on at
    RE: Batch job consolidation

    Hello Experts,

    Any update on this .

    Thanks,

    Kavitha

  • Pravasti AK Profile Picture
    2,985 on at
    RE: Batch job consolidation

    Hi Andre,

    Please find below the details:

    Creating a purchase order-1st batch.

    Confirming the PO - 2nd batch.

    Invoicing the PO -3 rd batch.

    Sending email the report -4th batch.

    So all the batch job running sucessfully seperately all have dependencies. They extending each class one after the other .

    My task is to consolidate all four batch job .So i create a class which uses the logic of all 4 classes its running all the four process in a fine way but when i try to add in a batch its only creating the PO not processing the other.

    Thanks,

    Kavitha.

  • André Arnaud de Calavon Profile Picture
    297,200 Super User 2025 Season 2 on at
    RE: Batch job consolidation

    Hi Kavitha,

    Can you provide some more information where you exactly select the batch processing job? Can you describe the steps of your attempt?

  • Pravasti AK Profile Picture
    2,985 on at
    RE: Batch job consolidation

    Hi Andre,

    I can do the coding by constructing all the classes in the main method , from the AOT  when i try to run the class its processing all four batch perfectly and getting output as expected but if i select batch processing checbox to enable its executing only the first job alone.

    Thanks,

    Kavitha

  • André Arnaud de Calavon Profile Picture
    297,200 Super User 2025 Season 2 on at
    RE: Batch job consolidation

    Hi Kavitha,

    Do you need a guidance how to do this using x++ coding or do you want to use the user interface and set it manually?

Under review

Thank you for your reply! To ensure a great experience for everyone, your content is awaiting approval by our Community Managers. Please check back later.

Helpful resources

Quick Links

Responsible AI policies

As AI tools become more common, we’re introducing a Responsible AI Use…

Mansi Soni – Community Spotlight

We are honored to recognize Mansi Soni as our August 2025 Community…

Congratulations to the July Top 10 Community Leaders!

These are the community rock stars!

Leaderboard > 🔒一 Microsoft Dynamics AX (Archived)

#1
Syed Haris Shah Profile Picture

Syed Haris Shah 9

#2
Mea_ Profile Picture

Mea_ 4

#3
KP-31070522-0 Profile Picture

KP-31070522-0 3

Last 30 days Overall leaderboard

Featured topics

Product updates

Dynamics 365 release plans