Does anyone know of a reason why a script that jus...
# suitescript
s
Does anyone know of a reason why a script that just changes the terms on open invoices to match the terms field on the customer record, would suddenly start failing with a permission error? The line of code is:
record.submitFields({ type: record.Type.INVOICE, id: id, values: { terms: terms } });
b
closed period?
s
Turns out someone unset allow non G/L changes for the past two periods, and that is what was causing the error. Now we just need to find out why they made that change.