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, ...
Answered

Disable Batch Processing button on Batch dialog form of SysOperation Framework in X++

(1) ShareShare
ReportReport
Posted on by 758

Hi everyone,

I have to disable Batch processing button, so that user cannot set it to No whenever dialog pops up.

I am using SysOperationFramework.

I tried solution mentioned on below blog, but that did not work for me.

https://www.linkedin.com/pulse/how-disable-batch-process-d365fo-lokesh-yadav/

Can you please suggest how this can be achieved?


I have the same question (0)
  • Verified answer
    Navneeth Nagrajan Profile Picture
    2,140 Super User 2025 Season 2 on at
    Disable Batch Processing button on Batch dialog form of SysOperation Framework in X++ D365 F&O
    Hi,
     
    As Martin rightly said the controller class should override either the canGoBatch() or mustGoBatch() methods and return false in this case. A glimpse of the standard class SysOperationsServiceController where these methods exist.
     
  • Verified answer
    Martin Dráb Profile Picture
    235,820 Most Valuable Professional on at
    Disable Batch Processing button on Batch dialog form of SysOperation Framework in X++ D365 F&O
    I think your controller should override canGoBatch() method and return false.
  • Rhushikesh R Profile Picture
    758 on at
    Disable Batch Processing button on Batch dialog form of SysOperation Framework in X++ D365 F&O
    Below is the code,

    It shows compiler error. This method does not exist.

    fieldBatchExecuteValue method does exist but not fieldBatchExecuteAllowEdit.

    Neither worked for me,

  • Suggested answer
    Waed Ayyad Profile Picture
    8,825 Super User 2025 Season 2 on at
    Disable Batch Processing button on Batch dialog form of SysOperation Framework in X++ D365 F&O
    Hi,

    Can you share your code? Try to do full build for your model and reset usage data, it seems cache issue.



    Thanks,
    Waed Ayyad
    If this helped, please mark it as "Verified" for others facing the same issue
    ​​​​​​​
  • Suggested answer
    Bharani Preetham Peraka Profile Picture
    3,634 Moderator on at
    Disable Batch Processing button on Batch dialog form of SysOperation Framework in X++ D365 F&O
    Then in that case, instead of showing up this batch dialog, you can try do other way like clicking of certain menu item button the process will directly get processed in batch mode without any batch dialog. So that it is more smoother process.
  • Layan Jwei Profile Picture
    7,995 Super User 2025 Season 2 on at
    Disable Batch Processing button on Batch dialog form of SysOperation Framework in X++ D365 F&O

    Thanks,
    Layan Jweihan
    Please mark this answer as "Verified" if it solved your issue. In order to help others who will face a similar issue in the future

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…

Mansi Soni – Community Spotlight

We are honored to recognize Mansi Soni as our August 2025 Community…

Congratulations to the July Top 10 Community Leaders!

These are the community rock stars!

Leaderboard > Finance | Project Operations, Human Resources, AX, GP, SL

#1
Sohaib Cheema Profile Picture

Sohaib Cheema 708 User Group Leader

#2
Martin Dráb Profile Picture

Martin Dráb 589 Most Valuable Professional

#3
Yng Lih Profile Picture

Yng Lih 553

Last 30 days Overall leaderboard

Product updates

Dynamics 365 release plans