---
title: "CRMOD External System Id exists issue"
author: "huhu_long"
date: "2011-11-03T13:58:14Z"
tags: ["CRMOD"]
categories: ["非技术"]
slug: "crmod-external-system-id-exists-issue"
draft: false
lastmod: "2011-11-03T13:58:14Z"
id: 1233326
url: "https://vrplat.iteye.com/blog/1233326"
---

今天碰到这样一个问题：

For instance of Integration Component &apos;Account&apos;, using user key &apos;[External System Id] = &quot;7832289&quot;&apos;, a record with identical values already exists in the Siebel database.

Please ensure that the field values in the input message are unique.(SBL-EAI-04381)

意思是说已经存在这样一条数据在DB中了，但查了查，并没有ExternalSystemId=7832289的记录存在。 很恼火， 最后用SOAP UI逐个字段排除发现 Account 中AccountName不能重名。 这条error message的信息并不准确。

而且让人想不通的就是， 执行的是 InsertOrUpdate 方法， 就算重了不能做 Update 么？ 真怀疑背后的实现逻辑是怎么回事。。。