Discussions
Stay up-to-date with the latest news from NetSuite. You’ll be in the know about how to connect with peers and take your business to new heights at our virtual, in-person, on demand events, and much more.
New AI Community Guidelines. Please review and follow them to ensure AI use stays safe, accurate, and compliant.
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!
0