---
title: "AI stockout prevention by store and product | maic"
description: "How maic prevents stockouts with AI: it predicts them by store and product from your own sales and inventory data, and proposes the replenishment order."
url: https://www.maic.ai/use-cases/stockout-prevention
lang: en
---

Use case · Supply chain and logistics · Grow revenue

# Stockout prevention: predict stockouts by store and product, and approve the replenishment order before the shelf is empty.

maic prevents stockouts for retail, consumer goods and distribution companies. It predicts which products will run out in which stores, using your own sales, inventory, lead time and promotion data, and proposes the replenishment order or store transfer that avoids it. A planner reviews the proposal with the reasons attached, approves it, and the order is created in your ERP.

Industries

[Retail](https://www.maic.ai/industries/retail) , [Consumer goods](https://www.maic.ai/industries/consumer-goods) , [Distribution](https://www.maic.ai/industries/distribution-wholesale)

For

Head of Supply Chain, replenishment planners, category managers, commercial directors, store operations managers

Typical implementation

8 to 12 weeks, in five phases

The challenge

## The stockout shows up in the sales report, after the sale is lost.

Replenishment runs on minimum and maximum levels set once and rarely revised, plus the planner’s experience. A promotion, a payday weekend or a late supplier shipment empties the shelf in some stores while the same product sits in excess in others. The planner sees it when sales drop.

### One rule for every store

The same reorder point is applied to stores that sell the product at very different speeds.

### Promotions and seasons are handled by hand

The planner adjusts orders in a spreadsheet for each promotion, and only for the products there is time to review.

### The system says there is stock

Inventory records show units that are damaged, lost or in the back room, so no order is triggered.

How maic addresses it

## How it works, step by step.

01

### Connect

Sales by store and product, stock on hand and in transit, open purchase orders, lead times and the promotion calendar are joined in one record.

02

### Predict

Expected demand and the stockout date are calculated for each product in each store, with the reasons behind every prediction.

03

### Propose

An agent drafts the replenishment order or store transfer, respecting pack sizes, order minimums and delivery days.

04

### Approve

The planner reviews the proposals ranked by sales at risk, adjusts quantities and approves.

05

### Order

Approved orders and transfers are created in your ERP, and actual sales are compared with the forecast to improve the next cycle.

Exhibit 1

Stockout prevention: before and after

| Aspect | Today | With maic |
| --- | --- | --- |
| Trigger | Fixed minimum and maximum levels | A predicted stockout date per store and product |
| Promotions and seasonality | Adjusted by hand in a spreadsheet | Included in the prediction from the promotion calendar |
| Planner’s time | Reviewing every product line by line | Reviewing the exceptions, ranked by sales at risk |
| Excess stock | Found in the monthly inventory report | Proposed as a transfer to the store that needs it |
| Order quantity | Rounded by experience | Calculated with pack size, minimums and lead time, with reasons |

_Conceptual example. Source: maic._

## Platform capabilities

## Typical systems and data

Point of sale or sales invoicing: sales by store, product and day

ERP or inventory system: stock on hand, stock in transit, open purchase orders

Supplier master data: lead times, pack sizes, order minimums, delivery days

Promotion and price calendars, often in Google Sheets or Excel

Store reports: physical counts, shelf gaps, damaged product

## KPIs that move

Questions

## Frequently asked questions

### How does AI predict stockouts?

It estimates how fast each product will sell in each store over the coming days and compares that with the stock on hand, the stock in transit and the supplier’s lead time. In maic, the models are trained on your own sales and inventory history, and each prediction shows the reasons behind it, such as a promotion, a seasonal peak or a late purchase order.

### What data do I need to prevent stockouts with AI?

The starting point is sales history by store and product, current inventory, open purchase orders and supplier lead times. Promotion calendars, prices and physical counts improve the predictions. maic connects to the systems where that data already lives, and the first phase measures your current availability as the baseline.

### Does maic replace my ERP’s replenishment module?

No. maic connects to the ERP you already run, and nothing is replaced or migrated. It adds the prediction and the proposed order, and after the planner approves, the purchase order or transfer is created in the ERP through its API.

### Can AI place replenishment orders automatically?

In maic, the agent proposes each order and a person approves it. You decide which orders need approval and who gives it, for example by supplier, amount or category. Every order is recorded with who approved it, when and why.

Related use cases

## See it on one of your processes.

Tell us the process and the systems it runs on. We’ll come back with a concrete first use case and how to measure it.
