Да там-то все нормально выполняется, Ownerid изменяется, но мне нужно изменить еще одно поле, и ошибка в этих строках:
X++:
entity = (DynamicEntity)context.InputParameters.Properties[ParameterName.Target];
CrmBoolean CrmTrue = new CrmBoolean(true);
entity.Properties["new_send_state"] = CrmTrue;
KSservice.Update(entity);
Попытался поменять, компилятор ругается на Detail,
Цитата:
Error 2 'System.Exception' does not contain a definition for 'Detail' and no extension method 'Detail' accepting a first argument of type 'System.Exception' could be found (are you missing a using directive or an assembly reference?) D:\SVN\Trip_no_delete\Not_delete.cs 139 48 Trip_circulation