How to create purchase orders from sales data
To create purchase orders from sales data you need, in order: clean sales and stock figures per product per location, a forecast for the coming weeks, a reorder decision per line using lead time and stock on hand, the supplier's minimums applied, a human approval, and a locked order per supplier.
Updated
Step 1: get the data in order
Everything starts with two tables: what sold, by product, location and week, and what is on hand, by product and location, as of a date. Most ERPs export both. The usual problems are products with different codes in the two tables, locations named inconsistently, negative quantities from returns or corrections, and gaps where a product sold nothing because it was out of stock. Resolve these before forecasting, or the forecast inherits them.
Step 2: forecast per product per location
For each product at each location, produce an expected quantity for each of the coming weeks, enough weeks to cover the longest supplier lead time. The forecast should follow the product's own pattern and should carry a sense of how reliable it is for that product, based on how it performed on recent history.
Step 3: decide whether and how much to order
Compare stock on hand, plus anything already on order, with the demand expected during the lead time plus a safety buffer. If the stock will not last, order the quantity that brings you back to a sensible level. Record the reason: 'four days of cover against a one-week lead time' is a reason; a bare number is not.
Step 4: apply the supplier's terms
Suppliers sell in cases, pallets or minimum quantities. Round the quantity up to what can actually be bought, and if the need is below the minimum, decide whether to order the minimum or wait. Where a product has limited sellable life, cap the order at what can be sold in time rather than buying a pallet that will expire on the shelf.
Step 5: a person approves
Every line goes past a buyer who can accept it, change it or reject it, with the reason and the forecast's reliability in front of them. This is where experience belongs: not in redoing the arithmetic, but in knowing that a customer has a promotion next month or a supplier is about to raise prices. Nothing should be ordered without this step.
Step 6: lock and send
Approved lines are grouped by supplier into purchase orders. Once an order is finalised its quantities and prices should be locked, so what the supplier receives is exactly what was approved and the record cannot drift afterwards. The order is then exported in the form the supplier accepts, usually PDF or a spreadsheet, and sent.
Where it goes wrong by hand
Each step is manageable for fifty products. For two thousand products across four locations it is eight thousand decisions a week, and by-hand processes cope by cutting corners: one lead time for every supplier, one safety margin for every product, forecasts that are last year plus a percentage, approvals that are a glance at a total. The errors are small per line and large in aggregate, and they show up as cash in slow stock and gaps in fast stock. The value of doing it systematically is not any single step; it is doing all six, every week, without the corners.
What the record should keep
A purchase order is also evidence. Months later, when a product is overstocked or short, the useful question is what was known when the order was placed: the forecast, the stock on hand, the lead time used, the reason given, who approved it. If the order record keeps those, the review is a five-minute look rather than an argument. If it keeps only the quantity, nobody can learn from it. Lock the order once finalised so the record cannot drift, and keep the reason beside the line.
A week in practice
Monday morning: the export runs, the data is checked, the forecast and recommendations are produced. Monday afternoon: the buyer reviews the list sorted by urgency, approves most lines, changes a few with a note, rejects some. Tuesday: finalised orders go to suppliers. The rest of the week is for suppliers, customers and exceptions, not spreadsheets. Businesses that move to this rhythm usually find the buyer's week changes more than the stock does, at least at first; the stock improves over the following quarter as lead times and minimums are corrected and the forecast sees more history.
Questions
Can I skip the forecast and just use a reorder point?
A reorder point is itself built on a forecast of demand during lead time. Using a fixed one is using a forecast you set once and never updated.
Should the purchase order include the forecast?
No. The supplier needs product, quantity, price and delivery terms. The forecast and the reason belong in your record of why the order was placed.
Related guides
See what OrderWise would recommend from your own file. Start your trial.