Hello
We encountered a problem when using cloud application studio. We need to get the information from the survey attached to the quote, but we just can’t find a way to it. We managed to do this for opportunity in this way:
var getOpp = Opportunity.Retrieve(this.OpportID);
foreach (var oppSurveyItem in getOpp.WorklistItem) {
var querySurveys = Questionnaire.ValuationCollection.QueryByElements; var params = querySurveys.CreateSelectionParams(); params.Add(querySurveys.ValuationCollectionUUID, "I", "EQ", oppSurveyItem.ValuationCollectionUUID); var resultSurveys = querySurveys.Execute(params);
}
but I can’t find something similar for quote. Please help me figure this out.
Regards, Anna