it will be something like ``` var categories = rec...
# suitescript
e
it will be something like
Copy code
var 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