battk
var location = salesOrder.getFieldValue('location');
var location = nlapiGetFieldValue('location');