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)
  • Layan Jwei Profile Picture
    8,049 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
  • 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.
  • Suggested answer
    Waed Ayyad Profile Picture
    8,972 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
    ​​​​​​​
  • 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,

  • Verified answer
    Martin Dráb Profile Picture
    236,570 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.
  • Verified answer
    Navneeth Nagrajan Profile Picture
    2,191 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.
     

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…

Abhilash Warrier – Community Spotlight

We are honored to recognize Abhilash Warrier as our Community Spotlight honoree for…

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

#1
CA Neeraj Kumar Profile Picture

CA Neeraj Kumar 783

#2
André Arnaud de Calavon Profile Picture

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

#3
Sohaib Cheema Profile Picture

Sohaib Cheema 519 User Group Leader

Last 30 days Overall leaderboard

Product updates

Dynamics 365 release plans