Monday, February 5, 2018

X++ trick to open a Purchtable form through info log in AX 2012

Hi Daxer's,

Hope all are doing well...

Today I'm gonna tell you small helpful trick, how to open Purchtable form from 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 with respect to the PO number.

No comments:

Post a Comment

Export a copy of the standard user acceptance testing (UAT) database

 Reference link: Export a copy of the standard user acceptance testing (UAT) database - Finance & Operations | Dynamics 365 | Microsoft ...