Pass dynamic parameters in SSRS report(in Batch)

Hi All,

How to give the input parameters in SSRS report dynamically while it runs in batch. For example, I’ve to send a mail with report attachment in batch .In that report, there is Date parameters.If I run a batch today means it retrives the records till today(20-11-2014). After one or two days,if report runs automatically through batch means it retrieves the record only till 20th. For me it should show till the current date. Please help me to solve this.

Thanks

What’s your version of AX? What can you tell us about the report?