I am querying thru the business connector and I need to get the maxof and sum of the same field. Since there is no way to alias in AX is this possible?
Here is my query
Select KEY1, maxof(REALCONSUMP), sum(REALCONSUMP) FROM %1 GROUP BY KEY1,PRODID WHERE PRODID == '{0}'
If I use .get_Field("REALCONSUMP") I get the maxof but I dont know how to get the maxof.
Thanks
Brian