this is scary, but ```_(x).map(x=> _.valuesIn(...
# suitescript
s
this is scary, but
Copy code
_(x).map(x=> _.valuesIn(x.so)).map(_.valuesIn).flatten().map(x=>x.lines).map(_.valuesIn).flatten().groupBy('itemId').value()