Trying to pull up base unit from an item record vi...
# suitescript
r
Trying to pull up base unit from an item record via search. None of the columns on the records browser seem like it.
c
Where are you running this search?
r
in a script. on a netsuite puter
c
Are you restricted to a single search?
r
no
c
If you don't need the base unit internal id, you could get the units type from the item search then get the unitname from a search on unitstype where baseunit is true and internalid == the item's unit type. If you do, can you use N/query instead?
r
ya i think the units type table is what i need, its just weird, i would have thought the base unit would be the important one, not units type. it is the base unit and all. weird that its not even accessible
i see how yur supposed to do conversions now
🌟 1
built an n-ary tree for costed bom. lol