Is there a way to filter lists using SuiteScript? Can I access the values in a list record and remove the ones that I don't want? For example, I have a Sales Order custom list record on the Assembly Build page. What I would like to do is filter that list by orders that are pending fulfillment only. I can't do that on the custom field itself (it's not an option, at least not from what I've seen). So I thought maybe if I could access that field's list items I could remove the SOs that aren't pending fulfillment. But I don't know if it is even possible to access those values. I was going to go this on the beforeLoad user event server-side script.
Any help, thoughts, suggestions, etc. would be appreciated. Thanks