Показать сообщение отдельно
Старый 09.08.2011, 20:02   #5  
ShadowXXX is offline
ShadowXXX
Участник
 
11 / 11 (1) +
Регистрация: 01.09.2006
Следуя советам поиск заменил на

Код:
QueryByAttribute QBY = newQueryByAttribute();
QBY.EntityName = "systemuser";
QBY.ColumnSet = newColumnSet(newstring[] { "systemuserid","fullname" });
QBY.Attributes = newstring[] { "title" };
QBY.Values = newstring[] { " call-" };
BusinessEntityCollection BEC = null;
try
{
BEC = CrmService.RetrieveMultiple(QBY);
}
catch (System.Web.Services.Protocols.SoapException ex)
{
thrownewInvalidPluginExecutionException(" (plug-in Opps_price): " + ex.Message.ToString());
}
string FN="";
foreach (systemuser tDE in BEC.BusinessEntities)
{
FN += (tDE.systemuserid + "=" + tDE.fullname + "\n");
}
thrownewInvalidPluginExecutionException(FN);
За это сообщение автора поблагодарили: a33ik (1).