<@UPHDYQS83> You can only set values in `beforeLoa...
# suitescript
e
@Ali You can only set values in
beforeLoad
when a record is created
👍 1
a
@ehcanadian the record has been created already and I'm in the view mode(beforeLoad usereventscript) but, I'm not able to setValue.
s
@Ali if you want to edit a record in view mode you will have to use record.load(options) then use record.setValue(options) and then record.submit(options).