Skip to main content


Showing posts from February, 2012

BOF and security [AX 2012]

This is the highlight the affect of  [SysEntryPointAttribute( true )] Switching this parameter to true means that you have to define the permission for all the tables that are used. Otherwise you will get a permission error. Leaving it to false (default), will treat the method as an entry point and give access all access to the used tables. Reference:

Dynamics AX Help Online Search

This is an address to save for searching Dynamics AX Help on Microsoft site.

Shortcuts [AX 2012]

Below are a few shortcuts I use when setting up new environments. Client shortcut "C:\Program Files (x86)\Microsoft Dynamics AX\60\Client\Bin\Ax32.exe" "C:\AxClientConfig\MyInstance_isv.axc" Client shortcut into development "C:\Program Files (x86)\Microsoft Dynamics AX\60\Client\Bin\Ax32.exe" "C:\AxClientConfig\MyInstance_isv.axc" -development Visual studio shortcut "C:\Program Files (x86)\Microsoft Visual Studio 10.0\Common7\IDE\devenv.exe" /AxConfig "C:\AxClientConfig\MyInstance_isv.axc"

Common used commands for model move [AX 2012]

These are common commands I use to move models on internal environments. Place these in a batch file and name accordingly. Then all you have to do is run them. Delete isv layer "%ProgramFiles%\Microsoft Dynamics AX\60\ManagementUtilities\AxUtil" delete /layer:isv /db:TestDb /s:SQLSERVER PAUSE Delete usr layer "%ProgramFiles%\Microsoft Dynamics AX\60\ManagementUtilities\AxUtil" delete /layer:usr /db: TestDb  /s:SQLSERVER PAUSE Export model "%ProgramFiles%\Microsoft Dynamics AX\60\ManagementUtilities\AxUtil" export /model:"MyModel" /file:"\\sharedfolder\mymodel.axmodel" /db:DevDb /s:SQLSERVER PAUSE Import model "%ProgramFiles%\Microsoft Dynamics AX\60\ManagementUtilities\AxUtil" import /file:"\\sharedfolder\mymodel.axmodel" /db: TestDb /s:SQLSERVER PAUSE PAUSE is in there to allow you to see the results if any. Links: http://msdn.micro