Display SSRS report based on customer/Vendor specific language [Dynamics AX 2012]


Friends,
Common requirement is to show the reports in customer’s language [example : Quotations, sales confirmations, invoices, Free text invoices, Return order acknowledgements , Agreements,  Purchase order confirmations etc].
This was easily achievable in Dynamics AX 2009 reports by using
element.design().languageID(custConfirmJour.LanguageId); // language id
Well, how do I achieve the same thing  in AX 2012 SSRS Reports? image
Its simple , we still have one liner code only in AX 2012image
We need to use the controller classes, runPrintMgmt() method or preRunModifyContract() method which changes the contract class before report is run and am leaving this to you based on the requirements.
this.parmReportContract().parmRdlContract().parmLanguageId(custConfirmJour.Language);
Below is the screen shot for reference:image
image

No comments:

Post a Comment

Note: Only a member of this blog may post a comment.