550 · serviceobjectsfrombc

Technisches Mapping des Jobs serviceobjectsfrombc (BCServiceObjects).
EigenschaftWert
Order550
Jobserviceobjectsfrombc
MappingBCServiceObjects
RichtungBC → CE
QuellverbindungBC_Test
ZielverbindungCRM_Test
Quelltabelle (API)serviceObjects aus microsoft/subsBilling/v1.0
Zieltabellewysa_bcserviceobject
Zeitplan0 */2 * * * *
Filter{{lastModifiedDateTime gt %watermark%}}
WatermarklastModifiedDateTime (Typ datetime)
Response-Job—
Fachliche DokuAbonnements aus BC

Feldzuordnung

QuellfeldZielfeldOperationDetails
billToContactNowysa_billtocontactidLookup→ contact über wysa_bccodekey (billToContactNo → wysa_bccontactnumber)
billToCompanyContactNowysa_billtocustomeridLookup→ account über wysa_bccodekey (billToCompanyContactNo → wysa_bccontactnumber)
customerReferencewysa_customerreference——
descriptionwysa_productdescription——
shipToContactNowysa_endusercontactidLookup→ contact über wysa_bccodekey (shipToContactNo → wysa_bccontactnumber)
shipToCompanyContactNowysa_endusercustomeridLookup→ account über wysa_bccodekey (shipToCompanyContactNo → wysa_bccontactnumber)
sourceNowysa_productnumber——
nowysa_name——
nowysa_number— · Schlüssel—
provisionEndDatewysa_provisionenddate——
provisionStartDatewysa_provisionstartdate——
quantityDecimalwysa_quantity——
serialNowysa_serialnumber——
systemIdwysa_bcsystemid——
unitOfMeasurewysa_uom——
versionwysa_version——
nullwysa_subscriptiontypeDefaultValue= 799840000

Alternate Key

{
  "keyType": "CustomKey",
  "keyName": "wysa_numberkey",
  "keyValues": [
    {
      "attributeName": "no",
      "keyName": "wysa_number",
      "rank": 1
    }
  ],
  "ignoreEmptySourceKey": false,
  "keyRank": 0
}

Weitere technische Details

Transformationen im Detail

Vier Lookups, alle über das Feld wysa_bccontactnumber und den Alternate Key wysa_bccodekey:

QuellfeldZieltabelleZielfeld
billToContactNocontactwysa_billtocontactid
billToCompanyContactNoaccountwysa_billtocustomerid
shipToContactNocontactwysa_endusercontactid
shipToCompanyContactNoaccountwysa_endusercustomerid

Beispiel Rechnungsempfänger Firma:

{
  "Operations": [{
    "Name": "Lookup",
    "Parameters": {
      "TargetTable": "account",
      "TargetKey": {
        "KeyType": "CustomKey",
        "KeyName": "wysa_bccodekey",
        "KeyValues": [
          { "keyName": "wysa_bccontactnumber", "attributeName": "billToCompanyContactNo", "rank": 1 }
        ]
      }
    }
  }]
}

Abonnementart — ohne Quellfeld, fester Wert:

{
  "Operations": [{
    "Name": "DefaultValue",
    "Parameters": { "DefaultValue": "799840000" }
  }]
}

Der Wert 799840000 stammt aus dem lösungseigenen Nummernbereich — siehe Wertelisten.

Beobachtungen

Die Quelle liegt nicht unter singhammerITConsulting/dyce/v2.0/ wie alle übrigen Abgleiche, sondern ist die Schnittstelle der Abonnementverwaltung von Business Central selbst.

Adressiert wird über die fachliche Abonnementnummer, nicht über die BC System-ID — anders als bei den Wertelisten und anders als bei den Abonnementzeilen (servicecommitmentsfrombc).