and then `var amount = result.getValue({ name: ...
# suitescript
k
and then
var amount    = result.getValue({ name: 'amount',     summary: search.Summary.MIN   }) as string;