Hallo,
ich habe die SQL Codes
(
https://guide.jtl-software.com/jtl-...-an-kaufland-global-marketplace-uebermitteln/)
(Produktsicherheit ) für Kaufland eingefügt
bekomme aber Fehlermeldung:
Liquid error: Der Index lag außerhalb des Bereichs. Er darf nicht negativ und kleiner als die Sammlung sein.
Parametername: index Liquid error: Der Index lag außerhalb des Bereichs. Er darf nicht negativ und kleiner als die Sammlung sein.
Parametername: index Liquid error: Der Index lag außerhalb des Bereichs. Er darf nicht negativ und kleiner als die Sammlung sein.
Parametername: index Liquid error: Der Index lag außerhalb des Bereichs. Er darf nicht negativ und kleiner als die Sammlung sein.
Parametername: index Liquid error: Der Index lag außerhalb des Bereichs. Er darf nicht negativ und kleiner als die Sammlung sein.
Parametername: index
der SQL Code:
HTML clipboard {% capture query -%}\
DECLARE @kArtikel AS INT = {{Vorgang.Allgemein.Stammdaten.InterneArtikelnummer }};
SELECT tAddress.cStreet, tAddress.cHouseNumber, tAddress.cPostalCode, tAddress.cCity, tAddress.cCountryIso2
FROM Contact.tProductComplianceContact
JOIN Contact.tAddress ON tAddress.kContact = tProductComplianceContact.kContact
JOIN Artikel.tArtikelComplianceContact ON tArtikelComplianceContact.kProductComplianceContact = tProductComplianceContact.kProductComplianceContact
WHERE tArtikelComplianceContact.kArtikel = @kArtikel \
{% endcapture -%}\
{% assign Positionen = query | DirectQuery -%}\
{{ Positionen.Daten[0].cStreet }} {{ Positionen.Daten[0].cHouseNumber }} {{ Positionen.Daten[0].cPostalCode }} {{ Positionen.Daten[0].cCity }} {{ Positionen.Daten[0].cCountryIso2 }}
Bitte um Hilfe
Vielen Dank