Doens.be

  • Linkedin flickr twitter delicious Facebook Youtube

Posts Tagged ‘Configuration key’

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...
}