When performing a NetSuite lookup, there is a Group Rows option, but it always seems to group based on the record’s internal ID. I recall there being an option to choose which field the grouping is based on—am I remembering that correctly?
My use case is sales order lines that I want to group by opportunity ID, not by the sales order internal ID.
Currently, because I can not group it on opportunity id, I tried this workaround which also did not work:
- The first lookup runs a saved search that groups results by opportunity ID.
- The second lookup fetches sales order lines using that opportunity ID.
However, the lines are still treated as separate records, and when grouping is applied, it again groups by the sales order internal ID rather than the opportunity ID.
etsu
