<@U5TNEF7FW> also since you are using 2.0, first l...
# suitescript
r
@karlenigma also since you are using 2.0, first line of the for loop should be like this
Copy code
for (var x = 0; record.getLineItemCount('item') < x;x++)