Auto conversion of enums to string error occurs when SysModelMetadata code runs in AX 2012 CIL
We recently came across an issue when we are interrogating the model metadata through a batch process (which uses CIL), in Microsoft Dynamics AX 2012/ 2012 Feature Pack. We get the following error: The expected type was str, but the encountered type was enum. The issue is isolated to the class SysModelMetaData. The new() method…Read more