简体   繁体   English

Dynamics 365 Online-更新v9之后从外部批处理更新错误

[英]Dynamics 365 Online - Error updating opportunity from external batch after v9 update

Few days ago we had to update our Dynamics online environment from v8.2 to v9. 几天前,我们不得不将Dynamics在线环境从v8.2更新到v9。

We have a batch that's running everyday that imports ~100 records (of 4 different entities). 我们有每天运行的一批,可导入约100条记录(来自4个不同实体)。 In those records some are imported as new ones, the others are imported as updates. 在那些记录中,有些作为新记录导入,其他作为更新导入。

Everything was working fine until the update to v9 version, now the update of opportunities fail on save with this error 一切正常,直到更新到v9版本,现在机会更新在保存时失败,并出现此错误

ErrorCode: 0x80048218
Message: You must provide a name or select a role for both sides of this connection.; [Microsoft.Dynamics.Sales.Plugins: Microsoft.Dynamics.Sales.Plugins.PreOpportunityUpdate]
[a13c2831-776b-e611-80ec-00155dc14c00: Update of opportunity]

Strangest part is that the error happens only updating opportunities (creating new ones or doing any other operations doesn't seems to be affected) and just from code, if i try to update those record directly from CRM, using the same user, I don't have any problem. 最奇怪的是,该错误仅发生在更新机会(创建新机会或执行任何其他操作似乎没有受到影响)并且仅从代码发生的情况下,如果我尝试使用同一用户直接从CRM更新这些记录,我不会没问题。

UPDATE 1 更新1

I found out that the problem comes out just when i edit parentcontactid with both null value, again from UI I can create/edit an opportunity leaving that field blank. 我发现问题出在我同时使用两个null值编辑parentcontactid时,再次从UI中,我可以创建/编辑机会,将该字段留空。

Based on error description you provided - this Microsoft's bug. 根据您提供的错误描述-此Microsoft的错误。 Here is what I recommend to do: 1. Disable (or change step to Async execution) following standard plugin - Microsoft.Dynamics.Sales.Plugins.PreOpportunityUpdate 2. Open a ticket with Microsoft because this is their OOB plugin so they will have to fix the code. 我建议这样做:1.在标准插件Microsoft.Dynamics.Sales.Plugins.PreOpportunityUpdate之后禁用(或将步骤更改为“异步执行”)2.与Microsoft打开票证,因为这是他们的OOB插件,因此他们必须修复代码。

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

相关问题 从Microsoft Dynamics 365在线调用外部api - Call external api from Microsoft Dynamics 365 online 当我只有跟踪程序以测试执行时,D365 v9 Online上的插件失败 - Plugin Failing on D365 v9 Online when I just have tracers to test execution 如何从外部应用程序在 Dynamics 365 Finance & Operations 中插入/更新客户 - How do I Insert/Update a Customer in Dynamics 365 Finance & Operations from an external application AutoMapper - 从 v8 升级到 v9 后无法使用 generics - AutoMapper - Not working with generics after upgrade from v8 to v9 在批量插入记录后需要帮助从Dynamics 365 Web API给出的响应中提取CRM记录ID - Need help fetching CRM Record ID from response given by Dynamics 365 Web API after batch Inserting records Dynamics 365 CRM Online-插件仅每隔一次触发执行更新 - Dynamics 365 CRM Online - Plugin Only Performs Update Every Other Time it is Triggered 无法在 Dynamics CRM 365 online 中创建系统用户 - Unable to Create a systemuser in Dynamics CRM 365 online MS Dynamics 365 CRM 在线 - 转储实体 - MS Dynamics 365 CRM online - dump entity 从Dynamics CRM 2011更新外部系统 - Update External Systems from Dynamics CRM 2011 365更新后无法使用Xrm.Tooling.Connector连接到Dynamics 365 - Can't connect to Dynamics 365 with Xrm.Tooling.Connector after 365 update
 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM