First,Export form development environment:
Get-AXModel -Config NTG_AX_DEV
Export-AXModel -Config NTG_AX_DEV -Model “GARMENT” -File Export.axmodel
image.png
image.png
then,import to production environment
Install-AXModel -File C:/ExportGarmentDev2.axmodel -Conflict push
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.
image.pngFinally, 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
网友评论