# 125 · customerdiscountgroupsfrombc

> Technisches Mapping des Jobs `customerdiscountgroupsfrombc` (`BCCustomerDiscountGroups`).

---

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

---

| Eigenschaft | Wert |
|---|---|
| Order | 125 |
| Job | `customerdiscountgroupsfrombc` |
| Mapping | `BCCustomerDiscountGroups` |
| Richtung | BC → CE |
| Quellverbindung | BC_Test |
| Zielverbindung | CRM_Test |
| Quelltabelle (API) | `acdcustomerdiscgroups` aus `singhammerITConsulting/dyce/v2.0` |
| Zieltabelle | `wysa_bccustomerdiscountgroup` |
| Zeitplan | 0 */2 * * * * |
| Filter | `{{lastModifiedDateTime gt %watermark%}}` |
| Watermark | `lastModifiedDateTime` (Typ `datetime`) |
| Response-Job | — |
| Fachliche Doku | [Wertelisten aus BC](../stammdaten/wertelisten/) |

## Feldzuordnung

| Quellfeld | Zielfeld | Operation | Details |
|---|---|---|---|
| `code` | `wysa_bccode` | — | — |
| `description` | `wysa_name` | — | — |
| `id` | `wysa_bcsystemid` | — · **Schlüssel** | — |

## Alternate Key

```json
{
  "keyType": "CustomKey",
  "keyName": "wysa_bcsystemidkey",
  "keyValues": [
    {
      "attributeName": "id",
      "keyName": "wysa_bcsystemid",
      "rank": 1
    }
  ],
  "ignoreEmptySourceKey": false,
  "keyRank": 0
}
```

## Weitere technische Details

### Vergleich mit anderen Wertelisten-Jobs

Alle fünf Wertelisten-Jobs (`countriesfrombc`, `languagesfrombc`, `salutationsfrombc`,
`customerdiscountgroupsfrombc`, `positionsfrombc`) teilen dieselbe Konfiguration —
Zeitplan, Quell- und Zielverbindung, Watermark und Basisfilter — und unterscheiden sich
nur in Quelltabelle, Zieltabelle und Filter-Zusatz:

| Order | Job | API Page | Zieltabelle | Filter-Zusatz |
|---|---|---|---|---|
| 110 | `countriesfrombc` | `acdcountryregions` | `wysa_country` | `code ne ''` |
| 115 | `languagesfrombc` | `acdlanguages` | `wysa_language` | — |
| 120 | `salutationsfrombc` | `acdsalutations` | `wysa_bcsalutation` | — |
| **125** | **`customerdiscountgroupsfrombc`** | `acdcustomerdiscgroups` | `wysa_bccustomerdiscountgroup` | — |
| 135 | `positionsfrombc` | `acdorganizationallevels` | `wysa_bcposition` | — |

Keines der fünf Mappings enthält eine Transformation.

### Auflösung in den Belegketten

`wysa_bccustomerdiscountgroup` wird über `wysa_bccode` aufgelöst — an der Firma, nur
BC → CE, über die Operation `Lookup` mit dem Alternate Key `wysa_bccodekey`. Dieses Feld
gehört zu denen, die nur aus BC kommen und nie zurückgeschrieben werden.
