Close Sales Order¶
In a submitted Sales Order, you will find the Close option under the Status button. Closing a Sales Order will restrict users from creating Delivery Notes and Sales Invoices against it.

Scenario¶
An order is received for ten Wind Turbines. Sales Order is also created for ten units. Due to scarcity of stock, only seven units are delivered to the customer. Pending three units are to be delivered soon. Customer informs that they don't need to deliver pending item, as they have purchased it from other vendor.
In this case, create Delivery Note and Sales Invoice will be created only for the seven units. And the Sales Order should be set as Closed.

Once a Sales Order is Closed, the pending quantities (three in this case) will not show as pending to deliver or pending to bill in reports. To make further transactions against a Closed Sales Order, you should first click Status > Re-open.
You will find the same functionality in the Purchase Order as well.