Total Pageviews

Search This Blog

Thursday, October 4, 2007

Dynamics AX Command-Line Parameters

  1. Opening Dynamics Ax From Command-Line

    Ax32.exe (Using this AX client executable we can open an Ax Session directly from the command-line.)

  2. Extending the command-line by importing an Ax Object (Class)

    Here, we will import a class (.xpo) directly without any user intervention.

  3. Create a xml import file definition e.g. AutoImportClass.xml

    <?xml version="1.0" encoding="utf-8" ?>

    <AxaptaAutoRun version="4.0" logFile="AxaptaAutoRun_ClassImport.log">

    <XpoImport file="Cust.xpo" />


  4. We will pass this xml file as parameter to the ax32.exe command.

    ax32.exe -StartupCmd=AutoRun_F:\MyDocs\AutoImportClass.xml


Anonymous said...

yoo... informative thoughts :))

Zahir Khan said...

That u have it imported u need to manually compile it... anyway to compile the class at the same time. Not that the entire AOT shd nt get compiled