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

Notifications

Announcements

No record found.

Community site session details

Community site session details

Session Id :
Microsoft Dynamics AX (Archived)

Batch job using jobs in AX

(0) ShareShare
ReportReport
Posted on by 1,260

Hi,

If someone can guide me how to create a batch jobs for the jobs that is created in X++. I have a job created in AX and I want it to run using the batch job. How can I do that?

*This post is locked for comments

I have the same question (0)
  • Suggested answer
    Martin Dráb Profile Picture
    237,904 Most Valuable Professional on at

    Here you have a tutorial: Art Of Creation: SysOperation introduction.

    Use your favorite search engine to find more information, if needed - there are plenty of resource on internet.

  • Daljit Kaur Rahsi Profile Picture
    1,260 on at

    Hi Martin,

    Thanks for the link, I have looked into it but I did not see anyone speaking or documentation on creating a batch jobs from X++ jobs in AOT.

    I have job created in AOT and I want to run that code job into a batch job - is it possible?

  • Suggested answer
    Mea_ Profile Picture
    60,284 on at

    Hi D_Meethu R,

    You cannot run a job as a batch. To use batch you need to have a class that use RunBaseBatch or SysOperation framework.

    You already have a link from Martin about SysOperation, here is explanation of RunBaseBatch  msdn.microsoft.com/.../cc636647.aspx

  • Daljit Kaur Rahsi Profile Picture
    1,260 on at

    Ievgen,

    So when I am using a RunBaseBatch or SysOperation framework will I be including mu X++ job code into the class?

  • Mea_ Profile Picture
    60,284 on at

    Yep, you can find Tutorial_RunbaseBatch class in AOT and use it as a template, also you need to read links provided in posts above.

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…

Neeraj Kumar – Community Spotlight

We are honored to recognize Neeraj Kumar as our Community Spotlight honoree for…

Leaderboard > 🔒一 Microsoft Dynamics AX (Archived)

#1
Martin Dráb Profile Picture

Martin Dráb 4 Most Valuable Professional

#1
Priya_K Profile Picture

Priya_K 4

#3
MyDynamicsNAV Profile Picture

MyDynamicsNAV 2

Last 30 days Overall leaderboard

Featured topics

Product updates

Dynamics 365 release plans