David Na
08/29/2022, 2:21 PMZack
08/29/2022, 2:37 PMBUILTIN.DF( Transaction.Status ) AS OrderStatus
The BUILTIN.DF(FIELD) should get you the textZack
08/29/2022, 2:38 PMbuiltin
functions that can be helpful as well. https://docs.oracle.com/en/cloud/saas/netsuite/ns-online-help/article_161950565221.htmlDavid Na
08/29/2022, 2:38 PMZack
08/29/2022, 2:42 PMvar sql = 'select BUILTIN.DF(receivablesaccount) from customer where id = 3231'
var results = query.runSuiteQL({query: sql, params: []}).asMappedResults()
Can you enter an example customers ID in the 3231
and try this? It returned the string name like I would expect and not the account ID.Shawn Talbert
08/29/2022, 3:33 PMDF
as meaning Display FieldShawn Talbert
08/29/2022, 3:33 PMShawn Talbert
08/29/2022, 3:34 PMZack
08/29/2022, 3:34 PM