Be aware that voiding a purchase order does not impact the accounting records.
Links to more information...
Retracting purchase orders
Deleting purchase orders
Canceling ordered items