Getting errors on this for invalid search column. ...
# suitescript
n
Getting errors on this for invalid search column. Not sure why I can't get subisidiary fields.
Copy code
var subsearch = search.lookupFields({
							'type': search.Type.SUBSIDIARY,
							'id': subid,
							'columns': ['addrtext']
						});
b
try
address.address
to use the address join
n
@battk NICE! That worked. How would I get the logo url though?
b
not sure
the general advice is to create a search in the ui and try and find a column that gives you what you want
n
got ya. thanks
b
if you cant find it in the search columns, then you will have to try loading the subsidiary using N/record and get it from there
n
okay thanks. I will try that