Cross-Validation Rules Installation, Settings, and Permissions
Overview
Netgain's Cross-Validation Rules are easy to configure, with limited settings. This article outlines setup instructions including installation, settings, and permissions.
Installation
Click here to view a video on how to install Cross-Validation Rules into a Sandbox Account.
Settings
Cross-Validation Rule settings can be found under Netgain > Setup > System Setup > Cross-Validation Rules.
| Setting | Description | Example |
| Cross-Validation Rules Max Lines for Execution | This is the maximum number of lines that a transaction can have before it is considered too large to be executed by the cross-validation rules script. If the transaction has more lines than this number, the cross-validation rules script will not be executed. By default, this will be empty. | 100 |
| Cross-Validation Rules Run on Type | Selecting an execution type sets the cross-validation rules script to only trigger if executed by one of the selected types. Selecting "User Interface" will set the cross-validation rules script to only run if triggered through the user interface. If there are no selections made, the cross-validation rules script will run normally. | User Interface, Suitelet, CSV Import |
| Disable Client-Side Cross-Validation | Prevent-mode rules run a client-side check so that, when a save is blocked, the values entered on the transaction are retained and the user can correct the flagged field without rebuilding the transaction. This behavior is on by default and requires no setup. Enable this setting to turn the client-side check off and validate on the server only. Rules are still enforced, but a blocked save will not retain the values the user entered. | Unchecked (default) |
Cross-Validation Rules will only work on imported CSV transactions that are imported through Setup > Import/Export > Import CSV Records with the Import Options: Run Server SuiteScript and Trigger Workflows turned on.
Cross-Validation Rules are not able to evaluate transactions created by User Event Scripts due to NetSuite limitations that apply to User Event Scripts. Netgain will be releasing a separate query-based report that will show all transactions created by User Event Scripts that violated Cross-Validation Rules, so that Cross-Validation Rules will still apply.
Permissions
Name | Description |
| Netgain Tools Cross-Validation Rules | This controls access to view and create Cross-Validation Rule Records |
| Netgain Tools Rule Filter | This controls the ability to set Filters on Cross-Validation Rules |
| Netgain Tools Rule Requirement | This controls the ability to set Requirements on Cross-Validation Rules |
| Netgain Tools Rule Report | This controls access to view the Cross-Validation Rule Report |
