RE: How to find sublist line with 2 or more matching values? (using findSublistLineWithValue)

I was using findSublistLineWithValue but it finds the first line with the matching value.

What if I have more than 1 line with that value… how do I iterate through them?

mcfly Rookie Asked on September 19, 2019 in SuiteScript.
Add Comment
2 Answers

Serialize the sublist then just use Array.findIndex. Make sure to polyfill it first

Beginner Answered on October 10, 2019.
Add Comment

Your Answer

By posting your answer, you agree to the privacy policy and terms of service.