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.
Creating new items with Unit Types
This is support case 606631
In the code below, I am creating a new item.
I send the cost, price, weight information where the purchase unit is 1 and the sales unit is 6, the cost, price and weight are all multiplied by 6.
However, if I run the same job again, there is no multiplication. Should I set the units in one call and then follow it up with cost, price and weight?
Dim currentItem As InventoryItem = New InventoryItem()
currentItem.cost = Row.ProductCost
Dim pm As PricingMatrix = New PricingMatrix()
pm.pricing = New Pricing(1) {}
pm.pricing(0) = New Pricing()
pm.pricing(0).priceLevel = New RecordRef()
pm.pricing(0).priceLevel.internalId = "1"
0