Skip to main content

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: 100 with Full Quantity, 10 with 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​

FieldDescriptionRequiredValues and rules
MaterialLimits the calculation to one raw material.NoChoosing one disables Group.
GroupLimits the calculation to the materials of a group.NoChoosing one disables Material.
WarehouseThe warehouse that stock and purchase orders are read from, and the warehouse the generated purchase order lines use.NoChoose a warehouse that has no sub-warehouses. Empty means all warehouses in the calculation.
ToThe last date, inclusive, up to which plans and orders count.YesToday. For example 31-12-2026.
UnitThe unit of every quantity in the grid.YesFirst Unit, Second Unit, Third Unit or Default Unit. Default: Default Unit.
Ordered QuantityA limit from the material card added to the need.YesAdd Minimum Limit, Add Re-Order Point, Add Maximum Limit or Without (default).
PO QuantityHow the editable cell in the grid is filled.YesFull Quantity (default) puts the required quantity, Unavailable Quantity puts the shortfall, Quantity Set Manually leaves zero for you to type.
Quantity needed for production planThe need comes from production plans.YesDefault. Choosing one of the two options clears the other.
Quantity needed for sales ordersThe need comes from sales orders.YesThe Orders Types list picks the order types counted.
Disassemble semi-finished goodsBreaks a semi-finished material in the need into raw materials by its forms, and keeps only raw materials.NoOff.
Subtract available quantity of products from needed QtyDeducts the stock of finished goods from the manufacturing need before the raw materials are calculated.NoOff.
Finished Goods WarehouseThe warehouse that finished goods stock is read from.When the option above is onDisabled unless the option above is on; clearing that option empties it.
Orders TypesThe purchase and sales order types that enter the calculation.NoA 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​

ButtonWhat it does
CalculateRuns the calculation with the current options and fills the grid. It enables Generate PO when a result appears.
Generate POGenerates 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.
PreviewShows the Raw Materials Purchases Planning report with the same options.
ExportExports the same result as Export in the viewer. See the viewer.
CloseCloses the window.

Materials grid​

The grid fills after Calculate, one line per required raw material.

ColumnMeaning
Material CodeThe raw material's code.
Material NameIts name. The Composition column appears before Unit when the program's option to show the composition name is on.
UnitThe chosen unit.
InventoryThe quantity in the chosen warehouse.
Purchase OrderThe remainder of open purchase orders.
Available QuantityInventory + Purchase Order.
Required QuantityThe need from plans or orders, with the chosen limit.
Unavailable QuantityRequired − Available, never below zero.
PO QuantityThe 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​

MessageWhy it appearsWhat to do
No materials production plans are found within the selected periodYou 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 requiredYou 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 BillYou clicked OK in Purchase Order Details without choosing an Invoice Type.Choose a type.
Please select Client NamePayment is not cash, or the GCC tax system is on, and no client is chosen.Choose the client.
Please select WarehouseThe order data has no warehouse.Choose the warehouse.
Error in ProcedureThe database failed to calculate. The text of the procedure call follows the message.Send the text to technical support.

This page applies to alameen ERP 10, version 10.1.79.764.