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.
Now is the time to ask your NetSuite-savvy friends and colleagues to join the NetSuite Support Community! Refer now! Click here to watch and learn more!
Stay in the Know
Be sure you're subscribed to NetSuite communication to stay in the know about monthly happenings, updates and announcements. Subscribe
Be sure you're subscribed to NetSuite communication to stay in the know about monthly happenings, updates and announcements. Subscribe
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