Forecasting of the inventory