You could probably back your way into searching by...
# suitescript
m
You could probably back your way into searching by the name by adding a text-type custom column field that sources the item name with a formula, but if it were me I'd probably run an item search on the name to get the ID first and then use Record.findSublistLineWithValue() with that ID.
👍 1
a
Thanks, that helps a lot
b
unnecessary search
just iterate through the sublist rows to find the text
m
Yeah, I guess that's probably what Record.findSublistLineWithValue() is doing anyway, so that'd be more efficient.
And then you can know if the item's in the list multiple times, if that's important to you; I've always found that to be an annoying limitation with Record.findSublistLineWithValue().