Jeremy Eda
06/23/2020, 2:58 PMif(line.orderDetail == "Pre-Designed Graphic")
{
//redirect to Pre-Designed Graphic suitelet
nlapiLogExecution('DEBUG', 'Item is Pre-Designed Graphic: REDIRECTING TO PRE-DESIGNED GRAPHIC AUTOMATION SUITELET');
nlapiSubmitRecord(record);
var params = {
custscript_param_s3_record_id: record.getId(),
custscript_param_line_item: line.item
};
var status = nlapiScheduleScript('customscript_pre_designed_graphic_sched','customdeploy_pre_designed_graphic_sched', params);
nlapiLogExecution('DEBUG', 'Schedule Script status', status);
}