netsuite - How to access the search LookupFields result -
below search code. i'm searching invoice number using invoice internal id.
what right way access lookupfields search result?
var invoicenumber = fieldlookup.value;
i'm using above line "invoicenumber" empty. help.
var fieldlookup = search.lookupfields({ type: search.type.invoice, id: invoiceid, columns: 'tranid' }); var invoicenumber = fieldlookup.value;
it fieldlookup.tranid
. lookupfields
returns object object's keys columns , object's values column values.
check out video more details on field lookups in ss2.0: https://www.youtube.com/watch?v=_fs2thudemq
Comments
Post a Comment