dynamics crm 2011 - Retrieve top five opportunities from CRM using C# -


i have written code retrieving opportunity entity dynamics crm, there way can retrieve top 5 entities based on revenue ?

in query expression can set

queryexpression.pageinfo.count = 5; 

don't forget put specific order, in fetchxml can set that:

<fetch mapping="logical" count="0" version="1.0"> 

Comments

Popular posts from this blog

php - Wordpress website dashboard page or post editor content is not showing but front end data is showing properly -

javascript - Get parameter of GET request -

javascript - Twitter Bootstrap - how to add some more margin between tooltip popup and element -