Is there a way to convert search.load's columns to...
# suitescript
s
Is there a way to convert search.load's columns to a query expression?
d
Not really, no. Database table names for SuiteQL are not always the same as the record names. However, the column names as you are pointing out, should be the same. It would just be a matter of writing the script SQL in the correct format.
Copy code
myCustomerQuery.createColumn({
        fieldId: 'entityid'
    })