How to pass default value to parameter using SSRS Class in axapta

To pass default value to parameter using SSRS Class in axapta 2012 you can override method prePromptModifyContract in controller class then initialize contract class variable then you can pass value using contract class method calling.

Below is example sample for syntax is mentioned.

 protected void prePromptModifyContract()  
 {  
   Contract=this.parmReportContract().parmRdpContract() ;  
   Contract.parmDetails(DiscCurrency::Currency);  
   super();  
 }