As a last resort, we:
1 -write a JE to clear the GL,
2 - go to OKO7 and change the settlement profile from "To be setttled in ful" to Not for settlement
3 - set the deletion flag (or CLSD) on the orders that have balances
4 - reset the settlement profle to "To be settled in full"
and 5 - move forward.