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

Announcements

News and Announcements icon
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,135 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
    239,660 Most Valuable Professional on at
    I think your controller should override canGoBatch() method and return false.
  • Verified answer
    Navneeth Nagrajan Profile Picture
    2,618 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

Season of Sharing Community Challenge Launch!

Jump in, show your community spirit, and win prizes!

Women in Power Builds Momentum

Expanding mentorship, skilling, and AI innovation

Congratulations to the April Top 10 Community Leaders

These are the community rock stars!

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

#1
Giorgio Bonacorsi Profile Picture

Giorgio Bonacorsi 671

#2
André Arnaud de Calavon Profile Picture

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

#3
Abhilash Warrier Profile Picture

Abhilash Warrier 589 Super User 2026 Season 1

Last 30 days Overall leaderboard

Product updates

Dynamics 365 release plans