Thank you for your post! I need a little bit more information about your scenario. Did you create a custom report from scratch, following the example from our blog article? If you didn’t, can you explain what did you do?
You can generate DDSP file when you run the report and see if it contains just one record or all of them. If the DDSP contains all records, then verify your template, if you are using List tagging element correctly. To get the DDSP file select you report in Docentric AX reports form and then select Settings > Generation options and set Generate DDSP when report runs = Yes.
If the DDSP file contains report data for one record only, you are either not processing input parameters correctly, or you are not properly processing each of the records. Try to debug the execution and see what you get.
DDSP contains only one record! Contract class is the same that there is in tutorial! Return only one recid! I try to put manually in DSP class but always one record!
The code you sent us for review contains standard SSRS classes (contract, data provider, controller) required to start and execute the SSRS pipeline. I hope you understand that the standard D365FO (including SSRS) is not in the scope of Docentric support.
Just as a note, based on what we can see at first glance: Your contract returns only one RecId, which explains why only the last selected vendor is included in the data source. Without going deeper into the explanations of the standard, it seems that you need a query or a record list, or a list of RecIds instead. You could look at some of the similar standard SSRS reports and see how that is done by the book.
Once you have corrected the SSRS part of the code so that all selected RecIds reach our DSP class, we would be happy to help. In other words: Your DDSP file should contain several records, each with the appropriate RecId. You can then add the rest of the fields using our DSP class.