with search.lookupFields can I get just the name (...
# suitescript
j
with search.lookupFields can I get just the name (not the full hierarchy name) of a subsidiary by its id?
let subsidiary_name = search.lookupFields({type: 'subsidiary', id: subsidiary_id, columns: ['name']}).name;
gives me the full name / path with colons
j
it’s giving me the name with colons tho
oh nm
tx figured it was something like that!
1