static void VKDictMethodTest(Args _args) { DictMethod dictMethod; str parmName; int parmIndex = 1; dictMethod = new dictMethod(UtilElementType::ClassInstanceMethod, classNum(AssetProposalAcquisition), 'buildRange'); parmName = dictMethod.parameterName(parmIndex); if (parmName) { info(strFmt("ParmName: %1", parmName)); } else { throw error("incorrect"); } }
protected Map getDataContractInfoObjectsInternal() { SysDictClass dataContractClass; DictMethod dictMethod; int parameterCount; int i; Object dataContractObject; SysOperationDataContractInfo contractInfo; Map dataContractInfoObjects; dataContractInfoObjects = new Map(Types::String, Types::Class); dictMethod = this.getServiceOperation(); if (dictMethod) { parameterCount = dictMethod.parameterCnt(); for (i = 1; i <= parameterCount; i++) { dataContractObject = null; // This will throw an exception on types that are not supported this.checkAllowedServiceParameterType(dictMethod.parameterName(i), dictMethod.parameterType(i)); dataContractObject = this.initializeServiceParameter(dictMethod, i); if (dataContractObject != null) { dataContractClass = new SysDictClass(classIdGet(dataContractObject)); contractInfo = SysOperationDataContractInfo::newParameterInfo( dictMethod.parameterName(i), dataContractObject, dataContractClass, null); dataContractInfoObjects.insert(dictMethod.parameterName(i), contractInfo); } } } return dataContractInfoObjects; }
public void run(BisMessageDataContract _contract) { super(_contract); }
DaxOnline.org 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.