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.
Intelligent Payment Automation, powered by BILL (aka Bill.com), lets you automate payments, manage vendor details, and bank account information within NetSuite.
The SuiteApp is available to organizations based in the U.S. with a valid U.S. address, or to global customers (except Canada, China, and Japan) with U.S. business subsidiaries. It only supports payments to vendors operating in the United States.
For more information, visit this thread.
Creating a new Manufacturing Routing
Hi,
Need some help with a script I am doing. I am trying to do a setup some defaults when a new Manufacturing Routing is created. Having trouble setting the 'manufacturingcosttemplate' and the 'manufacturingworkcenter' fields on the 'routingstep' sublist. Whether I use the internal Id or the text, it just doesn't work. Sample code:
nlapiSelectNewLineItem('routingstep');
nlapiSetCurrentLineItemValue('routingstep', 'operationsequence', q + 1);
nlapiSetCurrentLineItemValue('routingstep', 'manufacturingcosttemplate', cost_template_id);
nlapiSetCurrentLineItemValue('routingstep', 'manufacturingworkcenter', work_centre_id);
nlapiSetCurrentLineItemValue('routingstep', 'operationname', work_centre_name);
nlapiSetCurrentLineItemValue('routingstep', 'runrate', 1);
nlapiSetCurrentLineItemValue('routingstep', 'setuptime', 1);
window.alert('line done');
nlapiCommitLineItem('routingstep');
Line 3 and 4 never work and hence the line does not get committed. I even tried hardcoding the internal ID and the text but none of them work.