Added a method to validate the warehouse code