Export ,import and complies and delete AX model

First,Export form development environment:
Get-AXModel -Config NTG_AX_DEV
Export-AXModel -Config NTG_AX_DEV -Model “GARMENT” -File Export.axmodel
Export ,import and complies and delete AX model_第1张图片
image.png
Export ,import and complies and delete AX model_第2张图片
image.png
then,import to production environment
Install-AXModel -File C:/ExportGarmentDev2.axmodel -Conflict push
Export ,import and complies and delete AX model_第3张图片
image.png

when you open ax 2012 client, you will find a pop out window saying that "The model store has been modified". need you take action.

Export ,import and complies and delete AX model_第4张图片
image.png
Finally, compile the model.

AxBuild.exe for Parallel Compile on AOS of X++ to p-code [AX 2012]
https://msdn.microsoft.com/library/d6da631b-6a9d-42c0-9ffe-26c5bfb488e3.aspx

cd Program Files\Microsoft Dynamics AX\60\Server\NTG_AX_PRD01\bin
axbuild.exe xppcompileall /aos=01 /altbin="C:\Program Files (x86)\Microsoft Dynamics AX\60\Client\Bin" /workers=4
find where is the conflict
Export ,import and complies and delete AX model_第5张图片
image.png
double check the conflict model element count. make sure it is 0.
Export ,import and complies and delete AX model_第6张图片
image.png
Others , Delete AX Model
Export ,import and complies and delete AX model_第7张图片
image.png
Export ,import and complies and delete AX model_第8张图片
image.png

你可能感兴趣的:(Export ,import and complies and delete AX model)