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.
Filter 'site category' records as per website.
Hello,
We need to filter the site category records for a particular website.
And for this we are using the following code:-
var columns = new Array(); columns.push(new nlobjSearchColumn('name')); var filter = [new nlobjSearchFilter('website', null, 'is', '3')]; var categoryList = new nlapiSearchRecord('sitecategory', null, filter, columns);Here we are get the following error:-
Code: SSS_INVALID_SRCH_FILTER
Details: An nlobjSearchFilter contains invalid search criteria: website.
What will be the internal id of the website field to be used in the search filter?
Please suggest.
0