Hoffentlich kann mir jemand helfen. Da wir derzeit noch einen alten XTC3.04 im Einsatz haben und auch dort die Artikelpflege vornehmen, haben wir einen alten XTC- Connector im Einsatz, der so eingestellt wurde, das er nur aus dem Shop einliest, aber nichts sendet.
Die Artikel haben wir gelegentlich per Datenbankabfrage gelöscht und dann wieder komplett neu eingelesen:
Osql -D eazy -U sa -P sa04jT14 -Q "truncate table tArtikel"
Osql -D eazy -U sa -P sa04jT14 -Q "truncate table tkategorie"
Osql -D eazy -U sa -P sa04jT14 -Q "truncate table tkategorieartikel"
Osql -D eazy -U sa -P sa04jT14 -Q "truncate table tartikelbild"
Osql -D eazy -U sa -P sa04jT14 -Q "truncate table tArtikeltext"
Osql -D eazy -U sa -P sa04jT14 -Q "truncate table tattribut"
Osql -D eazy -U sa -P sa04jT14 -Q "truncate table tbestelleigenschaft"
Osql -D eazy -U sa -P sa04jT14 -Q "truncate table tEigenschaft"
Osql -D eazy -U sa -P sa04jT14 -Q "truncate table teigenschaftwert"
Osql -D eazy -U sa -P sa04jT14 -Q "truncate table tEigenschaftSichtbarkeit"
Osql -D eazy -U sa -P sa04jT14 -Q "truncate table tEigenschaftSprache"
Osql -D eazy -U sa -P sa04jT14 -Q "truncate table tEigenschaftWertAbhaengigkeit"
Osql -D eazy -U sa -P sa04jT14 -Q "truncate table tEigenschaftWertAufpreis"
Osql -D eazy -U sa -P sa04jT14 -Q "truncate table tEigenschaftWertPict"
Osql -D eazy -U sa -P sa04jT14 -Q "truncate table tEigenschaftWertSichtbarkeit"
Osql -D eazy -U sa -P sa04jT14 -Q "truncate table tEigenschaftWertSprache"
Osql -D eazy -U sa -P sa04jT14 -Q "truncate table tfloat"
Osql -D eazy -U sa -P sa04jT14 -Q "truncate table tint"
Osql -D eazy -U sa -P sa04jT14 -Q "truncate table tkategoriepict"
Osql -D eazy -U sa -P sa04jT14 -Q "truncate table tlagerartikel"
Osql -D eazy -U sa -P sa04jT14 -Q "truncate table tliefartikel"
Osql -D eazy -U sa -P sa04jT14 -Q "truncate table tArtikelShop"
Osql -D eazy -U sa -P sa04jT14 -Q "truncate table tArtikelsichtbarkeit"
Osql -D eazy -U sa -P sa04jT14 -Q "truncate table tArtikelSonderpreis"
Osql -D eazy -U sa -P sa04jT14 -Q "truncate table tArtikelSprache"
Osql -D eazy -U sa -P sa04jT14 -Q "truncate table tKategorieShop"
Osql -D eazy -U sa -P sa04jT14 -Q "truncate table tKategoriepict"
Osql -D eazy -U sa -P sa04jT14 -Q "truncate table tKategorieRabatt"
Osql -D eazy -U sa -P sa04jT14 -Q "truncate table tkategorieSichtbarkeit"
Osql -D eazy -U sa -P sa04jT14 -Q "truncate table tKategoriesprache"
danach alle eazysales_m tabellen außer eazysales_mbestellpos in der Shopdatenbank geleert.
Dann wurde ein Komplettabgleich gemacht.
Bis zur alten Version 0.99... hat dies wunderbar funktioniert, aber bei der neuen Version klappt die Abfrage nicht mehr da es heißt es wären tables nicht vorhanden, oder ich hätte keine Berechtigung und ein einlesen der geänderten Artikel und Artikelvarianten funktioniert so nicht mehr.
Hoffentlich kennt jemand eine angepasste Datenbankabfrage wie oben für die Version 1.1.2.1 damit wir wieder ordentlich arbeiten können.
Die Artikel haben wir gelegentlich per Datenbankabfrage gelöscht und dann wieder komplett neu eingelesen:
Osql -D eazy -U sa -P sa04jT14 -Q "truncate table tArtikel"
Osql -D eazy -U sa -P sa04jT14 -Q "truncate table tkategorie"
Osql -D eazy -U sa -P sa04jT14 -Q "truncate table tkategorieartikel"
Osql -D eazy -U sa -P sa04jT14 -Q "truncate table tartikelbild"
Osql -D eazy -U sa -P sa04jT14 -Q "truncate table tArtikeltext"
Osql -D eazy -U sa -P sa04jT14 -Q "truncate table tattribut"
Osql -D eazy -U sa -P sa04jT14 -Q "truncate table tbestelleigenschaft"
Osql -D eazy -U sa -P sa04jT14 -Q "truncate table tEigenschaft"
Osql -D eazy -U sa -P sa04jT14 -Q "truncate table teigenschaftwert"
Osql -D eazy -U sa -P sa04jT14 -Q "truncate table tEigenschaftSichtbarkeit"
Osql -D eazy -U sa -P sa04jT14 -Q "truncate table tEigenschaftSprache"
Osql -D eazy -U sa -P sa04jT14 -Q "truncate table tEigenschaftWertAbhaengigkeit"
Osql -D eazy -U sa -P sa04jT14 -Q "truncate table tEigenschaftWertAufpreis"
Osql -D eazy -U sa -P sa04jT14 -Q "truncate table tEigenschaftWertPict"
Osql -D eazy -U sa -P sa04jT14 -Q "truncate table tEigenschaftWertSichtbarkeit"
Osql -D eazy -U sa -P sa04jT14 -Q "truncate table tEigenschaftWertSprache"
Osql -D eazy -U sa -P sa04jT14 -Q "truncate table tfloat"
Osql -D eazy -U sa -P sa04jT14 -Q "truncate table tint"
Osql -D eazy -U sa -P sa04jT14 -Q "truncate table tkategoriepict"
Osql -D eazy -U sa -P sa04jT14 -Q "truncate table tlagerartikel"
Osql -D eazy -U sa -P sa04jT14 -Q "truncate table tliefartikel"
Osql -D eazy -U sa -P sa04jT14 -Q "truncate table tArtikelShop"
Osql -D eazy -U sa -P sa04jT14 -Q "truncate table tArtikelsichtbarkeit"
Osql -D eazy -U sa -P sa04jT14 -Q "truncate table tArtikelSonderpreis"
Osql -D eazy -U sa -P sa04jT14 -Q "truncate table tArtikelSprache"
Osql -D eazy -U sa -P sa04jT14 -Q "truncate table tKategorieShop"
Osql -D eazy -U sa -P sa04jT14 -Q "truncate table tKategoriepict"
Osql -D eazy -U sa -P sa04jT14 -Q "truncate table tKategorieRabatt"
Osql -D eazy -U sa -P sa04jT14 -Q "truncate table tkategorieSichtbarkeit"
Osql -D eazy -U sa -P sa04jT14 -Q "truncate table tKategoriesprache"
danach alle eazysales_m tabellen außer eazysales_mbestellpos in der Shopdatenbank geleert.
Dann wurde ein Komplettabgleich gemacht.
Bis zur alten Version 0.99... hat dies wunderbar funktioniert, aber bei der neuen Version klappt die Abfrage nicht mehr da es heißt es wären tables nicht vorhanden, oder ich hätte keine Berechtigung und ein einlesen der geänderten Artikel und Artikelvarianten funktioniert so nicht mehr.
Hoffentlich kennt jemand eine angepasste Datenbankabfrage wie oben für die Version 1.1.2.1 damit wir wieder ordentlich arbeiten können.
Zuletzt bearbeitet: