Engine / Editor
export_articles_ost_awin_old
Mandant default
Pipelines
Engines
Include Mappings
Filter
Überblick
Editor
Validierung
Metadaten
Revisionen
Zurück
Altbestand
Engine bearbeiten
Bestand öffnen
Altbestand
Zum Editor
Run erst mit Status active
DRAFT
Status
engine
Typ
export
Runner
1
Revisionen
Editor
Engine bearbeiten
Definitionstyp
Runner-Typ
Name
Titel
Status
draft
active
archived
YAML-Inhalt
#Connections Source_Config: enhanceEngine #config - credetials of source connection service Target_Config: exportEngine #config - credentials of target connection service Mysql_Engine: InnoDB Default_Charset: latin1 #Source Source_Datapool: articles_new #sql from Joins: - Left_Join: Datapool: iwm_articles_properties Join_Condition: articles_new.ordernumber = iwm_articles_properties.ordernumber AND articles_new.attr1 = iwm_articles_properties.firma - Left_Join: Datapool: shopware_article_info Join_Condition: articles_new.ordernumber = shopware_article_info.ordernumber AND articles_new.attr1 = 1 AND shopware_article_info.shop = 'ost' Read_Conditions: #sql where - Read-Filter - articles_new.attr1 = 1 Datapool_Definition: id: VARCHAR(255) NOT NULL ordernumber: VARCHAR(255) NOT NULL title: VARCHAR(255) DEFAULT NULL description: MEDIUMTEXT DEFAULT NULL google_product_category: VARCHAR(255) DEFAULT NULL product_type: VARCHAR(255) DEFAULT NULL link: VARCHAR(255) DEFAULT NULL image_link: VARCHAR(255) DEFAULT NULL additional_image_link: TEXT DEFAULT NULL condition1: VARCHAR(255) DEFAULT NULL availability: VARCHAR(255) DEFAULT NULL price: VARCHAR(255) DEFAULT NULL sale_price: VARCHAR(255) DEFAULT NULL brand: VARCHAR(255) DEFAULT NULL gtin: VARCHAR(255) DEFAULT NULL mpn: VARCHAR(255) DEFAULT NULL adwords_grouping: VARCHAR(255) DEFAULT NULL custom_label_0: VARCHAR(255) DEFAULT NULL custom_label_1: VARCHAR(255) DEFAULT NULL custom_label_2: VARCHAR(255) DEFAULT NULL custom_label_3: VARCHAR(255) DEFAULT NULL custom_label_4: VARCHAR(255) DEFAULT NULL color: VARCHAR(255) DEFAULT NULL material: VARCHAR(255) DEFAULT NULL energy_efficiency_class: VARCHAR(255) DEFAULT NULL shipping_weight: VARCHAR(255) DEFAULT NULL shipping: VARCHAR(255) DEFAULT NULL pubDate: VARCHAR(255) DEFAULT NULL Mapping: id: articles_new.ordernumber ordernumber: Source: articles_new.ordernumber # In_Export: no attr10: Source: articles_new.attr10 In_Export: no attr17: Source: articles_new.attr17 In_Export: no title: Source: articles_new.name_ost File_Field_Adapter: File: export_articles_ost_awin.title description: Source: articles_new.description_long_ost Field_Adapter: - replace: [';', ''] File_Field_Adapter: File: export_articles_ost_awin.description google_product_category: IF(articles_new.cat_google = "", "Möbel",articles_new.cat_google) AS google_product_category product_type: shopware_article_info.category link: shopware_article_info.link image_link: Source: articles_new.imageUrl Field_Adapter: - explode: [',', 0] #explode source field by ',' and chooses the first element additional_image_link_1: Source: shopware_article_info.additional_image_link_1 In_Export: no additional_image_link_2: Source: shopware_article_info.additional_image_link_2 In_Export: no additional_image_link_3: Source: shopware_article_info.additional_image_link_3 In_Export: no additional_image_link: Source: shopware_article_info.additional_image_link_1 File_Field_Adapter: File: export_articles_ost_awin.additional_image_link condition1: (new) availability: (in stock) price: Source: articles_new.pseudoprice_ost Cross_Field_Adapter: Config: exportEngine Cross_Datapool: export_iwm_articles_prices_ost #name of cross datapool Cross_Field: price_EK #field to select value from in cross datapool Local_Key: ordernumber #key for where condition from datapool Cross_Key: ordernumber #key for where condition from cross datapool Field_Adapter: - replace: [',', '.'] sale_price: Source: articles_new.price_ost Field_Adapter: - replace: [',', '.'] brand: Source: articles_new.supplier_ost Field_Adapter: - replace: ['Sonstige',''] gtin: articles_new.ean mpn: articles_new.attr9 adwords_grouping: articles_new.attr2 custom_label_0: articles_new.attr2 custom_label_1: articles_new.attr3 custom_label_2: articles_new.attr4 custom_label_3: articles_new.attr13 custom_label_4: () color: iwm_articles_properties.farbe material: iwm_articles_properties.material energy_efficiency_class: iwm_articles_properties.Energieeffizienzklasse shipping_weight: articles_new.weight shipping: Source: articles_new.shipping_ost Cross_Field_Adapter: Config: exportEngine Cross_Datapool: export_articles_ost #name of cross datapool Cross_Field: attr8 #field to select value from in cross datapool Local_Key: ordernumber #key for where condition from datapool Cross_Key: ordernumber #key for where condition from cross datapool pubDate: articles_new.changed Filters: - Filter: name: 'empty id' condition: (id == '') reason: 'empty id' - Filter: name: not_in_stock_google_local condition: Not_In_Pool_Filter_Adapter: Config: exportEngine Datapool: export_articles_ost Local_Key: ordernumber Cross_Key: ordernumber reason: 'not in ostermannn online export' #Target Datapool: export_articles_ost_awin #sql table Primary_Key: [id]
Definition aktualisieren