if (newRecord.type === record.Type.SALES_ORDER) { let status = newRecord.getValue({ fieldId: ‘status’ }); log.debug(‘status’, status); try { // Check if the Sales… Continue reading Restrict edit functionality when status is billed
if (newRecord.type === record.Type.SALES_ORDER) { let status = newRecord.getValue({ fieldId: ‘status’ }); log.debug(‘status’, status); try { // Check if the Sales… Continue reading Restrict edit functionality when status is billed