Unable to update POR1.AcctCode throught DI
I'm trying to use DI to replace warehouse code on open PO, and at the same time update GL account with the Inventory Account set up for the new warehouse. It let me change the warehouse, which doesn't automatically pick up the new GL account. If I try to set the AcctCode, it gives me the error "POR1.AcctCode Field cannot be updated." Yet I'm able to change the GL account in B1 UI by changing the warehouse, even though the GL account field itself is not editable in UI. Am I missing something in order to change AcctCode on open PO lines?