Is there not any way to get account name out of N/...
# suitescript
k
Is there not any way to get account name out of N/query? If I try getting account.acctname it says not exposed. If I try any of the other account name related fields in the Analytics UI they all say they're for search context only. >.<
b
guessing ids is a poor way to get data
build your query in the ui and copy the columns it uses
k
Not trying to get the ID on this part, trying to get the account name for creating the account in the other sandbox
b
or use the records catalog
k
yes, that's what I did. Built it in the UI, coped the SQL, ran it in N/Query, got the error
copied*
Can't create a new Account record without a value for the Name field.
b
what was the query you copied
k
Untitled
Those are the columns
accountcontextsearch.acctname
says only for search context
the others say not exposed
I copied the joins, too
b
cant really give you much
dont know the tables
or the joins
k
Thanks anyway 🙂
b
as in you didnt give the information