How to cancel a Sales Order prior to raising a Production Order
If you are unable to deselect "Active" you will need to inactive any subdocuments created before making the Sales Order inactive
The order is now inactive. Hidden from your list and removed from all calculations for production and raw materials.
..and the order will be showing in your list with a line through it.
If you would like to report on Cancelled Orders, you can create an order tag 'CANX ORDER' and change as appropriate. read here about Sales Documents Settings - SO Tags