We're in the process of converting our SQL queries into fetchxml, and I ran into a snag that i'm not quite sure how to get around. This is a part of a complex query:
SELECT FilteredContact.emailaddress1, FilteredContact.firstname, FilteredContact.lastname, FilteredContact.telephone1, FilteredContact.jobtitle, 'a' as order1
FROM FilteredAccount AS FA
Our problem is we're unsure of a way to have the above result go into 'order1', as it does not exist. Only for the report.
Is there some type of equivalent in fetchXML to have a 'results column' ?