Learned lead time

StockAI learns how long each supplier really takes from the arrivals you record, and from the third reception it uses that number instead of the one you configured.

On this page
  1. Which lead time is used
  2. How it learns
  3. Adjusting is not accusing

A supplier who says 7 days but always delivers in 12 cannot keep producing recommendations that assume 7. That is why evidence outranks what was declared.

Which lead time is used

For each product StockAI takes the first one that exists from this list:

  1. Learned from the supplier's receptions (3 or more).
  2. The one you typed on the product card.
  3. The "Lead time (days)" on the supplier card.
  4. If there is none, 15 days, marked as "estimated".

In "Why?" on the Purchasing Panel and on the Inventory row you can see where each product's number came from.

How it learns

  • Every purchase order that arrives complete ("Received" status) leaves one observation: the days between the order and the arrival of its last units. An order that never completes teaches nothing.
  • With 3 observations from a supplier, their average rounded to whole days replaces the configured time on all their products. With fewer, one odd delivery (a holiday, a stranded truck) would rewrite everything.
  • If every recorded delivery arrived the same day it was ordered, the average is zero and says nothing: StockAI declares it unusable and keeps the configured time.
  • If you undo a reception, the observations that reception created are deleted too.

In Suppliers, the "Learning" column shows where each one stands: "n of 3 deliveries recorded…" or "Learned from n deliveries: X days on average…".

Adjusting is not accusing

StockAI is stricter about flagging a supplier than about adjusting their time: 3 receptions are enough to learn, but the scorecard's "Trend" column needs at least 6 (2 recent and 4 as a baseline) before it says someone is running later than usual. With fewer it shows "Not yet".