Legacy YAML / Detail

export / export_prices_ost_old

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_prices_ost 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
- Left_Join: #each condition is joined with "AND"
  Datapool: iwm_prices
  Join_Condition: articles.ordernumber = iwm_prices.ordernumber AND articles.attr1 = iwm_prices.firma # One row per JOIN

Read_Conditions:  #sql where - Read-Filter
  - articles.active_ost = 1 and articles.attr1 = 1

#Mapping -> Mappings source fields are detected by Mapping
Mapping:
 ordernumber:
   Source: articles.ordernumber
 mainnumber:
  Source: articles.mainnumber
 price_EK:
  Source: iwm_prices.price
  Field_Adapter:
    - replace: ['.', ',']
 pseudoprice_EK:
   Source: iwm_prices.pseudoprice
   Field_Adapter:
     - replace: ['.', ',']
 baseprice_EK: (0)
 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 < 6) AND (stock_witten < 10) AND (attr2 == 90 or attr2 == 91 or attr2 == 92 or attr2 == 96 or attr2 == 101) AND (attr11 == L)'
 - 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 < 25) AND (stock_witten < 3) AND (attr2 == 90 or attr2 == 91 or attr2 == 92 or attr2 == 96 or attr2 == 101) AND (attr11 == L)'
 - 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 < 100) AND (stock_witten < 1) AND (attr2 == 90 or attr2 == 91 or attr2 == 92 or attr2 == 96 or attr2 == 101) AND (attr11 == L)'


#Target
Datapool: export_prices_ost #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" }, { "Left_Join": null, "Datapool": "iwm_prices", "Join_Condition": "articles.ordernumber = iwm_prices.ordernumber AND articles.attr1 = iwm_prices.firma" } ]
Read_Conditions [ "articles.active_ost = 1 and articles.attr1 = 1" ]
Mapping { "ordernumber": { "Source": "articles.ordernumber" }, "mainnumber": { "Source": "articles.mainnumber" }, "price_EK": { "Source": "iwm_prices.price", "Field_Adapter": [ { "replace": [ ".", "," ] } ] }, "pseudoprice_EK": { "Source": "iwm_prices.pseudoprice", "Field_Adapter": [ { "replace": [ ".", "," ] } ] }, "baseprice_EK": "(0)", "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 < 6) AND (stock_witten < 10) AND (attr2 == 90 or attr2 == 91 or attr2 == 92 or attr2 == 96 or attr2 == 101) AND (attr11 == L)" } }, { "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 < 25) AND (stock_witten < 3) AND (attr2 == 90 or attr2 == 91 or attr2 == 92 or attr2 == 96 or attr2 == 101) AND (attr11 == L)" } }, { "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 < 100) AND (stock_witten < 1) AND (attr2 == 90 or attr2 == 91 or attr2 == 92 or attr2 == 96 or attr2 == 101) AND (attr11 == L)" } } ]
Datapool export_prices_ost
Primary_Key [ "ordernumber", "attr1" ]