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.
Keep an eye out for upcoming NetSuite events, including meetups, workshops, and webinars. These sessions are a great way to connect with peers, learn from experts, and stay current on the latest NetSuite updates and best practices. Registration links are provided in each event.
nlapiSelectLineItem not looping through line items
We have some code that is supposed to loop though and update line items on an Opportunity form. We believe the code was working the week of July 4th but have since noticed it’s failing. After troubleshooting it’s looking like the code is failing because nlapiSelectLineItem is not looping though line items, instead it gets stuck on the 1st line item. To prove it out, I created a simple loop and attached it to our test oppty form as a Page Init Function (code below). When this code executes the focus stays on the first line item every pass through
0