On a side note, I would recommend combining your t...
# suitescript
m
On a side note, I would recommend combining your three lookups into one
m
thanks - i couldn't use the discontamount either. in the end i was able to use the createdfrom value to load the SO and get the discount that way. btw - how would u combine the lookup fields and use it's value?
m
Copy code
var lookupFields = search.lookupFields({
  type: params.type,
  id: params.id,
  columns: ['memo', 'trandate', 'discountrate']
});
var memo = lookupFields.memo;
var trandate = lookuoFields.trandate;
m
ah wonderful, thanks for that