I am trying to add a 'or' expression at the end of...
# suitescript
m
I am trying to add a 'or' expression at the end of each filter I add to this existing script cannot for the life of me figure this out
Copy code
for (var y = 0 ; y < filternames.length;y++){
    		var filterAdd = search.createFilter({
    			name: 'entityid',
    			operator : 'IS',
    			values : [filternames[y]]
   
    		});
    		loadedsearch.filters.push(filterAdd); 
  
    	}