ror_ecommerce icon indicating copy to clipboard operation
ror_ecommerce copied to clipboard

Count pending from supplier not updated

Open mitfik opened this issue 13 years ago • 4 comments

When I create new Purchase order for supplier and waiting for deliver, count_pending_from_supplier (in inventory model) is not updated it always is 0.

It should be amount of items which are shipped to us from supplier, right?

mitfik avatar Sep 13 '12 13:09 mitfik

count_pending_from_supplier is the amount of items your are expecting to receive from the supplier. At purchase this should remain zero.

Normally you get 1000 items from teh supplier at a time. Suppliers don't deliver and item when you need the item. It is delivered in advance.

If you have this type of setup IMO it is unique. What type of scenario do you have with your suppliers?

drhenner avatar Sep 13 '12 16:09 drhenner

As I good understand your comment it works as I would like to have. But I do not understand one thing, when count_pending_from_supplier change? If not after creating purchase?

I thought that it work as fallows:

I have 100 items on stock. Then I create purchase order for my supplier (let say I order 1000 items), then I wait until he will deliver my orders. In mean while I go to Admin -> Adjustment -> Product and I would like to see that in my stock is, 100 items and pending from supplier 1000 (which not yet arrived but there will be soon). To make sure that everything is under control and for example send notification if stock is almost empty (but count_pending_from_supplier is 0 because if there is some value I know that it will be soon on my stock.

And as I understand if count_pending_from_supplier != 0 user can buy those items even if stock is 0 (as you wrote before in advance, right?) something like preorders things. It will be deliver after it will arrive from supplier.

The problem is that I can't figure out where count_pending_from_supplier is updated and how to influence on buying process.

Thanks a lot for explanation.

mitfik avatar Sep 14 '12 06:09 mitfik

count_pending_from_supplier does not influence buying. It helps merchandising teams understand what will be in stock "soon" (soon meaning on order not always within a certain time frame)

Right now there isn't a pre-order function. I'll add pre-order engine as a todo and close this issue.

drhenner avatar Dec 31 '12 18:12 drhenner

Yes, I understand what for it is, the question is when it is updated, because for me all the time value of it is 0. Could you point me what should happen to change his value? Or, where it is in the code because I can't find it anywhere.

Thanks a lot.

mitfik avatar Jan 08 '13 09:01 mitfik