I tried to delete an unused location, message prompted:
Unable to delete the record because the Location ‘xxx’ has been referenced by PosTerminal.
Possible Reason :
There are 1 or more POS terminal using this location.
1. Go to Point of Sale > Maintenance > Terminal Maintenance > Select which Terminal using that Location > Edit > Change Outlet > OK
If the POS Terminal has not been using this location, you may delete the location directly.
2. After changed the affected Outlets, go to Stock Location and delete the unused location.
By: CK 20210602, Jacky 20210622, P210625 
|AutoCount Accounting 2.0 & 2.1
|AutoCount Accounting 1.8 / 1.9
|AutoCount On The Go
|AutoCount Accounting Plug-In Documentations