3 Feb 2016

Create a link in info log to maintable + AX 2012


Today I come across a user requirement , that user need a link on info log for go to main table. 


static void Axaptaexplorerinfo(Args _args)
{
    CustAccount     custAccount = "C00001";
    CustTable       custTable;
    args            args = new args();
    SysInfoAction_FormRun    infoAction = SysInfoAction_FormRun::newFormName(formStr(CustTable));
    ;
    custTable = CustTable::find(CustAccount);
    args.record(CustTable );
    info(strFmt("Custaccount id  %1",CustTable.AccountNum),"",SysInfoAction_TableField::newBuffer(CustTable));


}

No comments:

Create number sequence in D365 FO

Create the data type. Add code in the loadModule method of the appropriate NumberSeqModule subclass. Add a method to the module’s paramet...