Источник:
http://dev.goshoom.net/en/2014/05/ac...icecontroller/
==============
I unexpectedly got
Access denied: SysOperationServiceController when trying to call a method through the SysOperation framework in Dynamics AX 2012. It was just a piece of research code and I didn’t want to bother with my own controller, therefore I created and executed a menu item with the following properties:
PropertyValueObjectTypeClassObjectSysOperationServiceControllerEnumTypeParameterSysOperationExecutionModeEnumParameterSynchronousThe error message is a bit misleading, so it took me a minute to realize that I forget to define which method to call. Setting the
Parameters property to
MyClass.MyMethod did the job.
Источник:
http://dev.goshoom.net/en/2014/05/ac...icecontroller/