Bojensen Blogs

Måned: januar 2012

How to copy configuration and setup data from one environment to another environment in Microsoft Dynamics AX 2012

In Microsoft Dynamics AX 2009, the duplicate company feature was used extensively to copy data from one company to another. The feature was also used to build development or test environments, UAT, Preproduction and deployment scenarios that moved data from one environment to another. For example development to test environment, test environment to UAT environment, Pre production to Production environment etc. However this feature became obsolete in Microsoft Dynamics AX 2012.

Check Security Key via X++

  SecurityKeySet securityKeys; Boolean fullAccess; ; securityKeys = new SecurityKeySet(); securityKeys.loadUserRights(curuserid()); fullAccess = securityKeys.access(securitykeynum("xxxxxxxxxxxxxxx")) == AccessType::Delete; formDesignElement.visible(fullAccess); Malaysia Dynamics AX Blog: Check Security Key via X++