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.
Now is the time to ask your NetSuite-savvy friends and colleagues to join the NetSuite Support Community! Refer now! Click here to watch and learn more!
Stay in the Know
Be sure you're subscribed to NetSuite communication to stay in the know about monthly happenings, updates and announcements. Subscribe
Be sure you're subscribed to NetSuite communication to stay in the know about monthly happenings, updates and announcements. Subscribe
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