Just a quick note on using RunAs in AX2012: The static method being called by RunAs should have a container parameter in the method declaration. Otherwise, system will complain that the static method was not found. So: // This would fail with static method not found error. public static void methodWithoutParm() { } // This would work! public static void methodWithContainerParm(container _c) { } In fact, the same can be said to Global::RunClassMethodIL. However, the error throw by Global::RunClassMethodIL...(read more)
↧