SysOperationProgressBase.incCount Method [AX 2012]
Increments the progress bar during an operation.
Syntax
public void incCount([int64 _progressCountIncrement, int _idx])
Run On
Called
Parameters
- _progressCountIncrement
Type: int64
The number of steps taken; optional.
- _idx
Type: int
The bar for which to increment the steps; optional. Only should be used when you are using more than one bar.
Examples
static void Job1(Args _args)
{
SysOperationProgress progress = new SysOperationProgress();
int i;
progress.setTotal(100);
for (i=1; i<=100; i++)
{
do_something();
progress.incCount();
}
}