Any way to use record.submitFields to set a multi ...
# suitescript
m
Any way to use record.submitFields to set a multi select? I can set one value using but if i try to comma separate it throws an error record.submitFields({ type: ‘customrecord_…’, id: ‘20812’, values: { ‘custrecord_multiselect’: “1654” } });
s
no, multiselect fields are not inline editable
m
but i can set a single value and the help says: The ID-value pairs for each field you want to edit and submit. The value type must correspond to the field type being set. For example: • Text, Radio, Select and Multi-Select fields accept string values. it’s still not possible?
s
There is really no point in trying to use record.submitFields on non-inline editable fields. Netsuite does a load/set/save for you if you it anyway