Skip to main content

Notifications

Announcements

No record found.

How to check caller form name in D365. #D365 #ax

Here, I'll demonstrate how to verify the caller form's name. In the init() method of the form, I'm verifying the caller form's name.


public void init()
{
    super();
   FormRun formRun = this.args().caller();
    if (formRun.name() == formStr(WHSLoadTable))
    {
       statements...;
    }
}

Comments

*This post is locked for comments