---
title: "Prevent new contracts in network locations"
slug: "prevent-new-contracts-in-network-locations"
updated: 2024-03-14T11:24:29Z
published: 2024-03-14T11:24:29Z
---

> ## Documentation Index
> Fetch the complete documentation index at: https://help.nexudus.com/llms.txt
> Use this file to discover all available pages before exploring further.

# Prevent new contracts in network locations

This rule prevents {{variable.admins}} from assigning a network {{variable.location}} to {{variable.contracts}}. 

* * *
1. {{snippet.FirstStepProcedure}}
2. {{snippet.ValidationRules_Path}}
3. {{snippet.AddValidationRule_Step}}
4. {{snippet.ManualEntry_Step}}
5. {{snippet.NameValidationRule_Step}}
6. {{snippet.DescriptionValidationRule_Step}} 
7. {{snippet.ActivateValidationRule_Step}} 
8. {{variable.SELECT}} **Contracts** in the **Record type**. 

9. {{snippet.ErrorMessageValidationRule_Step}}
10. {{snippet.FormulaValidationRule_Step}} 
```
record.InvoicingBusiness.RootLocation <> null
```

11. {{snippet.Save_Changes}}

* * *
All done! We recommend trying to create or edit a {{variable.contract}, selecting a network {{variable.location}} in the {{variable.contract}}'s {{variable.Location_Field}} field. If you see your error message as you try to save your changes, you're good to go.
