DigitalShoestringSolutions / InventoryManagement

Shoestring starter solution for a simple inventory management system
GNU General Public License v3.0
0 stars 1 forks source link

Withdrawing more than exist #27

Open tobyaharris opened 2 months ago

tobyaharris commented 2 months ago

How should this solution handle when a user tries to withdraw more of an item from a location than was stocked there?

The current behaviour in dev is that the withdrawal is permitted and the remaining quantity goes negative. That's not unreasonable - it might represent some locally stashed reserve stock - but should there be some kind of Are you sure? warning?

On the flip side of this, when a stock check confirms more of an item is present than expected, this creates a withdrawal entry of a negative quantity. This makes more sense.

Probably a non-issues but something to consider and document.

anandarupmukherjee commented 2 months ago

Good point. Will include in a different version in the future.

tobyaharris commented 2 months ago

...hence this issue to remind us to reconsider.