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);
}
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);
}