0

使用数据工厂将产品表的数据导入动态 365 时,出现此错误:

{
    "errorCode": "2200",
    "message": "Failure happened on 'Sink' side. ErrorCode=UserErrorTypeConversionFail,'Type=Microsoft.DataTransfer.Common.Shared.HybridDeliveryException,Message=The attribute 'statecode' with value '0' cannot be converted from original type 'System.Int64' to target type 'Microsoft.Xrm.Sdk.OptionSetValue'.,Source=Microsoft.DataTransfer.ClientLibrary.DynamicsPlugin,''Type=System.InvalidCastException,Message=Specified cast is not valid.,Source=Microsoft.DataTransfer.ClientLibrary.DynamicsPlugin,'",
    "failureType": "UserError",
    "target": "Copy data1",
    "details": [] }

这适用于所有值都设置为 0 的字段“statecode”,以便正在导入的产品的状态是活动的。我无法找到解决此错误的方法。

4

1 回答 1

2

问题得到解决。这是因为我正在将数据导入 Produkt(产品的德语名称),而我的用户界面语言是英语。我将语言更改为德语,这也是基本语言,并将表名更改为 Product。这解决了我的问题。

于 2020-08-01T08:51:55.063 回答