Quantcast
Channel: Dynamics User Group
Viewing all articles
Browse latest Browse all 15740

Group by in form's datasource

$
0
0

Hi,

 

The below given is a screen shot of the records available in a table. I programmatically want to filter the records so that records if grouped by item code having maxof item version would be displayed.



So that the expected output is:

Item Code          Item Version
ITEM1                 3
ITEM2                 2
ITEM3                 6

 

I know that we can achieve this by grouping by Item Code at the data source and adding a display method to display the version, but want suggestions to do it programmatically.


Viewing all articles
Browse latest Browse all 15740

Trending Articles