- 04 May 2022
- 1 Minute to read
- DarkLight
Preventing Plan Sales in a Location
- Updated on 04 May 2022
- 1 Minute to read
- DarkLight
This validation rule will prevent any plan sales in the specified location. Customers and admins alike won't be able to sign up to any plans available in this location's inventory.
You can find your Location reference via Settings > General settings on the Admin Panel.
Make sure you copy and save it before starting the rule setup
Log in to dashboard.nexudus.com if you aren't already.
Click Settings > Validation rules.
Click Add rule.
Click on Manual entry.
Name your rule.
Add a Description of the rule.
Enable the This rule is active toggle.
Select Contract in the Record type drop-down list.
Add the Error message to display if the validation rule is not met.
Add the following snippet in the Formula field.
record.IssuedBy.Id <>
- Add your Location reference at the end of the Formula field.
Your validation rule should now look like the example below, with your own location ID instead of 123456 in the Formula.
Click the Save Changes button.
Your validation rule is now live. Customers and admins alike shouldn't be able to complete any plan signup from this location.