any chance ```var last_item_idx = rec.getLineCount...
# suitescript
s
any chance
Copy code
var last_item_idx = rec.getLineCount({sublistId:'item'});
isn't returning 0? (total stab in the dark)