michoel
06/13/2017, 1:31 AMvar salesrep = nlapiLookupField('employee', -5, 'custentity_mos_default_salesrep') in SS1.0 becomes:
var salesrep = search.lookupFields({
type: search.Type.EMPLOYEE,
id: -5,
columns: 'custentity_mos_default_salesrep'
}).custentity_mos_default_salesrep[0].value;