Locations chained and Warehouse code and rules