![]() |
#8 |
Участник
|
Посмотрел статью
Вставил в мой код следующее X++: Entity opportunityEntityImage; if (context.MessageName == "Delete") { // use Pre Image for Delete Messages if (context.PreEntityImages.Contains("PreImage") && context.PreEntityImages["PreImage"] is Entity) { opportunityEntityImage = (Entity)context.PreEntityImages["PreImage"]; } else { throw new Exception("No Pre Image Entity in Plugin Context for Delete Message"); } } И вообще PreEntityImages.Count = 0 ![]() |
|
|
|