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)

how to execute batch job?

(0) ShareShare
ReportReport
Posted on by 932

Hello,

I configure a batch job that send by mail sales order confirmation every hour.
Just the first time I receive a mail. then I do not receive any mail despite in the history the batch job was executed every hour.

Can you help me.

*This post is locked for comments

I have the same question (0)
  • AX 2012 r3 Profile Picture
    2,426 on at

    Hi,

    See the recurrence for batch job

    and do not forget to run Full CIL

    Batch jobs require CIL

    Regards

  • Martin Dráb Profile Picture
    237,965 Most Valuable Professional on at

    You said it was executed, but nothing about whether it succeeded. Even if it did, check if there isn't anything interesting in infolog for the particular run.

    Are you sure that the batch had any confirmations to process?

  • BASMA Profile Picture
    932 on at

    0160.Sans-titre.png

    I do like this.

  • BASMA Profile Picture
    932 on at

    for the first time I received confirmation.Yes i have confirmation but i dont receive any thing.

  • AX 2012 r3 Profile Picture
    2,426 on at

    Have you done Full CIL ?

  • BASMA Profile Picture
    932 on at

    I do before executing batch.

  • Verified answer
    Vilmos Kintera Profile Picture
    46,149 on at

    You have ignored what Martin just asked. If you check Batch job history, do you see all of them with Ended status? If you highlight recent ones where confirmations should have been posted, in the history of the batch job, what do you get in the infolog if you press the button?

    Maybe your batch is set up like you only post the specific order and since it is already processed, you do not get additional confirmations, which is expected. Make sure you set it up with Late selection, through the main menu directly.

    community.dynamics.com/.../automate-your-ax-2012-sales-order-processing

  • BASMA Profile Picture
    932 on at

    Hi Vilmos,

    i don't ignored what martin said,in the history i find that the batch job was executed every hour but i dont receive mail

  • Vilmos Kintera Profile Picture
    46,149 on at

    Being executed, or being ended and actually processing an order are two very different things :) Please provide additional details such as the infolog on a recent batch execution, etc. Also please comment on how did you set up your batch, did you do Late selection as per above?

  • Community Member Profile Picture
    on at

    Your question miss precision, but if your logic run in client side correctly, your problem is about moving coding execution on server side. So give me ur code and i can help you.

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