Correcting a purchase order created in the wrong facility
A purchase order belongs to the facility your Working Facility was set to when the PO was created. That owning facility is part of the PO itself — there is no field to edit it and no renumber/change-facility feature (unlike assets, which can be renumbered to a new facility).
The Bill To Fac and Ship To Fac fields are editable on the PO (with multiple facilities and Main Parameters system switch 26 = Yes), but they only change the billing and shipping destinations — they do not move the PO to another facility.
What a wrong-facility PO affects
It appears under the wrong facility’s PO master list, search, and facility-scoped reports
It uses that facility’s vendor list and approval settings
Receipts post the ordered stock into that facility’s inventory
How to correct it
If anything was already received, reverse the receipts first — on the PO’s Receipts tab, select the receipt lines and click Reverse Receipts (requires the Allow Reverse PO Receipts permission). This posts a negative receipt so the stock comes back out of the wrong facility’s inventory and both transactions stay on file for audit
Open the PO and click Close (a closed PO can be reopened later if needed)
Switch the Working Facility selector in the top navigation bar to the correct facility
Recreate the PO there. The new PO goes through the correct facility’s approvals
Prevention: check the Working Facility selector in the top navigation bar before creating a PO.