Discussions
Stay up-to-date with the latest news from NetSuite. You’ll be in the know about how to connect with peers and take your business to new heights at our virtual, in-person, on demand events, and much more.
Now is the time to ask your NetSuite-savvy friends and colleagues to join the NetSuite Support Community! Refer now! Click here to watch and learn more!
getSelectOptions not Working on Some Select Fields
The field.getSelectOptions method is not working on several native NS fields, but works fine on custom select fields. I am creating a new item via SS 2.0. When I call .getSelectOptions for countryofmanufacture, stockunit, saleunit, or purchaseunit, nothing is returned. stockunit, saleunit, or purchaseunit are all set to the unitstype base unit, even though I am explicitly trying to set them after the unitstype is set. Interestingly, if I run the same script with the same source data again once the item is created (i.e., I am updating an existing item), countryofmanufacture still does not return,
0