It is not possible to delete an invoice/document from Ad hoc order for consistency and historical reasons.
We would advise to close down the PO and re-create.
How to delete an Ad hoc invoice
How to delete an Ad hoc invoice / order.
Written by Cristian Bolba
