Following code snippet loop through metadata information of AOT objects (this example is to loop through all data entities). class DataEntityExtension { /// <summary> /// Runs the class with the specified arguments. /// </summary> /// <param name = "_args">The specified arguments.</param> public static void main ( Args _args) { DMFEntityTableExtension entityTableExtension; var entityNames = Microsoft.Dynamics.Ax.Xpp. MetadataSupport ::GetDataEntityViewNames(); Var enumerator = entityNames.getEnumerator(); while (enumerator.MoveNext()) { ...
A library with Microsoft Dynamics AX, Microsoft Dynamics 365 FinOps and Supply Chain Management, Power Platform, Integrations, development and functional processes, tricks and trip, tutorials and much more....