jhayczee09
08/31/2024, 9:49 AMCeligo AI
08/31/2024, 9:49 AMAI generated answer (using internal Slack threads):To set multiple values on a Multiselect field using SuiteScript, you can use an array of IDs for the values you want to select. Here is an example:
javascript
rec.setValue({fieldId: theFieldId, value: [1,3]})theFieldIdrecord.submitFieldsgetFieldjavascript
var objField = objSublist.getField({
   fieldId: 'item'
});
if(objField.type === 'checkbox'){
   //Perform an action
}Celigo AI
08/31/2024, 9:50 AMSlack thread 1: here (available only if the original thread was posted in the last 90 days)
Similarity score: 0.845159471
Slack thread 2: here (available only if the original thread was posted in the last 90 days)
Similarity score: 0.808564782
Slack thread 3: here (available only if the original thread was posted in the last 90 days)
Similarity score: 0.807113051
Celigo AI
08/31/2024, 9:50 AMCeligo AI
08/31/2024, 9:52 AM