You may need to try to get the Text of `type` inst...
# suitescript
e
You may need to try to get the Text of
type
instead of the Value, but I'm not sure; haven't worked much with items in 2.0 myself yet, mostly with transactions