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.
How do I create an Intercompany Transfer Order via Suitescript?
Hi Everyone
First time poster here. Thanks in advance for your assistance.
I am trying to create an Intercompany Transfer Order via suitelet and am unable to find out how to do so. I realise that it is not located in the records browser (only Transfer Orders) but was trying to find a workaround to create it.
During my testing I attempted the following code:
var rec = nlapiCreateRecord('transferorder');
rec.setFieldValue('icto', 'T');
rec.setFieldValue('subsidiary', 22);
rec.setFieldValue('tosubsidiary', 24);
rec.setFieldValue('location', 15);
rec.setFieldValue('transferlocation', 16);
rec.setFieldValue('orderstatus', 'B');
rec.setFieldValue('firmed', 'T');
rec.selectNewLineItem('item');
rec.setCurrentLineItemValue('item', 'item', 1106);