MRP: Material Planning for Manufacturing with ERP
In this article
- What MRP is and what problem it solves
- Data that must be right before running MRP
- How the MRP calculation works
- Parameters that determine result quality
- From MRP proposals to real action
- Financial impact
- Indicators for monitoring effectiveness
- Common mistakes
- Phased implementation steps
- Frequently asked questions
- Conclusion
For many mid-sized factories, the question that most often triggers a long meeting is a simple one: "Do we have the materials to produce this order or not, and when must we buy?" Without a system, the answer comes from a mix of spreadsheets, the production head's memory, and phone calls to the warehouse. The result is two opposite failures: raw materials pile up and tie up cash, or a particular material runs out so the line stops and orders are late. Material requirements planning (MRP) is designed to answer that question systematically. This article explains how MRP works, what data it needs, the parameters that determine the quality of its results, and how to apply it in an ERP without making the process complicated.

What MRP is and what problem it solves
MRP is a calculation logic that translates finished-goods requirements into requirements for raw materials and components, including when and how much. It answers three questions: what is needed, how much, and when. The main inputs are demand (customer orders and forecasts), the product structure (bill of materials or BOM), and the stock position and open orders.
The output is proposed actions: create a purchase order for a certain material on a certain date, schedule production of a component, or reschedule because of a mismatch. This way planners no longer calculate hundreds of materials by hand but review the system's proposals and decide.
MRP is most useful when products have many components, purchase lead times are long, and orders vary. A factory with one or two simple products and materials always available in the market may be fine with minimum-stock rules. A factory with dozens of products sharing materials, or imported materials with lead times of weeks, almost certainly needs it. An introduction to production systems is in mid-sized manufacturing production systems.
Data that must be right before running MRP
MRP is only as good as its data. The old principle "garbage in, garbage out" applies very strictly here. Four groups of data matter.
Bill of materials (BOM)
The BOM states which components and how many are needed to make one unit of product. A multi-level BOM records that a finished product consists of assemblies, which consist of components, which consist of raw materials. Some frequent problems:
- Quantity per unit ignores scrap or rejects, so materials always fall short of the plan.
- Design revisions are not updated in the BOM, so the system plans materials for an old version.
- Units of measure are inconsistent, for example the BOM uses meters while purchasing is in rolls.
- Allowed substitute materials are not recorded, so planners have no option when the main material runs out.
Item master data
Each item needs a unique code, unit, type (made in-house or purchased), main supplier, lead time, purchase lot size, and planning parameters. Code tidiness and duplication are covered in ERP master data.
Stock accuracy
If system stock differs from physical stock, MRP will produce wrong proposals with great confidence. High stock accuracy, with routine cycle counts and disciplined warehouse transactions, is a prerequisite. Many MRP projects fail not because of the logic but because stock cannot be trusted.
Routings and capacity
Production time per step, the machines or lines used, and available working hours are needed if you want a realistic schedule rather than just a list of material needs. In the early stage, many factories start with a fixed lead time per item, then add capacity planning later.
How the MRP calculation works
Although implementations differ between ERPs, the basic logic follows the same sequence.
Gross requirements
It starts from finished-product demand: confirmed customer orders, plus forecast demand if you produce for stock. The forecast should come from historical data; see demand forecasting with ERP data.
BOM explosion
The system "explodes" finished-product requirements into component requirements at every BOM level, multiplying by the quantity per unit and the scrap factor.
Net requirements
From gross requirements, the system subtracts available stock and orders already in progress (purchases or production already created), leaving net requirements: the quantity that truly needs to be procured.
Lot sizing and lead time
Net requirements are rounded according to lot-size rules: buy exactly what is needed, fixed multiples (such as per pallet), or a minimum order quantity. Then the order date is calculated backward from the required date by subtracting the lead time. If the calculated order date is already in the past, the system warns that the requirement cannot be met on time without special action such as expediting or an alternative supplier.
Action messages
The output is proposed purchase orders, proposed production orders, and exception messages such as "expedite", "defer", or "cancel". Exception messages are very valuable because they show where the plan has changed since the last run.
Parameters that determine result quality
Lead time
Use real lead times, not supplier promises. Take them from history: how many days from order to goods received and inspected. If lead times vary, use a figure that covers most cases and review periodically with supplier performance data as in supplier management and vendor evaluation.
Safety stock
Safety stock protects against demand and lead-time variation. Too little causes stockouts; too much ties up cash. Calculate it from real variability and the desired service level, and apply it only to critical or long-lead-time items. Setting high safety stock on every item is a fast way to make MRP look useless.
Lot-size policy
Choose a policy that fits the item's character. Expensive, fast-moving items suit small lots. Cheap items with high ordering cost suit large lots. Also consider warehouse capacity and shelf life, especially for materials that can expire; see lot and expiry tracking.
Freezing the planning window
A production schedule that changes every hour overwhelms the team. Define a near-term window (for example one week) that is frozen and can only be changed with approval, while later periods stay flexible.
From MRP proposals to real action
MRP is not a magic button that buys materials by itself. The planning team's role is to judge the proposals.
- Review purchase proposals before converting them to orders, especially for large values or new suppliers. Approval flows are covered in [purchase approval flows](/blog/alur-approval-pembelian).
- Consolidate proposals for the same supplier to use volume discounts and save shipping.
- Check exception messages daily, not monthly.
- Communicate priority changes to production and the warehouse through the system, not only verbally.
- Record the reason for every deviation from the system proposal so parameters can be improved.
Financial impact
Material planning affects cash flow directly. Purchases scheduled to match needs reduce idle stock, while late purchases cause expediting costs or late-delivery penalties. The MRP purchase schedule can be the basis of a cash outflow projection, as discussed in ERP and cash flow visibility. The difference between planned and actually used materials also becomes input for cost analysis; see product costing and cost accounting in ERP.
Indicators for monitoring effectiveness
- Material availability rate: the percentage of production orders that can start on time because materials are complete.
- Number of stockout events that stopped production.
- Inventory turnover and days of raw material inventory.
- Percentage of purchase orders received on time.
- BOM accuracy, measured as the difference between actual usage and standard.
- Number of exception messages not yet handled.
Measure the situation before MRP as a comparison. Improvement in the material availability rate and a drop in idle stock are the easiest evidence to explain to management.
Common mistakes
- Running MRP with a BOM and stock that have not been cleaned.
- Ignoring scrap and rejects in the BOM.
- Filling lead times with guesses and never updating them.
- Setting uniform safety stock for all items.
- Changing the production plan constantly without a freeze window.
- Treating MRP as automatic so proposals are never reviewed.
- Rolling out every module at once instead of starting with the most problematic item group.
Phased implementation steps
1. Choose one or two high-value or problematic products as a pilot.
2. Clean the BOM, including scrap, units, and latest revisions.
3. Count stock for the pilot materials and fix warehouse transaction procedures.
4. Fill in real lead times, lot sizes, and safety stock for those materials.
5. Run MRP in parallel with the old method for several cycles and compare the results.
6. Train planners to read proposals and exception messages.
7. Extend to other product groups and add capacity planning if needed.
Frequently asked questions
Is MRP suitable for a small factory?
Yes, provided BOM and stock data are adequate. A small factory can start with a simple version: material needs calculated from open orders minus stock, with fixed lead times. You do not need every advanced feature from the start.
How is MRP different from minimum stock?
Minimum stock triggers a purchase when inventory falls below a threshold, without looking at future needs. MRP looks at the demand schedule and the product structure, so it is more accurate for items whose needs come in waves or depend on specific orders.
How long until MRP shows results?
Data cleanup usually takes the longest. Once the data is ready, improvement in material availability is usually visible within a few planning cycles.
Do we also need capacity planning?
Not necessarily at first. If your main constraint is materials, start with MRP. If machines or labor are the bottleneck, add capacity planning once the material calculation is stable.
Conclusion
MRP turns the question "what materials must we buy and when" from a guess into a traceable calculation. The key is not complicated logic but data discipline: an accurate BOM, trustworthy stock, real lead times, and parameters reviewed periodically. Start with a small pilot, measure the results, and expand gradually so the planning team grows along with the system.
MRP accuracy depends on a tidy BOM; see BOMs, product revisions, and engineering change notices (ECN) in manufacturing ERP.
Material for outside processing needs a subcontracting flow with partner warehouses.
Plan materials and production with the right ERP
Agsora helps design BOMs, material planning, and production reports in ERP for mid-sized factories. Discuss your production needs with us.
Free consultationRecommended for you
Reading related to this topic
Subcontract Manufacturing in ERP: Partner Stock, Quality, and Cost
How to manage toll manufacturing in ERP: working models, partner virtual warehouses, subcontract orders, loss and leftovers, traceability, product cost, invoice matching, and a partner portal.
Lot, Batch, and Expiry Date Tracking with ERP: From FEFO to Product Recalls
How lot tracking works in an ERP, FEFO rules, two way traceability, barcode scanning, recall readiness, and implementation steps that keep the warehouse moving.
ERP for Cold Chain Distribution: Temperature, FEFO, and Lot Tracking
System requirements for frozen and fresh product distributors: lots and expiry, warehouse temperature zones, FEFO picking, sensor data, temperature excursion handling, recalls, margins, and an implementation roadmap.
Free checklist: choosing a software house
24 points to evaluate a vendor before you sign. Can be saved as a PDF.
Ready to build a system that grows with your business?
Discuss your needs with the AG·SORA team, no cost, no commitment.