Is there a way to check if a choice on a select fi...
# suitescript
h
Is there a way to check if a choice on a select field is inactive? The select field sources a custom list rather than a custom record.
This is currently something that we are trying to do in a UE afterSubmit script for ss1.0.
b
you can try using dynamic mode and use getSelectOptions
you can also use a search on your custom list to get which options are inactive or not
👍 1
h
Your direction helped me find the answer.
nlapiLookupField('customlistid', 'selectoptionid', 'isinactive');
I didn't know you could use that api on a custom list.