Material Requirement Planning
This window calculates how much of each raw material your confirmed production plans, or your open sales orders, need up to a date you choose. It compares the need with stock and with what you have already ordered from suppliers, and shows the shortfall. From the grid you then generate a purchase order for the quantities you want. alameen ERP 10 runs the calculation when you click Calculate and shows the result in the grid.
Opening the window
- From the ribbon: Manufacturing > Settings > Production Plans > Material Requirement Planning.
- The command appears when a file is open and your licence includes manufacturing and advanced manufacturing.
- The user needs the Material Requirement Planning permission in Users Management, on the Operations page.
The window does not block the rest of the program, so you can leave it open and work in other windows. The fields start with the defaults on this page, then take the values you saved with Save as Default in the window's system menu, if any.
How the window calculates
The choice in the Material Requirement Planning Options group sets where the need comes from:
- Quantity needed for production plan: the program takes the confirmed lines of production plans that start on or before the To date (there is no earliest date). It counts only lines whose manufacturing form is the latest one (the highest number) for the produced material. For each raw material: plan quantity × the material's quantity in the form line, summed over all lines.
- Quantity needed for sales orders: the program takes sales orders of the types ticked in Orders Types, dated on or before To, that are not finished and not cancelled. The remaining quantity of each material is what has not been fulfilled. If the material has a recent manufacturing form, the program converts the remainder into raw materials by that form. If it has no form but is a raw material in some form, it counts the material itself. Otherwise it ignores it.
Then, for each raw material:
- Inventory: the quantity in the chosen Warehouse and its sub-warehouses, or in all warehouses if you leave it empty.
- Purchase Order: the remainder of open purchase orders whose type is ticked in Orders Types, dated on or before To, in the chosen warehouse and its sub-warehouses.
- Available Quantity = Inventory + Purchase Order.
- Unavailable Quantity = Required Quantity − Available Quantity, never below zero.
- PO Quantity follows the PO Quantity option.
The Ordered Quantity option adds a limit from the material card to the need. The program converts all quantities to the chosen unit.
Worked example
Two confirmed plans produce 2 and 3 batches of the same form. The form uses 20 kg of flour per batch. Stock is 50 kg, open purchase orders are 40 kg, and the unit is the default unit.
- Required Quantity:
(3 + 2) × 20 = 100. - Available Quantity:
50 + 40 = 90. - Unavailable Quantity:
100 − 90 = 10. - PO Quantity:
100with Full Quantity,10with Unavailable Quantity.
If you choose Add Minimum Limit and the minimum limit on the material card is 10, the required quantity becomes 110 and the unavailable quantity 20.
Fields
| Field | Description | Required | Values and rules |
|---|---|---|---|
| Material | Limits the calculation to one raw material. | No | Choosing one disables Group. |
| Group | Limits the calculation to the materials of a group. | No | Choosing one disables Material. |
| Warehouse | The warehouse that stock and purchase orders are read from, and the warehouse the generated purchase order lines use. | No | Choose a warehouse that has no sub-warehouses. Empty means all warehouses in the calculation. |
| To | The last date, inclusive, up to which plans and orders count. | Yes | Today. For example 31-12-2026. |
| Unit | The unit of every quantity in the grid. | Yes | First Unit, Second Unit, Third Unit or Default Unit. Default: Default Unit. |
| Ordered Quantity | A limit from the material card added to the need. | Yes | Add Minimum Limit, Add Re-Order Point, Add Maximum Limit or Without (default). |
| PO Quantity | How the editable cell in the grid is filled. | Yes | Full Quantity (default) puts the required quantity, Unavailable Quantity puts the shortfall, Quantity Set Manually leaves zero for you to type. |
| Quantity needed for production plan | The need comes from production plans. | Yes | Default. Choosing one of the two options clears the other. |
| Quantity needed for sales orders | The need comes from sales orders. | Yes | The Orders Types list picks the order types counted. |
| Disassemble semi-finished goods | Breaks a semi-finished material in the need into raw materials by its forms, and keeps only raw materials. | No | Off. |
| Subtract available quantity of products from needed Qty | Deducts the stock of finished goods from the manufacturing need before the raw materials are calculated. | No | Off. |
| Finished Goods Warehouse | The warehouse that finished goods stock is read from. | When the option above is on | Disabled unless the option above is on; clearing that option empties it. |
| Orders Types | The purchase and sales order types that enter the calculation. | No | A list of check boxes, all ticked by default. It shows purchase and sales order types. |
You cannot use Material and Group together. The Orders Types list also decides which purchase order types count in Purchase Order, in both modes, so clear a type's tick if you do not want its orders counted.
Window buttons
| Button | What it does |
|---|---|
| Calculate | Runs the calculation with the current options and fills the grid. It enables Generate PO when a result appears. |
| Generate PO | Generates a purchase order from the grid lines whose PO Quantity is above zero. Disabled until you calculate. It is disabled again when you change any option after the calculation, so click Calculate again. |
| Preview | Shows the Raw Materials Purchases Planning report with the same options. |
| Export | Exports the same result as Export in the viewer. See the viewer. |
| Close | Closes the window. |
Materials grid
The grid fills after Calculate, one line per required raw material.
| Column | Meaning |
|---|---|
| Material Code | The raw material's code. |
| Material Name | Its name. The Composition column appears before Unit when the program's option to show the composition name is on. |
| Unit | The chosen unit. |
| Inventory | The quantity in the chosen warehouse. |
| Purchase Order | The remainder of open purchase orders. |
| Available Quantity | Inventory + Purchase Order. |
| Required Quantity | The need from plans or orders, with the chosen limit. |
| Unavailable Quantity | Required − Available, never below zero. |
| PO Quantity | The quantity the purchase order will contain. This is the only editable column, in every PO Quantity mode. |
The right-click menu is not available on the grid.
Generating the purchase order
Click Generate PO. The program takes the lines whose PO Quantity is above zero. For each line it uses the material, the unit, the quantity and the material's last purchase price. The warehouse is the window's Warehouse, and the date is today. If no line has a positive quantity, nothing happens.
The Purchase Order Details window opens:
- In Invoice Type you choose the type to create. It lists the purchase bill types you may open first, then the purchase order types. The first one is selected by default.
- The other fields are described in Bill data. Here you can choose the Customer and the currency. Payment stays on cash unless the orders option Link payment to generated invoices is on.
- The program replaces each line's price with the default price type of the chosen bill type.
Click OK. The program saves and posts the order or bill at once, without showing a draft, shows the message "Save completed successfully ", and then opens the new order or bill. If you cancel the window, nothing is created. For a purchase order type, its initial data is also posted.
Messages
| Message | Why it appears | What to do |
|---|---|---|
| No materials production plans are found within the selected period | You clicked Calculate with Quantity needed for production plan and no confirmed plan line falls on or before the date. | Confirm a production plan, change To, or change the material or group. |
| You haven't selected any sales order or there are no sale orders before the specified date, or warehouse materials' quantity cover the required | You clicked Calculate with Quantity needed for sales orders and no material resulted. | Tick at least one sales order type, move the date later, or clear the finished goods deduction. |
| Please select Bill | You clicked OK in Purchase Order Details without choosing an Invoice Type. | Choose a type. |
| Please select Client Name | Payment is not cash, or the GCC tax system is on, and no client is chosen. | Choose the client. |
| Please select Warehouse | The order data has no warehouse. | Choose the warehouse. |
| Error in Procedure | The database failed to calculate. The text of the procedure call follows the message. | Send the text to technical support. |
Related
This page applies to alameen ERP 10, version 10.1.79.764.