KM
07/08/2026, 1:46 PMCeligo AI
07/08/2026, 1:46 PMAI generated answer (using internal Slack threads):To get the company name from an entity using SuiteQL, you would need to query the
entity table. However, the company name is not directly stored in the entity table. It's stored in the subsidiary table. So, you would need to join these two tables to get the company name. Here is a sample SuiteQL query:
sql
SELECT e.id, s.companyname
FROM entity e
JOIN subsidiary s ON e.subsidiary = s.id
WHERE e.id = YOUR_ENTITY_ID
Replace YOUR_ENTITY_ID with the actual entity ID you are interested in. This query will return the entity ID and the associated company name.
******
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/08/2026, 1:46 PMSlack thread 1: here (available only if the original thread was posted in the last 90 days)
Similarity score: 0.79699713
Slack thread 2: here (available only if the original thread was posted in the last 90 days)
Similarity score: 0.793213
Slack thread 3: here (available only if the original thread was posted in the last 90 days)
Similarity score: 0.791870177
Celigo AI
07/08/2026, 1:46 PM