How to check configuration key in code?

Q: How can I check whether the particular configuration key is enabled or not in the code at runtime? A: Simple, you can use the function isConfigurationkeyEnabled(configurationkeynum(LedgerBasic)) anywhere in the code. It returns a boolean type.

Setting up test data for unit Testing

We should make sure that the unit tests should be independent of data as much possible. For this purpose the Unit Test framework provided by David Pokluda also talks about two very important methods. setUp() and tearDown(). These are very important methods provided by all unit testing framework designed for any technology. setUp() deals with... Continue Reading →

Cascade Update in AX

Many people think that cascade update functionality is not available in AX. Since delete actions of 'Cascade' type are available to provide cascade delete functionality then why there is no cascade update. As usual Microsoft will not leave you in the middle of the sea. Cascade update is the default behavior of Ax if you... Continue Reading →

Blog at WordPress.com.

Up ↑