raghav
07/28/2026, 12:52 PMCeligo AI
07/28/2026, 12:53 PMAI generated answer (using internal Slack threads):In SuiteQL, to join against a multiselect field, you need to use the mapping table that NetSuite automatically creates for multiselect fields. For example, if you have a custom item field with ID "Item_CustItem_MS_Test", a table named "MAP_Item_CustItem_MS_Test" will be created. You can then join to that table to get the actual values. Here is an example:
sql
SELECT
Item.ID,
Item.custitem_ms_test,
Customer.CompanyName
FROM
Item
INNER JOIN MAP_Item_CustItem_MS_Test AS Map1 ON
( Map1.MapOne = Item.ID )
INNER JOIN Customer ON
( Customer.ID = Map1.MapTwo )
WHERE
Item.ID = 18
If you have a custom record with a multiselect field, the query would look something like this:
sql
SELECT
*
FROM
CustomRecord_Messages
INNER JOIN MAP_CustRecord_Mentions AS Map1 ON
( Map1.MapOne = CustomRecord_Messages.ID )
INNER JOIN Entity ON
( Entity.ID = Map1.MapTwo )
The format for the map table is map_<customrecord>_<customfield>. The map table is just a join table. You can find the exact table name in the Records Catalog.
******
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
07/28/2026, 12:53 PMSlack thread 1: here (available only if the original thread was posted in the last 90 days)
Similarity score: 0.815368712
Slack thread 2: here (available only if the original thread was posted in the last 90 days)
Similarity score: 0.813598692
Slack thread 3: here (available only if the original thread was posted in the last 90 days)
Similarity score: 0.799865842
Celigo AI
07/28/2026, 12:53 PMAbdul Basit
07/28/2026, 1:43 PMraghav
07/28/2026, 9:36 PMAbdul Basit
07/29/2026, 5:56 AM