updateEntity[“new_totalsum”] = new CrmMoney(计算值);
我无法更新网络表单。要更新,我必须按保存按钮两次。我尝试过 DynamicEntityEntity = (DynamicEntity)context.PreEntityImages["PreCalculate"]; DynamicEntity updateEntity = (DynamicEntity)context.InputParameters.Properties["目标"]; ... updateEntity["new_totalsum"] = new CrmMoney(calculatedvalue);问题是我第一次按下保存按钮时它不会更新。我已将图像 PreCalculate 注册为原像和消息:更新;三项赛管道执行阶段:预阶段;执行模式:同步 怎么了?谢谢
I can not update the webform. To bee updated I have to push the save button two times. I´ve tried with DynamicEntity entity = (DynamicEntity)context.PreEntityImages["PreCalculate"]; DynamicEntity updateEntity = (DynamicEntity)context.InputParameters.Properties["Target"];
... updateEntity["new_totalsum"] = new CrmMoney(calculatedvalue); The problem is it will not bee updated the first time I push the save button. I have registred the image PreCalculate as Preimage and Message: Update; Eventing Pipeline Stage of Excecution: Pre Stage; Execution Mode : Syncronous
What´s wrong? Thanks
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(1)
完成后,您需要将修改后的记录写回目标,以便在将记录写入数据库时使用更改的值。在插件的
Execute()
方法的末尾,执行以下操作You need to write the modified record back into the Target when you're done, so your changed values will be used when writing the record to the database. At the end of your plugin's
Execute()
method, do