NS AdminA
08/21/2024, 7:01 PMCeligo AI
08/21/2024, 7:01 PMAI generated answer (using internal Slack threads):To pull values from an employee multiple select field using SuiteQuery, you would need to join the appropriate tables in your query. For example, if you're trying to get the subsidiaries selected for a kititem, you could use a query like this:
sql
SELECT * FROM item JOIN kititemsubsidiarymap ON item.id=kititemsubsidiarymap.item WHERE ...
This query joins the item
table and the kititemsubsidiarymap
table on the id
field of the item
table and the item
field of the kititemsubsidiarymap
table. You can replace the WHERE
clause with your specific conditions.
If you're trying to get the text values from a multi select field, you might need to use the BUILTIN.DF
function. This function can be used to get the display value of a field. For example, if you're trying to get the name of a subsidiary, you could use a query like this:
sql
SELECT BUILTIN.DF(subsidiary) FROM ...
This query uses the BUILTIN.DF
function to get the display value of the subsidiary
field. You can replace the ...
with your specific table and conditions.
Please note that handling multi select fields in SuiteQuery can be complex and might require additional steps depending on your specific use case.
******
Disclaimer:
This response was generated by an artificial intelligence assistant based on previous conversations from multiple Slack channels, and may contain inaccuracies or mistakes.
******Celigo AI
08/21/2024, 7:01 PMSlack thread 1: here (available only if the original thread was posted in the last 90 days)
Similarity score: 0.804787
Slack thread 2: here (available only if the original thread was posted in the last 90 days)
Similarity score: 0.798377395
Slack thread 3: here (available only if the original thread was posted in the last 90 days)
Similarity score: 0.796607554
Celigo AI
08/21/2024, 7:01 PM