I already explained how to update progress for batch tasking in AX 2012. Now, it's time for AX2009.
You can simply change new() method in SysOperationProgressServer class as follows:
You can simply change new() method in SysOperationProgressServer class as follows:
public void new(int _numberOfBars = 1, boolean _bypass=false)
Evidently it will increase the total execution time of a batch because SysProgress table will be updated for every task as many times as you call incCount(), setCount() etc.
So, it is worth changing construct method in RunbaseProgress class, so that the developer could decide to update progress or not.
Happy New Year!
No comments:
Post a Comment