Discussions
Join us for complimentary one-day events around the world and step into a future fueled by AI and limitless potential. Explore new breakthroughs, sharpen your skills, and connect with experts who are shaping what’s next. Experience bold keynotes, interactive learning, and connections that span the global NetSuite community. Discover what's next at SuiteConnect Tour 2026.
Way to search for Units of Measure to get Base measurement?
I'm noticing as I traverse a transaction and get the quantity of an ordered item it may show visibly on the transaction as one type of quantity and unit (e.g. Qty=4; Unit=Yrs) and display in my script results as a different (e.g. Qty=48 Unit="Time Duration"). Seems NetSuite will apply the unit conversion to the quantity (where unit of measure is "Time Duration" having two conversions: Year is 12 months and base unit Month is 1). However, even though I can get the Unit being used, I have no way of knowing what the conversion is.
Also it seems that the unit I get back is "Yr" but the conversion is the total months (48) which is the base unit "Months" not the "Yr". I should either get back 4 and the unit "Yr" or I should get 48 and the unit "Mo" shouldn't I?