The Field.getSelectOptions(options) method in SuiteScript 2.0, found within the N/currentRecord module, allows you to retrieve available options for dropdown select, multi-select, or radio fields within NetSuite’s record forms. These options are returned as an array of objects, with each object containing two properties: value, representing the internal ID of the option, and text, representing the label displayed to users.
It’s important to note that this method can only be utilized in dynamic mode, which is typically used in client-side scripts for real-time interactions with record forms. Additionally, there’s a limit of 500 options due to NetSuite’s Maximum Entries in Dropdowns setting, and if the field is not supported or does not exist, the method returns null.