Legacy YAML / Detail

export / export_articles_bil

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_bil 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

#Source
Source_Datapool: articles  #sql from

Joins:
- Left_Join: #each condition is joined with "AND"
  Datapool: iwm_articles_stock
  Join_Condition: articles.ordernumber = iwm_articles_stock.ordernumber AND articles.attr1 = iwm_articles_stock.firma # One row per JOIN


Read_Conditions:  #sql where - Read-Filter
  - articles.active_bil = 1

#Mapping -> Mappings source fields are detected by Mapping
Mapping:
 ordernumber:
   Source: articles.ordernumber
 mainnumber:
   Source: articles.mainnumber
 price_EK:
  Source: articles.price_ost
  In_Export: no
  Field_Adapter:
    - replace: [',', '']
    - replace: ['.', ',']
 attr1:
     Source: articles.attr1
     In_Export: no
     Field_Adapter:
       - replace: [';', '']
 attr2:
     Source: articles.attr2
     In_Export: no
     Field_Adapter:
       - replace: [';', '']
 attr11:
     Source: articles.attr11
     In_Export: no
     Field_Adapter:
       - replace: [';', '']
 stock_witten:
     Source: iwm_articles_stock.witten
     In_Export: no



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_ost < 6 AND stock_witten < 10'
 - 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_ost < 25 AND stock_witten < 3'
 - 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_ost < 100 AND stock_witten < 1'
 - Filter:
    name: 'Preis ungueltig'
    condition: (price_EK == '0') or (price_EK == '') or (price_EK == '0.00')  or (price_EK == '0,00')  or (price_EK == '0,0')
    reason: 'alle Preise = 0'



#Target
Datapool: export_articles_bil #sql table
Primary_Key: [ordernumber, attr1]

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
Source_Datapool articles
Joins [ { "Left_Join": null, "Datapool": "iwm_articles_stock", "Join_Condition": "articles.ordernumber = iwm_articles_stock.ordernumber AND articles.attr1 = iwm_articles_stock.firma" } ]
Read_Conditions [ "articles.active_bil = 1" ]
Mapping { "ordernumber": { "Source": "articles.ordernumber" }, "mainnumber": { "Source": "articles.mainnumber" }, "price_EK": { "Source": "articles.price_ost", "In_Export": "no", "Field_Adapter": [ { "replace": [ ",", "" ] }, { "replace": [ ".", "," ] } ] }, "attr1": { "Source": "articles.attr1", "In_Export": "no", "Field_Adapter": [ { "replace": [ ";", "" ] } ] }, "attr2": { "Source": "articles.attr2", "In_Export": "no", "Field_Adapter": [ { "replace": [ ";", "" ] } ] }, "attr11": { "Source": "articles.attr11", "In_Export": "no", "Field_Adapter": [ { "replace": [ ";", "" ] } ] }, "stock_witten": { "Source": "iwm_articles_stock.witten", "In_Export": "no" } }
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_ost < 6 AND stock_witten < 10" } }, { "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_ost < 25 AND stock_witten < 3" } }, { "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_ost < 100 AND stock_witten < 1" } }, { "Filter": { "name": "Preis ungueltig", "condition": "(price_EK == '0') or (price_EK == '') or (price_EK == '0.00') or (price_EK == '0,00') or (price_EK == '0,0')", "reason": "alle Preise = 0" } } ]
Datapool export_articles_bil
Primary_Key [ "ordernumber", "attr1" ]