Eric Schultz
06/08/2025, 2:55 AMCeligo AI
06/08/2025, 2:56 AMAI generated answer (using internal Slack threads):In SuiteQL, you can get the display text of a field by using the
BUILTIN.DF()
function. This function returns the display value of a field from the target record type without having to join the target record type explicitly.
Here is an example of how you can use it:
sql
SELECT BUILTIN.DF(Transaction.Status) AS OrderStatus
FROM Transaction
In this example, BUILTIN.DF(Transaction.Status)
will return the display text of the Status
field from the Transaction
record.
Similarly, if you want to get the field ID, you can directly select that field from the record. For example:
sql
SELECT Transaction.Status AS StatusID
FROM Transaction
In this example, Transaction.Status
will return the internal ID of the Status
field from the Transaction
record.
******
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
06/08/2025, 2:56 AMSlack thread 1: here (available only if the original thread was posted in the last 90 days)
Similarity score: 0.81340903
Slack thread 2: here (available only if the original thread was posted in the last 90 days)
Similarity score: 0.806312621
Slack thread 3: here (available only if the original thread was posted in the last 90 days)
Similarity score: 0.799602389
Celigo AI
06/08/2025, 2:56 AM