Discussions
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,