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
Mysql_Engine: InnoDB
Default_Charset: latin1
#Source
Source_Datapool: ost_articles_stock_google_local #sql from
Mapping:
ordernumber:
Source: ost_articles_stock_google_local.ordernumber
In_Export: no
store_code:
Source: ost_articles_stock_google_local.store_code
itemid:
Source: ost_articles_stock_google_local.itemid
price:
Source: ost_articles_stock_google_local.price
Field_Adapter:
- replace: [',','.']
quantity:
Source: ost_articles_stock_google_local.quantity #to be ignored
availability:
Source: ost_articles_stock_google_local.quantity
Field_Adapter:
- replace_greater: [0, 'in stock']
pickup_method:
Source: ost_articles_stock_google_local.quantity
Field_Adapter:
- replace_greater: [0, 'buy']
- replace_smaller: [1, 'buy']
pickup_sla:
Source: ost_articles_stock_google_local.quantity
Field_Adapter:
- replace_greater: [0, 'same day']
#Target
Datapool: export_articles_stock_ost_google_local #sql table
Primary_Key: [itemid, store_code]
Filters: #In-Memory-Filter (Write-Filter) -> datasets matched by the filter condition are not in the result set (they are filtered out)
- Filter:
name: Ohne_Bestand
condition: quantity < 1
reason: 'Ohne_Bestand'
- 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_stock_google_local'
Metadata
Diese Sicht basiert auf der aktuell lesbaren Legacy-Datei und hilft beim Vergleichen vor dem Import.
| Source_Config | enhanceEngine |
|---|---|
| Target_Config | exportEngine |
| Mysql_Engine | InnoDB |
| Default_Charset | latin1 |
| Source_Datapool | ost_articles_stock_google_local |
| Mapping | { "ordernumber": { "Source": "ost_articles_stock_google_local.ordernumber", "In_Export": "no" }, "store_code": { "Source": "ost_articles_stock_google_local.store_code" }, "itemid": { "Source": "ost_articles_stock_google_local.itemid" }, "price": { "Source": "ost_articles_stock_google_local.price", "Field_Adapter": [ { "replace": [ ",", "." ] } ] }, "quantity": { "Source": "ost_articles_stock_google_local.quantity" }, "availability": { "Source": "ost_articles_stock_google_local.quantity", "Field_Adapter": [ { "replace_greater": [ 0, "in stock" ] } ] }, "pickup_method": { "Source": "ost_articles_stock_google_local.quantity", "Field_Adapter": [ { "replace_greater": [ 0, "buy" ] }, { "replace_smaller": [ 1, "buy" ] } ] }, "pickup_sla": { "Source": "ost_articles_stock_google_local.quantity", "Field_Adapter": [ { "replace_greater": [ 0, "same day" ] } ] } } |
| Datapool | export_articles_stock_ost_google_local |
| Primary_Key | [ "itemid", "store_code" ] |
| Filters | [ { "Filter": { "name": "Ohne_Bestand", "condition": "quantity < 1", "reason": "Ohne_Bestand" } }, { "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_stock_google_local" } } ] |