Hi all,
I need to print top 7 customer with max Sales Order that means i have to use count function.
I write the following code for get count
while select count(salesid) from salestable groupby salestable.scustaccount
this give me output
CustA 20, CustB30, CustC10, CustD50 etc ....
But i need output something like
CustD50, CustB30, CustA20, CustC10 etc...
http://stackoverflow.com/questions/22475780/how-to-count-and-sort-records-using-axapta-query
According to this post i cant sort aggregate field . Any other option to complete this task.
Any suggestion is very helpful.
Thank You,
*This post is locked for comments
I have the same question (0)