Hi,
I’m trying to understand how the stock supply module works, and I’m confused with the documentation:
” The stock levels are computed between the next two supply dates computed over the Supply Period from the configuration (default: 1 day)
”
In the demo, I’ve created an order point for a product:
In result, the supply stock wizard is creating a purchase request to meet this move, but shouldn’t it just compute the stock level of the next month? (which is greater than the minimun quantity defined on the order point)
Am I missing something?
How can I make the Supply Stock wizard compute the stock level only in a certain period?
Did you set any supplier and the supply time of such product? When the system does not know when a product will be received it creates the purchase request in order to inform that there will be the need of such product and do you need to take care of purchasing it some day.
Once you set up a supplier and a supply time for it, the sistem will only create the purchase request for the supply period (4 months in your case) and it will also compute the “Best Purchase Date”. This date will be the last date that you can purchase such product and receive it just in time for when its needed.
Hi Sergi,
Thanks for your answer, I did not set any supplier & lead time for this product, I just tried and it worked as I expected.
I completely misunderstood the field “Supply period” from the configuration, I though it was the time on which I want to compute the stock levels, then create the request based on this stock, now I understand that it refers to the period on which I want to receive the products, but Im still not 100% sure, so please correct me if im wrong.
Anyways, in my company, it is common to create moves with a planned date of 1-2 years from now, and I don’t really want the program to create requests for those cases, I could fix this by setting up suppliers & lead times on products, but there is a large amount of products which would need it, so unless there is already a way to make the “Supply stock” wizard to only compute stock levels on a given period (like the “Stock Quantities By Warehouses” relate from products, where you define a date and it gives you the stock levels for this date), Im forced to alteast try to develop it, so, do you think it could be a valid improvement for the standard module? otherwise I will keep it custom.
If you do not want to configure all the suppliers, you should probably consider customizing get_supply_dates to return a fixed date when tryton does not have any information about the product supply period. Note that in this period should be big enought that your company has enought time to find a supplier for the product.
If you have moves planned in for more than 1 year, but you want just to get planning of 1 month ahead you can do the following:
Set 1 month as supply period
Customize get supply dates to return a fixed delay for products without supplier.
After that the system will just create the purchase requests for the needs in the following move.