Join Slack
Powered by
how can I find line index in validate field?
# suitescript
a
Ali
01/19/2021, 11:25 AM
how can I find line index in validate field?
w
Watz
01/19/2021, 11:27 AM
Have a look in the help on the Entry Point:
https://system.netsuite.com/app/help/helpcenter.nl?fid=section_4410693152.html
a
Ali
01/19/2021, 11:27 AM
thanks
Ali
01/19/2021, 11:35 AM
@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
Watz
01/19/2021, 11:39 AM
I believe you can set it using currentRecord.setCurrentSublistValue() as the line is still selected in the validatefield entry point
Watz
01/19/2021, 11:39 AM
setValue are for header level fields.
Watz
01/19/2021, 11:41 AM
There are pretty good examples in the help, I suggest you read them.
a
Ali
01/19/2021, 11:44 AM
thanks
Open in Slack
Previous
Next