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.
record.Type - Is there a faster way to figure out the proper "Item" Type?
Hi again,
So i have this issue. I'm working with Sales Orders and within the Item sublist, i can pick Items with different types like: "Inventory_Item" or "Item_Group" or "Service_Item". Now, if i go through the sublist and i retrieve the id of the Item, i was wondering if there was an easy way to determine the record Type of that Item? Currently i'm doing something like
Get the record using type: Inventory_Item. If it is null, try getting the record using type: Item_Group. If it is null, try getting the record using type: Service_Item
0