SysOperationServiceBase.getCurrentBatchHeader Method [AX 2012]

Gets the BatchHeader object that is being executed.

protected BatchHeader getCurrentBatchHeader()

Run On

Called

Return Value

Type: BatchHeader Class
An instance of the BatchHeader object that is executed if it is running in the context of a batch task; otherwise, nullNothingnullptrunita null reference (Nothing in Visual Basic).

The application code can use the getExecutingJobHeader method to get the BatchHeader object that is being executed.

Community Additions

ADD
Show: