X++ code to refresh the caller form in D365FO

 Below is the code snippet to refresh the caller form from class Main method.


X++ code:

  #Task

   FormRun caller = _args.caller();

   if (caller)

    {

        caller.task(#taskRefresh);

     }

Popular posts from this blog

X++ code to get sales order totals in D365FO

Export Data Packages using Data Management and Postman in D365FO

X++ code to generate SSRS Report Attachment in D365FO