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
Item Type
I am trying to create an opportunity from a Sales order on the approval of the sales order using server side script.
I get the item's internal id from the script but when i try to load the item's record using nlapiLoadRecord the function requires me to tell what type of item record I am loading. How do I get that information from the sales order. We use both "non inventory item for sale" and "service item for sale" in a sales order.
If I use either one of them the script throws an error saying invalid type for the item if i used one for the other. I need to find out the type prior to this call.
0