Hi everyone! During a user event beforeLoad I'm tr...
# suitescript
k
Hi everyone! During a user event beforeLoad I'm trying to set a column's value to null in the items sublist, but that column is disabled so it's not letting me set it. How do I get the column to not be disabled, or set the value to null while it's disabled?
b
try using scriptContext.form.getSublist().getField
👍 1
k
I found a workaround instead, by having my script only get the value of the field if the context type isn't create.
I'll try this next time it comes up though, thanks!