Dynamics AX 2012 models

There are two models available: CVR_R2.axmodel and CVR_Base_R2.axmodel. Both these models are built on Microsoft Dynamics AX 2012 R2 with the build number 6.2.158.0, as shown in the following screenshot:

Dynamics AX 2012 models

The CVR_Base_R2 model contains all CVR demo application objects (tables, forms, and so on). When you install this model, you can follow all of this book's examples step-by-step to complete the application. The CVR_R2 model contains everything the CVR_Base_R2 model contains but also all examples already completed.

There is also a folder named old, which contains the models that were included in the previous iteration of this book. If you are on the Feature Pack release, you could use these models, but we recommend that you import the XPO file instead and downgrade it.

The models are installed by using PowerShell or AxUtil. The following sections will show you how to install the model of your choice.

Using PowerShell

  1. In the Start menu, navigate to All Programs | Administrative Tools and click on Microsoft Dynamics AX Management Shell.
  2. At the PowerShell command prompt (PS C:>), type the following command (make sure that you pass in the full path of the model file to avoid being in the wrong directory):
    Install-AXModel –File "<Model filename>" –Details
    

Using AxUtil

  1. Open the Command Prompt.
  2. Navigate to the directory for the management utilities. Typically, the location of this directory is %ProgramFiles%Microsoft Dynamics AX60ManagementUtilities.
  3. Enter the following command to import the model:
    Axutil import /file:"<Model filename>" /verbose
    

After importing a model file into the model store, it is important to do a full compilation of the AOT and a full CIL generation.

..................Content has been hidden....................

You can't read the all page of ebook, please click here login for view all page.
Reset
18.191.237.201