Test if a configuration key is enabled in X++ code
How do you execute code when a Configuration key is enabled?
It is pritty easy. Ax x++ has a build-in function ‘isConfigurationKeyEnabled’, witch you can use to check a configuration key.
Small example:
if (isConfigurationKeyEnabled(configurationkeynum(AIF))) { // Do something... }
Tags: Ax 4.0, Ax 5.0 (2009), Configuration key, Dynamics AX, Programming, Tips & Tricks, X++
This entry was posted on Monday, March 22nd, 2010 at 08:00 and is filed under Dynamics AX. You can follow any responses to this entry through the RSS 2.0 feed. You can leave a response, or trackback from your own site.

