SysOperationServiceController.beforeOperation Method [AX 2012]
Executed before a service operation is executed.
Syntax
protected void beforeOperation(SysOperationExecutionMode _executionMode)
Run On
Called
Parameters
- _executionMode
Type: SysOperationExecutionMode Enumeration
The execution mode the service operation will be executed with. In the case of executionModevalue is set to a SysOperationExecutionMode::Synchronous enumeration value this method is called as part of the batch execution on the server that has the _executionModeparameter set to SysOperationExecutionMode::Synchronous.
Remarks
Override this method to implement pre-processing logic before a service operation is called.