i'm using scriptContext.newRecord.getValue('field_...
# suitescript
t
i'm using scriptContext.newRecord.getValue('field_id_here') without issue to read the value of the checkbox field and use it for control flow, however using
Copy code
scriptContext.newRecord.setValue({
  fieldId: 'field_id_here',
  value: false
})
at the end of the script doesn't uncheck the box, nor does it throw an error