web
You’re offline. This is a read only version of the page.
close
Skip to main content

Announcements

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,165 Super User 2026 Season 1 on at

    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
    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
    9,061 Super User 2026 Season 1 on at
    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
    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
    238,642 Most Valuable Professional on at
    I think your controller should override canGoBatch() method and return false.
  • Verified answer
    Navneeth Nagrajan Profile Picture
    2,495 Super User 2026 Season 1 on at
    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

Introducing the 2026 Season 1 community Super Users

Congratulations to our 2026 Super Stars!

Congratulations to our 2025 Community Spotlights

Thanks to all of our 2025 Community Spotlight stars!

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

#1
André Arnaud de Calavon Profile Picture

André Arnaud de Cal... 673 Super User 2026 Season 1

#2
Abhilash Warrier Profile Picture

Abhilash Warrier 280 Super User 2026 Season 1

#3
Martin Dráb Profile Picture

Martin Dráb 213 Most Valuable Professional

Last 30 days Overall leaderboard

Product updates

Dynamics 365 release plans