zoukankan      html  css  js  c++  java
  • How to display SSRS report based on customer/Vendor specific language [AX2012]

    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? 

    Its simple , we still have one liner code only in AX 2012

    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:

  • 相关阅读:
    JavaSE-面向对象
    JavaSE-数组
    JavaSE-方法
    JavaSE-流程控制
    JavaSE-基础语法
    Java-初识Java
    PTH的几种食用姿势
    CVE-2020-1472 Zerologon
    OpenGL 术语
    使用IDEA创建SpringMVC项目
  • 原文地址:https://www.cnblogs.com/Fandyx/p/3243325.html
Copyright © 2011-2022 走看看