Translate

Wednesday, June 26, 2019

Open a Purchtable form through info log in AX 2012

How to open Purchtable form from the Info Log.

static void viewPOthroughInfo(Args _args)
{
    PurchTable  purchTable;
 
    purchTable = PurchTable::find("PO-000001852");
 
    info(strFmt("@PAC51058",purchTable.PurchId),"", SysInfoAction_TableField::newBuffer(purchTable));
}


Now click and show button, it will navigate to Purchtable form for the PO number.