Legacy YAML / Detail

export / export_articles_stock_tre_google_local

Unveränderter Legacy-Dateistand mit sicherem Importpfad in die Workbench und direkter Sicht auf Roh-YAML, Metadaten und erkannte Features.

RLS aktiv Host ortho-live

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.

engine Typ
valid Parse-Status
Managed Status
draft
export_articles_stock_tre_google_local Kurzinfo

Raw YAML

Dateiinhalt

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: tre_articles_stock_google_local  #sql from


Mapping:
  ordernumber:
    Source: tre_articles_stock_google_local.ordernumber
    In_Export: no
  store_code:
    Source: tre_articles_stock_google_local.store_code
  itemid:
    Source: tre_articles_stock_google_local.itemid
  price:
    Source: tre_articles_stock_google_local.price
    Field_Adapter:
      - replace: [',','.']
  quantity:
    Source: tre_articles_stock_google_local.quantity #to be ignored
  availability:
    Source: tre_articles_stock_google_local.quantity
    Field_Adapter:
      - replace_greater: [0, 'in stock']
  pickup_method:
    Source: tre_articles_stock_google_local.quantity
    Field_Adapter:
      - replace_greater: [0, 'buy']
      - replace_smaller: [1, 'buy']
  pickup_sla:
    Source: tre_articles_stock_google_local.quantity
    Field_Adapter:
      - replace_greater: [0, 'same day']




#Target
Datapool: export_articles_stock_tre_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_export_articles_tre
      condition:
        Not_In_Pool_Filter_Adapter:
          Config: exportEngine
          Datapool: export_articles_tre
          Local_Key: ordernumber
          Cross_Key: ordernumber
      reason: 'not_in_export_articles_tre'

Metadata

Erkannte Konfiguration

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 tre_articles_stock_google_local
Mapping { "ordernumber": { "Source": "tre_articles_stock_google_local.ordernumber", "In_Export": "no" }, "store_code": { "Source": "tre_articles_stock_google_local.store_code" }, "itemid": { "Source": "tre_articles_stock_google_local.itemid" }, "price": { "Source": "tre_articles_stock_google_local.price", "Field_Adapter": [ { "replace": [ ",", "." ] } ] }, "quantity": { "Source": "tre_articles_stock_google_local.quantity" }, "availability": { "Source": "tre_articles_stock_google_local.quantity", "Field_Adapter": [ { "replace_greater": [ 0, "in stock" ] } ] }, "pickup_method": { "Source": "tre_articles_stock_google_local.quantity", "Field_Adapter": [ { "replace_greater": [ 0, "buy" ] }, { "replace_smaller": [ 1, "buy" ] } ] }, "pickup_sla": { "Source": "tre_articles_stock_google_local.quantity", "Field_Adapter": [ { "replace_greater": [ 0, "same day" ] } ] } }
Datapool export_articles_stock_tre_google_local
Primary_Key [ "itemid", "store_code" ]
Filters [ { "Filter": { "name": "Ohne_Bestand", "condition": "quantity < 1", "reason": "Ohne_Bestand" } }, { "Filter": { "name": "not_in_export_articles_tre", "condition": { "Not_In_Pool_Filter_Adapter": { "Config": "exportEngine", "Datapool": "export_articles_tre", "Local_Key": "ordernumber", "Cross_Key": "ordernumber" } }, "reason": "not_in_export_articles_tre" } } ]