Craig Cooper
fromrecord = 'salesorder'; fromid = salesorderinteralID; //from the search torecord = 'invoice'; invoice = nlapiTransformRecord(fromrecord, fromid, torecord);