Hi guys I created a batch job using SysOperationFramework class so what I did I created there classes
As shown in the below screenshots
After I created an action menu item and give It the following properties
But wen I am running my batch job from the UI it is giving me the following error
When I am running my batch job from Visual studio by setting it as a startup object it running and working fine. I search for this problem but mostly I am getting the answers for AX 2012 which is obsolete now.
You're trying to do the same thing twice. You've created a controller class and defined the method to be called there. But then you've create a menu item that completely ignores your controller and defines the method to be called in Parameters.
What did you set as the startup object? If the controller class, the menu item is ignored. If the menu item, the controller class is ignored.
By the way, my preferred way is using a controller class and setting the operation in its constructor.