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 :
Finance | Project Operations, Human Resources, ...
Suggested Answer

how to add control when modify parm in batch job dialog?

(0) ShareShare
ReportReport
Posted on by 932

hello,

 I add new parm in batch dialog :  

pastedimage1678959000941v1.png

I want when I activate MultiThread, activate automatically the batch processing 

have you any idea about how to activate this button

I have the same question (0)
  • Suggested answer
    Mohit Rampal Profile Picture
    12,565 Moderator on at
    RE: how to add control when modify parm in batch job dialog?

    Hi BASMA, Probably you can try leveraging below article.

    www.schweda.net/blog_ax.php

    Also there would be another solution to validate if multiThread is enabled then on close of dialog, check value of Batch processing.

  • BASMA Profile Picture
    932 on at
    RE: how to add control when modify parm in batch job dialog?

    hello,

    I use RunBaseBatch

    which method I can use it to validate multiThread and set Batch processing to true?

  • Suggested answer
    Mohit Rampal Profile Picture
    12,565 Moderator on at
    RE: how to add control when modify parm in batch job dialog?

    You can use Validate method as it will be called before run.

    dynamics365musings.com/.../

  • BASMA Profile Picture
    932 on at
    RE: how to add control when modify parm in batch job dialog?

     I use this code but the batch processing always not activated

    public boolean validate(Object _calledFrom = null)
    {
    if (multiThread)
    {
    return this.batchInfo().parmBatchExecute(true);
    }
    return checkFailed("");
    }

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 > Finance | Project Operations, Human Resources, AX, GP, SL

#1
Martin Dráb Profile Picture

Martin Dráb 724 Most Valuable Professional

#2
André Arnaud de Calavon Profile Picture

André Arnaud de Cal... 619 Super User 2025 Season 2

#3
Sohaib Cheema Profile Picture

Sohaib Cheema 400 User Group Leader

Last 30 days Overall leaderboard

Product updates

Dynamics 365 release plans