I looped through the inventory details with a for ...
# suitescript
c
I looped through the inventory details with a for loop, copied all the entries to an array