Microsoft Dynamics 365 Blog

Sometime ago I run into following problem.

  1. I followed step provided in msdn article: http://msdn.microsoft.com/en-us/library/gg724119.aspx
  2. After that I have generated Precision Design and I have edited it to display parameter values with which the report was run:

             3. I deployed report and created display menu item and opened the report

        I specified * for account number parameter

I printed report in EN-US language – looks fine:

       

I printed report in NL-BE language – parameters are not translated:

     

To solve the problem we need to do a little more of development:

  1. For parameters which are different that NoYes enum. We can translate parameter using: http://msdn.microsoft.com/en-us/library/ee873271.aspx

a. add a new dataset:

b. use the new created dataset to fill the value of the parameter Customer_CustAccountStatement

c. modify the parameter expression from Value to Label

Then this parameter will translated correctly.

2. For parameter which use NoYes enum we can use expression:

=Microsoft.Dynamics.Framework.Reports.BuiltInMethods.GetEnumLabelFromValue(“NoYes”, IIF(Parameters!Customer_InclTax.Value.Equals(“Yes”),1,0), parameters!AX_RenderingCulture.Value, parameters!AX_UserContext.Value)

 

 

We're always looking for feedback and would like to hear from you. Please head to the Dynamics 365 Community to start a discussion, ask questions, and tell us what you think!