This post is machine-translated. The original post in german language can be found here.
These post applies to following version:
Dynamics AX 2012
Dynamics AX 2012
|
|
|
|
|
|
This post is machine-translated. The original post in german language can be found here.
These post applies to following version:
Dynamics AX 2012
|
The following code shows a very simple class construct for the SysOperation framework. Without the Dataprovider and UIBuilder.
Service
The method runService() is the actual service method. By means of the attribute SysEntryPointAttribute we control here that no further authorization checks are necessary.
Controller
In the new()-method, we link the controller to the service class.
The main()-method is the classic entry point when the controller is called via a MenuItem.