0 Replies Latest reply on Mar 5, 2014 5:01 PM by Aldo Zanoni

    GetMObjects and multiple Criteria

    Aldo Zanoni

           Is there any way to define multiple Criteria while getting objects using GetMObjects

           Example: following will return all OpportunityPersonRole which matches opportunityId=12

           paramsGetMObjects.type ="OpportunityPersonRole"
           paramsGetMObjects.mObjCriteriaList->mObjCriteria->attrName = "OpportunityId"
           paramsGetMObjects.mObjCriteriaList->mObjCriteria->attrValue =  12 paramsGetMObjects.mObjCriteriaList->mObjCriteria->comparison = "EQ"

           Is there any way to get all the OpportunityPersonRole records which has OpportunityId = 12 and OpportunityId = 123, i could not figure out how to set OR condition or provide multiple values.