ingo.graebner
Aktives Mitglied
Hallo,
ich hatte das Problem vor 10 Tagen schon im Bereich Magento- Connector gepostet, da passiert aber gar nix.
Connector Version: 1.4.1.0
JTL-Wawi Version: 1.0.5.0
Magento Version: 1.9.2.2
Da Problem tritt auf wenn im Magento- Shop eine Bestellung vorhanden ist und JTL-Wawi diese abruft.
Fehler:
Exception: SQLSTATE[42S22]: Column not found: 1054 Unknown column 'last_trans_id != null' in 'where clause', query was: SELECT COUNT(*) FROM `sales_flat_order_payment` AS `main_table` WHERE (((`jtl_erp_id` = 0) OR (`jtl_erp_id` IS NULL))) AND (`last_trans_id != null` = '') at payment.pull
Zahlungen-Empfangen-Fehler: Bitte beachten Sie, dass zur Fehler-Diagnose ebenfalls die Log-Datei des Servers und das Abgleich-Log der Wawi notwendig sind!
SQLSTATE[42S22]: Column not found: 1054 Unknown column 'last_trans_id != null' in 'where clause', query was: SELECT COUNT(*) FROM `sales_flat_order_payment` AS `main_table` WHERE (((`jtl_erp_id` = 0) OR (`jtl_erp_id` IS NULL))) AND (`last_trans_id != null` = '') at payment.pull
Exception: SQLSTATE[42S22]: Column not found: 1054 Unknown column 'last_trans_id != null' in 'where clause', query was: SELECT COUNT(*) FROM `sales_flat_order_payment` AS `main_table` WHERE (((`jtl_erp_id` = 0) OR (`jtl_erp_id` IS NULL))) AND (`last_trans_id != null` = '') at payment.pull
Response: {"result":null,"error":{"code":31337,"message":"SQLSTATE[42S22]: Column not found: 1054 Unknown column 'last_trans_id != null' in 'where clause', query was: SELECT COUNT(*) FROM `sales_flat_order_payment` AS `main_table` WHERE (((`jtl_erp_id` = 0) OR (`jtl_erp_id` IS NULL))) AND (`last_trans_id != null` = '')","data":null},"jtlrpc":"2.0","id":"a9d1cb5a724c4bcf8a5376edc33badf7"}
bei jtlCore.ControllerClasses.Connector.Abgleich.Connector.F1fJeFAW9y(String , Object , Boolean , NetworkCredential )
Es wird einfach der SQL-Querystring falsch zusammengebaut:
AND (`last_trans_id != null` = '')
und das passiert wohl hier:
jtlCore.ControllerClasses.Connector.Abgleich.Connector.F1fJeFAW9y(String , Object , Boolean , NetworkCredential )
Kann hier jemand helfen?
ich hatte das Problem vor 10 Tagen schon im Bereich Magento- Connector gepostet, da passiert aber gar nix.
Connector Version: 1.4.1.0
JTL-Wawi Version: 1.0.5.0
Magento Version: 1.9.2.2
Da Problem tritt auf wenn im Magento- Shop eine Bestellung vorhanden ist und JTL-Wawi diese abruft.
Fehler:
Exception: SQLSTATE[42S22]: Column not found: 1054 Unknown column 'last_trans_id != null' in 'where clause', query was: SELECT COUNT(*) FROM `sales_flat_order_payment` AS `main_table` WHERE (((`jtl_erp_id` = 0) OR (`jtl_erp_id` IS NULL))) AND (`last_trans_id != null` = '') at payment.pull
Zahlungen-Empfangen-Fehler: Bitte beachten Sie, dass zur Fehler-Diagnose ebenfalls die Log-Datei des Servers und das Abgleich-Log der Wawi notwendig sind!
SQLSTATE[42S22]: Column not found: 1054 Unknown column 'last_trans_id != null' in 'where clause', query was: SELECT COUNT(*) FROM `sales_flat_order_payment` AS `main_table` WHERE (((`jtl_erp_id` = 0) OR (`jtl_erp_id` IS NULL))) AND (`last_trans_id != null` = '') at payment.pull
Exception: SQLSTATE[42S22]: Column not found: 1054 Unknown column 'last_trans_id != null' in 'where clause', query was: SELECT COUNT(*) FROM `sales_flat_order_payment` AS `main_table` WHERE (((`jtl_erp_id` = 0) OR (`jtl_erp_id` IS NULL))) AND (`last_trans_id != null` = '') at payment.pull
Response: {"result":null,"error":{"code":31337,"message":"SQLSTATE[42S22]: Column not found: 1054 Unknown column 'last_trans_id != null' in 'where clause', query was: SELECT COUNT(*) FROM `sales_flat_order_payment` AS `main_table` WHERE (((`jtl_erp_id` = 0) OR (`jtl_erp_id` IS NULL))) AND (`last_trans_id != null` = '')","data":null},"jtlrpc":"2.0","id":"a9d1cb5a724c4bcf8a5376edc33badf7"}
bei jtlCore.ControllerClasses.Connector.Abgleich.Connector.F1fJeFAW9y(String , Object , Boolean , NetworkCredential )
Es wird einfach der SQL-Querystring falsch zusammengebaut:
AND (`last_trans_id != null` = '')
und das passiert wohl hier:
jtlCore.ControllerClasses.Connector.Abgleich.Connector.F1fJeFAW9y(String , Object , Boolean , NetworkCredential )
Kann hier jemand helfen?