A purchase order doesn't directly affect inventory quantities if you delete it, Hina.
Deleting a Purchase Order (PO), even if it is a non-posting transaction, does not affect the inventory quantity. Non-posting transactions do not impact the inventory levels until they are converted into posting transactions, such as bills or invoices. Therefore, if the PO is deleted before any posting occurs, the inventory quantity remains unchanged.
It's still our pleasure to help if you need more guidance regarding your items.