Discussions
Client script on sublist that has pages like the invoice->itemcost / expcost?
The client invoice sublists for expcost and itemcost have pages. For example 1-50, 51-100, etc. When I loop through the lines using nlapiSelectLineItem and nlapiSetCurrentLineItemValue I am only able to get this to work the 50 lines which are currently being displayed. The rest throw an error: "TypeError: Cannot read property 'checkvalid' of undefined". If I manually change the page in the UI the next 50 will work, etc. I haven't found any mention of this problem anywhere and have not found a way to change the page via the SuiteScript client API. What am I missing? Thanks!