If the Purchase Order is not posted:

Open the General Ledger distribution tab
Change the GL Distribution

If the Purchase Order is receipted and/or posted:

Delete the original Purchase Order
Add a new Purchase Order with the correct GL Distribution

Reversing entries for the original Purchase Order post the the General Ledger, along with the new entry