Auftrag -> Export -> XML ohne Position Versandkosten

Status
Es sind keine weiteren Antworten möglich.

gerfriedd

Gut bekanntes Mitglied
20. Januar 2010
135
13
Hallo @all,

wir benötigen einen Export der Aufträge im XML Format, benutzen also die Auftrag -> Exportieren Funktionen und generieren unsere XML Datei.

Nun möchte ich aber bei der Positions-Schleife die Versandkosten

Exportvorlgae "exportieren" Hauptbereich ( Auszug )

Code:
{% assign versandposition = 0 -%}
{% for position in Vorgang.Positionen -%}
{% if position.IstVersandkostenPosition -%}
{% comment %} {{ position.Versandposition }} {% endcomment -%}
{% endif -%}
 <LINE>
  ..
  ..
        <Arikelname>{{ position.Bezeichnung }}</Artikelname>
  ..
  ..
  </LINE>
{% endfor -%}

hat nicht funktioniert.

Jemand einen Tip?

Vielen Dank im voraus

gerfried
 

gerfriedd

Gut bekanntes Mitglied
20. Januar 2010
135
13
AW: Auftrag -> Export -> XML ohne Position Versandkosten

Lösung ( durch JTL-Support ):

{% assign versandposition = 0 -%}
{% for position in Vorgang.Positionen -%}
{% if position.IstVersandkostenPosition == false -%}

<LINE>

</LINE>
{% endif -%}
{% endfor -%}
 
  • Gefällt mir
Reaktionen: Glare
Status
Es sind keine weiteren Antworten möglich.

Ähnliche Themen