First,Export form development environment:
Get-AXModel -Config NTG_AX_DEV
Export-AXModel -Config NTG_AX_DEV -Model “GARMENT” -File Export.axmodel


then,import to production environment
Install-AXModel -File C:/ExportGarmentDev2.axmodel -Conflict push

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.

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

double check the conflict model element count. make sure it is 0.

Others , Delete AX Model


网友评论