Passing parameter from form to SSRS report.

Hi guys,

I am creating a SSRS report on AX2012 my requirement is to pass the current selected record id to the report.

The report uses the RDP class to fill the temperaory table and display the report.

Can some one give me some example of passing the parameter to the ssrs report i.e. like in the sales order report it display the report for the selected sales id i want the same logic.

Please help me guys.