Quantcast
Channel: Microsoft Dynamics AX Forum - Recent Threads
Viewing all articles
Browse latest Browse all 175888

Using MultiSelectionHelper class to get selected records

$
0
0

I am using the multiSelectionHelper class to get the marked records on a form.  
I want to get all values for fields for the data sources that are linked to the form.  I understand how to access everything, and if there is only 1 record marked then this is accomplished just fine.  But when there is more than 1 record marked I can get the values for the marked records for the 1st data source but the remaining datasources on each record are not found except for the last record selected.  Is this normal?

So If I am iterating through the data sources on the PurchTable form I can get the PurchTable records for each marked.  If there is only 1 record I can get the records and its fields for the PurchLine and InventDim as well.  But if there is more than one marked it will get PurchTable for each but only get PurchLine and InventDim for the last record.

If anyone could give me some insight into this I would be grateful.  Thanks


Viewing all articles
Browse latest Browse all 175888

Trending Articles



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