in the SS1.0 version it gets the right data and do...
# suitescript
k
in the SS1.0 version it gets the right data and does not throw an error
salesRefNum = rec.getLineItemText('item', 'custcol_contract', i);