Quantcast
Channel: Microsoft Dynamics AX Forum - Recent Threads
Viewing all articles
Browse latest Browse all 175888

RE: Disable a class from use through any feature like configuration keys

$
0
0

If you want your method to throw an error, you can do it, of course. It seems that you're question should be "How can I check from code that a configuration key is disabled, so I can conditionally throw an error?"

The answer is: use isConfigurationKeyEnabled(). By the way, use configurationKeyNum() to convert configuration key names to IDs.


Viewing all articles
Browse latest Browse all 175888

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>