Large documents with many line items can become slow to review when every single edit immediately triggers rule evaluation and recalculation of dependent fields. The goal of this enhancement is to improve performance and user experience in Desktop verification station by avoiding unnecessary repeated recalculations during line-item editing, while still ensuring the document is fully validated before key actions (save/close/switch).
Current Behavior (performance issue)
- Each change in a line-item field may trigger rule recalculation for dependent fields.
- With many line items, this can lead to noticeable delays and a less responsive UI.
Proposed Enhancement (manual batch validation)
In Desktop Verification Station, two toolbar icons have been added as part of R4U7 release to support “Disabling automatic rule checks” during user editing and a manual “ReCheck rules” button. These are optional features and can be used while dealing with documents with large number of pages to avoid performance delays.
Disable Auto Rule Check (On/Off)
Controls whether rule checks run automatically while the user edits line-item values.
- Off: keeps the existing “auto-calculation” workflow (rules are checked during editing).
- On: postpones rule evaluation to avoid repeated recalculations; the user validates changes explicitly when ready.
Recheck Rules (“Check Rules”)
Executes a single, explicit full rule check for all line items and fields. This is intended to be used after the user has finished reviewing and editing values, so dependent fields are recalculated in a single call.
Benefits:
- Fewer recalculations during editing, especially when Disable Auto Rule Check is enabled.
- Improved responsiveness for documents with many line items.
- Users decide when the full validation/recalculation happens.
Persistence (remember last state):
The Disable Auto Rule Check toggle is persisted. After restarting the application, Desktop Verification Station restores the previous On/Off state.
Required validation before key actions:
To prevent leaving a document in a partially validated state:
-
Closing a document: If a full rule check has not been performed after changes, the application shows a message that you must run it.
- Run Recheck rules → save → close.
- Switching between multiple open documents: after making changes, you must run the full Recheck rules before moving to another document, ensuring the current document is fully validated and consistent.