funcName Function [AX 2012]

Updated: January 18, 2010

Applies To: Microsoft Dynamics AX 2012 R2, Microsoft Dynamics AX 2012 Feature Pack, Microsoft Dynamics AX 2012

Retrieves a string that contains the current function context.


str funcName()

The name of the method that is executing this method.

If execution is currently within the member of a table or class the name of the method is prefixed with the name of that table or class.

static void funcNameExample(Args _arg)
{
    print "Current function context is " + funcName();
    pause;
}

Announcements: To see known issues and recent fixes, use Issue search in Microsoft Dynamics Lifecycle Services (LCS).

Community Additions

ADD
Show: