Parm AxBC Class, Ax 2012 log file , Parallel compile, TTS Level, Test transfer tool for demo data


corresponding parm-method on the AxBC-class: 

// below job will generate corresponding parm method

static void CreateAxBCParmMethod(Args _args)

{
    axGenerateAxBCClass axGenerateAxBCClass;

    axGenerateAxBCClass = AxGenerateAxBCClass::newTableId(tablenum(InventTable)); // change the table name

    axGenerateAxBCClass.run();

}

Log files - AX 2012 - Different log files paths:

 - the Compile All log: this is when you compile the entire application and it is located in %USERPROFILE%\Microsoft\Dynamics Ax\Log\ by default - this is the path found in the configuration of the client. The log name is AxCompileAll.html
 - the Compile IL log: found in the Server folder of you AX installation similar to this C:\Program Files\Microsoft Dynamics AX\60\Server\MicrosoftDynamicsAX\bin\XppIL and it is called Dynamics.Ax.Application.dll.log

 

TTS Level Table Log:

static void TheAxaptaResetTTS(Args _args)
{
    while (appl.ttsLevel() > 0)
    {
        info(strfmt("Level %1 aborted",appl.ttsLevel()));
        ttsAbort;
    }
}

AxBuild.exe Steps:

1.     You should stop the AOS service before you start AxBuild.exe – this is optional for better performance in production server.

Example Commandline: (RUN AS Administrator) - otherwise Application will get crashed.

-go to bin is a location where server bin with axbuild installed

"C:\Program Files\Microsoft Dynamics AX\60\Server\MicrosoftDynamicsAX\bin"

Now execute below

axbuild.exe  xppcompileall  /aos=01  /nocleanup     

 

Test dataTransfer Tool:

C:\Program Files (x86)\Microsoft Dynamics AX 2012 Test Data Transfer Tool (Beta)\

Syntax: DP.exe direction database server 

DP.exe Import "\\BLRVASHVMDC\Installers\Microsoft Dynamics AX 2012 R3 GA\DynamicsAXR3DemoData" MicrosoftDynamicsAX HYDVASHVM17

Comments