Dynamic method dispatch in X++
X++ is statically typed language, right? Still, sometimes we need to use it in a dynamic manner… The most common case is the need to call methods defined on a form. You can’t do it with static types – forms are technically instances of SysSetupFormRun class, which obviously doesn’t include methods you added to your …