Discussions
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