Error compiling dynamic control expression

Dynamic expressions in NAV2015 is a great way to automate user interfaces behavior. In the example below we wants to control the Editable status of a field.

The special part is, that if you start using boolean operators like OR AND NOT – You might hit an error message like this:


Funny enough, it is actually a case sensitivity bug in NAV. Change the lowercase and into AND and everything works as excepted.

So even if C/AL is not case sensitive, the dynamic expressions are 🙂