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?
1. Is there a field that brings back the written quantity in the transaction versus the converted quantity?
2. If not #1, is there a record type for searching Units of Measure to get the conversion rate so I can reapply the actual written quantity?
Thanks.
-Steve