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.

Sunday, February 4, 2018

Command format to install a model in AX 2012


Command format to install

  • Run as admin Microsoft dynamics AX 2012 management shell.
  • Install-AXModel -File <Filename.axmodel> (E.g - Install-AXModel -File "C:\Partner models\IDNTAX.axmodel")

How to Parallel compile using command prompt in AX 2012

Steps:
  1. Run command prompt as administrator.
  2. copy and paste the highted cd C:\Program Files\Microsoft Dynamics AX\60\Server\MicrosoftDynamicsAX\bin , press enter.
  3. copy and paste the highted ,AXBuild.exe xppcompileall /s=01,press enter.
  4. It take nearly 45 mins to complete the Parallel compile process,
Happy Compiling... 

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 ...