Skip to main content

Notifications

Finance | Project Operations, Human Resources, ...
Suggested answer

How to disable batch job checkbox at Sysoperation class?

(0) ShareShare
ReportReport
Posted on by 7
hi, I am using SysOperationFramework and want to set the Batch Processing button in the dialogue form to YES by default. and also want to disable it so that the user cannot change it.
 
Can someone help me acheive this?
 
  • Suggested answer
    Hana Xue Profile Picture
    Hana Xue Microsoft Employee on at
    How to disable batch job checkbox at Sysoperation class?
    Hi mateen,
    Found a blog similar to your problem and it provides you a solution in the sub link:
    https://www.linkedin.com/posts/lokesh-yadav-d365_how-disable-batch-process-in-d365fo-activity-7054118758402916354-Qi7p
    Best Regards,
    Hana
  • Suggested answer
    Mohit Rampal Profile Picture
    Mohit Rampal 12,552 Super User 2024 Season 1 on at
    How to disable batch job checkbox at Sysoperation class?
  • Anitha Eswaran Profile Picture
    Anitha Eswaran 312 on at
    How to disable batch job checkbox at Sysoperation class?
    Hi,
     
    Can you check if this post would help you to disable the field?
     
     
  • mateen462 Profile Picture
    mateen462 7 on at
    How to disable batch job checkbox at Sysoperation class?
    I have found the way to make it YES as default.
     
    In the UIBuilderClass, you have to make a build function and write the following code:
     
    public void build()
        {
            super();
            this.controller().batchInfo().parmBatchExecute(NoYes::Yes);
        }
     
    But I still cannot find a way to make it disabled so that the user cannot change it's value. Someone please help me out regarding that.

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

Announcing Our 2025 Season 1 Super Users!

A new season of Super Users has arrived, and we are so grateful for the daily…

Announcing Forum Attachment Improvements!

We're excited to announce that attachments for replies in forums and improved…

Vahid Ghafarpour – Community Spotlight

We are excited to recognize Vahid Ghafarpour as our February 2025 Community…

Leaderboard

#1
André Arnaud de Calavon Profile Picture

André Arnaud de Cal... 291,965 Super User 2025 Season 1

#2
Martin Dráb Profile Picture

Martin Dráb 230,817 Most Valuable Professional

#3
nmaenpaa Profile Picture

nmaenpaa 101,156

Leaderboard

Product updates

Dynamics 365 release plans