Thursday, September 6, 2007

Configuration Key checking through code

Sometimes there is a requirement to check the availibility of configuration key in code to make some functionality available to user.

AX provides this facility in code in Global. The method is isConfigurationKeyEnabled(). This method takes ConfigId as argument and returns boolean.

isConfigurationkeyEnabled(configurationKeyNum(AIF))

Enjoy this...........

Muhammad Shujaat Siddiqi

No comments: