how do i load this subrecord? i want to get the va...
# suitescript
r
how do i load this subrecord? i want to get the values of the fields inside it? inventorydetail on work order
r
how do i open that record..
s
Look in help pages, dealing with subrecords
r
i mean its record inside the subrecord.. i got the subrecord i need the record inside it.. i want those fields
record type is null in netsuite field explorer
i read but i am still not understanding.. the values are line level at each line..i looked at help they state to use getvalue on subrecord but i have a record inside the subrecord how do i access that? ..
they use getValue for the subrecord but how do i get at line level ... what do i use.. is it not possible?
b
Just spitballing here, if it is a subrecord you should be able to load it as a record directly. You will need to find an id for that, which probably comes from the line items.
b
i believe the question is how to load information from the inventory number record
the answer is to get the internal id from the
issueinventorynumber
or
reveivenventorynumber
(or maybe
internalid
, different transactions have different inventory details) field on the
inventoryassignment
sublist from the
inventorydetail
subrecord
and then load or search for the information from the inventory number
r
Gotcha