I'm new to SuiteScript. I have a custom record with item fields. I want to get salesdescription for the items in these fields.
function beforeSubmit(context) {
var workItem = context.newRecord;
var addon_1 = workItem.getValue('custrecord_ip_wk_addon1');
}
gets me the item id. How do I pull in the associated salesdescription, which I want to concatenate into a text area field.