Code Hints for Report development in MSD axapta


Code Hints for Report development in axapta

There are lot of section in reports like epilog, page header, header, section group,programmable section , footer etc. Its easy to use epilog, page header, header, section group and footer but use of programmable section is cofusing.

I want to share some thing about programmable section .

For Any programmable section you must set autodeclaration property to yes.
For executing programmable section you can use this code

Programmable section name . execute.

Whatever control you put on programmable section  you need to specify data method and that method you need to define at main section of method where fetch define so effect will come properly.

you can set value of that method to fetch method to return value.

all return variable should be define in class declaration.

if you rememer my mentioned point you will get success to develop report soon.