How to lookup list of methods (return type) in specific table in Microsoft Dynamics Ax 2012
DictTable dictTable; DictMethod dictMethod; DisplayFunctionType displayFunctionType; DictType dictType; int methodCount; int iCount; dictTable = new DictTable(tableNum(AssetTable)); methodCount = dictTable.objectMethodCnt(); setPrefix(strFmt("Table name: %1", dictTable.name())); for (iCount = 1; iCount <= methodCount; iCount++) { dictMethod = dictTable.objectMethodObject(iCount); displayFunctionType = dictMethod.displayType(); if (displayFunctionType == DisplayFunctionType::Get) { dictType = new DictType(dictMethod.returnId()); info(strFmt("Method name: %1 , Type : %2 ,Label: %3", dictMethod.name(),dictType.baseType(), dictType.label())); } }