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
Skip through sublist line instead of stopping iteration
I have a Client script that iterates through the sublist of line items in a quote (estimate) and looks for specific class codes on the items. Whatever items satisfy multiple if statements within the function have some pricing information set for those items. The problem I am running into is my exception handling. Currently the "} else {" statement is just "return;" which is causing my script to break in the middle of the iteration. When the script runs into a line item that does not satisfy the previous "If (class == #)" it just returns and the script is
0