Open pulkitsinghal opened 9 years ago
Some background:
- reorder_point is the level stock must get to before Vend identifies it as 'low stock'
- restock_level is the amount of stock to automatically reorder
- Right now if
product.inventory.restock_level==0
it is treated as a discontinued product
If a generate order report is about to order 30 more units of a product then the restock_level
should be set to 30
and the reorder_point
should be 29
in vend via an API call.
This feature should be optional, meaning someone has to say they want it in the original cmd-line prompts when starting the script, otherwise it should not kick-in.
@DivisionVapor and @MeghaY - please make sure to decide if any extra intelligence is required when the stock being ordered based on sales data is 1 or 0 ... because that means that the product gets set to: a) reorder_point: 0 and restock_level: 1 b) reorder_point: -1 and restock_level: 0
@DivisionVapor wants this done