# 241 · contactsresponsefrombc

> Technisches Mapping des Jobs `contactsresponsefrombc` (`BCContactsResponse`).

---

LLMS index: [llms.txt](/llms.txt)

---

| Eigenschaft | Wert |
|---|---|
| Order | 241 |
| Job | `contactsresponsefrombc` |
| Mapping | `BCContactsResponse` |
| Richtung | BC → CE |
| Quellverbindung | BC_Test |
| Zielverbindung | CRM_Test |
| Quelltabelle (API) | `acdcontacts` aus `singhammerITConsulting/dyce/v2.0` |
| Zieltabelle | `contact` |
| Zeitplan | —, wird von `contactsnewfromce` über ResponseJob ausgelöst |
| Filter | `{{lastModifiedDateTime gt %watermark%}}` |
| Watermark | `modifiedon` (Typ `datetime`) |
| Response-Job | — |
| Fachliche Doku | [Rückmeldung aus BC (Kontakt)](../kontakt/bccontactsresponse/) |

## Feldzuordnung

| Quellfeld | Zielfeld | Operation | Details |
|---|---|---|---|
| `address2` | `address1_line2` | — | — |
| `address` | `address1_line1` | — | — |
| `city` | `address1_city` | — | — |
| `_contactid` | `contactid` | ReadFromMessage · **Schlüssel** | aus Antwortnachricht |
| `countryRegionCode` | `wysa_address1_countryid` | Lookup | → `wysa_country` über `wysa_bccodekey` (`countryRegionCode` → `wysa_bccode`) |
| `id` | `wysa_bcsystemid` | — | — |
| `number` | `wysa_bccontactnumber` | — | — |
| `phoneNumber` | `telephone1` | — | — |
| `postCode` | `address1_postalcode` | — | — |

## Alternate Key

```json
{
  "keyType": "PrimaryKey",
  "keyName": "_contactid",
  "ignoreEmptySourceKey": false,
  "keyRank": 0
}
```

Möglich, weil [`contactsnewfromce`](../contactsnewfromce/) die CE-GUID im BC-Feld
`dataverseId` mitgeschickt hat. BC gibt sie in der Antwort zurück; die Operation
`ReadFromMessage` liest sie von dort als `contactid` aus.

`IsActive = false` ist bei diesem Job kein Hinweis auf einen abgeschalteten Job —
Response-Jobs laufen nicht nach eigenem Zeitplan, sondern werden vom auslösenden Job
(`contactsnewfromce`, Order 240, über dessen Feld `ResponseJob`) gestartet.

## Weitere technische Details

### Vergleich mit anderen Jobs

Der Länder-Lookup (`countryRegionCode` → `wysa_address1_countryid`) ist identisch zu
dem in [`contactsfrombc`](../contactsfrombc/): Zieltabelle `wysa_country`,
Schlüsselfeld `wysa_bccode`, Alternate Key `wysa_bccodekey`.

Dasselbe Response-Muster (auslösender Job → Response-Job) findet sich auch bei anderen
Objekten:

| Auslösender Job | Order | Response-Job | Order | Felder |
|---|---|---|---|---|
| `accountsnewfromce` | 220 | `accountsresponsefrombc` | 221 | 3 |
| `contactsnewfromce` | 240 | `contactsresponsefrombc` | 241 | **9** |
| `opportunitiesnewfromce` | 260 | `opportunitiesresponsefrombc` | 261 | 3 |
| `opportunityproductsnewfromce` | 710 | `opportunityproductsresponsefrombc` | 760 | 2 |

### Beobachtungen

Der Kontakt ist der einzige Bereich, in dem die Rückmeldung mehr als die Schlüssel
zurückträgt (9 Feldzuordnungen statt 2–3 bei den anderen Objekten).
