Join Slack
Powered by
I'm writing a script (user event) . When the journ...
# suitescript
s
Simon
07/30/2024, 11:23 AM
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
Craig
07/30/2024, 3:04 PM
Which part are you stuck on?
Craig
07/30/2024, 3:13 PM
In general, I'd do a beforeSubmit(), check for the CREATE event, and context.newRecord.setValue('approvalField, true).
👍 1
Craig
07/30/2024, 3:14 PM
Feel free to share code for a deeper dive if there's something you're stuck on.
4
Views
Open in Slack
Previous
Next