Discussions
Join us for complimentary one-day events around the world and step into a future fueled by AI and limitless potential. Explore new breakthroughs, sharpen your skills, and connect with experts who are shaping what’s next. Experience bold keynotes, interactive learning, and connections that span the global NetSuite community. Discover what's next at SuiteConnect Tour 2026.
NetSuite has launched SuiteSuccess Wholesale Distribution Edition, in Japan. Please join us the webinar on February 12 that introduces NetSuite solution with demos and case studies for Wholesale Industry.
Register Now
Adding Web Site Category to a new inventory item
We are trying to automatically add a web site category to each new item created. We have a client script that sets the "website" value but it will not set the "category". It just stays blank and there is no error logged. How do you set the "Category" for the new sublist line?
Here is the code we have
curRec.selectNewLine({sublistId: 'sitecategory'});
//THIS WORKS
curRec.setCurrentSublistText({
sublistId: 'sitecategory',
fieldId: 'website',
text: 'SuiteCommerce InStore Website'
});
//THIS DOES NOT WORK
curRec.setCurrentSublistText({
sublistId: 'sitecategory',
fieldId: 'category',
text: 'Home'
});
Thanks!
Karen