How can I get key value pairs from a multi select ...
# suitescript
k
How can I get key value pairs from a multi select field in a SuiteQL query result? I've tried a bunch of things and only get a list of internal IDs and none of the text values.
b
you may just want to live with caching the names of the subsidiaries if you want to make your code robust enough to handle commas in the name of the subsidiary
m
There should be a mapping table that you can join
E.g.
k
@battk that worked perfectly thank you!
@michoel Where did you find that screen? I've never seen it before, especially with the SQL with the little (i) button
I ended up using BUILTIN.DF for Subsidiary and Parent, and using a SQL join to get currency.name 🙂
m
@Kris Wood that's from the Records Catalog