Select all classes which implemented some interface

    SysDictClass       dictClass;
    List               dataContainerClassList;
    ListEnumerator     enumerator;
    classId            dataClassId;
    str                classNames;
    dictClass = new SysDictClass(classnum(MyAwesomeInterface));
    dataContainerClassList = dictClass.implementedBy();
    enumerator = dataContainerClassList.getEnumerator();
    while (enumerator.moveNext())
        dataClassId = enumerator.current();
        dictClass   = new SysDictClass(dataClassId);
        if (!dictClass.isInterface())
            classNames += + ' ';



About is free platform that allows you to quickly store and reuse snippets, notes, articles related to Dynamics AX.

Authors are allowed to set their own AdSense units.
Join us.

Blog Tags