Connector, Übertragung von Kunden: Doppelte Vergabe von IDs

  • Wenn Ihr uns das erste Mal besucht, lest euch bitte zuerst die Foren-Regeln durch.

hberg539

Neues Mitglied
31. Januar 2019
7
0
#1
Hallo,

bei der Entwicklung eines eigenen Connectors besteht im Moment folgendes Problem:
Werden die Kunden empfangen, werden in der Tabelle [tinetkunde] die ID [kInetKunde] ab dem dritten (!) Eintrag doppelt vergeben.

Die Bestätigung seitens der Wawi (core. connector.ack) nach dem Empfang sehen wie folgt aus:
[2019-02-06 16:24:23] rpc.DEBUG: RequestPacket: {"method":"core.connector.ack","params":"{\"identities\":{\"customer\":[[\"292158159\",22]]},\"checksums\":[]}","jtlrpc":"2.0","id":"1bc3c7b52164413d85dda96cf48f76f4"} [] []
[2019-02-06 16:24:23] rpc.DEBUG: RequestPacket: {"method":"core.connector.ack","params":"{\"identities\":{\"customer\":[[\"292847929\",23]]},\"checksums\":[]}","jtlrpc":"2.0","id":"2a3786afed1d4d0bb4150e6b7f58159d"} [] []
[2019-02-06 16:24:24] rpc.DEBUG: RequestPacket: {"method":"core.connector.ack","params":"{\"identities\":{\"customer\":[[\"292875969\",24]]},\"checksums\":[]}","jtlrpc":"2.0","id":"c23573ee29e54fd1951a9e047d959a14"} [] []

[2019-02-06 16:24:25] rpc.DEBUG: RequestPacket: {"method":"core.connector.ack","params":"{\"identities\":{\"customer\":[[\"292876039\",24]]},\"checksums\":[]}","jtlrpc":"2.0","id":"144e9b96d66f493091a2bf2ef71a05da"} [] []
[2019-02-06 16:24:26] rpc.DEBUG: RequestPacket: {"method":"core.connector.ack","params":"{\"identities\":{\"customer\":[[\"292876199\",24]]},\"checksums\":[]}","jtlrpc":"2.0","id":"b21ec899c8cf4e7493c364fb77fa327f"} [] []
[2019-02-06 16:24:26] rpc.DEBUG: RequestPacket: {"method":"core.connector.ack","params":"{\"identities\":{\"customer\":[[\"292876284\",24]]},\"checksums\":[]}","jtlrpc":"2.0","id":"ee7769ea2b6d4955b59472acb57f30d4"} [] []
[2019-02-06 16:24:27] rpc.DEBUG: RequestPacket: {"method":"core.connector.ack","params":"{\"identities\":{\"customer\":[[\"292876359\",24]]},\"checksums\":[]}","jtlrpc":"2.0","id":"9c6792c2bde845339bb25eaefebce2ea"} [] []
[2019-02-06 16:24:28] rpc.DEBUG: RequestPacket: {"method":"core.connector.ack","params":"{\"identities\":{\"customer\":[[\"292876599\",24]]},\"checksums\":[]}","jtlrpc":"2.0","id":"2107ad1ef8024fce9e0448dac6f79058"} [] []
Hierzu die Datenbank (Wawi):
tabelle_tinetkunde.png

Und die Mapping-Tabelle beim Connector/Endpoint:
tabelle_mapping.png

Ab dem dritten Eintrag wird die lokale ID (tInetKunde) doppelt vergeben.

Gibt es hierzu eine logische Erklärung (Lizenz erlaubt nicht mehr als 3 Übertragungen, etc.)?

Anbei das RPC-Paket der Kundendaten:
JSON:
{
  "result": [
    {
      "customerGroupId": [
        "",
        0
      ],
      "id": [
        "292158159",
        0
      ],
      "accountCredit": 0,
      "birthday": null,
      "city": "Karlsruhe",
      "company": "Test Company 1a",
      "countryIso": "DE",
      "creationDate": "2019-02-05T00:00:00+0100",
      "customerNumber": "292158159",
      "deliveryInstruction": "",
      "discount": 0,
      "eMail": "info1@example.com",
      "extraAddressLine": "",
      "fax": "23456789012",
      "firstName": "Peter",
      "hasCustomerAccount": false,
      "hasNewsletterSubscription": false,
      "isActive": false,
      "languageISO": "",
      "lastName": "Mustermann",
      "mobile": "34567890123",
      "note": "INFO 1\n\nINFO 2",
      "origin": "",
      "phone": "01234567890",
      "salutation": "",
      "state": "",
      "street": "Musterstra\u00dfe 12",
      "title": null,
      "vatNumber": "USt-IdNr",
      "websiteUrl": "www.web.de",
      "zipCode": "76131",
      "attributes": [
       
      ]
    },
    {
      "customerGroupId": [
        "",
        0
      ],
      "id": [
        "292847929",
        0
      ],
      "accountCredit": 0,
      "birthday": null,
      "city": "Karlsruhe",
      "company": "Test Company 2a",
      "countryIso": "DE",
      "creationDate": "2019-02-06T00:00:00+0100",
      "customerNumber": "292847929",
      "deliveryInstruction": "",
      "discount": 0,
      "eMail": "",
      "extraAddressLine": "",
      "fax": null,
      "firstName": "Sabine",
      "hasCustomerAccount": false,
      "hasNewsletterSubscription": false,
      "isActive": false,
      "languageISO": "",
      "lastName": "Mustermann",
      "mobile": null,
      "note": "\n\n",
      "origin": "",
      "phone": null,
      "salutation": "",
      "state": "",
      "street": "Musterstra\u00dfe 12",
      "title": null,
      "vatNumber": null,
      "websiteUrl": null,
      "zipCode": "76131",
      "attributes": [
       
      ]
    },
    {
      "customerGroupId": [
        "",
        0
      ],
      "id": [
        "292875969",
        0
      ],
      "accountCredit": 0,
      "birthday": null,
      "city": null,
      "company": "Test Company 3",
      "countryIso": "DE",
      "creationDate": "2019-02-06T00:00:00+0100",
      "customerNumber": "292875969",
      "deliveryInstruction": "",
      "discount": 0,
      "eMail": "",
      "extraAddressLine": "",
      "fax": null,
      "firstName": null,
      "hasCustomerAccount": false,
      "hasNewsletterSubscription": false,
      "isActive": false,
      "languageISO": "",
      "lastName": null,
      "mobile": null,
      "note": "\n\n",
      "origin": "",
      "phone": null,
      "salutation": "",
      "state": "",
      "street": null,
      "title": null,
      "vatNumber": null,
      "websiteUrl": null,
      "zipCode": null,
      "attributes": [
       
      ]
    },
// ... usw
  ],
  "error": null,
  "jtlrpc": "2.0",
  "id": "1a3ac5f5307f44c8b9e9e9c41689f30f"
}
Freue mich über Hilfe!

Grüße,
Kevin
 

Immanuel

Moderator
Mitarbeiter
24. August 2016
193
37
#2
Hallo Kevin,

ich würde vermuten, dass beim Import der Kunden der automatische Matching Algorithmus in der Wawi anschlägt. Kannst du mir den Original Abgleich Log per PM zusenden?

PS: Habe den Thread ins Technische Fragen Forum für Connectoren verschoben.
 
Zustimmungen: hberg539