How the forecast works
Last updated
Every purchase advice starts with a forecast: how many pieces of a product you are expected to sell on each of the coming days. Purchasing makes it every night for every product you plan, from your own orders in ChannelDock, so there is nothing to import or sync. You see the result for one product on the Planning tab of the product window.
Where the sales history comes from
- The pieces sold per product per day, from your open and closed orders. Cancelled orders are left out. When the add-on is switched on, Purchasing reads back two years.
- Sales of a bundle count for the products inside it. Bundles themselves are not bought.
- Large one-off B2B order lines are left out: by default a B2B line of more than 20 pieces. Change it under Purchasing > Settings > Planning with Leave B2B orders out of the forecast from (0 counts them all).
- With Leave channels out of the forecast you leave out the sales of channels you plan elsewhere.
How the history is cleaned
Raw sales history has gaps and spikes that would mislead the forecast. Before forecasting, Purchasing cleans it:
- Days out of stock are filled in. A day without stock tells you nothing about demand. Purchasing replaces it with the average of the in-stock days around it: up to 14 days on each side, at most 56 days away. If the product still sold more than that average on such a day, the real sales stay.
- Special days are filled in the same way. Days of a promotion, an event such as Black Friday, or an exclusion window you created are left out and filled from the normal days around them. See Promotions and Events.
- Unusual peaks are capped. A one-off spike is brought back to a normal high level, so it is not counted as normal demand. This needs at least 5 days with sales. Switch it off with Unusual peaks > Cap them in the history.
- Pre-orders count on their ship date. Open orders that ship more than 14 days after the order date count as demand on the ship date, not the order date. Change the number of days with Pre-orders > Ship date more than … days.
- History starts at the first sale or the first stock. Days before a product existed are not counted as days without sales.
How the forecast is made
Purchasing looks at each product and picks a method. The Planning tab shows the method in words under the chart.
| Method on screen | When it is used | What it does |
|---|---|---|
| trend, weekly | Products that sell most weeks | Follows the recent weekly level and trend, and spreads each week over the weekdays the product usually sells on. |
| irregular sales | Products that do not sell every week | Estimates how often the product sells and how many it sells each time. Recent weeks without sales lower the rate, so a product that stopped selling is not bought again. |
| new product, average since the first sale | Fewer than 5 sales days in the last year, and no sales before that year | The average per day since the first sale, at most the average of the last 30 days. |
| hardly sold in the last year | Sales before the last year, but fewer than 5 sales days in the last year | The lower of the average per day of the last year and of the last 30 days, usually 0. The product is not marked New. |
| new product, from similar products | No sales yet | Starts from similar products. See New products and predecessors. |
| fixed per day | You set a fixed forecast on the product | Your number replaces the calculation. |
Seasons
For products with at least a year of history, the forecast also looks at last year: the days around the same weekday 52 weeks ago, scaled to how the product sells now compared to the same weeks last year. Season effect under Purchasing > Settings > Planning sets how much last year counts:
- None: only recent sales count.
- Medium (recommended): recent sales and last year count about equally. This is the default.
- Strong: last year counts most.
Products with irregular sales get no seasonal part: their numbers are too small to show a reliable pattern.
Planned promotions and recurring events then add their expected change on the days they cover, while the normal forecast stays clean.
How accurate is it?
Every night Purchasing tests itself. It goes back in time 26 times, one week apart, forecasts the next 28 days from the history it had then, and compares that with what really sold (only days the product was in stock).
- The result shows as Forecast accuracy (100 % minus the average error over those 28-day totals) under the chart on the Planning tab and in What went into it.
- The measured error also sets the safety stock: a product with a less predictable forecast gets more buffer. See How the order quantity is calculated.
- The chart shows an 80% range around the forecast and an Old forecast line: what the forecast said one week ahead at each past week. It shows how well the forecast followed your sales.
- A fixed forecast gets no accuracy score: it is your number, not the engine’s.

Good to know
- The forecast covers the next 182 days. It is made in the nightly run. A new forecast for one product is made at once when you change its Replaces product or fixed forecast setting.
- Changes to the seller-wide forecast settings take effect in the next nightly run. See When the advice updates.
- Unusual peaks, Pre-orders and Leave channels out of the forecast are hidden in simple mode. See Simple mode.
- To change the forecast settings you need the Purchasing settings right. See Team rights for Purchasing.
Related articles
Was this helpful?