how can I find line index in validate field?
# suitescript
a
how can I find line index in validate field?
w
a
thanks
@Watz if I want to set a field value in validate field, do I need to select the line and then set the value or I can use setValue directly?
w
I believe you can set it using currentRecord.setCurrentSublistValue() as the line is still selected in the validatefield entry point
setValue are for header level fields.
There are pretty good examples in the help, I suggest you read them.
a
thanks