In short
- A missing coil of steel can stop a whole line. The best public figures on what downtime costs are vendor surveys of very large plants, but they all point the same way: an idle line is expensive.
- The agent reads stock from Tally every morning, works out daily use, and plans with each supplier's real past lead times, not the days they promise.
- When an item reaches its reorder point, it drafts the purchase order, explains why in one plain sentence, keeps to the week's cash limit, and sends it to the owner on WhatsApp.
- Nothing goes to a supplier without that one tap. Every delivery then updates the supplier's history, and the owner hears when a supplier starts getting slower.
01 — The problemThe line stops, then someone checks the store
The client makes bicycle and two-wheeler transmission parts in Ludhiana, Punjab: chainwheels, freewheels and hubs, pressed from steel sheet and turned from bar. Ludhiana is the heart of this trade. A 2020 report put it at about 80% of India's bicycle parts, made by 3,500 to 4,000 small and medium firms7.
The factory keeps its stock in Tally, and the numbers were mostly right. Nobody looked at them in time. The purchase head ordered when the storekeeper said something was "getting low," and the storekeeper noticed when a bin looked empty.
Two things made it worse. Suppliers promise one lead time and deliver another: the main steel trader quoted seven days on every order and rarely made it. And cash is tight, so ordering early "just to be safe" ties up money needed for wages and power. The habit was to order late, which is how a press ends up standing idle waiting for material.
The brief was simple: warn before stock runs out, not after, and never suggest an order the factory can't pay for.
02 — The researchWhat running out costs, and what cash allows
I wanted two numbers: what a stopped line costs, and how tight a small factory's cash really is.
$150kan hour: the top end of downtime costs for small and medium manufacturers, in Siemens' 2024 report. Large car plants: $2.3 million an hour.
Siemens, 2024 · vendor survey of large firms1
44%of manufacturing MSMEs in an RBI survey faced delayed payments from their buyers, which hits cash flow and working capital.
RBI survey, Dec 20193
₹30 L crestimated gap between the finance India's MSMEs need and what they get from formal lenders, about 24% of demand.
SIDBI and Crisil, 2025 · modelled4
The most quoted downtime figures come from Siemens' True Cost of Downtime 2024: about $1.4 trillion a year for the world's 500 biggest companies, or 11% of their revenue1. They need care. Siemens sells predictive maintenance, the survey covers 181 people at large firms, and it counts downtime from every cause, mostly machine failure. Still, the report notes that penalties for late delivery flow down the supply chain to the smallest suppliers, which is exactly where a Ludhiana parts maker sits.
The clearest case of missing parts stopping lines is the 2021 chip shortage, which AlixPartners, a consultancy, forecast would cost carmakers $210 billion in revenue and 7.7 million vehicles that year2. A forecast about global carmakers, but it shows how one missing input stops everything downstream.
On cash, the Indian picture is better sourced. The Reserve Bank of India found that 44% of manufacturing MSMEs faced delays in getting paid, worst in metal and engineering3. SIDBI and Crisil put the sector's credit gap at about ₹30 lakh crore (roughly US $340 billion)4. The exact figure is modelled; the direction isn't in doubt. A small factory can't fix stock-outs by simply holding more stock.
| Source | What it measured | Finding | How much to trust it |
| Siemens, 20241 | Unplanned downtime at large industrial firms, 2019–2023 | $1.4 trillion a year for the Global 500; up to $150k an hour for SMEs | Vendor-published, 181 interviews, all causes of downtime. Good for scale, not for planning a small factory. |
| RBI survey, 20193 | Delayed payments to MSMEs | 44% of manufacturing MSMEs faced delays | Central bank survey, reported in the Governor's 2020 speech. Six years old. |
| SIDBI and Crisil, 20254 | MSME finance demand vs formal supply | About ₹30 lakh crore gap, 24% of demand | Modelled from a 2,097-firm survey. Direction solid, exact figure soft. |
I couldn't find a trustworthy public figure for how often small Indian factories stop for missing material. So this article doesn't give one.
The idea behind it: safety stock, explained simply
Safety stock is the cushion you keep for the days when things go worse than average: you use more than usual, or the supplier is late. Operations textbooks give a standard formula for it when both of those vary5:
safety stock = z × √( L × σd² + d² × σL² )
Here d is average daily use, σd is how much daily use jumps around, L is the average lead time, σL is how much the lead time jumps around, and z is how sure you want to be. A z of 1.65 means about a 95% chance of not running out before the delivery arrives6. You reorder when stock falls to the reorder point: the use you expect during the lead time, plus the safety stock.
The second half of the formula is the supplier's unreliability, and it's the part most small factories never measure. The University of Iowa lecture notes I used put it plainly: a longer lead time with no variability can need less safety stock than a shorter one that varies a lot5. With this factory's sample numbers, a supplier that always takes 10 days needs a cushion of about 0.3 tonnes of steel sheet. The steel trader that "takes 7" but really takes 9 to 14 needs about 0.9 tonnes. Same steel, three times the cushion.
Two honest limits: the formula assumes the swings follow a bell curve, which real factories only roughly do, and eight past deliveries is a small sample. Section 05 covers both.
The goal wasn't to hold more stock. It was to stop being surprised by the stock you already have.
03 — How it worksAutomatic reorder, with a person in the loop
The factory still works in Tally exactly as before. Every morning after the Tally sync, six steps run. Five belong to the agent, and the one that spends money belongs to the owner:
Reading the stock. n8n pulls stock on hand, open purchase orders (POs) and goods receipt notes (the entry the store makes when material arrives) from Tally. Entries that look wrong are flagged, not used.
Working out daily use. Use comes from the last 30 to 90 days of issues to the shop floor, adjusted by the production plan in a Google Sheet. A big December order raises steel use before it happens, not after.
Measuring real lead times. The agent matches every PO to its goods receipt and counts the days. It plans with the average, the spread and the slowest recent delivery. The promised figure is shown, never used.
Deciding and explaining. If stock is at or below the reorder point, the agent drafts a PO for the usual lot size, then checks the week's cash limit. Then Claude, a large language model, turns the numbers into a short reason a busy owner can read in five seconds. It's the same "AI agent" idea everyone is talking about, but its whole job is one boring question: when will this run out?
04 — Inside a reorderStock-out prediction, then a PO on WhatsApp
Here's one morning from the sample data. The factory has 4.2 tonnes of 2 mm CRCA sheet (cold-rolled steel, used for chainwheels) and uses about 300 kg a day. That's 14 days of stock, so it runs out on 24 November. First, the agent checks the supplier:
Over its last eight orders, the steel trader took 9 to 14 days, 11.3 on average. And it's getting slower. That alone raised the safety stock for this sheet from 0.6 to 0.9 tonnes, and the owner got a note about it the same morning.
So the reorder point is 4.29 tonnes. Stock is 4.2. The agent drafts a PO and writes down why:
Ordered today, the steel lands between 19 and 24 November, just in time even if the supplier is at its slowest. Ordered on Friday, a slow delivery would leave the chainwheel press without sheet for up to three days.
The usual lot is 6 tonnes, but that would cross the week's ₹6 lakh raw-material limit, so the agent cut it to 5 tonnes, enough until about 10 December, and said so. Then the draft went to the owner:
This is the purchase order WhatsApp approval step, and it's deliberately small: reason, quantity, value, delivery window, one button. Only after the tap does the PO go to the supplier and into Tally. If the supplier hasn't confirmed by 4 pm, the agent chases. The owner can reply in Hindi or English. Here the agent offers to draft a quote request to a second supplier, and doesn't send that either until the owner says yes.
It's the same pattern as my quoting agent for a CNC job shop: the agent does the arithmetic, a person makes the commitment.
05 — Design decisionsWhat makes automatic reordering safe
Ordering too little stops the line. Ordering too much, or too early, eats the cash that pays wages. Most of the design is about the agent knowing where its job ends.
AReal lead times, never promised ones
Lead time is counted from PO date to goods receipt, for that supplier's own past orders. A supplier with fewer than five orders gets a wider margin and a note that the history is thin. The promised figure sits next to the real one, because the gap is useful when negotiating.
BA PO is a draft until the owner taps Approve
The agent can't send a purchase order on its own. A PO spends money and commits the factory to a supplier, so the person who signs the cheques makes the call, or changes the quantity, or skips with a logged reason.
CRespects the cash limit
The owner sets a weekly limit for raw-material spend. The most urgent drafts fit first. Anything that has to wait is held only if waiting is still safe, and the board says so ("held to 16 Nov: cash limit"). If it isn't safe, the agent tells the owner the limit needs to move, rather than quietly risking a stoppage.
DExplains every reorder
Every draft comes with one sentence in plain words, "you'll run out on 24 Nov; the supplier takes 9–14 days," and the working behind it. Claude writes the sentence, but only from numbers the system has already calculated. It never estimates a number itself. An owner who can see the reason can spot when it's wrong.
EAlerts when a supplier gets slower
When a supplier's last few deliveries are clearly slower than before, the owner gets one short message, and every item from that supplier gets a bigger cushion automatically. It turns a vague feeling ("they're always late these days") into a number the owner can raise with the supplier.
FStops and asks when the data looks wrong
The system is only as good as the stock figures in Tally. If stock goes negative, a receipt is missing, or use doubles with no order to explain it, the item goes to the storekeeper to check instead of being reordered. The agent also reminds the store when a monthly count of fast-moving items is due.
06 — The owner's viewFive seconds a morning
It's designed so the owner doesn't need to open the stock board at all. They get a few WhatsApp messages in the morning, each with a reason and a button, and can tap through them over tea. The board is for the purchase head and the storekeeper.
The same pattern works wherever one busy person is the bottleneck. In a sales agent for Instagram and WhatsApp DMs, it's customer replies. Here it's purchase orders.
07 — ResultsWhat changed
Real numbers coming soon
The screens above use sample data. This section will show the factory's actual before-and-after figures:
| Line stoppages caused by missing material | per month, before → after |
| Emergency purchases and rush deliveries | per month, before → after |
| Days of raw-material stock held | average, before → after |
| Time from reorder point to PO sent | before → after |
| Drafts approved as-is vs changed | share of all drafts |
| Owner's verdict | quote |
08 — What's nextWhere this goes from here
- Second quotes: for big orders, asking a second supplier for price and lead time, with the owner choosing.
- Supplier scorecards: a monthly page per supplier, promised vs real, for the next negotiation.
- Finished goods: the same logic for dispatch stock, warning when a customer's call-off will run the factory short.
- Other factories: any ERP that records POs and receipts works, in any country.
FAQQuestions people ask
What is AI inventory management for manufacturers?
Software that watches stock, works out how fast each material is used and how long each supplier really takes, and warns you before something runs out. A careful setup drafts the purchase order with its reason, and a person approves it.
How do you calculate safety stock when supplier lead times vary?
A standard textbook formula is: safety stock = z × √(average lead time × variance of daily use + average daily use² × variance of lead time)5. The second term is the supplier's unreliability. Using the supplier's real past delivery times, not the promised ones, is what makes the number honest.
Can software place purchase orders automatically?
It can, but for a small manufacturer it usually shouldn't place them alone. A purchase order spends cash and commits you to a supplier. A good system drafts the order with its reasons, sends it for one-tap approval, for example on WhatsApp, and only then sends it to the supplier.
Does automatic reordering work with Tally?
Yes. Tally holds stock, purchase orders and goods receipts, which is everything needed to measure use and real lead times. A workflow tool such as n8n can read it each morning and write approved POs back, so the store keeps working in Tally.
Related: Drawing in, priced quote out (AI quoting for a CNC job shop) · Every DM answered in your voice (an agent that works on WhatsApp)
SourcesWhere the numbers come from
- Siemens (2024). The True Cost of Downtime 2024 (PDF). $1.4 trillion a year for the Fortune Global 500 (11% of revenue); 27 hours lost per large plant per month; up to $150,000 an hour for SMEs "at the top end"; $2.3 million an hour in large car plants. Vendor-published (Siemens sells predictive maintenance). Based on 181 online interviews at large industrial firms, April 2019 to March 2023. Covers all causes of unplanned downtime, not only missing parts.
- AlixPartners (23 September 2021). Shortages related to semiconductors to cost the auto industry $210 billion in revenues this year. A consultancy's forecast for 2021, not a measured total.
- Das, S. (6 March 2020). Micro, small and medium enterprises: challenges and way forward. Speech by the Governor of the Reserve Bank of India, hosted by the BIS. Reports an RBI survey from December 2019: 44% of manufacturing MSMEs and 27% in services faced delayed payments. Survey details beyond the speech not read.
- SIDBI. The MSME credit gap in India: what does the data say? Summarises SIDBI and Crisil Intelligence's May 2025 report Understanding Indian MSME Sector: Progress and Challenges (survey of 2,097 MSMEs across 19 sectors): about ₹30 lakh crore gap, roughly 24% of finance demand. Modelled estimate; I read SIDBI's summary, not the full report.
- Bricker, D. Reorder point (lecture slides, PDF). Department of Mechanical & Industrial Engineering, University of Iowa. Gives the standard deviation of lead-time demand when both demand and lead time vary, and notes that a longer but steady lead time can need less safety stock than a shorter, variable one. Standard textbook material; the same result appears in operations management texts.
- MITx CTL.SC1x, Supply Chain Fundamentals. Key concepts, week 7 lesson 1: probabilistic inventory models (PDF). Safety stock as a safety factor times the standard deviation of demand over the lead time, and cycle service level. Course notes; the 1.65 ↔ 95% link is the standard normal table.
- Bhatnagar, R. (13 February 2020). Riding in the slow lane. Outlook Business. Ludhiana makes about 80% of India's bicycle parts, from 3,500–4,000 MSMEs employing about 500,000 people. Journalistic estimate, six years old.