If you create a saved search based on say Record A...
# suitescript
m
If you create a saved search based on say Record A, but you cannot access fields from Record B as there is no relationship between the two records, would it be possible to access Record B fields from a Record A search if we build it in a script?
s
Yes, via SuiteQL you can do ad-hoc joins.
m
Thanks. But does it have to be SuiteQL?
s
You might be able to do ad-hoc joins with plain N/query - I'm not sure. With the rise of SuiteQL I don't ever do imperative N/query searches.
But traditional N/search cannot do ad-hoc joins AFAIK
this is one of the killer features of SuiteQL, IMHO
👍 1
m
SuiteQL is native NS and not third party?
s
Yes
Type 'SuiteQL' into NS help
or wait for the batk help link AI to respond.
👌 1
🤭 2
m
Thanks