we are going to discuss about how to cancel a sales or Purchase order. If a Sales order or Purchase order gets a Cancelled status if it is cancelled in below way.
Here let us take example of Sales order cancellation process and same process holds for Purchase order also.
First create a new sales order and have one sales line for example.
Go to Sales order –> select sales line—> click Update line as shown in the below screenshot—> select Deliver remainder
New Update remainging quantity form is opened—> Click Cancel quantity button as shown in below screenshot.
once you perform this for a single line where no items are not delivered then automatically sales line status will be changed to Cancelled as shown in below screenshot.
Once you perform this for all lines which are not processed (means no items were delivered from all the lines) then automatically sales order header status will be changed to Cancelled as shown in below screenshot.