SysOperationProgressBase.setTotal Method [AX 2012]
Sets the number of steps in the process.
Syntax
public void setTotal(int64 _total, [int _idx])
Run On
Called
Parameters
- _total
Type: int64
The number of steps.
- _idx
Type: int
The bar to set the number of steps for; optional. Use the parameter when using more than one bar.
Remarks
Split up an operation in as many steps as possible. This will give the user the best information and the best remaining time estimate. You do not have to worry about the time spent informing the user because the form only is updated every three seconds and even less frequently on low bandwidth connections.
See Also
SysOperationProgressBase Class
SysOperationProgressBase.getTotal Method