I was using has subrecord for the inventory detail...
# suitescript
n
I was using has subrecord for the inventory details on invoice lines.