Legacy YAML / Detail

export / export_prices_all

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

#Joins:
#  - Join:
#    Datapool: articles_new
#    Join_Condition: articles_new.attr1 = iwm_articles_prices.firma AND articles_new.ordernumber = iwm_articles_prices.ordernumber

#Read_Conditions:  #sql where - Read-Filter
#  - iwm_articles_prices.firma = 1 AND (iwm_articles_prices.verkaufshaus = 96 or iwm_articles_prices.verkaufshaus = 0)

#Assures that e.g. verkaufshaus 96 has higher priority than verkaufshaus 0. If both exist for an ordernumber, verkaufshaus 0 is filtered by File_Field_Adapter price_EK
Order_By: verkaufshaus DESC

#Mapping -> Mappings source fields are detected by Mapping
Mapping:
 firma:
   Source: iwm_articles_prices.firma
   In_Export: no
 hwg:
   Source: iwm_articles_prices.hwg
   In_Export: no
 supplier:
   Source: articles_new.supplier_ost
   In_Export: no
 abholpreis:
   Source: iwm_articles_prices.abholpreis
   In_Export: no
 lieferpreis:
   Source: iwm_articles_prices.lieferpreis
   In_Export: no
 vollservicepreis:
   Source: iwm_articles_prices.vollservicepreis
   In_Export: no
 etikettenart:
   Source: iwm_articles_prices.etikettenart
   In_Export: no
 ordernumber:
   Source: iwm_articles_prices.ordernumber
 mainnumber:
  Source: iwm_articles_prices.mainnumber
 price_EK:
  Source: iwm_articles_prices.abholpreis
  File_Field_Adapter:
    File: export_iwm_articles_prices.price_EK
 pseudoprice_EK:
  Source: iwm_articles_prices.pseudoprice
  Field_Adapter:
    - replace: ['.', ',']
 baseprice_EK: (0)
 shippingcosts:
   Source: iwm_articles_prices.abholpreis
   File_Field_Adapter:
     File: export_iwm_articles_prices_all.shippingcosts
 attr18:
   Source: iwm_articles_prices.attr18
   In_Export: no
# montage:
#   Source: iwm_articles_prices.montage
#   File_Field_Adapter:
#     File: export_iwm_articles_prices.montage
 verkaufshaus: iwm_articles_prices.verkaufshaus

#Target
Datapool: export_iwm_articles_prices_all #sql table
Primary_Key: [ordernumber, firma, verkaufshaus]


Filters: #In-Memory-Filter (Write-Filter) -> datasets matched by the filter condition are not in the result set (they are filtered out)
 - Filter:
    name: Verkaufshaus  #there must always be a space between the key and the comparision operator and between the parentheses
    condition:
      Cross_Dataset_Filter_Adapter: export_prices_ost_new__filterByVerkaufshaus
    reason: 'There is a price with a verkaufshaus with higher priority'
 - 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'

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 iwm_articles_prices
Order_By verkaufshaus DESC
Mapping { "firma": { "Source": "iwm_articles_prices.firma", "In_Export": "no" }, "hwg": { "Source": "iwm_articles_prices.hwg", "In_Export": "no" }, "supplier": { "Source": "articles_new.supplier_ost", "In_Export": "no" }, "abholpreis": { "Source": "iwm_articles_prices.abholpreis", "In_Export": "no" }, "lieferpreis": { "Source": "iwm_articles_prices.lieferpreis", "In_Export": "no" }, "vollservicepreis": { "Source": "iwm_articles_prices.vollservicepreis", "In_Export": "no" }, "etikettenart": { "Source": "iwm_articles_prices.etikettenart", "In_Export": "no" }, "ordernumber": { "Source": "iwm_articles_prices.ordernumber" }, "mainnumber": { "Source": "iwm_articles_prices.mainnumber" }, "price_EK": { "Source": "iwm_articles_prices.abholpreis", "File_Field_Adapter": { "File": "export_iwm_articles_prices.price_EK" } }, "pseudoprice_EK": { "Source": "iwm_articles_prices.pseudoprice", "Field_Adapter": [ { "replace": [ ".", "," ] } ] }, "baseprice_EK": "(0)", "shippingcosts": { "Source": "iwm_articles_prices.abholpreis", "File_Field_Adapter": { "File": "export_iwm_articles_prices_all.shippingcosts" } }, "attr18": { "Source": "iwm_articles_prices.attr18", "In_Export": "no" }, "verkaufshaus": "iwm_articles_prices.verkaufshaus" }
Datapool export_iwm_articles_prices_all
Primary_Key [ "ordernumber", "firma", "verkaufshaus" ]
Filters [ { "Filter": { "name": "Verkaufshaus", "condition": { "Cross_Dataset_Filter_Adapter": "export_prices_ost_new__filterByVerkaufshaus" }, "reason": "There is a price with a verkaufshaus with higher priority" } }, { "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" } } ]