I'm writing a script (user event) . When the journ...
# suitescript
s
I'm writing a script (user event) . When the journal entry is submit, i need to set the approval field to 'T' Any idea how to do it ?
c
Which part are you stuck on?
In general, I'd do a beforeSubmit(), check for the CREATE event, and context.newRecord.setValue('approvalField, true).
👍 1
Feel free to share code for a deeper dive if there's something you're stuck on.