# Consumption forecast and order feature

**URL:** <https://discuss.tryton.org/t/consumption-forecast-and-order-feature/5875>\
**Category:** User\
**Tags:** stock, purchasing\
**Created:** [January 30, 2023, 5:29pm UTC](https://discuss.tryton.org/t/consumption-forecast-and-order-feature/5875 "2023-01-30T17:29:13Z")\
**Posts on this page:** 1\
**Showing post:** 3

<div class="post-metadata">

**Author:** ![herrdeh](https://discuss-cdn.tryton.org/user_avatar/discuss.tryton.org/herrdeh/32/821_2.png) [@herrdeh](https://discuss.tryton.org/u/herrdeh)\
**Post date:** [February 1, 2023, 2:47pm UTC](https://discuss.tryton.org/t/consumption-forecast-and-order-feature/5875/3 "2023-02-01T14:47:26Z")

</div>

Thank you so much for your care - really appreciated!

We already had a hard fight 😉 on that issue, I gave in that time… [https://discuss.tryton.org/t/usage-of-stock-supply-forecast/5036](https://discuss.tryton.org/t/usage-of-stock-supply-forecast/5036)

Now I’m trying over again. So what I’m doing (already got quite some help from fellow @timitos):

- create a test case with sales of 100 pcs at Mar20, Apr15 and Jun15 2022.
- open menu \> Inv&Stock \> stock forecast
- create new forecast (ctrl-N)
- location: my own warehouse
- destination: customer
- window opens, type in from-to date: prognosis period (in the future)
- hit “complete forecast”
- type in from-to date: basis (comparison) period of time (in the past)  
hit “choose product”, select one from list
- hit “complete”

What happens: As a result I always get the number of items sold in the basis period, it does not make any difference how long the prognosis period is - and it does not matter how long the basis period is.  
What I’d expect:

- result depends on the basis period: When I choose (in my above example) Mar19 to Mar21 I have 100pcs in 3 days - so ~12.000 per year. When I choose Jan1 to Mar21, I have 100pcs in ~80days, that’s only ~450 per year.
- prognosis period should matter: When I choose 1 month, I should get consumption per year / 12. When I choose 5 months, I should get consumption per year \* 5 / 12.

I’m still not sure whether I expect wrong things from this module - and whether I’m using it on the wrong way.

> [@pokoli](#):
>
> the most important part is to set correct supply periods for the suppliers and also have a good configuration in supply period

Under products \> suppliers \> supplier I set 1M as “lead time”, but I don’t know how that affect the prognosis.

Cheers,  
Wolf

---

_[View the full topic](https://discuss.tryton.org/t/consumption-forecast-and-order-feature/5875)._
