available since version 16.0
In high-volume documents such as Quotes, Agreements/Promotions and other line-item based objects, the Mass Edit function is used both for quick corrections on a few items and for large updates across thousands of items. This option optimizes Mass Edit for smaller selections so that updating a handful of line items does not take as long as processing a very large set.
The system uses synchronous Mass Edit whenever possible and falls back to a lightweight asynchronous task only when the number of selected items exceeds a configurable threshold. This threshold is defined on the Header Type (Quote Type, Agreement & Promotion Type) level specifically for Mass Edit. At runtime, the frontend compares the size of the selection with this threshold and automatically decides whether to run Mass Edit in synchronous or asynchronous mode. If no threshold is configured, the hardcoded default value of 10,000 items is used.
To configure this option, add the thresholds.massEdit parameter to the Header Type’s JSON configuration:
{
parameters: {
thresholds: {
massEdit: 10000
}
}
}