eConnect: An item with the same key has already been added

I've seen the error 'An item with the same key has already been added' several times. I usually document the errors that I get in eConnect (and we'd like you to do the same here):

Trouble with AA in an eConnect PMTransaction

and the same issue here:

eConnect - PM Transaction with Analytical Accounting

In today's problem, neither of these two was helpful. Here's what fixed it

Related Articles

... and you 'll find more on the eConnect Menu

In this case, the customer was submitting pre-formed XML documents to eConnect. In other words, we are not using Serialization.

The customer had added the CMMTTEXT field twice in the PO Header and the PO Lines.

 


RealWorldCode gives developers practical, real‑world solutions with clean, working code — no fluff, no theory, just answers.
Links
Home
Knowledge Areas
Sitemap
Contact
Et cetera
Privacy Policy
Terms and Conditions
Cookie Preferences