I am creating an assistant inside a suitelet in SS 2.0. In one of the steps I am creating a sublist and having the user enter in many lines. In a later step, I am trying to retrieve the line item values that were previously entered.
In this example I have only two line items on the sublist. The sublist is on "step2".
I can call step2.getLineCount and it properly returns the number of items on the sublist. I then try to iterate over the lines to grab the values. When I perform step2.getSublistValue with a line of 0 it works properly. However, when I increment the line to be 1, I always get an error of SSS_MISSING_REQUIRED_ARGUMENT on options.line.
Anyone else seeing similar behaviour or know what I'm doing wrong?