Friday, November 13, 2015

No response when creating planned production order

Last time, my colleague try to create planned production order manually. However, system has no response when the create button clicked.


After tracing X++ code, I found that it calls Method flushCommands of Class WrkCtrSchedulerJobSchedulingEngine. In this method, it will catch CLRError.
To avoid this error, option "Enable the hot-swapping of assemblies for each development session" should not be checked in Microsoft Dynamics AX Server Configuration.


After I un-check this option, planned production order can create manually.