Blanket Orders
Agree a quantity and rate with a customer or supplier, then order against it over time.
A Blanket Order is a long-term agreement for Items at fixed rates. It sits in the Manufacturing module, as in ERPNext. Its naming series is MFG-BLR-.YYYY.-.
Flow
Create the Blanket Order. Set Order Type to Selling (with a Customer) or Purchasing (with a Supplier), the From Date and To Date, and one row per Item with its quantity and rate.
Submit it.
From the form, Create > Sales Order, Quotation or Purchase Order starts an order for the quantity still left.
Each submitted order row that names the Blanket Order adds to the row's ordered_qty. A cancel or close takes it back.
ERP refuses a From Date after the To Date, the same Item twice, and a negative quantity. It sets the currency, exchange rates and price list, and fills party item codes and base rates.
What an order row gets checked against
A Sales Order or Purchase Order row that names a Blanket Order must match its party, type and currency. Its quantity may not pass what is left, plus the allowance in Selling Settings or Buying Settings (blanket_order_allowance, a percentage). The row takes the agreed rate as blanket_order_rate.
Example
A Selling Blanket Order agrees 100 units at 90 with one customer. Selling Settings' allowance is 0.
| Step | Ordered qty | Note |
|---|---|---|
| Sales Order for 60, submitted | 60 | Rate 90, amount 5,400 |
| Create > Sales Order | 60 | Proposes the 40 left |
| Sales Order for 50 | 60 | Refused: "cannot be ordered more than 40.0 against Blanket Order" |
| Allowance 10%, Sales Order for 50 | 110 | Allowed |
| Cancel that order | 60 |
On the buying side with a 10% allowance, Purchase Orders for 90 and 15 bring the ordered quantity to 105, and a third for 10 is refused because only 5 is left.