I am trying to get the sublistValue of the field `...
# suitescript
a
I am trying to get the sublistValue of the field
isnoninventory
on an item sublist of a work order. I can get the field when loading an existing sales order, but when populating the field item field on create in dynamic mode I don't seem to be able to get the sublistValue. Is there any direct way that I am missing, or would I need to do a search?
s
It's very possible that column is something that happens after the initial save, not sourced when setting the item field.
e
I don't see that field in the Record Browser
s
itemtype
however is sourced when the items populate I believe, maybe just try using that?
e
as either a field or a column
a
@erictgrubaugh, True but it shows up in the
rec.getSublistFields('item')
@Sandii That's what I ended up doing, although I would have preferred to get this field directly
e
For anything not in the Records Browser, I'd just expect weirdness and inconsistency
a
@erictgrubaugh Fair enough