hi all,
i have modified only DESIGN in Vendor transaction history report for Japan legal entity.
i have modified code in Controller class to run both design.
Controller class - LedgerTransListAccountController
main method -
public static void main(Args _args) { LedgerTransListAccountController controller = new LedgerTransListAccountController(); boolean isIsoJP = false; isIsoJP = SysCountryRegionCode::isLegalEntityInCountryRegion([#isoJP]); if(isIsoJP) { #define.ReportName('LedgerTransListAccount.Report_JPY') } else { #define.ReportName('LedgerTransListAccount.Report') } // end controller.parmReportName(#ReportName); controller.parmArgs(_args); controller.startOperation(); }
now i login in to JPY legal entity but it's always run the STANDARD report only.
When i commented the else part code from above, then it's execute my customized report design .
Kindly let me know what to change here.
please give me more shed on this.
thanks!