Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Update restock levels to match order levels #25

Open
pulkitsinghal opened this issue Jun 16, 2015 · 3 comments
Open

Update restock levels to match order levels #25

pulkitsinghal opened this issue Jun 16, 2015 · 3 comments

Comments

@pulkitsinghal
Copy link
Contributor

@DivisionVapor wants this done

@pulkitsinghal
Copy link
Contributor Author

Some background:

  1. reorder_point is the level stock must get to before Vend identifies it as 'low stock'

  2. restock_level is the amount of stock to automatically reorder

  3. 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.

@pulkitsinghal
Copy link
Contributor Author

@pulkitsinghal
Copy link
Contributor Author

@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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants