Optimize Method
Optimize starts the Optimizer for the requested service region.
Invoked From
This method is called when a user clicks the Optimize button (in the Service Region List view of the Administration - Scheduling screen).
Argument
The following table describes the argument for this method.
Argument Name | Description |
---|---|
SvcRegnId |
The service region ID of the activities to optimize. |
Return Values
The following table describes the return values for this method.
Return Value | Description |
---|---|
Message |
The Optimizer error tracing message that is returned if an error occurs. |
ErrorCode |
The error code returned from the Optimizer. A value of 0 indicates the operation is successful. |