adjust based on warehouse add parameters to `get_qty_in_stock` so it can be useful in other parts of the code base