kristopherw
salesRefNum = rec.getSublistValue({ sublistId: 'item', fieldId: 'custcol_contract', line: i });