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);
this.enablePageFooter(); // this is used to enable page footer
this.disableSection(PageFooter);// used for Report section
this.enableSection(reportSection);
No comments:
Post a Comment