BatchTaskBundle.reinitializeBatchInfo Method [AX 2012]
Reinitializes the batch settings of the specified task.
Syntax
private void reinitializeBatchInfo(RunBaseBatch _task)
Run On
Server
Parameters
- _task
Type: RunBaseBatch Class
The task to be reinitialized.
Remarks
The bundle can be executing in a different context than in which the specified task was originally scheduled. The batch settings of the specified task must be updated in order to guarantee that it executes in the same context as the bundle.