QAD 2017 Enterprise Edition > User Guides > Master Data > Items/Sites > Sites > Deleting Sites
  
Deleting Sites
You can use Site Maintenance to delete a site record. The system performs a number of validations if you attempt to delete a site to ensure that it is not referenced and required by other data and transactions. You cannot delete a site if it is associated with any of the following:
Locations
Inventory quantities
Item-site planning data
Open-quantity purchase requisitions
Purchase orders with an open quantity to receive
Purchase order receipt history data
Sales quotes with an open quantity to release
Sales orders with an open quantity to ship or an invoiced quantity
Open work orders
Physical inventory count tags
Inventory movement security records
Projects, project activity orders, worksheets, or worksheet detail records created using Project Realization Management (PRM) functions
Family hierarchies, family-level plans, or end-item operations plans created using Enterprise Operations Plan functions
If a primary site passes all these validations, the system performs additional domain-related validations:
All connection records must also be able to be deleted.
In a multiple-database environment, the system checks that all databases are connected before you can delete a primary site record.
If no other restrictions apply to the deletion, the primary site is deleted and all connection records are also deleted from other domains in this and connected databases. The system does not check other domains when you delete a connection record.