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 code below is the simplest way to implement a function using the SysOperation framework. Without DataController, Dataprovider and UIBuilder. Only with a service class and a MenuItem.
Service
The runService() method is the actual service method. The SysEntryPointAttribute attribute controls that no further authorization checks are necessary.
MenuItem
The MenuItem controls which method is to be called and which ExecutionMode is to be used.
The dialog created by this looks correspondingly simple: