There are times when we only care about the values on a Record where a certain field is minimal or maximal. For instance, perhaps we want the Totals of Sales Orders by Customer, but we only care about the most recent orders – in other words, where the Date field is maximal. For situations like this, NetSuite… Continue reading Setting When Ordered By in SuiteScripts