BatchHeader::getCurrentBatchTask Method [AX 2012]

Gets the currently executing batch task or an empty record.

Syntax

client server public static Batch getCurrentBatchTask()

Run On

Called

Return Value

Type: Batch Table
A record that contains the batch task that is being executed.

Remarks

The getExecutingTask function can be used by application code to get the currently executing task.

See Also

Reference

BatchHeader Class