Invoices cannot be issued from a network location
  • 28 Sep 2022
  • 1 Minute to read

Invoices cannot be issued from a network location

Article Summary

This rule prevents any invoice being issued from your network location. This rule is particularly useful in scenarios where you only use your network location to organize or share settings across multiple locations and don't want to issue any invoices from that location.

You need you network location ID to set up this rule. You can easily find this ID via Settings > General settings under Location reference on the Admin Panel.

  1. Go to your network location.

  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. Enable the This rule is active toggle.

  7. Select Invoice in the Record type.

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

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

record.Business.Id <> 
  1. Add your Network location ID at the end of the formula

In the example below, the network location ID is 123456789.

record.Business.Id <> 123456789

  1. Click the Save Changes button.

All done! We recommend you test your rule by trying to issue an invoice from your network location. If you receive the error message you defined, your rule is ready to go!

Your rule doesn't weem to work?

Open the rule and check the Formula field to make sure that:

  • Your formula code snippet is identical to the example we provided in step 10.
  • Your network location ID is correct and not missing any digits.

You'll usually find a mistake or typo there that you can easily fix.

Was this article helpful?

What's Next