#1779 Added stocks to location and validation to prevent location with stock from being deleted