hi guys,
if the field with custbody_ , not shown in list custom transaction body field,
is allowed features to create temporary field in userEvent with
context.newRecord.setValue({
fieldId: "custbody_records_to_update",
value: JSON.stringify(recordsToUpdate)
});
Thank You
n
NElliott
07/09/2025, 10:55 AM
Temporary fields need the suffix custpage_ not custbody_ I'm not sure what you are asking for help with though.
Actually I'm a little confused as you are trying to set a field.
If you are trying to set a custbody_ in beforeLoad that's not possible.
If you form.addField and then Set that custpage_ field you can do that, then in beforeSubmit populate the permanent custbody_ field with the custpage_ value.