Edit Purchase Order once it has been submitted

How can I edited a purchase order once it has been submitted? This would also go for Sales Orders as well.

Sometimes edits are necessary, and a new PO is not needed.

Quite simply, you can’t. You must cancel and amend the order. Once submitted, these documents are considered permanent records.

Thank you for the quick response.

So if editing a PO is not an option, how do I cancel it?

Check this:

https://frappe.github.io/erpnext/user/manual/en/setting-up/articles/edit-submitted-document.html

Fantastic! That is exactly what I was looking for. Thank you!!!

No problem, glad I could help!