I think this line ```fulfillment_record.commitLine...
# suitescript
r
I think this line
Copy code
fulfillment_record.commitLineItem('item');
            fulfillment_record.commitLineItem('inventory');
should be outside of the
for(var j=1;j<=totallots;j++)
loop