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.
New AI Community Guidelines. Please review and follow them to ensure AI use stays safe, accurate, and compliant.
Keep an eye out for upcoming NetSuite events, including meetups, workshops, and webinars. These sessions are a great way to connect with peers, learn from experts, and stay current on the latest NetSuite updates and best practices. Registration links are provided in each event.
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