Showing posts with label SSRS report in AX 2012. Show all posts
Showing posts with label SSRS report in AX 2012. Show all posts

Friday, October 5, 2012

How to Enable or disable any report Section (header, Footer, Page Header, Page Footer etc.) by X++ in Ax 2009

As we know in report Section (header, Footer, Page Header, Page Footer etc) property does not exist visible node so we can do that from following code by writing this in fetch method according to the logic

        reportSection = this.design().sectionName('PageFooter');
        this.enablePageFooter(); // this is used to enable page footer
        this.disableSection(PageFooter);// used for Report section
        this.enableSection(reportSection);