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:

  • 相关阅读:
    JSOI2015 R3 退队滚粗了
    bzoj3774
    bzoj1426
    bzoj3294
    java 位向量
    java 移位操作
    java 枚举类型的使用
    mysql 修改 root 用户密码
    几种数据库连接池的比较
    linux python 安装 pip出现 No module named 'setuptools'
  • 原文地址:https://www.cnblogs.com/Fandyx/p/3243325.html
Copyright © 2011-2022 走看看