Join Slack
Powered by
can we set values on afterSubmit (UE script) using...
# suitescript
m
mg2017
08/24/2021, 3:52 PM
can we set values on afterSubmit (UE script) using context.newRecord > setValue or must the record be loaded first before setting the values?
c
Charles.Bastian
08/24/2021, 4:04 PM
I don't believe so. I've always had to submitvalues to the record, or reload the record, update it, and save it.
c
creece
08/24/2021, 4:10 PM
try it! what happens when you do it?
m
mg2017
08/24/2021, 4:15 PM
yeah, had to load the record, set value, then save
👍 1
c
creece
08/24/2021, 4:16 PM
You don't have to do that unless its a sublist value. Submitfields will do it and takes less governance.
👍 2
creece
08/24/2021, 4:16 PM
either works though
s
Sandii
08/24/2021, 4:22 PM
Or don't use afterSubmit
👍 1
2
Views
Open in Slack
Previous
Next