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!
'parentcategory' column as a nlobjSearchColumn parameter
I want to get a parents of a sitecategory records. When I trying to use code below:
var returncols = new Array(); returncols[0] = new nlobjSearchColumn('name'); returncols[1] = new nlobjSearchColumn('parentcategory'); var results = nlapiSearchRecord('sitecategory', null, null, returncols); I am getting an error:
An nlobjSearchColumn contains an invalid column, or is not in proper syntax: parentcategory.
Is there a column 'parentcategory' for sitecategory?
0