Neu customer_order.pull führt zu Fehler

  • Temporäre Senkung der Mehrwertsteuer Hier findet ihr gesammelt alle Informationen, Videos und Fragen inkl. Antworten: https://forum.jtl-software.de/threads/mehrwertsteuer-senkung-vom-01-07-31-12-2020-offizieller-diskussionthread-video.129542/

MoritzCHR

Neues Mitglied
9. November 2020
11
0
Hallo,

ich bekomme von der wawi bei dem Versuch eine Test Bestellung zu pullen einen Fehler.
Der Connector ist in C# geschrieben.
Was kann ich falsch gemacht haben um so einen Fehler zu verursachen?

Fehler:
JSON:
Aufträge-Empfangen-Fehler: Bitte beachten Sie, dass zur Fehler-Diagnose ebenfalls die Log-Datei des Servers und das Abgleich-Log der JTL-Wawi notwendig sind!
Der Objektverweis wurde nicht auf eine Objektinstanz festgelegt.
bei jtlDatabase.classes.ConnectorClasses.CustomerOrderSaver.<>c.<GetSteuerklasse>b__17_2(CustomerOrderItem item)
bei System.Linq.Enumerable.FirstOrDefault[TSource](IEnumerable`1 source, Func`2 predicate)
bei jtlDatabase.classes.ConnectorClasses.CustomerOrderSaver.bpRqBj8S4ou(CustomerOrder )
bei jtlDatabase.classes.ConnectorClasses.CustomerOrderSaver.Save(List`1 customerOrders, List`1& exceptions)
Bestellung:
JSON:
{
   "orderNumber":"GS-2020-1",
   "customerId":[
      "3",
      0
   ],
   "billingAddress":{
      "vatNumber":null,
      "city":"Bad Zwischenahn",
      "company":"Green Solutions Software GmbH",
      "countryIso":"DE",
      "deliveryInstruction":null,
      "eMail":"mchristoffers@green-solutions.net",
      "extraAddressLine":null,
      "fax":null,
      "firstName":"Moritz",
      "lastName":"Christoffers",
      "mobile":null,
      "phone":"123235523434",
      "salutation":"Herr",
      "state":null,
      "street":"Eva-Lessing-Straße 5",
      "title":null,
      "zipCode":"26160",
      "id":[
         "2",
         0
      ]
   },
   "carrierName":null,
   "creationDate":"2020-11-11T13:31-16Z",
   "currencyIso":"EUR",
   "customerNote":null,
   "estimatedDeliveryDate":null,
   "note":null,
   "paymentDate":null,
   "paymentModuleCode":null,
   "paymentStatus":"unpaid",
   "shippingAddress":{
      "customerId":"3",
      "city":"Westerstede",
      "company":null,
      "countryIso":"DE",
      "deliveryInstruction":null,
      "eMail":"moritz.christoffers2911@gmail.com",
      "extraAddressLine":null,
      "fax":null,
      "firstName":"Moritz",
      "lastName":"Christoffers",
      "mobile":null,
      "phone":null,
      "salutation":"Herr",
      "state":null,
      "street":"Igelstraße 9a",
      "title":null,
      "zipCode":"26655",
      "id":[
         "3",
         0
      ]
   },
   "shippingDate":null,
   "shippingInfo":null,
   "shippingMethodName":"GLS",
   "status":0,
   "totalSum":50.0,
   "totalSumGross":50.0,
   "items":[
      {
         "productId":null,
         "name":"Versandkosten",
         "price":0.0,
         "priceGross":0.0,
         "quantity":1.0,
         "sku":null,
         "type":"shipping",
         "note":null,
         "vat":0.0
      },
      {
         "productId":[
            "JTL#416",
            416
         ],
         "name":"JTL Artikel mit Lieferstatus",
         "price":50.0,
         "priceGross":50.0,
         "quantity":1.0,
         "sku":"100",
         "type":"product",
         "note":null,
         "vat":7.98
      }
   ],
   "id":[
      "1",
      0
   ]
}






Vollständiger Log:
JSON:
JTL-Wawi: StartForm()
JTL-Wawi: MainWindow != null
-- Connector-Konfiguration --
Import: True
Import Artikel/Kategorien: False
Artikel überschreiben: False
Import Bilder: False
Import Aufträge/Kunden: True

Upload: True
Upload Artikel komplett: True
Upload Artikel eingeschränkt: False
Upload Bilder: True

