Customer home location cannot be a network or subnetwork location
  • 01 Aug 2023
  • 1 Minute to read
  • Dark
    Light

Customer home location cannot be a network or subnetwork location

  • Dark
    Light

Article summary

This validation rules prevents assigning a network or subnetwork location as the home location of any new or existing customer. It is the easiest way to make sure all your customers are registered in one of your active locations instead of a network or a subnetwork location that you only use as an internal management tool on the Admin Panel.

This rule also applies to new customers signing up through your Members Portal.

  1. Log in to dashboard.nexudus.com if you aren't already.

  2. Click Add rule

  3. Click on Manual entry

  4. Name your validation rule.

  5. Add a Description for your rule to let other admins know what it does at a glance.

  6. Toggle on This rule is active.

  7. Select Customers in the Record type drop-down list.

  8. Add the Error message to display if the validation rule is not met.

  9. Add the following code snippet to the Formula field.


    For the network locations only

record.InvoicingBusiness.RootLocation <> null

For the network and subnetwork locations

record.InvoicingBusiness.RootLocation <> null OR record.InvoicingBusiness.RootLocation.RootLocation <> null
  1. Click the Save Changes button.


All done! We recommend you test the rule by trying to assign a network or parent location to a new or existing customer. If the rule works as intended, you should get the error message you defined in the rule.


Was this article helpful?

Changing your password will log you out immediately. Use the new password to log back in.
First name must have atleast 2 characters. Numbers and special characters are not allowed.
Last name must have atleast 1 characters. Numbers and special characters are not allowed.
Enter a valid email
Enter a valid password
Your profile has been successfully updated.
ESC

Eddy AI, facilitating knowledge discovery through conversational intelligence