Discussions
Be sure you're subscribed to NetSuite communication to stay in the know about monthly happenings, updates and announcements. Subscribe
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?