Irina Mitrova
10/10/2025, 9:10 AMCeligo AI
10/10/2025, 9:11 AMAI generated answer (using internal Slack threads):To select an inactive element in the list record field, you can use the
nlapiLookupField function in SuiteScript 1.0. This function allows you to retrieve the value of a field on a record, including whether an option in a custom list is inactive.
Here is an example of how you can use this function:
javascript
nlapiLookupField('customlistid', 'selectoptionid', 'isinactive');
In this example, 'customlistid' is the ID of your custom list, 'selectoptionid' is the ID of the option in the list you want to check, and 'isinactive' is the field you want to retrieve the value of. This will return 'true' if the option is inactive and 'false' if it is active.
Please note that this function is only available in SuiteScript 1.0. If you are using SuiteScript 2.0, you can use the search.lookupFields method instead.
******
Disclaimer:
This response was generated by an artificial intelligence assistant based on previous conversations from multiple Slack channels, and may contain inaccuracies or mistakes.
******Celigo AI
10/10/2025, 9:11 AMSlack thread 1: here (available only if the original thread was posted in the last 90 days)
Similarity score: 0.825439572
Slack thread 2: here (available only if the original thread was posted in the last 90 days)
Similarity score: 0.824157774
Slack thread 3: here (available only if the original thread was posted in the last 90 days)
Similarity score: 0.820617735
Celigo AI
10/10/2025, 9:11 AM