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

Send Purchase Orders to Vendor collaboration for Vendor Review in D365FO

Remove Prefix from a String in D365FO

Odata Patch operation using Postman