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
Mysql_Engine: InnoDB
Default_Charset: latin1
Joins:
- Left_Join: #each condition is joined with "AND"
Datapool: shopware_article_info
Join_Condition: articles_new.ordernumber = shopware_article_info.ordernumber # One row per JOIN
Read_Conditions: #sql where - Read-Filter
- articles_new.active_oms = 1
- shopware_article_info.shop = 'oms'
Datapool_Definition:
product_id: VARCHAR(255) NOT NULL
gtin_ean: VARCHAR(255) DEFAULT NULL
brand: VARCHAR(255) DEFAULT NULL
manufacturer_nr: VARCHAR(255) DEFAULT NULL
title: VARCHAR(255) DEFAULT NULL
min_price: VARCHAR(255) DEFAULT NULL
price: VARCHAR(255) DEFAULT NULL
max_price: VARCHAR(255) DEFAULT NULL
shipping_cost: VARCHAR(255) DEFAULT NULL
delivery_time: VARCHAR(255) DEFAULT NULL
attribute_1: VARCHAR(255) DEFAULT NULL
attribute_2: VARCHAR(255) DEFAULT NULL
attribute_3: VARCHAR(255) DEFAULT NULL
attribute_4: VARCHAR(255) DEFAULT NULL
attribute_5: VARCHAR(255) DEFAULT NULL
extra_1: VARCHAR(255) DEFAULT NULL
extra_2: VARCHAR(255) DEFAULT NULL
extra_3: VARCHAR(255) DEFAULT NULL
extra_4: VARCHAR(255) DEFAULT NULL
#Mapping -> Mappings source fields are detected by Mapping
Mapping:
product_id:
Source: articles_new.ordernumber
File_Field_Adapter:
File: export_articles_oms_aimondo.product_id
gtin_ean: articles_new.ean
brand:
Source: articles_new.supplier_oms
manufacturer_nr:
Source: articles_new.suppliernumber
title:
Source: articles_new.name_oms
min_price: ()
price:
Source: articles_new.price_oms
Field_Adapter:
- replace: [',', '']
- replace: ['.', ',']
max_price: ()
shipping_cost: shopware_article_info.shipping
delivery_time:
Source: articles_new.attr12
Field_Adapter:
- replace: [';', '']
attribute_1: ()
attribute_2: ()
attribute_3: ()
attribute_4: ()
attribute_5: ()
extra_1: ()
extra_2: ()
extra_3: ()
extra_4: ()
#Target
Datapool: export_articles_oms_aimondo #sql table
Primary_Key: [product_id]
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 |
| Mysql_Engine | InnoDB |
| Default_Charset | latin1 |
| Joins | [ { "Left_Join": null, "Datapool": "shopware_article_info", "Join_Condition": "articles_new.ordernumber = shopware_article_info.ordernumber" } ] |
| Read_Conditions | [ "articles_new.active_oms = 1", "shopware_article_info.shop = 'oms'" ] |
| Datapool_Definition | { "product_id": "VARCHAR(255) NOT NULL", "gtin_ean": "VARCHAR(255) DEFAULT NULL", "brand": "VARCHAR(255) DEFAULT NULL", "manufacturer_nr": "VARCHAR(255) DEFAULT NULL", "title": "VARCHAR(255) DEFAULT NULL", "min_price": "VARCHAR(255) DEFAULT NULL", "price": "VARCHAR(255) DEFAULT NULL", "max_price": "VARCHAR(255) DEFAULT NULL", "shipping_cost": "VARCHAR(255) DEFAULT NULL", "delivery_time": "VARCHAR(255) DEFAULT NULL", "attribute_1": "VARCHAR(255) DEFAULT NULL", "attribute_2": "VARCHAR(255) DEFAULT NULL", "attribute_3": "VARCHAR(255) DEFAULT NULL", "attribute_4": "VARCHAR(255) DEFAULT NULL", "attribute_5": "VARCHAR(255) DEFAULT NULL", "extra_1": "VARCHAR(255) DEFAULT NULL", "extra_2": "VARCHAR(255) DEFAULT NULL", "extra_3": "VARCHAR(255) DEFAULT NULL", "extra_4": "VARCHAR(255) DEFAULT NULL" } |
| Mapping | { "product_id": { "Source": "articles_new.ordernumber", "File_Field_Adapter": { "File": "export_articles_oms_aimondo.product_id" } }, "gtin_ean": "articles_new.ean", "brand": { "Source": "articles_new.supplier_oms" }, "manufacturer_nr": { "Source": "articles_new.suppliernumber" }, "title": { "Source": "articles_new.name_oms" }, "min_price": "()", "price": { "Source": "articles_new.price_oms", "Field_Adapter": [ { "replace": [ ",", "" ] }, { "replace": [ ".", "," ] } ] }, "max_price": "()", "shipping_cost": "shopware_article_info.shipping", "delivery_time": { "Source": "articles_new.attr12", "Field_Adapter": [ { "replace": [ ";", "" ] } ] }, "attribute_1": "()", "attribute_2": "()", "attribute_3": "()", "attribute_4": "()", "attribute_5": "()", "extra_1": "()", "extra_2": "()", "extra_3": "()", "extra_4": "()" } |
| Datapool | export_articles_oms_aimondo |
| Primary_Key | [ "product_id" ] |