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
Scripting with shippingcost and handlingcost
I need to seperately export the shipping cost and handling cost for each of my products. I tried to perform a saved search but shipping cost and handling cost are not provided as result columns. As a solution I created a quick suitelet to perform this task, since shippingcost and handlingcost appear to be scriptable records on inventoryitems according to the documentation.
I get the following error:
"An nlobjSearchColumn contains an invalid column, or is not in proper syntax: shippingcost."
function demoList(request, response){
var list = nlapiCreateList('Shipping Cost List');
list.addColumn('itemid','text', 'Item Name', 'LEFT');
list.addColumn('shippingcost','currency', 'Shipping Cost', 'LEFT');