Search This Blog

Monday, July 15, 2013

Display Method How Goto MainTable Functionality Works In Axapta 2009

Hi Friends,

Recently i got requirement from my customer,that is very simple you know what is that,Customers is asking GotoMainTable Functionality for one field ,i.e display method: Just Simple

Override JumpRef() under design ->Control ->

public void jumpRef()
{
    Args args;
    MenuFunction menuFunction;
    SalesTable salesTableLocal;
    str val2;
    ;
    super();
    while select salesTableLocal where salesTableLocal.SalesId == SO.valueStr()
    {
               val2 = salesTableLocal.SalesId;
                args = new Args();
                //  args.caller(this);
                args.parm(val2);
                args.record(salesTableLocal);
                args.parmEnum(AllChosen::Chosen);
                menuFunction = new MenuFunction(menuitemdisplaystr(SalesTable),                     MenuItemType::Display);
                menuFunction.run(args);
    }
}
 Feel free to contact me have any doubt...

Happy
Daxing...!


No comments:

Post a Comment