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:

  • 相关阅读:
    codeforces-1139 (div2)
    codeforces-1140 (div2)
    codeforces-1141 (div3)
    第四届CCCC团体程序设计天梯赛 后记
    BZOJ 3674 可持久化并查集
    你能回答这些问题吗
    [JSOI2008]最大数
    关路灯
    愤怒的小鸟
    推销员
  • 原文地址:https://www.cnblogs.com/Fandyx/p/3243325.html
Copyright © 2011-2022 走看看