Monday, 5 February 2018

List page refresh in ax 2012

List page refresh in ax 2012 


After performing some task on the List page. You need to refresh the record. For that, you can find the below code to perform the task.

       //Declaration 
    #Task
    FormRun formRun;
    
    // Get an instance of the calling form.
    formRun = element.args().caller();
    
    // If the caller is a form, refresh that form.
    if(formRun)
    {
        formRun.task(#taskF5);
    }

After completion of your code you can write this code.

Thanks....!

No comments:

Post a Comment