Close Sales Order
In the submitted Sales Orders, you will find Close option under the Status Button. Closing Sales Order will restrict user from creating Delivery Note and Sales Invoice 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 Sales Order is set as closed, you will not have pending quantities (three in this case) reflecting in Pending to Deliver and Pending to Invoice reports. To make further transactions against Closed Sales Order, you should first Re-open it.
You will find same funtionality in the Purchase Order as well.