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!
Stay in the Know
Be sure you're subscribed to NetSuite communication to stay in the know about monthly happenings, updates and announcements. Subscribe
Be sure you're subscribed to NetSuite communication to stay in the know about monthly happenings, updates and announcements. Subscribe
Add Item to Orders
Hi all,
I'm very inexperienced with custom code but am trying to find a way to auto-add an item to every order. I'm sure this is messy code, but can someone please steer me in the right direction? This seems to be adding an item to each order, but it is not the one with internal ID 14!
function createLineAndSetItem( ) { nlapiSelectNewLineItem('item'); nlapiSetCurrentLineItemValue('item','14'); nlapiCommitLineItem('item'); }Thanks for your help-
JKelly
0