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

Notifications

Announcements

No record found.

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,116 Super User 2025 Season 2 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,039 Super User 2025 Season 2 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
    237,965 Most Valuable Professional on at
    I think your controller should override canGoBatch() method and return false.
  • Verified answer
    Navneeth Nagrajan Profile Picture
    2,438 Super User 2025 Season 2 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

Responsible AI policies

As AI tools become more common, we’re introducing a Responsible AI Use…

Neeraj Kumar – Community Spotlight

We are honored to recognize Neeraj Kumar as our Community Spotlight honoree for…

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

#1
Martin Dráb Profile Picture

Martin Dráb 503 Most Valuable Professional

#2
André Arnaud de Calavon Profile Picture

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

#3
BillurSamdancioglu Profile Picture

BillurSamdancioglu 278 Most Valuable Professional

Last 30 days Overall leaderboard

Product updates

Dynamics 365 release plans