![]() |
#32 |
Участник
|
Товарищи!Так и застрял на этой маленькой проблеме.
Немного подправил код,получил следующее: quote quo = (quote)crmservice.Retrieve(EntityName.quote.ToString(), workflowContext.PrimaryEntityId, new ColumnSet(new string[] { "customerid" })); Guid quoid = quo.customerid.Value; account acc = (account)crmservice.Retrieve(EntityName.account.ToString(), quoid, new ColumnSet(new string[] { "primarycontactid" })); activityparty toparty = new activityparty(); toparty.partyid = new Lookup(); toparty.partyid.type = quo.customerid.type; toparty.partyid.Value = quo.customerid.Value; activityparty toparty1 = new activityparty(); toparty1.partyid = new Lookup(); toparty1.partyid.type = acc.primarycontactid.type; toparty1.partyid.Value = acc.primarycontactid.Value; mail.to = new activityparty[] { toparty, toparty1 }; Почему не хочет отрабатывать,не пойму... |
|
Теги |
c#, custom workflow action, plugin, workflow, reporting services, report |
|
|