erictgrubaugh
07/07/2017, 3:45 PMvar categories = record.getValue({fieldId: "custitem_sca_category"}); // => [1, 3, 4, 7, 10]
categories.push(12); // => add option with ID 12 to the list
record.setValue({
fieldId: "custitem_sca_category",
value: categories
}); // Update the field with the modified array