<@U5U2L5GN7> I'm able to make the change in the UI...
# suitecommerce
c
@TheAntman I'm able to make the change in the UI with no issue. I've also tested running the same code from the debugger, and that also executes successfully. It seems to only occur within the SuiteCommerce context. Ignoring mandatory fields does not seem to affect it either, but it's a good call out.
p
You might want to try specifying the form you want to load the record with
c
@PabloZ I also noticed that the 'customform' field does not show a particular form id. When I attempt to retrieve it, the field is empty. Although, I will try passing the form as parameter when loading the record. Hopefully that will load the record with the terms field.
@PabloZ You were absolutely correct. I had to select the form that was created from the Standard Sales Order - Invoice, which does not contain a payment method. It only has terms. Once I loaded the record with that form, I was able to successfully save the record with my line changes. Thank you very much for that insight.
p
Awesome! 😄