SysDefaultData.accessMenuFunction Method [AX 2012]

Calls the accessMenuFunction method of the parent class to obtain the MenuFunction for the current class.

protected MenuFunction accessMenuFunction()

Run On

Called

Return Value

Type: MenuFunction Class
The menu function that applies to this class.

void exampleMethod() 
{ 
    MenuFunction   menuFunction; 
    SysDefaultData sysDefaultData; 
 
    menuFunction = sysDefaultData.accessMenuFunction(); 
    print menuFunction.name(); 
    pause; 
}

Community Additions

ADD
Show: