May 17, 2016

Using Method jumpRef On AX 2012

This is example use of method jumRef in AX 2012. This method can override from datasource field in a form. This code below describes the using of this method on "InventJournalTable" :

public void jumpRef()
{
    Args                    args = new Args();
    InventJournalTable      inventJournalTable;
    ;
   
    InventJournalTable = InventJournalTable::find("IJ-1605-0364");
    args.caller(this);
    args.record(inventJournalTable);

    new MenuFunction(menuitemdisplaystr(InventJournalTableMovement),
                     MenuItemType::Display).run(args);
}

0 comments:

Post a Comment