- 14 Mar 2024
- 1 Minute to read
- DarkLight
Prevent new contracts in network locations
- Updated on 14 Mar 2024
- 1 Minute to read
- DarkLight
This rule prevents admins from assigning a network location to contracts.
Log in to dashboard.nexudus.com if you aren't already.
Click Settings > Validation rules.
Click Add rule.
Click on Manual entry.
Name your validation rule.
Add a Description for your rule to let other admins know what it does at a glance.
Toggle on This rule is active.
Select Contracts in the Record type.
Add the Error message to display if the validation rule is not met.
Add the following code snippet to the Formula field.
record.InvoicingBusiness.RootLocation <> null
Click the Save Changes button.
All done! We recommend trying to create or edit a {{variable.contract}, selecting a network {{variable.location}} in the contract's Location field. If you see your error message as you try to save your changes, you're good to go.