IIRC there is a filter you can select in the ui ca...
# suitescript
j
IIRC there is a filter you can select in the ui called "item on any line" that may be of use for you here