Skip to main content

Notifications

Microsoft Dynamics AX (Archived)

how to execute batch job?

(0) ShareShare
ReportReport
Posted on by 920

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

  • BASMA Profile Picture
    BASMA 920 on at
    RE: how to execute batch job?

    8883.Sans-titre.png

  • Community Member Profile Picture
    Community Member Microsoft Employee on at
    RE: how to execute batch job?

    Give me the exact query.

  • BASMA Profile Picture
    BASMA 920 on at
    RE: how to execute batch job?

    my query is based on the customer order table and on some fields like customer number and creation date

    7585.Sans-titre.png

  • Community Member Profile Picture
    Community Member Microsoft Employee on at
    RE: how to execute batch job?

    You don't understand me, i wanted to know how you build your query, what your query include tables and fields?

  • BASMA Profile Picture
    BASMA 920 on at
    RE: how to execute batch job?

    sales and marketing >periodic >update sales >sales order confirmation, then i click on selection and i setup my query

  • Community Member Profile Picture
    Community Member Microsoft Employee on at
    RE: how to execute batch job?

    How you setup your query while creating the batch?

  • BASMA Profile Picture
    BASMA 920 on at
    RE: how to execute batch job?

    ok thanks Ahmed,

    But how can I make debugger ?

    thanks :)

  • Community Member Profile Picture
    Community Member Microsoft Employee on at
    RE: how to execute batch job?

    Last time i worked on requirement to email payment advice for vendors, so i have to make cutomizations for AX which it doesn't support. So i will test this scenarios next time and find the issue. But, try to do it by yourself, try to execute the batch manually and make debugger while initializing printer settings i think you can identify your issue. Maybe AX don't support this and you have to add cutomization. But, now i can't confirm this.

  • BASMA Profile Picture
    BASMA 920 on at
    RE: how to execute batch job?

    the primary email is checked,but not the adress that i will send mail.

    the batch job is executed every hour and confirm sales ,send mail.

    I noticed that when there is a single command the batch sends mail but when they exist several commands for several customers, the batch confirms the commands but it does not send mails.

  • Community Member Profile Picture
    Community Member Microsoft Employee on at
    RE: how to execute batch job?

    Verify if the primary email is checked, otherwise try to describe what scenarios succeded and what are failed maybe i can help you if i get more details by finding the difference between succeded and failed scenarios.

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

News and Announcements

Announcing Category Subscriptions!

Quick Links

December Spotlight Star - Muhammad Affan

Congratulations to a top community star!

Top 10 leaders for November!

Congratulations to our November super stars!

Tips for Writing Effective Suggested Answers

Best practices for providing successful forum answers ✍️

Leaderboard

#1
André Arnaud de Calavon Profile Picture

André Arnaud de Cal... 291,280 Super User 2024 Season 2

#2
Martin Dráb Profile Picture

Martin Dráb 230,253 Most Valuable Professional

#3
nmaenpaa Profile Picture

nmaenpaa 101,156

Leaderboard

Featured topics

Product updates

Dynamics 365 release plans