Monday, January 14, 2019

Using formulas in a filter expression

The following snippet illustrates how to use a formula in a filter expression:

var filterExpression = [['formulatext:SUBSTR({custentity14},0,5)','startswith','testF']];
var search = nlapiLoadSearch('customer','customsearch_address');
search.setFilterExpression(filterExpression);
var resultSet = search.runSearch();

No comments:

Post a Comment