Difference between addSelectOption(options) And insertSelectOption(options)

Field.addSelectOption(options) Adds the select options that appears in the dropdown of a field. SuiteScript 2.x Suitelet Script Type and SuiteScript 2.x User Event Script Type (beforeLoad(context)) After you create a select or multi-select field that is sourced from a record or list, you cannot add additional values with Field.addSelectOption(options). The select values are determined by… Continue reading Difference between addSelectOption(options) And insertSelectOption(options)

How to get all the possible values that can be listed or accepted in the list field?

If we would like to get all the options listed in the list field or multi-select field in Netsuite we can utilize the “Field.getSelectOptions(options)” function available in the record module. Using the method, we can obtain an array of available options on a dropdown select, multi-select, or radio field. The internal ID and label of… Continue reading How to get all the possible values that can be listed or accepted in the list field?