I am writing a client script and I want to disable...
# suitescript
a
I am writing a client script and I want to disable certain sublist fields. I am using
currentRecord.getSublistField
and setting it to
.isDisabled=true
. This works in the
lineInit
function, but for some reason does not work on
fieldChanged
or
validateField
. Any ideas why?
s
let me understand this requirement specifically. if what you're saying is after the sublist is loaded, and intialized based on what you choose, that'd make a certain field blocked (a field which you didn't fill) That isn't what NetSuite can do. (Again, from my understanding)
b