Wednesday 21 January 2015

How to refresh MainAccountListpage in AX 2012



Hi Techies,

I want to refresh the Main account list page after editing in the details form

I want to see immediate changes in Main account list page.

For this

Go to the Close method of Main account form and write the below code.




FormRun fr;

if(element.args().caller().name() == "MainAccountListPage")

{

fr = element.args().caller();

fr.dataSource().research();

}

after closing the main account details form the list page will be immediately refreshed

Happy daxing.........

Thanks,

Krishna

No comments:

Post a Comment