Hey guys, how to set the value on the select type ...
# suitescript
a
Hey guys, how to set the value on the select type using Record.setSublistValue(options) ? I tried the following: sublist.setSublistValue({ id: ‘custpage_select_id’, line: 0, value: [{“value”: “aa”, “text”: “bb”}] }) The doc suggests that it is possible to do so: The value type must correspond to the field type being set. For example: ■ Text,RadioandSelect fields accept string values. ■ Checkboxfields accept Boolean values. ■ Date and DateTime fields accept Date values. ■ Integer, Float, Currency and Percent fields accept number values.