1b.app
Link copied -

Evaluate the completion with complex reservation of goods in warehouses according to the described logic

There is the following task:
1. We have several warehouses and they have product balances without a reserve:
- 1 piece in the First warehouse
- there are 7 pieces in the Second warehouse, while 5 pieces are free from the reserve
- 3 pieces in the Third warehouse
2. It is necessary to sell 3 pieces of this product from the First warehouse
3. Before the sale, it is necessary to move from the warehouse, which has a larger quantity of goods free from the reserve.
That is, we have to move 2 pieces from the Second warehouse and such a choice should work automatically, without the involvement of the manager.
4. We must reserve the available quantity of goods until physical movement has been made:
- 1 piece in the First warehouse
- we temporarily reserve 2 pieces in the Second warehouse, that is, we have 4 pieces in reserve at this warehouse out of the remaining 7 units
5. When the goods have been physically moved from the Second to the First warehouse, we remove the reserve in the second warehouse. At this point it should happen like this:
- there are 3 pieces in the First warehouse and all of them are reserved.
- 5 pieces in the Second warehouse, while 5 pieces are free from the reserve
- 3 pieces in the Third warehouse
Tried to do with the available action: Reserve the content of the process in the warehouse
But it is not possible to take into account all the conditions that must be fulfilled.
Tell me, please, how it can be implemented on the existing functionality?
If this is not possible, please provide a proposal for the modification and estimate it, how much it will cost.
Original question is available on version: ua Вячеслав Легеза

Answers:

Please join the conversation. If you have something to say - please write a comment. You will need a mobile phone and an SMS code for identification to enter. Log in and comment