CodeBook - AX - formHasMethod

 These are code portions that you will find of course in so so many places in AX, and you are using them as well. They are well known but sometimes you may not recall something ... Useful code snippets:

 Calling a method from another object:


    if (formHasMethod(element.args().caller(), identifierStr(MethodName)))
    {
        element.args().caller().MethodName();
    }

No comments:

Post a Comment