Added warehouse validation to SO