I'm finding that I'm making a lot of calls to nlapiLoadRecord() just to get to a single line item field. This is an time expensive operation.
It could be that I'm missing something, but from what I can tell this is the only way to get line items from a record, no?
If so, anyone think that a method like the one in the subject would be a good idea?
var items = nlapiGetLineItems('invoice', '123', 'item');