Announcements
No record found.
hi
i am new to Dynamics AX 2012 , i need the report output name should have include parameter and report with timestampe.
its possible ,
thanks
kumar
*This post is locked for comments
Can you please rephrase your questions? It is very difficult to understand what you want. Maybe provide a design example as well?
hi Vilmos,
can you guide me how can i achieve my above query
when we try to save the report in excel / pdf format - the output name should have report+timestampe +any parameter used for selecting the query while generating the report.
for eg: parameter are item code , start date and end date , file name should show as "abc1 item detail as on 01022017 "
Hi Kumar Rao,
You are using DP class for your report or only using Query?
Which design your using for your report?
Thanks
Suresh
Create a text box and set the expression as you need. SSRS will even offer you both parameters and common functions in GUI.
Parameters:
Functions:
Ah, sorry, I've got what you mean. You want to set the file name from code, based on some variables. When you talk about parameters, do you mean values from data contracts?
My blog post Printing reports from code in AX2012 shows how set the file name from code, now you just have to construct the name you want.
If you want to rename the file as per the information in your data contract, you have to hook in somehow to change the PrintJobSettings of the report controller after the SSRS dialog has been closed. Most likely you could try this by overriding dialogPostRun(), to construct your filename and dump it in the printjobsettings there.
we are use DP class
Under review
Thank you for your reply! To ensure a great experience for everyone, your content is awaiting approval by our Community Managers. Please check back later.
Congratulations to our 2026 Super Stars!
We are thrilled to have these Champions in our Community!
These are the community rock stars!
Stay up to date on forum activity by subscribing.
Joris dG 5
Alexey Lekanov 2
Henrik Nordlöf 2 User Group Leader