Legacy-Definition sicher vergleichen
Diese Detailansicht zeigt den unveränderten Legacy-Dateistand. Von hier aus lässt sich die Definition als Draft in die Workbench übernehmen und dort weiter bearbeiten, ohne das Original im Dateisystem anzutasten.
Diese Detailansicht zeigt den unveränderten Legacy-Dateistand. Von hier aus lässt sich die Definition als Draft in die Workbench übernehmen und dort weiter bearbeiten, ohne das Original im Dateisystem anzutasten.
Raw YAML
Der Inhalt wird read-only aus dem Legacy-Dateisystem geladen. Bearbeitbar wird er erst nach dem Import in die Workbench.
#Connections
Source_Config: enhanceEngine #config - credetials of source connection service
Target_Config: exportEngine #config - credentials of target connection service
#Source
Source_Datapool: articles_new #sql from
Joins:
- Left_Join: #each condition is joined with "AND"
Datapool: iwm_articles_stock
Join_Condition: articles_new.ordernumber = iwm_articles_stock.ordernumber AND articles_new.attr1 = iwm_articles_stock.firma # One row per JOIN
Read_Conditions: #sql where - Read-Filter
- articles_new.active_ost = 1 and articles_new.attr1 = 1
#Mapping -> Mappings source fields are detected by Mapping
Mapping:
ordernumber:
Source: articles_new.ordernumber
mainnumber:
Source: articles_new.mainnumber
price_EK:
Source: articles_new.price_ost
In_Export: 'no'
Field_Adapter:
- replace: [',', '']
- replace: ['.', ',']
attr1:
Source: articles_new.attr1
Field_Adapter:
- replace: [';', '']
attr2:
Source: articles_new.attr2
Field_Adapter:
- replace: [';', '']
attr3:
Source: articles_new.attr3
Field_Adapter:
- replace: [';', '']
attr4:
Source: articles_new.attr4
Field_Adapter:
- replace: [';', '']
attr5:
Source: articles_new.attr5
Field_Adapter:
- replace: [';', '']
attr6:
Source: articles_new.swag_attr22
Field_Adapter:
- replace: [';', '']
attr7:
Source: articles_new.attr7
Field_Adapter:
- replace: [';', '']
attr8:
Source: articles_new.attr8
Field_Adapter:
- replace: [';', '']
attr9:
Source: articles_new.attr9
Field_Adapter:
- replace: [';', '']
attr10:
Source: articles_new.swag_attr25
Field_Adapter:
- replace: [';', '']
attr11:
Source: articles_new.attr11
Field_Adapter:
- replace: [';', '']
attr12:
Source: articles_new.attr12
Field_Adapter:
- replace: [';', '']
attr13:
Source: articles_new.attr13
Field_Adapter:
- replace: [';', '']
attr14:
Source: articles_new.attr14
Field_Adapter:
- replace: [';', '']
attr15:
Source: articles_new.attr15
Field_Adapter:
- replace: [';', '']
attr16:
Source: articles_new.attr16
Field_Adapter:
- replace: [';', '']
attr17:
Source: articles_new.swag_attr24
Field_Adapter:
- replace: [';', '']
attr18:
Source: articles_new.attr18
Field_Adapter:
- replace: [';', '']
attr19:
Source: articles_new.attr19
Field_Adapter:
- replace: [';', '']
attr20:
Source: articles_new.attr20
Field_Adapter:
- replace: [';', '']
stock_witten:
Source: iwm_articles_stock.witten
In_Export: no
enev_klasse: () #(Effizienzklasse)
enev_color: () #(Farbe)
enev_spectrumFrom: () #(Spektrum von)
enev_spectrum: () #(Spektrum bis)
enev_image: () #(Bild für das Energielabel)
enev_download: () #(Datenblatt für Effizienzklasse)
enev_active: () #(Attribute für die EnEV Einstellung verwenden)
prop1: articles_new.prop1 #Farbe
prop2: articles_new.prop2 #Breite
prop3: articles_new.prop3 #Länge
prop4: articles_new.prop4 #Höhe
prop5: articles_new.prop5 #Abmessung
prop10: articles_new.prop10 #Modell
prop11: articles_new.prop11 #Material
prop12: articles_new.prop12 #Raum
prop50: articles_new.prop50 #Matratze Größe
prop51: articles_new.prop51 #Matratze Härtegrad
prop52: articles_new.prop52 #Matratze Bezugsmaterial
prop53: articles_new.prop53 #Matratze Matratzenart
prop60: articles_new.prop60 #Teppich Flächengewicht
prop61: articles_new.prop61 #Teppich Florhöhe
prop62: articles_new.prop62 #Teppich Fußbodenheizung
prop63: articles_new.prop63 #Teppich Form
prop64: articles_new.prop64 #Teppich Muster
prop_status: #falls mindestens ein prop-Feld gefüllt ist, 1, sonst 0
Source: articles_new.prop1
File_Field_Adapter:
File: export_attributes_ost.prop_status
Filters: #In-Memory-Filter (Write-Filter) -> datasets matched by the filter condition are not in the result set (they are filtered out)
- Filter:
name: Mindestbestand
condition: (price_EK < 6) AND (stock_witten < 10) AND (attr2 == 90 or attr2 == 91 or attr2 == 92 or attr2 == 96 or attr2 == 101) AND (attr11 == 'L')
reason: 'Mindestbestand (price < 6) AND (stock_witten < 10) AND (attr2 == 90 or attr2 == 91 or attr2 == 92 or attr2 == 96 or attr2 == 101) AND (attr11 == L)'
- Filter:
name: 'Mindestbestand'
condition: (price_EK < 25) AND (stock_witten < 3) AND (attr2 == 90 or attr2 == 91 or attr2 == 92 or attr2 == 96 or attr2 == 101) AND (attr11 == 'L')
reason: 'Mindestbestand (price < 25) AND (stock_witten < 3) AND (attr2 == 90 or attr2 == 91 or attr2 == 92 or attr2 == 96 or attr2 == 101) AND (attr11 == L)'
- Filter:
name: 'Mindestbestand'
condition: (price_EK < 100) AND (stock_witten < 1) AND (attr2 == 90 or attr2 == 91 or attr2 == 92 or attr2 == 96 or attr2 == 101) AND (attr11 == 'L')
reason: 'Mindestbestand (price < 100) AND (stock_witten < 1) AND (attr2 == 90 or attr2 == 91 or attr2 == 92 or attr2 == 96 or attr2 == 101) AND (attr11 == L)'
#Target
Datapool: export_attributes_ost #sql table
Primary_Key: [ordernumber, attr1]
Metadata
Diese Sicht basiert auf der aktuell lesbaren Legacy-Datei und hilft beim Vergleichen vor dem Import.
| Source_Config | enhanceEngine |
|---|---|
| Target_Config | exportEngine |
| Source_Datapool | articles_new |
| Joins | [ { "Left_Join": null, "Datapool": "iwm_articles_stock", "Join_Condition": "articles_new.ordernumber = iwm_articles_stock.ordernumber AND articles_new.attr1 = iwm_articles_stock.firma" } ] |
| Read_Conditions | [ "articles_new.active_ost = 1 and articles_new.attr1 = 1" ] |
| Mapping | { "ordernumber": { "Source": "articles_new.ordernumber" }, "mainnumber": { "Source": "articles_new.mainnumber" }, "price_EK": { "Source": "articles_new.price_ost", "In_Export": "no", "Field_Adapter": [ { "replace": [ ",", "" ] }, { "replace": [ ".", "," ] } ] }, "attr1": { "Source": "articles_new.attr1", "Field_Adapter": [ { "replace": [ ";", "" ] } ] }, "attr2": { "Source": "articles_new.attr2", "Field_Adapter": [ { "replace": [ ";", "" ] } ] }, "attr3": { "Source": "articles_new.attr3", "Field_Adapter": [ { "replace": [ ";", "" ] } ] }, "attr4": { "Source": "articles_new.attr4", "Field_Adapter": [ { "replace": [ ";", "" ] } ] }, "attr5": { "Source": "articles_new.attr5", "Field_Adapter": [ { "replace": [ ";", "" ] } ] }, "attr6": { "Source": "articles_new.swag_attr22", "Field_Adapter": [ { "replace": [ ";", "" ] } ] }, "attr7": { "Source": "articles_new.attr7", "Field_Adapter": [ { "replace": [ ";", "" ] } ] }, "attr8": { "Source": "articles_new.attr8", "Field_Adapter": [ { "replace": [ ";", "" ] } ] }, "attr9": { "Source": "articles_new.attr9", "Field_Adapter": [ { "replace": [ ";", "" ] } ] }, "attr10": { "Source": "articles_new.swag_attr25", "Field_Adapter": [ { "replace": [ ";", "" ] } ] }, "attr11": { "Source": "articles_new.attr11", "Field_Adapter": [ { "replace": [ ";", "" ] } ] }, "attr12": { "Source": "articles_new.attr12", "Field_Adapter": [ { "replace": [ ";", "" ] } ] }, "attr13": { "Source": "articles_new.attr13", "Field_Adapter": [ { "replace": [ ";", "" ] } ] }, "attr14": { "Source": "articles_new.attr14", "Field_Adapter": [ { "replace": [ ";", "" ] } ] }, "attr15": { "Source": "articles_new.attr15", "Field_Adapter": [ { "replace": [ ";", "" ] } ] }, "attr16": { "Source": "articles_new.attr16", "Field_Adapter": [ { "replace": [ ";", "" ] } ] }, "attr17": { "Source": "articles_new.swag_attr24", "Field_Adapter": [ { "replace": [ ";", "" ] } ] }, "attr18": { "Source": "articles_new.attr18", "Field_Adapter": [ { "replace": [ ";", "" ] } ] }, "attr19": { "Source": "articles_new.attr19", "Field_Adapter": [ { "replace": [ ";", "" ] } ] }, "attr20": { "Source": "articles_new.attr20", "Field_Adapter": [ { "replace": [ ";", "" ] } ] }, "stock_witten": { "Source": "iwm_articles_stock.witten", "In_Export": "no" }, "enev_klasse": "()", "enev_color": "()", "enev_spectrumFrom": "()", "enev_spectrum": "()", "enev_image": "()", "enev_download": "()", "enev_active": "()", "prop1": "articles_new.prop1", "prop2": "articles_new.prop2", "prop3": "articles_new.prop3", "prop4": "articles_new.prop4", "prop5": "articles_new.prop5", "prop10": "articles_new.prop10", "prop11": "articles_new.prop11", "prop12": "articles_new.prop12", "prop50": "articles_new.prop50", "prop51": "articles_new.prop51", "prop52": "articles_new.prop52", "prop53": "articles_new.prop53", "prop60": "articles_new.prop60", "prop61": "articles_new.prop61", "prop62": "articles_new.prop62", "prop63": "articles_new.prop63", "prop64": "articles_new.prop64", "prop_status": { "Source": "articles_new.prop1", "File_Field_Adapter": { "File": "export_attributes_ost.prop_status" } } } |
| Filters | [ { "Filter": { "name": "Mindestbestand", "condition": "(price_EK < 6) AND (stock_witten < 10) AND (attr2 == 90 or attr2 == 91 or attr2 == 92 or attr2 == 96 or attr2 == 101) AND (attr11 == 'L')", "reason": "Mindestbestand (price < 6) AND (stock_witten < 10) AND (attr2 == 90 or attr2 == 91 or attr2 == 92 or attr2 == 96 or attr2 == 101) AND (attr11 == L)" } }, { "Filter": { "name": "Mindestbestand", "condition": "(price_EK < 25) AND (stock_witten < 3) AND (attr2 == 90 or attr2 == 91 or attr2 == 92 or attr2 == 96 or attr2 == 101) AND (attr11 == 'L')", "reason": "Mindestbestand (price < 25) AND (stock_witten < 3) AND (attr2 == 90 or attr2 == 91 or attr2 == 92 or attr2 == 96 or attr2 == 101) AND (attr11 == L)" } }, { "Filter": { "name": "Mindestbestand", "condition": "(price_EK < 100) AND (stock_witten < 1) AND (attr2 == 90 or attr2 == 91 or attr2 == 92 or attr2 == 96 or attr2 == 101) AND (attr11 == 'L')", "reason": "Mindestbestand (price < 100) AND (stock_witten < 1) AND (attr2 == 90 or attr2 == 91 or attr2 == 92 or attr2 == 96 or attr2 == 101) AND (attr11 == L)" } } ] |
| Datapool | export_attributes_ost |
| Primary_Key | [ "ordernumber", "attr1" ] |