Adjust inventory
Add or subtract stock.
Change a product's inventory and record the reason in the history.
What you can do
- Deduct when you sell and add when you receive merchandise.
- Record the reason for each movement.
- Branch if it fails (for example, if there's no stock left).
An example
Deduct only when payment comes in
- Customer confirms, but hasn't paid yet.
- The flow does NOT deduct.
- Payment arrives and then it does deduct, with the reason "chat sale".
- This way you don't deduct stock for sales that don't close.
Recommendations
- Deduct when you collect payment, not when you confirm. Otherwise your stock gets stuck in orders that don't get paid.
Watch out for this
- It has a "couldn't do it" output: connect it, or a sale without stock will go through as if nothing happened.
