Record a long-term agreement with a blanket order ​

A Blanket Order records a long-term agreement with a customer: the Items, the total quantities, and the agreed rates for a period. It does not deliver or bill anything. Instead, you release separate Sales Orders against it over time, and ERPNext tracks how much of the agreement is used.

Blanket orders also work for suppliers. Set Order Type to Purchasing and release Purchase Orders.

Prerequisites ​

  • The Customer and the Items.
  • The agreed quantities, rates, and validity period.

Create the blanket order ​

  1. Open the Blanket Order list and select Add Blanket Order.
  2. Set Order Type to Selling.
  3. Select the Customer.
  4. Enter the From Date and To Date of the agreement.
  5. In the Items table, add each Item with its total quantity and agreed rate. Use the pencil icon on a row to add terms for that Item.
  6. Save, then select Submit.

Release orders against it ​

On the submitted Blanket Order, select Create > Sales Order or Create > Quotation. ERPNext copies the Items and the agreed rates. Enter the quantity for this release, check the delivery date, warehouse, and taxes, then submit.

You can also link a row of an existing Sales Order to a blanket order. Select Against Blanket Order on the row, then select the Blanket Order.

Repeat for each release until the agreement is used up or expires.

Track the agreement ​

For each Item, the Blanket Order shows the Ordered Quantity: the quantity in submitted orders linked to it. The difference between the agreed quantity and the ordered quantity is what remains. The Connections tab lists the linked orders.

A Sales Order can exceed the blanket order quantity by the percentage in Blanket Order Allowance (%) in Selling Settings.

ERPNext does not close a blanket order when it expires or is used up. Review open agreements yourself.

Blanket order fields ​

FieldWhat it does
Order TypeSelling for customers, Purchasing for suppliers.
Customer or SupplierThe other party of the agreement.
From Date and To DateThe period of the agreement.
Items: QuantityThe total quantity agreed for the period.
Items: RateThe agreed rate. Orders released from the agreement use it.
Items: Ordered QuantityThe quantity already in submitted orders.
TermsA terms and conditions template for the agreement.

To correct a submitted blanket order, cancel it and select Amend. Check the linked orders first.

Troubleshooting ​

ProblemCause and fix
Ordered Quantity does not changeThe release order is not submitted, is cancelled, or its row is not linked to the blanket order.
A Sales Order exceeds the agreementRaise Blanket Order Allowance (%), or create a new agreement.
A blanket order does not reserve stockThat is expected. A blanket order is a commercial agreement only.