You can't delete the location if the location have been used in the transactions.