saiyadmfaraz
01/17/2017, 4:28 PMparentcateogry
and itemid
fields but its throwing error: An nlobjSearchFilter contains invalid search criteria: parentcategory
.
Here is code:
nlapiSearchRecord('sitecategory', null, [
new nlobjSearchFilter('parentcategory', null, 'is', ''),//@NONE@ doesn't work either
new nlobjSearchFilter('itemid', null, 'endswith', 'Catalog')
])