Nur zugeordnete Hersteller senden: False
Endpoint version: 0.1
Wawi-Version: 1.5.30.1
JTL-Wawi: Sync start
JTL-Wawi: Licence is valid
JTL-Wawi: InitCall OK
JTL-Wawi: Initialize model getters...
>>> CustomerOrder.statistic: {
  "method": "CustomerOrder.statistic",
  "params": {
    "limit": 0,
    "filters": {}
  },
  "jtlrpc": "2.0",
  "id": "6acd80b6739d496e9fd57d624196fd7d"
}
<<< CustomerOrder.statistic: {"jtlrpc":"2.0","id":"6acd80b6739d496e9fd57d624196fd7d","result":{"available":1,"controllerName":"CustomerOrder"},"error":null}
(159,3673 milliseconds)
JTL-Wawi: ModelGetters OK
>>> global_data.pull: {
  "method": "global_data.pull",
  "params": {
    "limit": 50,
    "filters": {}
  },
  "jtlrpc": "2.0",
  "id": "89b7b9474d2540f7bd6c7466d49afcdf"
}
<<< global_data.pull: {"jtlrpc":"2.0","id":"89b7b9474d2540f7bd6c7466d49afcdf","result":[{"configGroups":[],"configItems":[],"crossSellingGroups":[],"currencies":[{"isDefault":true,"iso":"EUR","name":"€","nameHtml":null,"id":["1",0]}],"customerGroups":[{"i18ns":[{"languageIso":"ger","name":"Standard","id":["1",0]}],"isDefault":true,"id":["1",0]}],"languages":[{"languageIso":"ger","isDefault":true,"nameGerman":"Deutsch (Deutschland)","id":["1",0]}],"measurementUnits":[{"i18ns":[{"languageIso":"ger","name":"Stück","id":["1",0]}],"code":"Stk.","displayCode":"Stk.","id":["Stück",0]},{"i18ns":[{"languageIso":"ger","name":"Liter","id":["1",0]}],"code":"l","displayCode":"l","id":["Liter",0]},{"i18ns":[{"languageIso":"ger","name":"Meter","id":["1",0]}],"code":"m","displayCode":"m","id":["Meter",0]},{"i18ns":[{"languageIso":"ger","name":"Quadratmeter","id":["1",0]}],"code":"m²","displayCode":"m²","id":["Quadratmeter",0]},{"i18ns":[{"languageIso":"ger","name":"Kilogramm","id":["1",0]}],"code":"kg","displayCode":"kg","id":["Kilogramm",0]},{"i18ns":[{"languageIso":"ger","name":"VE","id":["1",0]}],"code":"ve","displayCode":"ve","id":["VE",0]},{"i18ns":[{"languageIso":"ger","name":"Zentimeter","id":["1",0]}],"code":"cm","displayCode":"cm","id":["Zentimeter",0]},{"i18ns":[{"languageIso":"ger","name":"Gramm","id":["1",0]}],"code":"g","displayCode":"g","id":["Gramm",0]},{"i18ns":[{"languageIso":"ger","name":"Millimeter","id":["1",0]}],"code":"mm","displayCode":"mm","id":["Millimeter",0]},{"i18ns":[{"languageIso":"ger","name":"Milliliter","id":["1",0]}],"code":"ml","displayCode":"ml","id":["Milliliter",0]},{"i18ns":[{"languageIso":"ger","name":"Paket","id":["1",0]}],"code":"pk.","displayCode":"pk.","id":["Paket",0]},{"i18ns":[{"languageIso":"ger","name":"Tafel","id":["1",0]}],"code":"Tafel","displayCode":"Tafel","id":["Tafel",0]},{"i18ns":[{"languageIso":"ger","name":"Kubikmeter","id":["1",0]}],"code":"m³","displayCode":"m³","id":["Kubikmeter",0]},{"i18ns":[{"languageIso":"ger","name":"Bündel","id":["1",0]}],"code":"Bündel","displayCode":"Bündel","id":["Bündel",0]},{"i18ns":[{"languageIso":"ger","name":"Lage","id":["1",0]}],"code":"Lage","displayCode":"Lage","id":["Lage",0]},{"i18ns":[{"languageIso":"ger","name":"Karre","id":["1",0]}],"code":"LT","displayCode":"LT","id":["Karre",0]},{"i18ns":[{"languageIso":"ger","name":"Korn","id":["1",0]}],"code":"Korn","displayCode":"Korn","id":["Korn",0]},{"i18ns":[{"languageIso":"ger","name":"Pille","id":["1",0]}],"code":"Pille","displayCode":"Pille","id":["Pille",0]}],"productTypes":[{"name":"Gutscheine","id":["vouchers",0]},{"name":"Individuelle Gutscheine","id":["individuell",0]},{"name":"JTL Testshop","id":["jtltestshop_GS10000",0]},{"name":"JTL Testshop","id":["jtltestshop_plants",0]},{"name":"Online-Ticket","id":["GS40000",0]},{"name":"Pflanzen","id":["GS10000",0]},{"name":"Produkte","id":["GS20000",0]},{"name":"Rollrasen","id":["rollrasen",0]}],"shippingClasses":[],"shippingMethods":[],"taxRates":[{"rate":19.0,"id":["1",0]},{"rate":7.0,"id":["2",0]}],"units":[],"warehouses":[]}],"error":null}
(48,8474 milliseconds)
>>> CustomerOrder.statistic: {
  "method": "CustomerOrder.statistic",
  "params": {
    "limit": 0,
    "filters": {}
  },
  "jtlrpc": "2.0",
  "id": "ce23220ce9fd4bc3b4ec43946ddcd472"
}
<<< CustomerOrder.statistic: {"jtlrpc":"2.0","id":"ce23220ce9fd4bc3b4ec43946ddcd472","result":{"available":1,"controllerName":"CustomerOrder"},"error":null}
(64,469 milliseconds)
>>> customer_order.pull: {
  "method": "customer_order.pull",
  "params": {
    "limit": 50,
    "filters": {}
  },
  "jtlrpc": "2.0",
  "id": "5675307fb8a343d5b8a3082303f69249"
}
<<< customer_order.pull: {"jtlrpc":"2.0","id":"5675307fb8a343d5b8a3082303f69249","result":[{"orderNumber":"GS-2020-1","customerId":["3",0],"billingAddress":{"vatNumber":null,"city":"Bad Zwischenahn","company":"Green Solutions Software GmbH","countryIso":"DE","deliveryInstruction":null,"eMail":"mchristoffers@green-solutions.net","extraAddressLine":null,"fax":null,"firstName":"Moritz","lastName":"Christoffers","mobile":null,"phone":"123235523434","salutation":"Herr","state":null,"street":"Eva-Lessing-Straße 5","title":null,"zipCode":"26160","id":["2",0]},"carrierName":null,"creationDate":"2020-11-11T13:31-16Z","currencyIso":"EUR","customerNote":null,"estimatedDeliveryDate":null,"note":null,"paymentDate":null,"paymentModuleCode":null,"paymentStatus":"unpaid","shippingAddress":{"customerId":"3","city":"Westerstede","company":null,"countryIso":"DE","deliveryInstruction":null,"eMail":"moritz.christoffers2911@gmail.com","extraAddressLine":null,"fax":null,"firstName":"Moritz","lastName":"Christoffers","mobile":null,"phone":null,"salutation":"Herr","state":null,"street":"Igelstraße 9a","title":null,"zipCode":"26655","id":["3",0]},"shippingDate":null,"shippingInfo":null,"shippingMethodName":"GLS","status":0,"totalSum":50.0,"totalSumGross":50.0,"items":[{"productId":null,"name":"Versandkosten","price":0.0,"priceGross":0.0,"quantity":1.0,"sku":null,"type":"shipping","note":null,"vat":0.0},{"productId":["JTL#416",416],"name":"JTL Artikel mit Lieferstatus","price":50.0,"priceGross":50.0,"quantity":1.0,"sku":"100","type":"product","note":null,"vat":7.98}],"id":["1",0]}],"error":null}
(11963,7594 milliseconds)
>>> connector.finish: {
  "method": "connector.finish",
  "params": null,
  "jtlrpc": "2.0",
  "id": "7fde0136504746c9bca7810b85688829"
}
<<< connector.finish: {"jtlrpc":"2.0","id":"7fde0136504746c9bca7810b85688829","result":true,"error":null}
(18,633 milliseconds)
JTL-Wawi: End sync
Aufträge-Empfangen-Fehler: Bitte beachten Sie, dass zur Fehler-Diagnose ebenfalls die Log-Datei des Servers und das Abgleich-Log der JTL-Wawi notwendig sind!
Der Objektverweis wurde nicht auf eine Objektinstanz festgelegt.
   bei jtlDatabase.classes.ConnectorClasses.CustomerOrderSaver.<>c.<GetSteuerklasse>b__17_2(CustomerOrderItem item)
   bei System.Linq.Enumerable.FirstOrDefault[TSource](IEnumerable`1 source, Func`2 predicate)
   bei jtlDatabase.classes.ConnectorClasses.CustomerOrderSaver.bpRqBj8S4ou(CustomerOrder  )
   bei jtlDatabase.classes.ConnectorClasses.CustomerOrderSaver.Save(List`1 customerOrders, List`1& exceptions)
 
Zuletzt bearbeitet: