support mentioned to me for sales orders the index...
# suitescript
e
support mentioned to me for sales orders the index starts at 1. "And for the Item Sublist in Sales Order, it starts from 1 even using SuiteScript 1.0 and 2.0. So when you use "rec.insertLine({sublistId: "item", line: 0});" you do not select a line item on the Item Sublist."