Hey all, I'm using SS2 to search through custom re...
# suitescript
m
Hey all, I'm using SS2 to search through custom records. One of my custom record fields is a "List/Record" pointing to the "State" list. How, in SS2, can I filter on a state name, versus the state's "number"?
Copy code
var filters = [];   	
    	filters.push(search.createFilter({name:'custrecord_mdrorg_state', operator: <http://search.Operator.IS|search.Operator.IS>, values:40}));
    	
    	
    	var nsSearch = search.create({
    		type: 'customrecord_mdrorg',
    		columns: ['custrecord_mdrorg_state', 'name', 'custrecord_mdrorg_affluence'],
    		filters: filters,
    	});