When using search in SuiteScript, is there any fil...
# suitescript
n
When using search in SuiteScript, is there any filter named "*customersubof*"? I can't find it anywhere.
Copy code
pledgeSearch.filters.push(search.createFilter({
      name: 'customersubof',
      join: null,
      operator: search.Operator.ANYOF,
      values: [donorId]
    }));
m
Yes, this is a valid search filter. It returns a result if the customer IS the value, or is a child of the value or is the child of another child of this customer, etc.
n
Thank you!