Quantcast
Channel: Microsoft Dynamics 365 Community
Viewing all articles
Browse latest Browse all 17314

What are the differences between addOrderByField and addSortField

$
0
0
Hi Guys With addSortField you can set "only" the records order. With AddOrderByField you can build some logic because is used the kernel class QueryOrderByField. So, you can use the follow methods : - direction - autoHeader - autoHeaderDetailLevel - autoSum - autoSumDetailLevel - datasource - fieldId You can find some examples on the standard class : - DimensionProvider Class, getDimensionOrderBysFromQuery method - InventDimCtrl_Frm_OnHand class, modifyQuery method Enjoy!...(read more)

Viewing all articles
Browse latest Browse all 17314

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>