He can probably do a search in getInput that will ...
# suitescript
a
He can probably do a search in getInput that will return the SOID and lines... Then reduce per SOID as key and lines as Values and would be able to process a lot of records big Sales Orders without any problem...