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); }
If you found value in what I share, I've set up a Buy Me a Coffee page as a way to show your support.
Buy Me a CoffeeNo comments. Be the first one to comment on this post.
DaxOnline.org is free platform that allows you to quickly store and reuse snippets, notes, articles related to Dynamics 365 FO.
Authors are allowed to set their own "buy me a coffee" link.
Join us.