Discussions
Stay up-to-date with the latest news from NetSuite. You’ll be in the know about how to connect with peers and take your business to new heights at our virtual, in-person, on demand events, and much more.
New AI Community Guidelines. Please review and follow them to ensure AI use stays safe, accurate, and compliant.
Search problems with Record Types
SuiteScript Code:
var filters = new Array();
filters[0] = new nlobjSearchFilter('custrecord_states', null, 'is', 'state_1', null );
filters[1] = new nlobjSearchFilter('custrecord_params', null, 'is', 'param_1', null );
var searchresults = new nlapiSearchRecord('customrecord_parametrizacion', null, filters, null );
Record types:
1) customrecord_parametrizacion
1-1) custrecord_states is a List/Record => customlist_states
1-2) custrecord_params is a List/Record => customlist_params
Why the result is all records ? when only should be a one record .
Thanks,
Leandro.
0