diff --git a/dev/odoo-server-dev-br.conf b/dev/odoo-server-dev-br.conf index 370b7c29..34cad32d 100644 --- a/dev/odoo-server-dev-br.conf +++ b/dev/odoo-server-dev-br.conf @@ -8,7 +8,7 @@ db_port = 5436 db_user = False db_password = False -addons_path = ext/odoo/addons,ext/custom-addons +addons_path = ext/odoo/addons,ext/custom-addons,dmi/run1 timezone = Europe/Brussels #dbfilter_test = ['.*',] \ No newline at end of file diff --git a/dev/odoo-server-dev-sk.conf b/dev/odoo-server-dev-sk.conf index b8156970..92fedff4 100644 --- a/dev/odoo-server-dev-sk.conf +++ b/dev/odoo-server-dev-sk.conf @@ -8,7 +8,7 @@ db_port = 5433 db_user = False db_password = False -addons_path = ext/odoo/addons,ext/custom-addons +addons_path = ext/odoo/addons,ext/custom-addons,dmi/run1 timezone = Europe/Brussels #dbfilter_test = ['.*',] \ No newline at end of file diff --git a/dmi/run1/Kundendaten.ktr b/dmi/run1/Kundendaten.ktr new file mode 100644 index 00000000..087867ca --- /dev/null +++ b/dmi/run1/Kundendaten.ktr @@ -0,0 +1,4556 @@ + + + Kundendaten + + + + Normal + 0 + / + + + + + + + + + +ID_BATCHYID_BATCHCHANNEL_IDYCHANNEL_IDTRANSNAMEYTRANSNAMESTATUSYSTATUSLINES_READYLINES_READLINES_WRITTENYLINES_WRITTENLINES_UPDATEDYLINES_UPDATEDLINES_INPUTYLINES_INPUTLINES_OUTPUTYLINES_OUTPUTLINES_REJECTEDYLINES_REJECTEDERRORSYERRORSSTARTDATEYSTARTDATEENDDATEYENDDATELOGDATEYLOGDATEDEPDATEYDEPDATEREPLAYDATEYREPLAYDATELOG_FIELDYLOG_FIELDEXECUTING_SERVERNEXECUTING_SERVEREXECUTING_USERNEXECUTING_USERCLIENTNCLIENT + + +
+ + +ID_BATCHYID_BATCHSEQ_NRYSEQ_NRLOGDATEYLOGDATETRANSNAMEYTRANSNAMESTEPNAMEYSTEPNAMESTEP_COPYYSTEP_COPYLINES_READYLINES_READLINES_WRITTENYLINES_WRITTENLINES_UPDATEDYLINES_UPDATEDLINES_INPUTYLINES_INPUTLINES_OUTPUTYLINES_OUTPUTLINES_REJECTEDYLINES_REJECTEDERRORSYERRORSINPUT_BUFFER_ROWSYINPUT_BUFFER_ROWSOUTPUT_BUFFER_ROWSYOUTPUT_BUFFER_ROWS + + +
+ +ID_BATCHYID_BATCHCHANNEL_IDYCHANNEL_IDLOG_DATEYLOG_DATELOGGING_OBJECT_TYPEYLOGGING_OBJECT_TYPEOBJECT_NAMEYOBJECT_NAMEOBJECT_COPYYOBJECT_COPYREPOSITORY_DIRECTORYYREPOSITORY_DIRECTORYFILENAMEYFILENAMEOBJECT_IDYOBJECT_IDOBJECT_REVISIONYOBJECT_REVISIONPARENT_CHANNEL_IDYPARENT_CHANNEL_IDROOT_CHANNEL_IDYROOT_CHANNEL_ID + + +
+ +ID_BATCHYID_BATCHCHANNEL_IDYCHANNEL_IDLOG_DATEYLOG_DATETRANSNAMEYTRANSNAMESTEPNAMEYSTEPNAMESTEP_COPYYSTEP_COPYLINES_READYLINES_READLINES_WRITTENYLINES_WRITTENLINES_UPDATEDYLINES_UPDATEDLINES_INPUTYLINES_INPUTLINES_OUTPUTYLINES_OUTPUTLINES_REJECTEDYLINES_REJECTEDERRORSYERRORSLOG_FIELDNLOG_FIELD + + +
+ +ID_BATCHYID_BATCHCHANNEL_IDYCHANNEL_IDLOG_DATEYLOG_DATEMETRICS_DATEYMETRICS_DATEMETRICS_CODEYMETRICS_CODEMETRICS_DESCRIPTIONYMETRICS_DESCRIPTIONMETRICS_SUBJECTYMETRICS_SUBJECTMETRICS_TYPEYMETRICS_TYPEMETRICS_VALUEYMETRICS_VALUE + + + +
+ + 0.0 + 0.0 + + 10000 + 50 + 50 + N + Y + 50000 + Y + + N + 1000 + 100 + + + + + + + + + - + 2014/12/19 13:36:06.719 + - + 2015/02/27 13:21:38.420 + + + + + TransformPrioritize streamsY + LänderStream lookupY + vendor.csvStream lookupY + Customer.csvStream lookup 2Y + LänderStream lookup 2Y + Stream lookup 2vat lookupY + Transform 2Prioritize streamsY + vat_lookup.csvDummy (do nothing)Y + Dummy (do nothing)vat lookupY + Transform 3account.payment.term.csvY + zahlungsziele.csvTransform 3Y + zahlungsziele.csvterms loookupY + zahlungsziele.csvterms loookup 2Y + Transform 3 2product.pricelist.version.csvY + Data GridTransform 3 2Y + Data GridTransform 3 2 2Y + Transform 3 2 2product.pricelist.csvY + Transform 3 2 3product.pricelist.item.csvY + Data GridTransform 3 2 3Y + vat lookupterms loookupY + terms loookupTransformY + terms loookup 2Transform 2Y + Prioritize streamsFilter rowsY + Filter rowsno nameY + Filter rowsres.partner.csvY + Stream lookupvat lookup 2Y + vat lookup 2terms loookup 2Y + Dummy (do nothing)vat lookup 2Y + + + Customer.csv + CsvInput + + Y + + 1 + + none + + + ${dmi_dir}/input/Customer.csv + + + N + , + " +
Y
+ 50000 + Y + N + N + N + UTF-8 + + + Nr. + String + + + + + -1 + -1 + none + + + Name + String + + + + + -1 + -1 + none + + + Suchbegriff + String + + + + + -1 + -1 + none + + + Name 2 + String + + + + + -1 + -1 + none + + + Adresse + String + + + + + -1 + -1 + none + + + Adresse 2 + String + + + + + -1 + -1 + none + + + Ort + String + + + + + -1 + -1 + none + + + Kontakt + String + + + + + -1 + -1 + none + + + Telefonnr. + String + + + + + -1 + -1 + none + + + Telexnr. + String + + + + + -1 + -1 + none + + + Unsere Kontonr. + String + + + + + -1 + -1 + none + + + Gebietscode + String + + + + + -1 + -1 + none + + + Globaler Dimensionscode 1 + String + + + + + -1 + -1 + none + + + Globaler Dimensionscode 2 + String + + + + + -1 + -1 + none + + + Unternehmenskette + String + + + + + -1 + -1 + none + + + Budgetierter Betrag + String + + + + + -1 + -1 + none + + + Kreditlimit (MW) + String + + + + + -1 + -1 + none + + + Debitorenbuchungsgruppe + String + + + + + -1 + -1 + none + + + Währungscode + String + + + + + -1 + -1 + none + + + Debitorenpreisgruppe + String + + + + + -1 + -1 + none + + + Sprachcode + String + + + + + -1 + -1 + none + + + Statistikgruppe + String + + + + + -1 + -1 + none + + + Zlg.-Bedingungscode + String + + + + + -1 + -1 + none + + + Zinskonditionencode + String + + + + + -1 + -1 + none + + + Verkäufercode + String + + + + + -1 + -1 + none + + + Lieferbedingungscode + String + + + + + -1 + -1 + none + + + Zustellercode + String + + + + + -1 + -1 + none + + + Transitstelle + String + + + + + -1 + -1 + none + + + Rechnungsrabattcode + String + + + + + -1 + -1 + none + + + Debitorenrabattgruppe + String + + + + + -1 + -1 + none + + + Länder-/Regionscode + String + + + + + -1 + -1 + none + + + Einzugsverfahren + String + + + + + -1 + -1 + none + + + Betrag + String + + + + + -1 + -1 + none + + + Gesperrt + String + + + + + -1 + -1 + none + + + Anzahl Rechnungskopien + String + + + + + -1 + -1 + none + + + Letzte Kontoauszugsnr. + String + + + + + -1 + -1 + none + + + Kontoauszüge drucken + String + + + + + -1 + -1 + none + + + Rech. an Deb.-Nr. + String + + + + + -1 + -1 + none + + + Priorität + String + + + + + -1 + -1 + none + + + Zahlungsformcode + String + + + + + -1 + -1 + none + + + Korrigiert am + String + + + + + -1 + -1 + none + + + Ausgleichsmethode + String + + + + + -1 + -1 + none + + + Preise inkl. MwSt. + String + + + + + -1 + -1 + none + + + Lagerortcode + String + + + + + -1 + -1 + none + + + Faxnr. + String + + + + + -1 + -1 + none + + + Telex Namengeber + String + + + + + -1 + -1 + none + + + USt-IdNr. + String + + + + + -1 + -1 + none + + + Sammelrechnung + String + + + + + -1 + -1 + none + + + Geschäftsbuchungsgruppe + String + + + + + -1 + -1 + none + + + PLZ-Code + String + + + + + -1 + -1 + none + + + Bundesregion + String + + + + + -1 + -1 + none + + + E-Mail + String + + + + + -1 + -1 + none + + + Homepage + String + + + + + -1 + -1 + none + + + Mahnmethodencode + String + + + + + -1 + -1 + none + + + Nummernserie + String + + + + + -1 + -1 + none + + + Steuergebietscode + String + + + + + -1 + -1 + none + + + Steuerpflichtig + String + + + + + -1 + -1 + none + + + MwSt.-Geschäftsbuchungsgruppe + String + + + + + -1 + -1 + none + + + Reservieren + String + + + + + -1 + -1 + none + + + Zahlungstoleranz sperren + String + + + + + -1 + -1 + none + + + IC-Partnercode + String + + + + + -1 + -1 + none + + + Vorauszahlung % + String + + + + + -1 + -1 + none + + + Partnerart + String + + + + + -1 + -1 + none + + + Bevorzugtes Bankkonto + String + + + + + -1 + -1 + none + + + Cashflow - Zlg.-Bedingungscode + String + + + + + -1 + -1 + none + + + Primäre Kontaktnr. + String + + + + + -1 + -1 + none + + + Zuständigkeitseinheit + String + + + + + -1 + -1 + none + + + Versandanweisung + String + + + + + -1 + -1 + none + + + Transportzeit + String + + + + + -1 + -1 + none + + + Zustellertransportartencode + String + + + + + -1 + -1 + none + + + Servicegebietscode + String + + + + + -1 + -1 + none + + + Zeilenrabatt zulassen + String + + + + + -1 + -1 + none + + + Basiskalendercode + String + + + + + -1 + -1 + none + + + Verk. an Adr. in Ang. v. kop. + String + + + + + -1 + -1 + none + + + Rabatte drucken + String + + + + + -1 + -1 + none + + + + + 535 + 36 + Y + +
+ + + Data Grid + DataGrid + + N + + 1 + + none + + + + + id + String + + + + + -1 + -1 + N + + + currency_id + String + + + + + -1 + -1 + N + + + type + String + + + + + -1 + -1 + N + + + name + String + + + + + -1 + -1 + N + + + + EURbase.EURpurchaseEinkaufspreisliste EUR + USDbase.USDpurchaseEinkaufspreisliste USD + CZKbase.CZKpurchaseEinkaufspreisliste GBP + + + + 1127 + 119 + Y + + + + + Dummy (do nothing) + Dummy + + N + + 1 + + none + + + + + 671 + 326 + Y + + + + + Filter rows + FilterRows + + Y + + 1 + + none + + +res.partner.csv +no name + + + N + name + IS NOT NULL + + + + + + 670 + 625 + Y + + + + + Länder + DataGrid + + N + + 1 + + none + + + + + key + String + + + + + -1 + -1 + N + + + value + String + + + + + -1 + -1 + N + + + info + String + + + + + -1 + -1 + N + + + + BGbase.bgBelgien + CHbase.chSchweiz + CNbase.cnChina + CZbase.czTschechien + DEbase.deDeutschland + DKbase.dkDenmark + GBbase.ukGroß Britanien + GRbase.grGriechenland + HKbase.hkHong Kung + HRbase.hrKroatien + HUbase.huUngarn + ITbase.itItalien + NLbase.nlNiederlande + PLbase.plPolen + RObase.roRumänien + SIbase.siSlovenien + SKbase.skSlowakei + BAbase.baBosnien Herzigovina + BIHbase.baBosnien Herzigovina + ESbase.seSpanien + SEbase.seSchweden + + + + 669 + 166 + Y + + + + + Prioritize streams + PrioritizeStreams + + Y + + 1 + + none + + + + + Transform + + + Transform 2 + + + + + 668 + 544 + Y + + + + + Stream lookup + StreamLookup + + N + + 1 + + none + + + Länder + N + Y + N + N + + + Länder-/Regionscode + key + + + value + land_xml + + None + + + + + 806 + 217 + Y + + + + + Stream lookup 2 + StreamLookup + + Y + + 1 + + none + + + Länder + N + Y + N + N + + + Länder-/Regionscode + key + + + value + land_xml + + None + + + + + 537 + 238 + Y + + + + + Transform + UserDefinedJavaClass + + N + + 1 + + none + + + + + + TRANSFORM_CLASS + + Processor + + + + + + + id + + String + + -1 + + -1 + + + + name + + String + + -1 + + -1 + + + + parent_id/id + + String + + -1 + + -1 + + + + street + + String + + -1 + + -1 + + + + street2 + + String + + -1 + + -1 + + + + city + + String + + -1 + + -1 + + + + zip + + String + + -1 + + -1 + + + + website + + String + + -1 + + -1 + + + + phone + + String + + -1 + + -1 + + + + mobile + + String + + -1 + + -1 + + + + fax + + String + + -1 + + -1 + + + + email + + String + + -1 + + -1 + + + + comment + + String + + -1 + + -1 + + + + ref + + String + + -1 + + -1 + + + + lang + + String + + -1 + + -1 + + + + vat + + String + + -1 + + -1 + + + + date + + String + + -1 + + -1 + + + + is_company + + String + + -1 + + -1 + + + + function + + String + + -1 + + -1 + + + + use_parent_address + + String + + -1 + + -1 + + + + country_id/id + + String + + -1 + + -1 + + + + customer + + String + + -1 + + -1 + + + + supplier + + String + + -1 + + -1 + + + + notify_email + + String + + -1 + + -1 + + + + property_product_pricelist_purchase/id + + String + + -1 + + -1 + + + + property_payment_term/id + + String + + -1 + + -1 + + + + property_supplier_payment_term/id + + String + + -1 + + -1 + + + + sale_warn + + String + + -1 + + -1 + + + + sale_warn_msg + + String + + -1 + + -1 + + + + purchase_warn + + String + + -1 + + -1 + + + + purchase_warn_msg + + String + + -1 + + -1 + + + + picking_warn + + String + + -1 + + -1 + + + + picking_warn_msg + + String + + -1 + + -1 + + + + invoice_warn + + String + + -1 + + -1 + + + + invoice_warn_msg + + String + + -1 + + -1 + + + Y + + + 543 + 510 + Y + + + + + Transform 2 + UserDefinedJavaClass + + Y + + 1 + + none + + + + + + TRANSFORM_CLASS + + Processor + + + + + + + id + + String + + -1 + + -1 + + + + name + + String + + -1 + + -1 + + + + parent_id/id + + String + + -1 + + -1 + + + + street + + String + + -1 + + -1 + + + + street2 + + String + + -1 + + -1 + + + + city + + String + + -1 + + -1 + + + + zip + + String + + -1 + + -1 + + + + website + + String + + -1 + + -1 + + + + phone + + String + + -1 + + -1 + + + + mobile + + String + + -1 + + -1 + + + + fax + + String + + -1 + + -1 + + + + email + + String + + -1 + + -1 + + + + comment + + String + + -1 + + -1 + + + + ref + + String + + -1 + + -1 + + + + lang + + String + + -1 + + -1 + + + + vat + + String + + -1 + + -1 + + + + date + + String + + -1 + + -1 + + + + is_company + + String + + -1 + + -1 + + + + function + + String + + -1 + + -1 + + + + use_parent_address + + String + + -1 + + -1 + + + + country_id/id + + String + + -1 + + -1 + + + + customer + + String + + -1 + + -1 + + + + supplier + + String + + -1 + + -1 + + + + notify_email + + String + + -1 + + -1 + + + + property_product_pricelist_purchase/id + + String + + -1 + + -1 + + + + property_payment_term/id + + String + + -1 + + -1 + + + + property_supplier_payment_term/id + + String + + -1 + + -1 + + + + sale_warn + + String + + -1 + + -1 + + + + sale_warn_msg + + String + + -1 + + -1 + + + + purchase_warn + + String + + -1 + + -1 + + + + purchase_warn_msg + + String + + -1 + + -1 + + + + picking_warn + + String + + -1 + + -1 + + + + picking_warn_msg + + String + + -1 + + -1 + + + + invoice_warn + + String + + -1 + + -1 + + + + invoice_warn_msg + + String + + -1 + + -1 + + + Y + + + 815 + 521 + Y + + + + + Transform 3 + UserDefinedJavaClass + + N + + 1 + + none + + + + + + TRANSFORM_CLASS + + Processor + + + + + + + id + + String + + -1 + + -1 + + + + name + + String + + -1 + + -1 + + + + note + + String + + -1 + + -1 + + + + netto_tage + + String + + -1 + + -1 + + + + skonto_tage + + String + + -1 + + -1 + + + + skonto_prozent + + String + + -1 + + -1 + + + + line_ids/value + + String + + -1 + + -1 + + + + line_ids/days + + String + + -1 + + -1 + + + + line_ids/days2 + + String + + -1 + + -1 + + + Y + + + 297 + 340 + Y + + + + + Transform 3 2 + UserDefinedJavaClass + + N + + 1 + + none + + + + + + TRANSFORM_CLASS + + Processor + + + + + + + id + + String + + -1 + + -1 + + + + name + + String + + -1 + + -1 + + + + pricelist_id/id + + String + + -1 + + -1 + + + Y + + + 1218 + 384 + Y + + + + + Transform 3 2 2 + UserDefinedJavaClass + + N + + 1 + + none + + + + + + TRANSFORM_CLASS + + Processor + + + + + + + id + + String + + -1 + + -1 + + + + name + + String + + -1 + + -1 + + + + currency_id/id + + String + + -1 + + -1 + + + + type + + String + + -1 + + -1 + + + Y + + + 1045 + 390 + Y + + + + + Transform 3 2 3 + UserDefinedJavaClass + + N + + 1 + + none + + + + + + TRANSFORM_CLASS + + Processor + + + + + + + id + + String + + -1 + + -1 + + + + name + + String + + -1 + + -1 + + + + price_version_id/id + + String + + -1 + + -1 + + + + base + + String + + -1 + + -1 + + + Y + + + 1405 + 383 + Y + + + + + account.payment.term.csv + TextFileOutput + + Y + + 1 + + none + + + , + " + Y + N +
Y
+
N
+ DOS + None + UTF-8 + + N + + Y + + ${dmi_dir}/cam_dmi/account.payment.term + N + N + N + csv + N + N + N + N + N + N + + Y + N + N + 0 + + + + id + String + + + + + + none + -1 + -1 + + + name + String + + + + + + none + -1 + -1 + + + note + String + + + + + + none + -1 + -1 + + + netto_tage + String + + + + + + none + -1 + -1 + + + skonto_tage + String + + + + + + none + -1 + -1 + + + skonto_prozent + String + + + + + + none + -1 + -1 + + + line_ids/value + String + + + + + + none + -1 + -1 + + + line_ids/days + String + + + + + + none + -1 + -1 + + + line_ids/days2 + String + + + + + + none + -1 + -1 + + + + + 293 + 516 + Y + +
+ + + no name + Dummy + + Y + + 1 + + none + + + + + 838 + 662 + Y + + + + + product.pricelist.csv + TextFileOutput + + Y + + 1 + + none + + + , + " + Y + N +
Y
+
N
+ DOS + None + UTF-8 + + N + + Y + + ${dmi_dir}/cam_dmi/product.pricelist + N + N + N + csv + N + N + N + N + N + N + + Y + N + N + 0 + + + + id + String + + + + + + none + -1 + -1 + + + name + String + + + + + + none + -1 + -1 + + + currency_id/id + String + + + + + + none + -1 + -1 + + + type + String + + + + + + none + -1 + -1 + + + + + 1046 + 497 + Y + +
+ + + product.pricelist.item.csv + TextFileOutput + + Y + + 1 + + none + + + , + " + Y + N +
Y
+
N
+ DOS + None + UTF-8 + + N + + Y + + ${dmi_dir}/cam_dmi/product.pricelist.item + N + N + N + csv + N + N + N + N + N + N + + Y + N + N + 0 + + + + id + String + + + + + + none + -1 + -1 + + + name + String + + + + + + none + -1 + -1 + + + price_version_id/id + String + + + + + + none + -1 + -1 + + + base + String + + + + + + none + -1 + -1 + + + + + 1401 + 493 + Y + +
+ + + product.pricelist.version.csv + TextFileOutput + + Y + + 1 + + none + + + , + " + Y + N +
Y
+
N
+ DOS + None + UTF-8 + + N + + Y + + ${dmi_dir}/cam_dmi/product.pricelist.version + N + N + N + csv + N + N + N + N + N + N + + Y + N + N + 0 + + + + id + String + + + + + + none + -1 + -1 + + + name + String + + + + + + none + -1 + -1 + + + pricelist_id/id + String + + + + + + none + -1 + -1 + + + + + 1214 + 494 + Y + +
+ + + res.partner.csv + TextFileOutput + + Y + + 1 + + none + + + , + " + Y + N +
Y
+
N
+ DOS + None + UTF-8 + + N + + Y + + ${dmi_dir}/cam_dmi/res.partner + N + N + N + csv + N + N + N + N + N + N + + Y + N + N + 0 + + + + id + String + + + + + + none + -1 + -1 + + + name + String + + + + + + none + -1 + -1 + + + parent_id/id + String + + + + + + none + -1 + -1 + + + street + String + + + + + + none + -1 + -1 + + + street2 + String + + + + + + none + -1 + -1 + + + city + String + + + + + + none + -1 + -1 + + + zip + String + + + + + + none + -1 + -1 + + + website + String + + + + + + none + -1 + -1 + + + phone + String + + + + + + none + -1 + -1 + + + mobile + String + + + + + + none + -1 + -1 + + + fax + String + + + + + + none + -1 + -1 + + + email + String + + + + + + none + -1 + -1 + + + comment + String + + + + + + none + -1 + -1 + + + ref + String + + + + + + none + -1 + -1 + + + lang + String + + + + + + none + -1 + -1 + + + vat + String + + + + + + none + -1 + -1 + + + date + String + + + + + + none + -1 + -1 + + + is_company + String + + + + + + none + -1 + -1 + + + function + String + + + + + + none + -1 + -1 + + + use_parent_address + String + + + + + + none + -1 + -1 + + + country_id/id + String + + + + + + none + -1 + -1 + + + customer + String + + + + + + none + -1 + -1 + + + supplier + String + + + + + + none + -1 + -1 + + + notify_email + String + + + + + + none + -1 + -1 + + + property_product_pricelist_purchase/id + String + + + + + + none + -1 + -1 + + + property_payment_term/id + String + + + + + + none + -1 + -1 + + + property_supplier_payment_term/id + String + + + + + + none + -1 + -1 + + + sale_warn + String + + + + + + none + -1 + -1 + + + sale_warn_msg + String + + + + + + none + -1 + -1 + + + purchase_warn + String + + + + + + none + -1 + -1 + + + purchase_warn_msg + String + + + + + + none + -1 + -1 + + + picking_warn + String + + + + + + none + -1 + -1 + + + picking_warn_msg + String + + + + + + none + -1 + -1 + + + invoice_warn + String + + + + + + none + -1 + -1 + + + invoice_warn_msg + String + + + + + + none + -1 + -1 + + + + + 668 + 720 + Y + +
+ + + terms loookup + StreamLookup + + Y + + 1 + + none + + + zahlungsziele.csv + N + Y + N + N + + + Zlg.-Bedingungscode + Name + + + Id + help_termid + + None + + + + + 542 + 421 + Y + + + + + terms loookup 2 + StreamLookup + + Y + + 1 + + none + + + zahlungsziele.csv + N + Y + N + N + + + Zlg.-Bedingungscode + Name + + + Id + help_termid + + None + + + + + 812 + 440 + Y + + + + + vat lookup + StreamLookup + + N + + 1 + + none + + + Dummy (do nothing) + N + Y + N + N + + + USt-IdNr. + vat_old + + + vat_new + help_newvat + + None + + + + + 537 + 338 + Y + + + + + vat lookup 2 + StreamLookup + + N + + 1 + + none + + + Dummy (do nothing) + N + Y + N + N + + + USt-IdNr. + vat_old + + + vat_new + help_newvat + + None + + + + + 813 + 348 + Y + + + + + vat_lookup.csv + CsvInput + + N + + 1 + + none + + + ${dmi_dir}/cam_dmi/vat_lookup.csv + + + N + , + " +
Y
+ 50000 + N + N + N + N + + + + vat_old + String + + + + + -1 + -1 + none + + + vat_new + String + + + + + -1 + -1 + none + + + + + 671 + 243 + Y + +
+ + + vendor.csv + CsvInput + + N + + 1 + + none + + + ${dmi_dir}/input/vendor.csv + + + N + , + " +
Y
+ 50000 + Y + N + N + N + UTF-8 + + + Nr. + String + + + + + -1 + -1 + none + + + Name + String + + + + + -1 + -1 + none + + + Suchbegriff + String + + + + + -1 + -1 + none + + + Name 2 + String + + + + + -1 + -1 + none + + + Adresse + String + + + + + -1 + -1 + none + + + Adresse 2 + String + + + + + -1 + -1 + none + + + Ort + String + + + + + -1 + -1 + none + + + Kontakt + String + + + + + -1 + -1 + none + + + Telefonnr. + String + + + + + -1 + -1 + none + + + Telexnr. + String + + + + + -1 + -1 + none + + + Unsere Kontonr. + String + + + + + -1 + -1 + none + + + Gebietscode + String + + + + + -1 + -1 + none + + + Globaler Dimensionscode 1 + String + + + + + -1 + -1 + none + + + Globaler Dimensionscode 2 + String + + + + + -1 + -1 + none + + + Budgetierter Betrag + String + + + + + -1 + -1 + none + + + Kreditorenbuchungsgruppe + String + + + + + -1 + -1 + none + + + Währungscode + String + + + + + -1 + -1 + none + + + Sprachcode + String + + + + + -1 + -1 + none + + + Statistikgruppe + String + + + + + -1 + -1 + none + + + Zlg.-Bedingungscode + String + + + + + -1 + -1 + none + + + Zinskonditionencode + String + + + + + -1 + -1 + none + + + Einkäufercode + String + + + + + -1 + -1 + none + + + Lieferbedingungscode + String + + + + + -1 + -1 + none + + + Zustellercode + String + + + + + -1 + -1 + none + + + Rechnungsrabattcode + String + + + + + -1 + -1 + none + + + Länder-/Regionscode + String + + + + + -1 + -1 + none + + + Gesperrt + String + + + + + -1 + -1 + none + + + Zahlung an Kred.-Nr. + String + + + + + -1 + -1 + none + + + Priorität + String + + + + + -1 + -1 + none + + + Zahlungsformcode + String + + + + + -1 + -1 + none + + + Korrigiert am + String + + + + + -1 + -1 + none + + + Ausgleichsmethode + String + + + + + -1 + -1 + none + + + EK-Preise inkl. MwSt. + String + + + + + -1 + -1 + none + + + Faxnr. + String + + + + + -1 + -1 + none + + + Telex Namengeber + String + + + + + -1 + -1 + none + + + USt-IdNr. + String + + + + + -1 + -1 + none + + + Geschäftsbuchungsgruppe + String + + + + + -1 + -1 + none + + + PLZ-Code + String + + + + + -1 + -1 + none + + + Bundesregion + String + + + + + -1 + -1 + none + + + E-Mail + String + + + + + -1 + -1 + none + + + Homepage + String + + + + + -1 + -1 + none + + + Nummernserie + String + + + + + -1 + -1 + none + + + Steuergebietscode + String + + + + + -1 + -1 + none + + + Steuerpflichtig + String + + + + + -1 + -1 + none + + + MwSt.-Geschäftsbuchungsgruppe + String + + + + + -1 + -1 + none + + + Zahlungstoleranz sperren + String + + + + + -1 + -1 + none + + + IC-Partnercode + String + + + + + -1 + -1 + none + + + Vorauszahlung % + String + + + + + -1 + -1 + none + + + Partnerart + String + + + + + -1 + -1 + none + + + Kreditor Nr. + String + + + + + -1 + -1 + none + + + Bevorzugtes Bankkonto + String + + + + + -1 + -1 + none + + + Cashflow - Zlg.-Bedingungscode + String + + + + + -1 + -1 + none + + + Primäre Kontaktnr. + String + + + + + -1 + -1 + none + + + Zuständigkeitseinheitencode + String + + + + + -1 + -1 + none + + + Lagerortcode + String + + + + + -1 + -1 + none + + + Beschaffungszeit + String + + + + + -1 + -1 + none + + + Basiskalendercode + String + + + + + -1 + -1 + none + + + Steuernummer + String + + + + + -1 + -1 + none + + + Lieferanmahnungsmethodencode + String + + + + + -1 + -1 + none + + + + + 803 + 95 + Y + +
+ + + zahlungsziele.csv + CsvInput + + N + + 1 + + none + + + ${dmi_dir}/input/zahlungsziele.csv + + + N + , + " +
Y
+ 50000 + N + N + N + N + + + + Id + String + + + + + -1 + -1 + none + + + Name + String + + + + + -1 + -1 + none + + + Text + String + + + + + -1 + -1 + none + + + Tage + String + + + + + -1 + -1 + none + + + Skonto + String + + + + + -1 + -1 + none + + + Nettotage + String + + + + + -1 + -1 + none + + + + + 317 + 77 + Y + +
+ + + + + + N + + diff --git a/dmi/run1/Produktdaten.ktr b/dmi/run1/Produktdaten.ktr new file mode 100644 index 00000000..5b364d9e --- /dev/null +++ b/dmi/run1/Produktdaten.ktr @@ -0,0 +1,4887 @@ + + + Produktdaten + + + + Normal + / + + + + + +
+ + + +ID_BATCHYID_BATCHCHANNEL_IDYCHANNEL_IDTRANSNAMEYTRANSNAMESTATUSYSTATUSLINES_READYLINES_READLINES_WRITTENYLINES_WRITTENLINES_UPDATEDYLINES_UPDATEDLINES_INPUTYLINES_INPUTLINES_OUTPUTYLINES_OUTPUTLINES_REJECTEDYLINES_REJECTEDERRORSYERRORSSTARTDATEYSTARTDATEENDDATEYENDDATELOGDATEYLOGDATEDEPDATEYDEPDATEREPLAYDATEYREPLAYDATELOG_FIELDYLOG_FIELDEXECUTING_SERVERNEXECUTING_SERVEREXECUTING_USERNEXECUTING_USERCLIENTNCLIENT + + +
+ + +ID_BATCHYID_BATCHSEQ_NRYSEQ_NRLOGDATEYLOGDATETRANSNAMEYTRANSNAMESTEPNAMEYSTEPNAMESTEP_COPYYSTEP_COPYLINES_READYLINES_READLINES_WRITTENYLINES_WRITTENLINES_UPDATEDYLINES_UPDATEDLINES_INPUTYLINES_INPUTLINES_OUTPUTYLINES_OUTPUTLINES_REJECTEDYLINES_REJECTEDERRORSYERRORSINPUT_BUFFER_ROWSYINPUT_BUFFER_ROWSOUTPUT_BUFFER_ROWSYOUTPUT_BUFFER_ROWS + + +
+ +ID_BATCHYID_BATCHCHANNEL_IDYCHANNEL_IDLOG_DATEYLOG_DATELOGGING_OBJECT_TYPEYLOGGING_OBJECT_TYPEOBJECT_NAMEYOBJECT_NAMEOBJECT_COPYYOBJECT_COPYREPOSITORY_DIRECTORYYREPOSITORY_DIRECTORYFILENAMEYFILENAMEOBJECT_IDYOBJECT_IDOBJECT_REVISIONYOBJECT_REVISIONPARENT_CHANNEL_IDYPARENT_CHANNEL_IDROOT_CHANNEL_IDYROOT_CHANNEL_ID + + +
+ +ID_BATCHYID_BATCHCHANNEL_IDYCHANNEL_IDLOG_DATEYLOG_DATETRANSNAMEYTRANSNAMESTEPNAMEYSTEPNAMESTEP_COPYYSTEP_COPYLINES_READYLINES_READLINES_WRITTENYLINES_WRITTENLINES_UPDATEDYLINES_UPDATEDLINES_INPUTYLINES_INPUTLINES_OUTPUTYLINES_OUTPUTLINES_REJECTEDYLINES_REJECTEDERRORSYERRORSLOG_FIELDNLOG_FIELD + + +
+ +ID_BATCHYID_BATCHCHANNEL_IDYCHANNEL_IDLOG_DATEYLOG_DATEMETRICS_DATEYMETRICS_DATEMETRICS_CODEYMETRICS_CODEMETRICS_DESCRIPTIONYMETRICS_DESCRIPTIONMETRICS_SUBJECTYMETRICS_SUBJECTMETRICS_TYPEYMETRICS_TYPEMETRICS_VALUEYMETRICS_VALUE + + + +
+ + 0.0 + 0.0 + + 10000 + 50 + 50 + N + Y + 50000 + Y + + N + 1000 + 100 + + + + + + + + + - + 2014/12/30 09:51:06.375 + - + 2015/02/27 13:21:12.596 + + + + + Transformproduct.product.csvY + MengeneinheitenMEY + Transform 2product.category.csvY + Transform - Orderpointstock.warehouse.orderpoint.csvN + Lieferantendatenproduct.supplierinfoN + MELieferantendatenN + ItemCategory.csvTransform 2Y + artikel_20150126.csvFilter rowsY + Filter rowswird nicht migriertY + Filter rowsDummy (do nothing) 2Y + Dummy (do nothing) 2MEY + Dummy (do nothing) 2Transform - OrderpointN + Stücklistenmrp.bomY + artikel_20150126.csvStücklistenN + Stücklistenzeilenmrp.bom.lineY + artikel_20150126.csvStücklistenzeilenN + METransformY + Transform 3product.ul.csvY + METransform 3N + Transform 3 2product.packaging.csvY + METransform 3 2N + Inventurauftrag 2stock.inventory.csvN + Lagerstandstock.inventory.line.csvN + MELagerstandN + + + Dummy (do nothing) 2 + Dummy + + N + + 1 + + none + + + + + 406 + 263 + Y + + + + + Filter rows + FilterRows + + Y + + 1 + + none + + +Dummy (do nothing) 2 +wird nicht migriert + + + N + + + N + Beschreibung + IS NOT NULL + + + + N + AND + Basiseinheitencode + IS NOT NULL + + + + + + + + 404 + 174 + Y + + + + + Inventurauftrag 2 + DataGrid + + Y + + 1 + + none + + + + + id + String + + + + + -1 + -1 + N + + + name + String + + + + + -1 + -1 + N + + + state + String + + + + + -1 + -1 + N + + + + inv_initinitialbefüllungconfirm + + + + 1395 + 37 + Y + + + + + ItemCategory.csv + CsvInput + + N + + 1 + + none + + + ${dmi_dir}/input/ItemCategory.csv + + + N + , + " +
Y
+ 50000 + Y + N + N + N + + + + Code + String + + + + + -1 + -1 + none + + + Beschreibung + String + + + + + -1 + -1 + none + + + Vorg.-Produktbuchungsgruppe + String + + + + + -1 + -1 + none + + + Vorg.-Lagerbuchungsgruppe + String + + + + + -1 + -1 + none + + + Vorg.-Steuergruppencode + String + + + + + -1 + -1 + none + + + Vorg.-Lagerabgangsmethode + String + + + + + -1 + -1 + none + + + Vorg.-MwSt.-Produktbuchungsgr. + String + + + + + -1 + -1 + none + + + + + 628 + 79 + Y + +
+ + + Kategorie + StreamLookup + + Y + + 1 + + none + + + Transform 2 + N + Y + N + N + + + Artikelgruppe + name + + + id + help_category + + None + + + + + 503 + 352 + N + + + + + Lagerstand + UserDefinedJavaClass + + N + + 1 + + none + + + + + + TRANSFORM_CLASS + + Processor + + + + + + + id + + String + + -1 + + -1 + + + + inventory_id/id + + String + + -1 + + -1 + + + + product_id/id + + String + + -1 + + -1 + + + + location_id/id + + String + + -1 + + -1 + + + + product_uom_id/id + + String + + -1 + + -1 + + + + product_qty + + String + + -1 + + -1 + + + Y + + + 1231 + 39 + Y + + + + + Lieferantendaten + UserDefinedJavaClass + + N + + 1 + + none + + + + + + TRANSFORM_CLASS + + Processor + + + + + + + id + + String + + -1 + + -1 + + + + name/id + + String + + -1 + + -1 + + + + product_name + + String + + -1 + + -1 + + + + product_code + + String + + -1 + + -1 + + + + sequence + + String + + -1 + + -1 + + + + product_uom/id + + String + + -1 + + -1 + + + + min_qty + + String + + -1 + + -1 + + + + product_tmpl_id/id + + String + + -1 + + -1 + + + + delay + + String + + -1 + + -1 + + + + pricelist_ids/min_quantity + + String + + -1 + + -1 + + + + pricelist_ids/price + + String + + -1 + + -1 + + + Y + + + 1069 + 552 + Y + + + + + ME + StreamLookup + + N + + 1 + + none + + + Mengeneinheiten + N + Y + N + N + + + Basiseinheitencode + key + + + value + help_me + + None + + + + + 398 + 387 + Y + + + + + Mengeneinheiten + DataGrid + + Y + + 1 + + none + + + + + key + String + + + + + -1 + -1 + N + + + value + String + + + + + -1 + -1 + N + + + + GARNproduct.product_uom_unit + KGproduct.product_uom_unit + KMproduct.product_uom_unit + LFMproduct.product_uom_unit + product.product_uom_unit + PAproduct.product_uom_unit + PAUproduct.product_uom_unit + SETproduct.product_uom_unit + STDproduct.product_uom_unit + STKproduct.product_uom_unit + TAGproduct.product_uom_unit + TFLproduct.product_uom_unit + DSproduct.product_uom_unit + + + + 200 + 255 + Y + + + + + Stücklisten + UserDefinedJavaClass + + N + + 1 + + none + + + + + + TRANSFORM_CLASS + + Processor + + 0) { + // Gruppenwechsel + product_id = nr; + name = get(Fields.In, "Bestellbezeichnung").getString(r); + first = true; + } else { + if (first) { + Object[] out = createOutputRow(r, data.outputRowMeta.size()); + get(Fields.Out, "id").setValue(out, "bom_" + product_id); + get(Fields.Out, "name").setValue(out, name); + get(Fields.Out, "type").setValue(out, "normal"); + + get(Fields.Out, "product_qty").setValue(out, 1); + get(Fields.Out, "product_tmpl_id/id").setValue(out, "pp_" + product_id); + get(Fields.Out, "product_uom/id").setValue(out, "product.product_uom_unit"); + putRow(data.outputRowMeta, out); + first = false; + } + } + + return true; +}]]> + + + + + id + + String + + -1 + + -1 + + + + name + + String + + -1 + + -1 + + + + type + + String + + -1 + + -1 + + + + product_tmpl_id/id + + String + + -1 + + -1 + + + + product_qty + + String + + -1 + + -1 + + + + product_uom/id + + String + + -1 + + -1 + + + Y + + + 1311 + 521 + Y + + + + + Stücklistenzeilen + UserDefinedJavaClass + + N + + 1 + + none + + + + + + TRANSFORM_CLASS + + Processor + + 0) { + // Gruppenwechsel + product_id = nr; + } else { + String sub_product = get(Fields.In, "Stueckliste").getString(r); + + Object[] out2 = createOutputRow(r, data.outputRowMeta.size()); + get(Fields.Out, "id").setValue(out2, "bl_" + product_id + "_" + sub_product); + get(Fields.Out, "type").setValue(out2, "normal"); + get(Fields.Out, "bom_id/id").setValue(out2, "bom_" + product_id); + get(Fields.Out, "product_id/id").setValue(out2, "pp_" + sub_product); + + String qty = get(Fields.In, "Stueckliste Menge").getString(r); + qty = qty.replace(",", "."); + + + get(Fields.Out, "product_qty").setValue(out2, qty); + get(Fields.Out, "product_uom/id").setValue(out2, "product.product_uom_unit"); + putRow(data.outputRowMeta, out2); + } + + return true; +}]]> + + + + + id + + String + + -1 + + -1 + + + + type + + String + + -1 + + -1 + + + + product_id/id + + String + + -1 + + -1 + + + + product_qty + + String + + -1 + + -1 + + + + product_uom/id + + String + + -1 + + -1 + + + + bom_id/id + + String + + -1 + + -1 + + + Y + + + 1410 + 518 + Y + + + + + Transform + UserDefinedJavaClass + + N + + 1 + + none + + + + + + TRANSFORM_CLASS + + Processor + + + + + + + id + + String + + -1 + + -1 + + + + name + + String + + -1 + + -1 + + + + default_code + + String + + -1 + + -1 + + + + sale_ok + + String + + -1 + + -1 + + + + type + + String + + -1 + + -1 + + + + uom_id/id + + String + + -1 + + -1 + + + + uom_po_id/id + + String + + -1 + + -1 + + + + route_ids/id + + String + + -1 + + -1 + + + + standard_price + + String + + -1 + + -1 + + + + list_price + + String + + -1 + + -1 + + + + description + + String + + -1 + + -1 + + + + categ_id/id + + String + + -1 + + -1 + + + + purchase_ok + + String + + -1 + + -1 + + + + weight_net + + String + + -1 + + -1 + + + + zollcode + + String + + -1 + + -1 + + + + ean13 + + String + + -1 + + -1 + + + + loc_row + + String + + -1 + + -1 + + + + loc_case + + String + + -1 + + -1 + + + + volume + + String + + -1 + + -1 + + + + weight + + String + + -1 + + -1 + + + + loc_rack + + String + + -1 + + -1 + + + Y + + + 399 + 581 + Y + + + + + Transform - Orderpoint + UserDefinedJavaClass + + N + + 1 + + none + + + + + + TRANSFORM_CLASS + + Processor + + + + + + + id + + String + + -1 + + -1 + + + + name + + String + + -1 + + -1 + + + + product_id/id + + String + + -1 + + -1 + + + + product_min_qty + + String + + -1 + + -1 + + + + product_max_qty + + String + + -1 + + -1 + + + + qty_multiple + + String + + -1 + + -1 + + + Y + + + 832 + 324 + Y + + + + + Transform 2 + UserDefinedJavaClass + + N + + 1 + + none + + + + + + TRANSFORM_CLASS + + Processor + + + + + + + id + + String + + -1 + + -1 + + + + name + + String + + -1 + + -1 + + + Y + + + 644 + 400 + Y + + + + + Transform 3 + UserDefinedJavaClass + + N + + 1 + + none + + + + + + TRANSFORM_CLASS + + Processor + + + + + + + id + + String + + -1 + + -1 + + + + name + + String + + -1 + + -1 + + + + type + + String + + -1 + + -1 + + + + length + + String + + -1 + + -1 + + + + width + + String + + -1 + + -1 + + + + height + + String + + -1 + + -1 + + + + weight + + String + + -1 + + -1 + + + Y + + + 220 + 585 + Y + + + + + Transform 3 2 + UserDefinedJavaClass + + N + + 1 + + none + + + + + + TRANSFORM_CLASS + + Processor + + + + + + + id + + String + + -1 + + -1 + + + + sequence + + String + + -1 + + -1 + + + + qty + + String + + -1 + + -1 + + + + ul/id + + String + + -1 + + -1 + + + + ul_qty + + String + + -1 + + -1 + + + + ul_container/id + + String + + -1 + + -1 + + + + rows + + String + + -1 + + -1 + + + + product_tmpl_id/id + + String + + -1 + + -1 + + + + weight + + String + + -1 + + -1 + + + + code + + String + + -1 + + -1 + + + Y + + + 73 + 585 + Y + + + + + artikel_20150126.csv + CsvInput + + N + + 1 + + none + + + ${dmi_dir}/input/Item.csv + + + N + , + " +
Y
+ 50000 + N + N + N + N + + + + Nr. + String + + + + + -1 + -1 + none + + + Nummer 2 + String + + + + + -1 + -1 + none + + + Beschreibung + String + + + + + -1 + -1 + none + + + Suchbegriff + String + + + + + -1 + -1 + none + + + Beschreibung 2 + String + + + + + -1 + -1 + none + + + Basiseinheitencode + String + + + + + -1 + -1 + none + + + Preisfaktor + String + + + + + -1 + -1 + none + + + Lagerbuchungsgruppe + String + + + + + -1 + -1 + none + + + Regalnr. + String + + + + + -1 + -1 + none + + + Artikelrabattgruppe + String + + + + + -1 + -1 + none + + + Rech.-Rabatt zulassen + String + + + + + -1 + -1 + none + + + Statistikgruppe + String + + + + + -1 + -1 + none + + + Provisionsgruppe + String + + + + + -1 + -1 + none + + + VK-Preis + String + + + + + -1 + -1 + none + + + VK-Preis/DB - Berechnung + String + + + + + -1 + -1 + none + + + DB % + String + + + + + -1 + -1 + none + + + Lagerabgangsmethode + String + + + + + -1 + -1 + none + + + Einstandspreis + String + + + + + -1 + -1 + none + + + Einstandspreis (fest) + String + + + + + -1 + -1 + none + + + Direkte Kosten (neueste) + String + + + + + -1 + -1 + none + + + Indirekte Kosten % + String + + + + + -1 + -1 + none + + + Einstandspreis ist reguliert + String + + + + + -1 + -1 + none + + + Onlineregulierung zulassen + String + + + + + -1 + -1 + none + + + Kreditorennr. + String + + + + + -1 + -1 + none + + + Kred.-Artikelnr. + String + + + + + -1 + -1 + none + + + Beschaffungszeit + String + + + + + -1 + -1 + none + + + Minimalbestand + String + + + + + -1 + -1 + none + + + Maximalbestand + String + + + + + -1 + -1 + none + + + Bestellmenge + String + + + + + -1 + -1 + none + + + Alternative Artikelnr. + String + + + + + -1 + -1 + none + + + Richtpreis + String + + + + + -1 + -1 + none + + + Abgabenteil % + String + + + + + -1 + -1 + none + + + Abgabencode + String + + + + + -1 + -1 + none + + + Bruttogewicht + String + + + + + -1 + -1 + none + + + Nettogewicht + String + + + + + -1 + -1 + none + + + Anzahl pro Paket + String + + + + + -1 + -1 + none + + + Volumen + String + + + + + -1 + -1 + none + + + Haltbarkeit + String + + + + + -1 + -1 + none + + + Frachtform + String + + + + + -1 + -1 + none + + + Zollpos. + String + + + + + -1 + -1 + none + + + Zollfaktor + String + + + + + -1 + -1 + none + + + Herkunftsland/-region + String + + + + + -1 + -1 + none + + + Budgetierte Menge + String + + + + + -1 + -1 + none + + + Budgetierter Betrag + String + + + + + -1 + -1 + none + + + Budgetierter DB + String + + + + + -1 + -1 + none + + + Gesperrt + String + + + + + -1 + -1 + none + + + Korrigiert am + String + + + + + -1 + -1 + none + + + VK-Preis inkl. MwSt. + String + + + + + -1 + -1 + none + + + MwSt.-Geschäftsbuch.-G.(Preis) + String + + + + + -1 + -1 + none + + + Produktbuchungsgruppe + String + + + + + -1 + -1 + none + + + Ursprungsland/-region + String + + + + + -1 + -1 + none + + + Automat. Textbaustein + String + + + + + -1 + -1 + none + + + Nummernserie + String + + + + + -1 + -1 + none + + + Steuergruppencode + String + + + + + -1 + -1 + none + + + MwSt.-Produktbuchungsgruppe + String + + + + + -1 + -1 + none + + + Reservieren + String + + + + + -1 + -1 + none + + + Globaler Dimensionscode 1 + String + + + + + -1 + -1 + none + + + Globaler Dimensionscode 2 + String + + + + + -1 + -1 + none + + + Benutzer-ID für Ausgleichsvorschlag + String + + + + + -1 + -1 + none + + + Montagerichtlinie + String + + + + + -1 + -1 + none + + + Stücklistenebene + String + + + + + -1 + -1 + none + + + Losgröße + String + + + + + -1 + -1 + none + + + Seriennummern + String + + + + + -1 + -1 + none + + + Datum letzte Einst.-Preisber. + String + + + + + -1 + -1 + none + + + Mehrstufige Materialkosten + String + + + + + -1 + -1 + none + + + Mehrstufige Kapazitätskosten + String + + + + + -1 + -1 + none + + + Ausschuss % + String + + + + + -1 + -1 + none + + + Ohne Lagerbewertung + String + + + + + -1 + -1 + none + + + Anzahl Zyklen zusammenfassen + String + + + + + -1 + -1 + none + + + Minimale Losgröße + String + + + + + -1 + -1 + none + + + Maximale Losgröße + String + + + + + -1 + -1 + none + + + Sicherheitsbestand + String + + + + + -1 + -1 + none + + + Losgrößenrundungsfaktor + String + + + + + -1 + -1 + none + + + Sicherh.-Zuschl. Beschaff.-Zt. + String + + + + + -1 + -1 + none + + + Buchungsmethode + String + + + + + -1 + -1 + none + + + Beschaffungsmethode + String + + + + + -1 + -1 + none + + + Rundungspräzision + String + + + + + -1 + -1 + none + + + Verkaufseinheitencode + String + + + + + -1 + -1 + none + + + Einkaufseinheitencode + String + + + + + -1 + -1 + none + + + Zeitrahmen + String + + + + + -1 + -1 + none + + + Wiederbeschaffungsverfahren + String + + + + + -1 + -1 + none + + + Lagerbestand berücksichtigen + String + + + + + -1 + -1 + none + + + Produktionsart + String + + + + + -1 + -1 + none + + + Neuplanungsperiode + String + + + + + -1 + -1 + none + + + Loskumulierungsperiode + String + + + + + -1 + -1 + none + + + Toleranzperiode + String + + + + + -1 + -1 + none + + + Toleranzmenge + String + + + + + -1 + -1 + none + + + Überlauflevel + String + + + + + -1 + -1 + none + + + Herstellercode + String + + + + + -1 + -1 + none + + + Artikelkategoriencode + String + + + + + -1 + -1 + none + + + Aus Katalogartikel erstellt + String + + + + + -1 + -1 + none + + + Produktgruppencode + String + + + + + -1 + -1 + none + + + Serviceartikelgruppe + String + + + + + -1 + -1 + none + + + Artikelverfolgungscode + String + + + + + -1 + -1 + none + + + Chargennummern + String + + + + + -1 + -1 + none + + + Ablaufdatumsformel + String + + + + + -1 + -1 + none + + + Lagerhilfsmittelcode + String + + + + + -1 + -1 + none + + + Einlagerungsvorlagencode + String + + + + + -1 + -1 + none + + + Einlagerungseinheitencode + String + + + + + -1 + -1 + none + + + Inventurhäufigkeitscode + String + + + + + -1 + -1 + none + + + Letzte Aktual. Inv.-Häufigkeit + String + + + + + -1 + -1 + none + + + Nächstes Inventurdatum + String + + + + + -1 + -1 + none + + + Zuordnung verwenden + String + + + + + -1 + -1 + none + + + Beschreibung 3 + String + + + + + -1 + -1 + none + + + Minimalpreis + String + + + + + -1 + -1 + none + + + Set nicht auflösen + String + + + + + -1 + -1 + none + + + Länge (mm) + String + + + + + -1 + -1 + none + + + Breite (mm) + String + + + + + -1 + -1 + none + + + Höhe (mm) + String + + + + + -1 + -1 + none + + + Tiefe (mm) + String + + + + + -1 + -1 + none + + + Stärke (mm) + String + + + + + -1 + -1 + none + + + Inneneck (Grad) + String + + + + + -1 + -1 + none + + + Außeneck (Grad) + String + + + + + -1 + -1 + none + + + Durchmesser (mm) + String + + + + + -1 + -1 + none + + + Arbeitsplannr. + String + + + + + -1 + -1 + none + + + Fert.-Stücklistennr. + String + + + + + -1 + -1 + none + + + Einstufige Materialkosten + String + + + + + -1 + -1 + none + + + Einstufige Kapazitätskosten + String + + + + + -1 + -1 + none + + + Einstufige Fremdarbeitskosten + String + + + + + -1 + -1 + none + + + Einstufige Kap.-Gemeinkosten + String + + + + + -1 + -1 + none + + + Einstufige Prod.-Gemeinkosten + String + + + + + -1 + -1 + none + + + Gemeinkostensatz + String + + + + + -1 + -1 + none + + + Mehrstufige Fremdarbeitskosten + String + + + + + -1 + -1 + none + + + Mehrstufige Prod.-Gemeinkosten + String + + + + + -1 + -1 + none + + + Mehrstufige Kap.-Gemeinkosten + String + + + + + -1 + -1 + none + + + Bedarfsverursacherart + String + + + + + -1 + -1 + none + + + Kritisch + String + + + + + -1 + -1 + none + + + Gemeinsame Artikelnr. + String + + + + + -1 + -1 + none + + + + + 402 + 75 + Y + +
+ + + mrp.bom + TextFileOutput + + Y + + 1 + + none + + + , + " + Y + N +
Y
+
N
+ DOS + None + UTF-8 + + N + + Y + + ${dmi_dir}/cam_dmi/mrp.bom + N + N + N + csv + N + N + N + N + N + N + + Y + N + N + 0 + + + + id + String + + + + + + none + -1 + -1 + + + name + String + + + + + + none + -1 + -1 + + + type + String + + + + + + none + -1 + -1 + + + product_tmpl_id/id + String + + + + + + none + -1 + -1 + + + product_qty + String + + + + + + none + -1 + -1 + + + product_uom/id + String + + + + + + none + -1 + -1 + + + + + 1306 + 656 + Y + +
+ + + mrp.bom.line + TextFileOutput + + Y + + 1 + + none + + + , + " + Y + N +
Y
+
N
+ DOS + None + UTF-8 + + N + + Y + + ${dmi_dir}/cam_dmi/mrp.bom.line + N + N + N + csv + N + N + N + N + N + N + + Y + N + N + 0 + + + + id + String + + + + + + none + -1 + -1 + + + type + String + + + + + + none + -1 + -1 + + + product_id/id + String + + + + + + none + -1 + -1 + + + product_qty + String + + + + + + none + -1 + -1 + + + product_uom/id + String + + + + + + none + -1 + -1 + + + bom_id/id + String + + + + + + none + -1 + -1 + + + + + 1408 + 654 + Y + +
+ + + product.category.csv + TextFileOutput + + Y + + 1 + + none + + + , + " + N + N +
Y
+
N
+ DOS + None + UTF-8 + + N + + Y + + ${dmi_dir}/cam_dmi/product.category + N + N + N + csv + N + N + N + N + N + N + + Y + N + N + 0 + + + + id + String + + + + + + none + -1 + -1 + + + name + String + + + + + + none + -1 + -1 + + + + + 644 + 655 + Y + +
+ + + product.packaging.csv + TextFileOutput + + Y + + 1 + + none + + + , + " + Y + N +
Y
+
N
+ DOS + None + UTF-8 + + N + + Y + + ${dmi_dir}/cam_dmi/product.packaging + N + N + N + csv + N + N + N + N + N + N + + Y + N + N + 0 + + + + id + String + + + + + + none + -1 + -1 + + + sequence + String + + + + + + none + -1 + -1 + + + qty + String + + + + + + none + -1 + -1 + + + ul/id + String + + + + + + none + -1 + -1 + + + ul_qty + String + + + + + + none + -1 + -1 + + + ul_container/id + String + + + + + + none + -1 + -1 + + + rows + String + + + + + + none + -1 + -1 + + + product_tmpl_id/id + String + + + + + + none + -1 + -1 + + + weight + String + + + + + + none + -1 + -1 + + + code + String + + + + + + none + -1 + -1 + + + + + 76 + 708 + Y + +
+ + + product.product.csv + TextFileOutput + + Y + + 1 + + none + + + , + " + Y + N +
Y
+
N
+ DOS + None + UTF-8 + + N + + Y + + ${dmi_dir}/cam_dmi/product.product + N + N + N + csv + N + N + N + N + N + N + + Y + N + N + 0 + + + + id + String + + + + + + none + -1 + -1 + + + name + String + + + + + + none + -1 + -1 + + + default_code + String + + + + + + none + -1 + -1 + + + sale_ok + String + + + + + + none + -1 + -1 + + + type + String + + + + + + none + -1 + -1 + + + uom_id/id + String + + + + + + none + -1 + -1 + + + uom_po_id/id + String + + + + + + none + -1 + -1 + + + route_ids/id + String + + + + + + none + -1 + -1 + + + standard_price + String + + + + + + none + -1 + -1 + + + list_price + String + + + + + + none + -1 + -1 + + + description + String + + + + + + none + -1 + -1 + + + categ_id/id + String + + + + + + none + -1 + -1 + + + purchase_ok + String + + + + + + none + -1 + -1 + + + weight_net + String + + + + + + none + -1 + -1 + + + zollcode + String + + + + + + none + -1 + -1 + + + ean13 + String + + + + + + none + -1 + -1 + + + loc_row + String + + + + + + none + -1 + -1 + + + loc_case + String + + + + + + none + -1 + -1 + + + volume + String + + + + + + none + -1 + -1 + + + weight + String + + + + + + none + -1 + -1 + + + loc_rack + String + + + + + + none + -1 + -1 + + + + + 399 + 703 + Y + +
+ + + product.supplierinfo + TextFileOutput + + Y + + 1 + + none + + + , + " + Y + N +
Y
+
N
+ DOS + None + UTF-8 + + N + + Y + + ${dmi_dir}/cam_dmi/product.supplierinfo + N + N + N + csv + N + N + N + N + N + N + + Y + N + N + 0 + + + + id + String + + + + + + none + -1 + -1 + + + name/id + String + + + + + + none + -1 + -1 + + + product_name + String + + + + + + none + -1 + -1 + + + product_code + String + + + + + + none + -1 + -1 + + + sequence + String + + + + + + none + -1 + -1 + + + product_uom/id + String + + + + + + none + -1 + -1 + + + min_qty + String + + + + + + none + -1 + -1 + + + product_tmpl_id/id + String + + + + + + none + -1 + -1 + + + delay + String + + + + + + none + -1 + -1 + + + pricelist_ids/min_quantity + String + + + + + + none + -1 + -1 + + + pricelist_ids/price + String + + + + + + none + -1 + -1 + + + + + 1073 + 656 + Y + +
+ + + product.ul.csv + TextFileOutput + + Y + + 1 + + none + + + , + " + Y + N +
Y
+
N
+ DOS + None + UTF-8 + + N + + Y + + ${dmi_dir}/cam_dmi/product.ul + N + N + N + csv + N + N + N + N + N + N + + Y + N + N + 0 + + + + id + String + + + + + + none + -1 + -1 + + + name + String + + + + + + none + -1 + -1 + + + type + String + + + + + + none + -1 + -1 + + + length + String + + + + + + none + -1 + -1 + + + width + String + + + + + + none + -1 + -1 + + + height + String + + + + + + none + -1 + -1 + + + weight + String + + + + + + none + -1 + -1 + + + + + 223 + 706 + Y + +
+ + + stock.inventory.csv + TextFileOutput + + Y + + 1 + + none + + + , + " + N + N +
Y
+
N
+ DOS + None + + + N + + Y + + ${dmi_dir}/cam_dmi/stock.inventory + N + N + N + csv + N + N + N + N + N + N + + Y + N + N + 0 + + + + id + String + + + + + + none + -1 + -1 + + + name + String + + + + + + none + -1 + -1 + + + state + String + + + + + + none + -1 + -1 + + + + + 1405 + 340 + Y + +
+ + + stock.inventory.line.csv + TextFileOutput + + Y + + 1 + + none + + + , + " + N + N +
Y
+
N
+ DOS + None + + + N + + Y + + ${dmi_dir}/cam_dmi/stock.inventory.line + N + N + N + csv + N + N + N + N + N + N + + Y + N + N + 0 + + + + id + String + + + + + + none + -1 + -1 + + + inventory_id/id + String + + + + + + none + -1 + -1 + + + product_id/id + String + + + + + + none + -1 + -1 + + + location_id/id + String + + + + + + none + -1 + -1 + + + product_uom_id/id + String + + + + + + none + -1 + -1 + + + product_qty + String + + + + + + none + -1 + -1 + + + + + 1235 + 342 + Y + +
+ + + stock.warehouse.orderpoint.csv + TextFileOutput + + Y + + 1 + + none + + + , + " + N + N +
Y
+
N
+ DOS + None + UTF-8 + + N + + Y + + ${dmi_dir}/cam_dmi/stock.warehouse.orderpoint + N + N + N + csv + N + N + N + N + N + N + + Y + N + N + 0 + + + + id + String + + + + + + none + -1 + -1 + + + name + String + + + + + + none + -1 + -1 + + + product_id/id + String + + + + + + none + -1 + -1 + + + product_min_qty + String + + + + + + none + -1 + -1 + + + product_max_qty + String + + + + + + none + -1 + -1 + + + qty_multiple + String + + + + + + none + -1 + -1 + + + + + 833 + 656 + Y + +
+ + + wird nicht migriert + Dummy + + Y + + 1 + + none + + + + + 268 + 127 + Y + + + + + + + + N + + diff --git a/dmi/run1/VAT-Lookup.ktr b/dmi/run1/VAT-Lookup.ktr new file mode 100644 index 00000000..885d87f7 --- /dev/null +++ b/dmi/run1/VAT-Lookup.ktr @@ -0,0 +1,2305 @@ + + + VAT-Lookup + + + + Normal + 0 + / + + + + + +
+ + + +ID_BATCHYID_BATCHCHANNEL_IDYCHANNEL_IDTRANSNAMEYTRANSNAMESTATUSYSTATUSLINES_READYLINES_READLINES_WRITTENYLINES_WRITTENLINES_UPDATEDYLINES_UPDATEDLINES_INPUTYLINES_INPUTLINES_OUTPUTYLINES_OUTPUTLINES_REJECTEDYLINES_REJECTEDERRORSYERRORSSTARTDATEYSTARTDATEENDDATEYENDDATELOGDATEYLOGDATEDEPDATEYDEPDATEREPLAYDATEYREPLAYDATELOG_FIELDYLOG_FIELDEXECUTING_SERVERNEXECUTING_SERVEREXECUTING_USERNEXECUTING_USERCLIENTNCLIENT + + +
+ + +ID_BATCHYID_BATCHSEQ_NRYSEQ_NRLOGDATEYLOGDATETRANSNAMEYTRANSNAMESTEPNAMEYSTEPNAMESTEP_COPYYSTEP_COPYLINES_READYLINES_READLINES_WRITTENYLINES_WRITTENLINES_UPDATEDYLINES_UPDATEDLINES_INPUTYLINES_INPUTLINES_OUTPUTYLINES_OUTPUTLINES_REJECTEDYLINES_REJECTEDERRORSYERRORSINPUT_BUFFER_ROWSYINPUT_BUFFER_ROWSOUTPUT_BUFFER_ROWSYOUTPUT_BUFFER_ROWS + + +
+ +ID_BATCHYID_BATCHCHANNEL_IDYCHANNEL_IDLOG_DATEYLOG_DATELOGGING_OBJECT_TYPEYLOGGING_OBJECT_TYPEOBJECT_NAMEYOBJECT_NAMEOBJECT_COPYYOBJECT_COPYREPOSITORY_DIRECTORYYREPOSITORY_DIRECTORYFILENAMEYFILENAMEOBJECT_IDYOBJECT_IDOBJECT_REVISIONYOBJECT_REVISIONPARENT_CHANNEL_IDYPARENT_CHANNEL_IDROOT_CHANNEL_IDYROOT_CHANNEL_ID + + +
+ +ID_BATCHYID_BATCHCHANNEL_IDYCHANNEL_IDLOG_DATEYLOG_DATETRANSNAMEYTRANSNAMESTEPNAMEYSTEPNAMESTEP_COPYYSTEP_COPYLINES_READYLINES_READLINES_WRITTENYLINES_WRITTENLINES_UPDATEDYLINES_UPDATEDLINES_INPUTYLINES_INPUTLINES_OUTPUTYLINES_OUTPUTLINES_REJECTEDYLINES_REJECTEDERRORSYERRORSLOG_FIELDNLOG_FIELD + + +
+ +ID_BATCHYID_BATCHCHANNEL_IDYCHANNEL_IDLOG_DATEYLOG_DATEMETRICS_DATEYMETRICS_DATEMETRICS_CODEYMETRICS_CODEMETRICS_DESCRIPTIONYMETRICS_DESCRIPTIONMETRICS_SUBJECTYMETRICS_SUBJECTMETRICS_TYPEYMETRICS_TYPEMETRICS_VALUEYMETRICS_VALUE + + + +
+ + 0.0 + 0.0 + + 10000 + 50 + 50 + N + Y + 50000 + Y + + N + 1000 + 100 + + + + + + + + + - + 2014/12/30 12:25:19.832 + - + 2015/02/19 15:05:27.455 + + + + + Customers.csvSelect valuesY + lieferanten_neu.csvSelect values 2Y + Select valuesCreate URLY + Select values 2Create URLY + Create URLREST Client 1Y + Get data from XMLAufbereitenY + Aufbereitenvat_lookup.csvY + Create URLREST Client 2Y + Create URLREST Client 3Y + Create URLREST Client 4Y + REST Client 2MergeY + REST Client 3MergeY + REST Client 4MergeY + REST Client 1MergeY + MergeGet data from XMLY + Create URLREST Client 5Y + Create URLREST Client 0Y + REST Client 0MergeY + REST Client 5MergeY + + + Aufbereiten + UserDefinedJavaClass + + N + + 1 + + none + + + + + + TRANSFORM_CLASS + + Processor + + + + + + + vat_old + + String + + -1 + + -1 + + + + vat_new + + String + + -1 + + -1 + + + Y + + + 353 + 564 + Y + + + + + Create URL + UserDefinedJavaClass + + Y + + 1 + + none + + + + + + TRANSFORM_CLASS + + Processor + + / + String url = "http://vatid.eu/check/"; + String country = vat.substring(0,2); + String vat_nr = vat.substring(2,vat.length()); + + get(Fields.Out, "help_url").setValue(out, url + "/" + country + "/" + vat_nr); + get(Fields.Out, "vat_old").setValue(out, get(Fields.In, "vat").getString(r)); + // Send the row on to the next step. + putRow(data.outputRowMeta, out); + } + + return true; +}]]> + + + + + help_url + + String + + -1 + + -1 + + + + vat_old + + String + + -1 + + -1 + + + Y + + + 367 + 228 + Y + + + + + Get data from XML + getXMLData + + Y + + 1 + + none + + + N + + N + N + N + N + N + N + N + N + Y + + UTF-8 + + + + + N + N + + + + valid + /response/valid + node + valueof + None + + + + + -1 + -1 + none + N + + + vatnr + /response/vat-number + node + valueof + None + + + + + -1 + -1 + none + N + + + country_code + /response/country-code + node + valueof + None + + + + + -1 + -1 + none + N + + + 0 + /response/valid + Y + N + help_result + + + + + + + + + + + + 354 + 488 + Y + + + + + REST Client 1 + Rest + + N + + 1 + + none + + + TEXT PLAIN + GET + + Y + N + + help_url + + + Encrypted + + + N + + Encrypted + + + + + + help_result + help_resultcode + + + + + 199 + 288 + Y + + + + + Select values + SelectValues + + Y + + 1 + + none + + + USt-IdNr. + vat + -2 + -2 + N + + + 254 + 159 + Y + + + + + Select values 2 + SelectValues + + Y + + 1 + + none + + + USt-IdNr. + vat + -2 + -2 + N + + + 466 + 163 + Y + + + + + Customers.csv + CsvInput + + Y + + 1 + + none + + + ${dmi_dir}/input/Customer.csv + + + N + , + " +
Y
+ 50000 + Y + N + N + N + UTF-8 + + + Nr. + String + + + + + -1 + -1 + none + + + Name + String + + + + + -1 + -1 + none + + + Suchbegriff + String + + + + + -1 + -1 + none + + + Name 2 + String + + + + + -1 + -1 + none + + + Adresse + String + + + + + -1 + -1 + none + + + Adresse 2 + String + + + + + -1 + -1 + none + + + Ort + String + + + + + -1 + -1 + none + + + Kontakt + String + + + + + -1 + -1 + none + + + Telefonnr. + String + + + + + -1 + -1 + none + + + Telexnr. + String + + + + + -1 + -1 + none + + + Unsere Kontonr. + String + + + + + -1 + -1 + none + + + Gebietscode + String + + + + + -1 + -1 + none + + + Globaler Dimensionscode 1 + String + + + + + -1 + -1 + none + + + Globaler Dimensionscode 2 + String + + + + + -1 + -1 + none + + + Unternehmenskette + String + + + + + -1 + -1 + none + + + Budgetierter Betrag + String + + + + + -1 + -1 + none + + + Kreditlimit (MW) + String + + + + + -1 + -1 + none + + + Debitorenbuchungsgruppe + String + + + + + -1 + -1 + none + + + Währungscode + String + + + + + -1 + -1 + none + + + Debitorenpreisgruppe + String + + + + + -1 + -1 + none + + + Sprachcode + String + + + + + -1 + -1 + none + + + Statistikgruppe + String + + + + + -1 + -1 + none + + + Zlg.-Bedingungscode + String + + + + + -1 + -1 + none + + + Zinskonditionencode + String + + + + + -1 + -1 + none + + + Verkäufercode + String + + + + + -1 + -1 + none + + + Lieferbedingungscode + String + + + + + -1 + -1 + none + + + Zustellercode + String + + + + + -1 + -1 + none + + + Transitstelle + String + + + + + -1 + -1 + none + + + Rechnungsrabattcode + String + + + + + -1 + -1 + none + + + Debitorenrabattgruppe + String + + + + + -1 + -1 + none + + + Länder-/Regionscode + String + + + + + -1 + -1 + none + + + Einzugsverfahren + String + + + + + -1 + -1 + none + + + Betrag + String + + + + + -1 + -1 + none + + + Gesperrt + String + + + + + -1 + -1 + none + + + Anzahl Rechnungskopien + String + + + + + -1 + -1 + none + + + Letzte Kontoauszugsnr. + String + + + + + -1 + -1 + none + + + Kontoauszüge drucken + String + + + + + -1 + -1 + none + + + Rech. an Deb.-Nr. + String + + + + + -1 + -1 + none + + + Priorität + String + + + + + -1 + -1 + none + + + Zahlungsformcode + String + + + + + -1 + -1 + none + + + Korrigiert am + String + + + + + -1 + -1 + none + + + Ausgleichsmethode + String + + + + + -1 + -1 + none + + + Preise inkl. MwSt. + String + + + + + -1 + -1 + none + + + Lagerortcode + String + + + + + -1 + -1 + none + + + Faxnr. + String + + + + + -1 + -1 + none + + + Telex Namengeber + String + + + + + -1 + -1 + none + + + USt-IdNr. + String + + + + + -1 + -1 + none + + + Sammelrechnung + String + + + + + -1 + -1 + none + + + Geschäftsbuchungsgruppe + String + + + + + -1 + -1 + none + + + PLZ-Code + String + + + + + -1 + -1 + none + + + Bundesregion + String + + + + + -1 + -1 + none + + + E-Mail + String + + + + + -1 + -1 + none + + + Homepage + String + + + + + -1 + -1 + none + + + Mahnmethodencode + String + + + + + -1 + -1 + none + + + Nummernserie + String + + + + + -1 + -1 + none + + + Steuergebietscode + String + + + + + -1 + -1 + none + + + Steuerpflichtig + String + + + + + -1 + -1 + none + + + MwSt.-Geschäftsbuchungsgruppe + String + + + + + -1 + -1 + none + + + Reservieren + String + + + + + -1 + -1 + none + + + Zahlungstoleranz sperren + String + + + + + -1 + -1 + none + + + IC-Partnercode + String + + + + + -1 + -1 + none + + + Vorauszahlung % + String + + + + + -1 + -1 + none + + + Partnerart + String + + + + + -1 + -1 + none + + + Bevorzugtes Bankkonto + String + + + + + -1 + -1 + none + + + Cashflow - Zlg.-Bedingungscode + String + + + + + -1 + -1 + none + + + Primäre Kontaktnr. + String + + + + + -1 + -1 + none + + + Zuständigkeitseinheit + String + + + + + -1 + -1 + none + + + Versandanweisung + String + + + + + -1 + -1 + none + + + Transportzeit + String + + + + + -1 + -1 + none + + + Zustellertransportartencode + String + + + + + -1 + -1 + none + + + Servicegebietscode + String + + + + + -1 + -1 + none + + + Zeilenrabatt zulassen + String + + + + + -1 + -1 + none + + + Basiskalendercode + String + + + + + -1 + -1 + none + + + Verk. an Adr. in Ang. v. kop. + String + + + + + -1 + -1 + none + + + Rabatte drucken + String + + + + + -1 + -1 + none + + + + + 253 + 69 + Y + +
+ + + lieferanten_neu.csv + CsvInput + + N + + 1 + + none + + + ${dmi_dir}/input/vendor.csv + + + N + , + " +
Y
+ 50000 + Y + N + N + N + UTF-8 + + + Nr. + String + + + + + -1 + -1 + none + + + Name + String + + + + + -1 + -1 + none + + + Suchbegriff + String + + + + + -1 + -1 + none + + + Name 2 + String + + + + + -1 + -1 + none + + + Adresse + String + + + + + -1 + -1 + none + + + Adresse 2 + String + + + + + -1 + -1 + none + + + Ort + String + + + + + -1 + -1 + none + + + Kontakt + String + + + + + -1 + -1 + none + + + Telefonnr. + String + + + + + -1 + -1 + none + + + Telexnr. + String + + + + + -1 + -1 + none + + + Unsere Kontonr. + String + + + + + -1 + -1 + none + + + Gebietscode + String + + + + + -1 + -1 + none + + + Globaler Dimensionscode 1 + String + + + + + -1 + -1 + none + + + Globaler Dimensionscode 2 + String + + + + + -1 + -1 + none + + + Budgetierter Betrag + String + + + + + -1 + -1 + none + + + Kreditorenbuchungsgruppe + String + + + + + -1 + -1 + none + + + Währungscode + String + + + + + -1 + -1 + none + + + Sprachcode + String + + + + + -1 + -1 + none + + + Statistikgruppe + String + + + + + -1 + -1 + none + + + Zlg.-Bedingungscode + String + + + + + -1 + -1 + none + + + Zinskonditionencode + String + + + + + -1 + -1 + none + + + Einkäufercode + String + + + + + -1 + -1 + none + + + Lieferbedingungscode + String + + + + + -1 + -1 + none + + + Zustellercode + String + + + + + -1 + -1 + none + + + Rechnungsrabattcode + String + + + + + -1 + -1 + none + + + Länder-/Regionscode + String + + + + + -1 + -1 + none + + + Gesperrt + String + + + + + -1 + -1 + none + + + Zahlung an Kred.-Nr. + String + + + + + -1 + -1 + none + + + Priorität + String + + + + + -1 + -1 + none + + + Zahlungsformcode + String + + + + + -1 + -1 + none + + + Korrigiert am + String + + + + + -1 + -1 + none + + + Ausgleichsmethode + String + + + + + -1 + -1 + none + + + EK-Preise inkl. MwSt. + String + + + + + -1 + -1 + none + + + Faxnr. + String + + + + + -1 + -1 + none + + + Telex Namengeber + String + + + + + -1 + -1 + none + + + USt-IdNr. + String + + + + + -1 + -1 + none + + + Geschäftsbuchungsgruppe + String + + + + + -1 + -1 + none + + + PLZ-Code + String + + + + + -1 + -1 + none + + + Bundesregion + String + + + + + -1 + -1 + none + + + E-Mail + String + + + + + -1 + -1 + none + + + Homepage + String + + + + + -1 + -1 + none + + + Nummernserie + String + + + + + -1 + -1 + none + + + Steuergebietscode + String + + + + + -1 + -1 + none + + + Steuerpflichtig + String + + + + + -1 + -1 + none + + + MwSt.-Geschäftsbuchungsgruppe + String + + + + + -1 + -1 + none + + + Zahlungstoleranz sperren + String + + + + + -1 + -1 + none + + + IC-Partnercode + String + + + + + -1 + -1 + none + + + Vorauszahlung % + String + + + + + -1 + -1 + none + + + Partnerart + String + + + + + -1 + -1 + none + + + Kreditor Nr. + String + + + + + -1 + -1 + none + + + Bevorzugtes Bankkonto + String + + + + + -1 + -1 + none + + + Cashflow - Zlg.-Bedingungscode + String + + + + + -1 + -1 + none + + + Primäre Kontaktnr. + String + + + + + -1 + -1 + none + + + Zuständigkeitseinheitencode + String + + + + + -1 + -1 + none + + + Lagerortcode + String + + + + + -1 + -1 + none + + + Beschaffungszeit + String + + + + + -1 + -1 + none + + + Basiskalendercode + String + + + + + -1 + -1 + none + + + Steuernummer + String + + + + + -1 + -1 + none + + + Lieferanmahnungsmethodencode + String + + + + + -1 + -1 + none + + + + + 466 + 70 + Y + +
+ + + vat_lookup.csv + TextFileOutput + + Y + + 1 + + none + + + , + " + N + N +
Y
+
N
+ DOS + None + UTF-8 + + N + + Y + + ${dmi_dir}/cam_dmi/vat_lookup + N + N + N + csv + N + N + N + N + N + N + + Y + N + N + 0 + + + + vat_old + String + + + + + + none + -1 + -1 + + + vat_new + String + + + + + + none + -1 + -1 + + + + + 353 + 648 + Y + +
+ + + REST Client 2 + Rest + + N + + 1 + + none + + + TEXT PLAIN + GET + + Y + N + + help_url + + + Encrypted + + + N + + Encrypted + + + + + + help_result + help_resultcode + + + + + 311 + 287 + Y + + + + + REST Client 3 + Rest + + N + + 1 + + none + + + TEXT PLAIN + GET + + Y + N + + help_url + + + Encrypted + + + N + + Encrypted + + + + + + help_result + help_resultcode + + + + + 411 + 287 + Y + + + + + REST Client 4 + Rest + + N + + 1 + + none + + + TEXT PLAIN + GET + + Y + N + + help_url + + + Encrypted + + + N + + Encrypted + + + + + + help_result + help_resultcode + + + + + 511 + 286 + Y + + + + + Merge + Dummy + + Y + + 1 + + none + + + + + 356 + 406 + Y + + + + + REST Client 5 + Rest + + N + + 1 + + none + + + TEXT PLAIN + GET + + Y + N + + help_url + + + Encrypted + + + N + + Encrypted + + + + + + help_result + help_resultcode + + + + + 613 + 286 + Y + + + + + REST Client 0 + Rest + + N + + 1 + + none + + + TEXT PLAIN + GET + + Y + N + + help_url + + + Encrypted + + + N + + Encrypted + + + + + + help_result + help_resultcode + + + + + 81 + 287 + Y + + + + + + + + N + + diff --git a/dmi/run1/Validation.ktr b/dmi/run1/Validation.ktr new file mode 100644 index 00000000..4f8d74dd --- /dev/null +++ b/dmi/run1/Validation.ktr @@ -0,0 +1,2875 @@ + + + Validation + + + + Normal + 0 + / + + + + + +
+ + + +ID_BATCHYID_BATCHCHANNEL_IDYCHANNEL_IDTRANSNAMEYTRANSNAMESTATUSYSTATUSLINES_READYLINES_READLINES_WRITTENYLINES_WRITTENLINES_UPDATEDYLINES_UPDATEDLINES_INPUTYLINES_INPUTLINES_OUTPUTYLINES_OUTPUTLINES_REJECTEDYLINES_REJECTEDERRORSYERRORSSTARTDATEYSTARTDATEENDDATEYENDDATELOGDATEYLOGDATEDEPDATEYDEPDATEREPLAYDATEYREPLAYDATELOG_FIELDYLOG_FIELDEXECUTING_SERVERNEXECUTING_SERVEREXECUTING_USERNEXECUTING_USERCLIENTNCLIENT + + +
+ + +ID_BATCHYID_BATCHSEQ_NRYSEQ_NRLOGDATEYLOGDATETRANSNAMEYTRANSNAMESTEPNAMEYSTEPNAMESTEP_COPYYSTEP_COPYLINES_READYLINES_READLINES_WRITTENYLINES_WRITTENLINES_UPDATEDYLINES_UPDATEDLINES_INPUTYLINES_INPUTLINES_OUTPUTYLINES_OUTPUTLINES_REJECTEDYLINES_REJECTEDERRORSYERRORSINPUT_BUFFER_ROWSYINPUT_BUFFER_ROWSOUTPUT_BUFFER_ROWSYOUTPUT_BUFFER_ROWS + + +
+ +ID_BATCHYID_BATCHCHANNEL_IDYCHANNEL_IDLOG_DATEYLOG_DATELOGGING_OBJECT_TYPEYLOGGING_OBJECT_TYPEOBJECT_NAMEYOBJECT_NAMEOBJECT_COPYYOBJECT_COPYREPOSITORY_DIRECTORYYREPOSITORY_DIRECTORYFILENAMEYFILENAMEOBJECT_IDYOBJECT_IDOBJECT_REVISIONYOBJECT_REVISIONPARENT_CHANNEL_IDYPARENT_CHANNEL_IDROOT_CHANNEL_IDYROOT_CHANNEL_ID + + +
+ +ID_BATCHYID_BATCHCHANNEL_IDYCHANNEL_IDLOG_DATEYLOG_DATETRANSNAMEYTRANSNAMESTEPNAMEYSTEPNAMESTEP_COPYYSTEP_COPYLINES_READYLINES_READLINES_WRITTENYLINES_WRITTENLINES_UPDATEDYLINES_UPDATEDLINES_INPUTYLINES_INPUTLINES_OUTPUTYLINES_OUTPUTLINES_REJECTEDYLINES_REJECTEDERRORSYERRORSLOG_FIELDNLOG_FIELD + + +
+ +ID_BATCHYID_BATCHCHANNEL_IDYCHANNEL_IDLOG_DATEYLOG_DATEMETRICS_DATEYMETRICS_DATEMETRICS_CODEYMETRICS_CODEMETRICS_DESCRIPTIONYMETRICS_DESCRIPTIONMETRICS_SUBJECTYMETRICS_SUBJECTMETRICS_TYPEYMETRICS_TYPEMETRICS_VALUEYMETRICS_VALUE + + + +
+ + 0.0 + 0.0 + + 10000 + 50 + 50 + N + Y + 50000 + Y + + N + 1000 + 100 + + + + + + + + + - + 2014/12/30 14:48:36.101 + - + 2015/02/19 17:11:58.648 + + + + + product.product.csvValidate ProduktY + res.partner.csvValidate PartnerY + stock.warehouse.orderpoint.csvValidate OrderpointsN + product.product.csvValidate OrderpointsN + product.supplierinfo.csvValidate SupplierinfoN + res.partner.csvValidate SupplierinfoN + product.product.csvValidate SupplierinfoN + product.category.csvValidate ProduktY + mrp.bom.csvValidate BoMN + product.product.csvValidate BoMN + mrp.bom.line.csvValidate BoM lineN + mrp.bom.csvValidate BoM lineN + product.product.csvValidate BoM lineN + product.ul.csvValidate Produkt ULN + product.packaging.csvValidate Produkt PackagingN + product.product.csvValidate Produkt PackagingN + product.ul.csvValidate Produkt PackagingN + product.pricelist.version.csvValidate PricelistY + product.pricelist.csvValidate PricelistY + product.pricelist.item.csvValidate Pricelist VersionY + product.pricelist.version.csvValidate Pricelist VersionY + product.pricelist.csvValidate PartnerY + account.payment.term.csvPayment Terms CustomerY + account.payment.term.csvPayment Terms SupplierY + Payment Terms CustomerValidate PartnerY + Payment Terms SupplierValidate PartnerY + + + Validate Produkt + Validator + + Y + + 1 + + none + + +N +N +| + uom_id/id +uom_id + + +N +N +N +None +N + + + + + + + + + + + + + +N + + + + uom_po_id/id +uom_po_id + + +N +N +N +None +N + + + + + + + + + + + + + +N + + + + categ_id/id +category_id + + +N +N +N +None +N + + + + + + + + + + + + + +Y +product.category.csv +id + + name +name + + +N +N +N +None +N + + + + + + + + + + + + + +N + + + + default_code +default_code + + +Y +N +N +None +N + + + + + + + + + + + + + +N + + + + + + 570 + 317 + Y + + + + + Validate Partner + Validator + + Y + + 1 + + none + + +N +N +| + name +name + + +N +N +N +None +N + + + + + + + + + + + + + +N + + + + property_product_pricelist_purchase/id +purchase_pricelist + + +Y +N +N +None +N + + + + + + + + + + + + + +Y +product.pricelist.csv +id + + property_payment_term/id +payment_term supplier + + +Y +N +N +None +N + + + + + + + + + + + + + +Y +Payment Terms Supplier +id + + property_payment_term/id +payment_term customer + + +Y +N +N +None +N + + + + + + + + + + + + + +Y +Payment Terms Customer +id + + sale_warn +sale_warn + + +N +N +N +None +N + + + + + + + + + + + + + +N + + + + purchase_warn +purchase_warn + + +N +N +N +None +N + + + + + + + + + + + + + +N + + + + picking_warn +picking_warn + + +N +N +N +None +N + + + + + + + + + + + + + +N + + + + invoice_warn +invoice_warn + + +N +N +N +None +N + + + + + + + + + + + + + +N + + + + + + 359 + 319 + Y + + + + + Validate Orderpoints + Validator + + Y + + 1 + + none + + +N +N +| + product_id/id +product_id + + +N +N +N +None +N + + + + + + + + + + + + + +Y +product.product.csv +id + + + + 727 + 316 + Y + + + + + Validate Supplierinfo + Validator + + Y + + 1 + + none + + +Y +N +| + product_tmpl_id/id +product_id + + +N +N +N +None +N + + + + + + + + + + + + + +Y +product.product.csv +id + + name/id +partner_id + + +N +N +N +None +N + + + + + + + + + + + + + +Y +res.partner.csv +id + + pricelist_ids/price +price + + +N +N +N +None +N + + + + + + + + + + + + + +N + + + + + + 944 + 323 + Y + + + + + Validate BoM + Validator + + Y + + 1 + + none + + +Y +N +| + product_tmpl_id/id +product_id + + +N +N +N +None +N + + + + + + + + + + + + + +Y +product.product.csv +id + + product_uom/id +product_uom + + +N +N +N +None +N + + + + + + + + + + + + + +N + + + + + + 1143 + 319 + Y + + + + + Validate BoM line + Validator + + Y + + 1 + + none + + +Y +N +| + product_id/id +product_id + + +N +N +N +None +N + + + + + + + + + + + + + +Y +product.product.csv +id + + bom_id/id +bom_id + + +N +N +N +None +N + + + + + + + + + + + + + +Y +mrp.bom.csv +id + + product_uom/id +product_uom + + +N +N +N +None +N + + + + + + + + + + + + + +N + + + + + + 1311 + 321 + Y + + + + + Validate Produkt UL + Validator + + Y + + 1 + + none + + +Y +N +| + + + 646 + 654 + Y + + + + + Validate Pricelist + Validator + + Y + + 1 + + none + + +Y +N +| + pricelist_id/id +pricelist_id + + +N +N +N +None +N + + + + + + + + + + + + + +Y +product.pricelist.csv +id + + + + 227 + 656 + Y + + + + + Validate Pricelist Version + Validator + + Y + + 1 + + none + + +Y +N +| + price_version_id/id +pricelist_version_id + + +N +N +N +None +N + + + + + + + + + + + + + +Y +product.pricelist.version.csv +id + + + + 414 + 652 + Y + + + + + Validate Produkt Packaging + Validator + + Y + + 1 + + none + + +Y +N +| + product_tmpl_id/id +product_id + + +N +N +N +None +N + + + + + + + + + + + + + +Y +product.product.csv +id + + ul/id +ul_id + + +N +N +N +None +N + + + + + + + + + + + + + +Y +product.ul.csv +id + + ul_container/id +ul_container_id + + +Y +N +N +None +N + + + + + + + + + +ul_.* + + + +N +product.ul.csv +id + + + + 922 + 648 + Y + + + + + Payment Terms Customer + Dummy + + Y + + 1 + + none + + + + + 73 + 183 + Y + + + + + Payment Terms Supplier + Dummy + + Y + + 1 + + none + + + + + 200 + 147 + Y + + + + + account.payment.term.csv + CsvInput + + N + + 1 + + none + + + ${dmi_dir}/cam_dmi/account.payment.term.csv + + + N + , + " +
Y
+ 50000 + N + N + N + N + + + + id + String + + + + + -1 + -1 + none + + + name + String + + + + + -1 + -1 + none + + + note + String + + + + + -1 + -1 + none + + + netto_tage + String + + + + + -1 + -1 + none + + + skonto_tage + String + + + + + -1 + -1 + none + + + skonto_prozent + String + + + + + -1 + -1 + none + + + line_ids/value + String + + + + + -1 + -1 + none + + + line_ids/days + String + + + + + -1 + -1 + none + + + line_ids/days2 + String + + + + + -1 + -1 + none + + + + + 161 + 53 + Y + +
+ + + mrp.bom.csv + CsvInput + + N + + 1 + + none + + + ${dmi_dir}/cam_dmi/mrp.bom.csv + + + N + , + " +
Y
+ 50000 + Y + N + N + N + + + + id + String + + + + + -1 + -1 + none + + + name + String + + + + + -1 + -1 + none + + + type + String + + + + + -1 + -1 + none + + + product_tmpl_id/id + String + + + + + -1 + -1 + none + + + product_qty + String + + + + + -1 + -1 + none + + + product_uom/id + String + + + + + -1 + -1 + none + + + + + 1137 + 139 + Y + +
+ + + mrp.bom.line.csv + CsvInput + + N + + 1 + + none + + + ${dmi_dir}/cam_dmi/mrp.bom.line.csv + + + N + , + " +
Y
+ 50000 + Y + N + N + N + + + + id + String + + + + + -1 + -1 + none + + + type + String + + + + + -1 + -1 + none + + + product_id/id + String + + + + + -1 + -1 + none + + + product_qty + String + + + + + -1 + -1 + none + + + product_uom/id + String + + + + + -1 + -1 + none + + + bom_id/id + String + + + + + -1 + -1 + none + + + + + 1300 + 137 + Y + +
+ + + product.category.csv + CsvInput + + N + + 1 + + none + + + ${dmi_dir}/cam_dmi/product.category.csv + + + N + , + " +
Y
+ 50000 + Y + N + N + N + + + + id + String + + + + + -1 + -1 + none + + + name + String + + + + + -1 + -1 + none + + + + + 459 + 139 + Y + +
+ + + product.packaging.csv + CsvInput + + N + + 1 + + none + + + ${dmi_dir}/cam_dmi/product.packaging.csv + + + N + , + " +
Y
+ 50000 + Y + N + N + N + + + + id + String + + + + + -1 + -1 + none + + + sequence + String + + + + + -1 + -1 + none + + + qty + String + + + + + -1 + -1 + none + + + ul/id + String + + + + + -1 + -1 + none + + + ul_qty + String + + + + + -1 + -1 + none + + + ul_container/id + String + + + + + -1 + -1 + none + + + rows + String + + + + + -1 + -1 + none + + + product_tmpl_id/id + String + + + + + -1 + -1 + none + + + weight + String + + + + + -1 + -1 + none + + + code + String + + + + + -1 + -1 + none + + + + + 913 + 470 + Y + +
+ + + product.pricelist.csv + CsvInput + + N + + 1 + + none + + + ${dmi_dir}/cam_dmi/product.pricelist.csv + + + N + , + " +
Y
+ 50000 + N + N + N + N + + + + id + String + + + + + -1 + -1 + none + + + name + String + + + + + -1 + -1 + none + + + currency_id/id + String + + + + + -1 + -1 + none + + + type + String + + + + + -1 + -1 + none + + + + + 92 + 322 + Y + +
+ + + product.pricelist.item.csv + CsvInput + + N + + 1 + + none + + + ${dmi_dir}/cam_dmi/product.pricelist.item.csv + + + N + , + " +
Y
+ 50000 + Y + N + N + N + + + + id + String + + + + + -1 + -1 + none + + + name + String + + + + + -1 + -1 + none + + + price_version_id/id + String + + + + + -1 + -1 + none + + + base + String + + + + + -1 + -1 + none + + + + + 481 + 476 + Y + +
+ + + product.pricelist.version.csv + CsvInput + + N + + 1 + + none + + + ${dmi_dir}/cam_dmi/product.pricelist.version.csv + + + N + , + " +
Y
+ 50000 + Y + N + N + N + + + + id + String + + + + + -1 + -1 + none + + + name + String + + + + + -1 + -1 + none + + + pricelist_id/id + String + + + + + -1 + -1 + none + + + + + 284 + 473 + Y + +
+ + + product.product.csv + CsvInput + + N + + 1 + + none + + + ${dmi_dir}/cam_dmi/product.product.csv + + + N + , + " +
Y
+ 50000 + Y + N + N + N + + + + id + String + + + + + -1 + -1 + none + + + name + String + + + + + -1 + -1 + none + + + default_code + String + + + + + -1 + -1 + none + + + sale_ok + String + + + + + -1 + -1 + none + + + type + String + + + + + -1 + -1 + none + + + uom_id/id + String + + + + + -1 + -1 + none + + + uom_po_id/id + String + + + + + -1 + -1 + none + + + route_ids/id + String + + + + + -1 + -1 + none + + + standard_price + String + + + + + -1 + -1 + none + + + list_price + String + + + + + -1 + -1 + none + + + description + String + + + + + -1 + -1 + none + + + categ_id/id + String + + + + + -1 + -1 + none + + + purchase_ok + String + + + + + -1 + -1 + none + + + weight_net + String + + + + + -1 + -1 + none + + + zollcode + String + + + + + -1 + -1 + none + + + ean13 + String + + + + + -1 + -1 + none + + + loc_row + String + + + + + -1 + -1 + none + + + loc_case + String + + + + + -1 + -1 + none + + + volume + String + + + + + -1 + -1 + none + + + weight + String + + + + + -1 + -1 + none + + + loc_rack + String + + + + + -1 + -1 + none + + + + + 621 + 27 + Y + +
+ + + product.supplierinfo.csv + CsvInput + + Y + + 1 + + none + + + ${dmi_dir}/cam_dmi/product.supplierinfo.csv + + + N + , + " +
Y
+ 50000 + Y + N + N + N + + + + id + String + + + + + -1 + -1 + none + + + name/id + String + + + + + -1 + -1 + none + + + product_name + String + + + + + -1 + -1 + none + + + product_code + String + + + + + -1 + -1 + none + + + sequence + String + + + + + -1 + -1 + none + + + product_uom/id + String + + + + + -1 + -1 + none + + + min_qty + String + + + + + -1 + -1 + none + + + product_tmpl_id/id + String + + + + + -1 + -1 + none + + + delay + String + + + + + -1 + -1 + none + + + pricelist_ids/min_quantity + String + + + + + -1 + -1 + none + + + pricelist_ids/price + String + + + + + -1 + -1 + none + + + + + 933 + 100 + Y + +
+ + + product.ul.csv + CsvInput + + N + + 1 + + none + + + ${dmi_dir}/cam_dmi/product.ul.csv + + + N + , + " +
Y
+ 50000 + Y + N + N + N + + + + id + String + + + + + -1 + -1 + none + + + name + String + + + + + -1 + -1 + none + + + type + String + + + + + -1 + -1 + none + + + length + String + + + + + -1 + -1 + none + + + width + String + + + + + -1 + -1 + none + + + height + String + + + + + -1 + -1 + none + + + weight + String + + + + + -1 + -1 + none + + + + + 642 + 472 + Y + +
+ + + res.partner.csv + CsvInput + + N + + 1 + + none + + + ${dmi_dir}/cam_dmi/res.partner.csv + + + N + , + " +
Y
+ 50000 + N + N + N + N + + + + id + String + + + + + -1 + -1 + none + + + name + String + + + + + -1 + -1 + none + + + parent_id/id + String + + + + + -1 + -1 + none + + + street + String + + + + + -1 + -1 + none + + + street2 + String + + + + + -1 + -1 + none + + + city + String + + + + + -1 + -1 + none + + + zip + String + + + + + -1 + -1 + none + + + website + String + + + + + -1 + -1 + none + + + phone + String + + + + + -1 + -1 + none + + + mobile + String + + + + + -1 + -1 + none + + + fax + String + + + + + -1 + -1 + none + + + email + String + + + + + -1 + -1 + none + + + comment + String + + + + + -1 + -1 + none + + + ref + String + + + + + -1 + -1 + none + + + lang + String + + + + + -1 + -1 + none + + + vat + String + + + + + -1 + -1 + none + + + date + String + + + + + -1 + -1 + none + + + is_company + String + + + + + -1 + -1 + none + + + function + String + + + + + -1 + -1 + none + + + use_parent_address + String + + + + + -1 + -1 + none + + + country_id/id + String + + + + + -1 + -1 + none + + + customer + String + + + + + -1 + -1 + none + + + supplier + String + + + + + -1 + -1 + none + + + notify_email + String + + + + + -1 + -1 + none + + + property_product_pricelist_purchase/id + String + + + + + -1 + -1 + none + + + property_payment_term/id + String + + + + + -1 + -1 + none + + + property_supplier_payment_term/id + String + + + + + -1 + -1 + none + + + sale_warn + String + + + + + -1 + -1 + none + + + sale_warn_msg + String + + + + + -1 + -1 + none + + + purchase_warn + String + + + + + -1 + -1 + none + + + purchase_warn_msg + String + + + + + -1 + -1 + none + + + picking_warn + String + + + + + -1 + -1 + none + + + picking_warn_msg + String + + + + + -1 + -1 + none + + + invoice_warn + String + + + + + -1 + -1 + none + + + invoice_warn_msg + String + + + + + -1 + -1 + none + + + + + 357 + 142 + Y + +
+ + + stock.warehouse.orderpoint.csv + CsvInput + + Y + + 1 + + none + + + ${dmi_dir}/cam_dmi/stock.warehouse.orderpoint.csv + + + N + , + " +
Y
+ 50000 + Y + N + N + N + + + + id + String + + + + + -1 + -1 + none + + + name + String + + + + + -1 + -1 + none + + + product_id/id + String + + + + + -1 + -1 + none + + + product_min_qty + String + + + + + -1 + -1 + none + + + product_max_qty + String + + + + + -1 + -1 + none + + + qty_multiple + String + + + + + -1 + -1 + none + + + + + 760 + 72 + Y + +
+ + + + + + N + + diff --git a/dmi/run1/cam_dmi/__init__.py b/dmi/run1/cam_dmi/__init__.py new file mode 100755 index 00000000..49a09e55 --- /dev/null +++ b/dmi/run1/cam_dmi/__init__.py @@ -0,0 +1,23 @@ +# -*- coding: utf-8 -*- +############################################################################## +# +# OpenERP, Open Source Management Solution +# Copyright (C) 2004-2010 Tiny SPRL (). +# +# This program is free software: you can redistribute it and/or modify +# it under the terms of the GNU Affero General Public License as +# published by the Free Software Foundation, either version 3 of the +# License, or (at your option) any later version. +# +# This program is distributed in the hope that it will be useful, +# but WITHOUT ANY WARRANTY; without even the implied warranty of +# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +# GNU Affero General Public License for more details. +# +# You should have received a copy of the GNU Affero General Public License +# along with this program. If not, see . +# +############################################################################## + +# vim:expandtab:smartindent:tabstop=4:softtabstop=4:shiftwidth=4: + diff --git a/dmi/run1/cam_dmi/__openerp__.py b/dmi/run1/cam_dmi/__openerp__.py new file mode 100755 index 00000000..e642b311 --- /dev/null +++ b/dmi/run1/cam_dmi/__openerp__.py @@ -0,0 +1,38 @@ +# -*- coding: utf-8 -*- +############################################################################## +# +# OpenERP, Open Source Management Solution +# Copyright (C) 2004-2010 Tiny SPRL (). +# +# This program is free software: you can redistribute it and/or modify +# it under the terms of the GNU Affero General Public License as +# published by the Free Software Foundation, either version 3 of the +# License, or (at your option) any later version. +# +# This program is distributed in the hope that it will be useful, +# but WITHOUT ANY WARRANTY; without even the implied warranty of +# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +# GNU Affero General Public License for more details. +# +# You should have received a copy of the GNU Affero General Public License +# along with this program. If not, see . +# +############################################################################## + + +{ + 'name': 'Datenübernahme', + 'category': 'Custom', + 'version': '1.0', + 'description': """Datenübernahme""", + 'author': 'camadeus GmbH', + 'website': 'http://www.camadeus.at', + 'depends': ['mail','cam_reports'], + 'data': [ + 'res.users.csv', + ], + 'installable': True, + 'auto_install': False, +} + +# vim:expandtab:smartindent:tabstop=4:softtabstop=4:shiftwidth=4: diff --git a/dmi/run1/cam_dmi/res.users.csv b/dmi/run1/cam_dmi/res.users.csv new file mode 100644 index 00000000..ad16983a --- /dev/null +++ b/dmi/run1/cam_dmi/res.users.csv @@ -0,0 +1,2 @@ +"id","name","login","password","email","groups_id/id","tz","mobile","phone","function" +"p_xxx","Max Mustermann","mustermann@max.at","x","mustermann@max.at","base.group_sale_salesman_all_leads,account.group_account_invoice,base.group_erp_manager,stock.group_stock_user,purchase.group_purchase_user","Europe/Vienna",,, diff --git a/dmi/run1/cam_dmi/static/description/icon.png b/dmi/run1/cam_dmi/static/description/icon.png new file mode 100644 index 00000000..fd7ee3b9 Binary files /dev/null and b/dmi/run1/cam_dmi/static/description/icon.png differ diff --git a/dmi/run1/input/README.txt b/dmi/run1/input/README.txt new file mode 100644 index 00000000..4a5cf9ef --- /dev/null +++ b/dmi/run1/input/README.txt @@ -0,0 +1 @@ +place here csv-Files \ No newline at end of file diff --git a/ext/config/logrotate b/ext/config/logrotate deleted file mode 100644 index 060ec54d..00000000 --- a/ext/config/logrotate +++ /dev/null @@ -1,5 +0,0 @@ -/var/log/odoo/*.log { - copytruncate - missingok - notifempty -} diff --git a/ext/config/odoo-server.conf b/ext/config/odoo-server.conf index dd0b1e92..4cd6e45d 100644 --- a/ext/config/odoo-server.conf +++ b/ext/config/odoo-server.conf @@ -11,14 +11,15 @@ db_user = False debug_mode = False list_db = True log_level = error -logfile = /var/log/odoo/odoo-server.log #max_cron_threads = 1 #workers = 1 xmlrpc_interface = 127.0.0.1 +# WILL BE OVERWRITTEN BY COMMAND LINE ARGS xmlrpc_port = 8069 longpolling_port = 8072 +logfile = /var/log/odoo/odoo-server.log timezone = Europe/Brussels @@ -34,3 +35,7 @@ limit_time_real = 6000 # if DB > 150MB, otherwise "AccessDenied" error occurs # 10 GB limit_memory_hard = 10000000000 + +# Use a new worker for the next request if 400MB is reached +# The worker will be recycled after the current request +limit_memory_soft = 400000000 \ No newline at end of file diff --git a/ext/config/odoo-server.init b/ext/config/odoo-server.init deleted file mode 100755 index 2f0aac66..00000000 --- a/ext/config/odoo-server.init +++ /dev/null @@ -1,85 +0,0 @@ -#!/bin/sh - -### BEGIN INIT INFO -# Provides: odoo-server -# Required-Start: $remote_fs $syslog -# Required-Stop: $remote_fs $syslog -# Should-Start: $network -# Should-Stop: $network -# Default-Start: 2 3 4 5 -# Default-Stop: 0 1 6 -# Short-Description: Enterprise Resource Management software -# Description: Open ERP is a complete ERP and CRM software. -### END INIT INFO - -PATH=/bin:/sbin:/usr/bin:/usr/local/bin -DAEMON=/opt/odoo/odoo/openerp-server -NAME=odoo-server -DESC=odoo-server - -#FILTER="^%d$" -# Specify the user name (Default: openerp). -USER=odoo - -# Specify an alternate config file (Default: /etc/openerp-server.conf). -CONFIGFILE="/opt/odoo/ext/config/odoo-server.conf" - -# pidfile -PIDFILE=/var/run/$NAME.pid - -# Additional options that are passed to the Daemon. -DAEMON_OPTS="-c $CONFIGFILE" - -[ -x $DAEMON ] || exit 0 -[ -f $CONFIGFILE ] || exit 0 - -checkpid() { - [ -f $PIDFILE ] || return 1 - pid=`cat $PIDFILE` - [ -d /proc/$pid ] && return 0 - return 1 -} - -case "${1}" in - start) - echo -n "Starting ${DESC}: " - - start-stop-daemon --start --quiet --pidfile ${PIDFILE} \ - --chuid ${USER} --background --make-pidfile \ - --exec ${DAEMON} -- ${DAEMON_OPTS} - - echo "${NAME}." - ;; - - stop) - echo -n "Stopping ${DESC}: " - - start-stop-daemon --stop --quiet --pidfile ${PIDFILE} \ - --oknodo - - echo "${NAME}." - ;; - - restart|force-reload) - echo -n "Restarting ${DESC}: " - - start-stop-daemon --stop --quiet --pidfile ${PIDFILE} \ - --oknodo - - sleep 1 - - start-stop-daemon --start --quiet --pidfile ${PIDFILE} \ - --chuid ${USER} --background --make-pidfile \ - --exec ${DAEMON} -- ${DAEMON_OPTS} - - echo "${NAME}." - ;; - - *) - N=/etc/init.d/${NAME} - echo "Usage: ${NAME} {start|stop|restart|force-reload}" >&2 - exit 1 - ;; -esac - -exit 0 diff --git a/ext/custom-addons/cam_custom/__openerp__.py b/ext/custom-addons/cam_custom/__openerp__.py index d1ae3a28..7709fa23 100644 --- a/ext/custom-addons/cam_custom/__openerp__.py +++ b/ext/custom-addons/cam_custom/__openerp__.py @@ -27,7 +27,7 @@ 'description': """Individuelle Anpassungen""", 'author': 'camadeus GmbH', 'website': 'http://www.camadeus.at', - 'depends': ['crm','sale','mail','account'], + 'depends': ['crm','sale','mail','product','account'], 'data': [ 'cam_custom_view.xml', 'cam_custom_data.xml', diff --git a/ext/custom-addons/cam_custom/cam_custom.py b/ext/custom-addons/cam_custom/cam_custom.py index aeb2ff42..e652c7c3 100644 --- a/ext/custom-addons/cam_custom/cam_custom.py +++ b/ext/custom-addons/cam_custom/cam_custom.py @@ -27,6 +27,33 @@ from openerp import SUPERUSER_ID from openerp import tools from lxml import etree +DISABLED_MENUS = [ +] + +class ir_ui_menu(osv.osv): + _inherit = 'ir.ui.menu' + + @tools.ormcache(skiparg=2) + def get_disabled_menu_ids(self, cr, uid, context=None): + data_obj = self.pool.get('ir.model.data') + + menu_ids = [] + for menu in DISABLED_MENUS: + module,xml_id = menu.split('.') + menu = data_obj.get_object(cr, uid, module, xml_id) + if menu: + menu_ids.append(menu.id) + return menu_ids + + def _filter_visible_menus(self, cr, uid, ids, context=None): + if uid != 1: + disabled_ids = self.get_disabled_menu_ids(cr, uid) + + ids = [id for id in ids if id not in disabled_ids] + + ids = super(ir_ui_menu, self)._filter_visible_menus(cr, uid, ids, context) + return ids + class res_partner(osv.osv): _inherit = 'res.partner' @@ -34,7 +61,17 @@ class res_partner(osv.osv): def fields_view_get_address(self, arch): """ verhindert das Überschreiben von address_format """ return arch - + +class product_product(osv.osv): + _inherit = 'product.product' + + def name_get(self, cr, user, ids, context=None): + if context is None: + context = {} + c = context.copy() + c.update({'display_default_code': False}) + return super(product_product, self).name_get(cr, user, ids, context=c) + class mail_notification(osv.Model): _inherit = 'mail.notification' @@ -78,4 +115,15 @@ class mail_notification(osv.Model): # }) # footer = tools.append_content_to_html(footer, signature_company, plaintext=False, container_tag='div') - return footer \ No newline at end of file + return footer + +# class product_product(osv.osv): +# _inherit = 'product.product' +# +# def name_get(self, cr, user, ids, context=None): +# if context is None: +# context = {} +# c = context.copy() +# c.update({'display_default_code': False}) +# return super(product_product, self).name_get(cr, user, ids, context=c) + diff --git a/ext/custom-addons/cam_custom/cam_custom_view.xml b/ext/custom-addons/cam_custom/cam_custom_view.xml index e2cf755e..2590defa 100644 --- a/ext/custom-addons/cam_custom/cam_custom_view.xml +++ b/ext/custom-addons/cam_custom/cam_custom_view.xml @@ -55,7 +55,7 @@ - + @@ -64,5 +64,16 @@ + + product.supplierinfo.form.view + product.supplierinfo + + + + + + + + diff --git a/ext/custom-addons/cam_custom/i18n/de.po b/ext/custom-addons/cam_custom/i18n/de.po new file mode 100644 index 00000000..fbbd795a --- /dev/null +++ b/ext/custom-addons/cam_custom/i18n/de.po @@ -0,0 +1,25 @@ +# German translation for openobject-addons +# Copyright (c) 2012 Rosetta Contributors and Canonical Ltd 2012 +# This file is distributed under the same license as the openobject-addons package. +# FIRST AUTHOR , 2012. +# + +msgid "" +msgstr "" +"Project-Id-Version: camadeus\n" +"Report-Msgid-Bugs-To: Andreas Brueckl \n" +"POT-Creation-Date: 2014-09-23 16:26+0000\n" +"PO-Revision-Date: 2014-08-14 16:14+0000\n" +"Last-Translator: FULL NAME \n" +"Language-Team: Abkhazian \n" +"MIME-Version: 1.0\n" +"Content-Type: text/plain; charset=UTF-8\n" +"Content-Transfer-Encoding: 8bit\n" +"X-Launchpad-Export-Date: 2014-09-24 09:44+0000\n" +"X-Generator: Launchpad (build 17196)\n" + +#. module: cam_custom +#: field:product.product,default_code:0 +#: field:product.template,default_code:0 +msgid "Internal Reference" +msgstr "Artikelnummer" diff --git a/ext/custom-addons/cam_custom/static/src/img/favicon.ico b/ext/custom-addons/cam_custom/static/src/img/favicon.ico index 4abb4092..98f62754 100644 Binary files a/ext/custom-addons/cam_custom/static/src/img/favicon.ico and b/ext/custom-addons/cam_custom/static/src/img/favicon.ico differ diff --git a/ext/custom-addons/cam_custom/static/src/img/logo.png b/ext/custom-addons/cam_custom/static/src/img/logo.png new file mode 100644 index 00000000..eab51af1 Binary files /dev/null and b/ext/custom-addons/cam_custom/static/src/img/logo.png differ diff --git a/ext/custom-addons/cam_invoice_skonto/__openerp__.py b/ext/custom-addons/cam_invoice_skonto/__openerp__.py index 543479a1..35946f98 100644 --- a/ext/custom-addons/cam_invoice_skonto/__openerp__.py +++ b/ext/custom-addons/cam_invoice_skonto/__openerp__.py @@ -33,7 +33,7 @@ """, 'author': 'camadeus GmbH', 'website': 'http://www.camadeus.at', - 'depends': ['account'], + 'depends': ['account', 'sale'], 'data': [ 'cam_invoice_skonto_view.xml', 'cam_invoice_skonto_data.xml', diff --git a/ext/custom-addons/cam_invoice_skonto/cam_invoice_skonto.py b/ext/custom-addons/cam_invoice_skonto/cam_invoice_skonto.py index f9f26bc5..0e53e240 100644 --- a/ext/custom-addons/cam_invoice_skonto/cam_invoice_skonto.py +++ b/ext/custom-addons/cam_invoice_skonto/cam_invoice_skonto.py @@ -26,6 +26,7 @@ from openerp.osv import fields, osv from openerp import models, fields as f, api import openerp.addons.decimal_precision as dp from datetime import date, timedelta, datetime +from openerp.tools.translate import _ class account_payment_term(osv.osv): _inherit = 'account.payment.term' @@ -81,5 +82,325 @@ class account_invoice(models.Model): if inv.payment_term and inv.payment_term.skonto_tage: inv.write({'skonto_faelligkeit': datetime.strptime(inv.date_invoice, '%Y-%m-%d') + timedelta(days=inv.payment_term.skonto_tage)}) return True + + # Add context 'click_register_payment' + def invoice_pay_customer(self, cr, uid, ids, context=None): + if not ids: return [] + dummy, view_id = self.pool.get('ir.model.data').get_object_reference(cr, uid, 'account_voucher', 'view_vendor_receipt_dialog_form') + + inv = self.browse(cr, uid, ids[0], context=context) + return { + 'name':_("Pay Invoice"), + 'view_mode': 'form', + 'view_id': view_id, + 'view_type': 'form', + 'res_model': 'account.voucher', + 'type': 'ir.actions.act_window', + 'nodestroy': True, + 'target': 'new', + 'domain': '[]', + 'context': { + 'payment_expected_currency': inv.currency_id.id, + 'default_partner_id': self.pool.get('res.partner')._find_accounting_partner(inv.partner_id).id, + 'default_amount': inv.type in ('out_refund', 'in_refund') and -inv.residual or inv.residual, + 'default_reference': inv.name, + 'close_after_process': True, + 'invoice_type': inv.type, + 'invoice_id': inv.id, + 'default_type': inv.type in ('out_invoice','out_refund') and 'receipt' or 'payment', + 'type': inv.type in ('out_invoice','out_refund') and 'receipt' or 'payment', + 'click_register_payment':True, + } + } + +class account_voucher(osv.osv): + _inherit = 'account.voucher' + + #Workaround to send context in _compute_writeoff_amount() + def onchange_line_ids(self, cr, uid, ids, line_dr_ids, line_cr_ids, amount, voucher_currency, type, context=None): + context = context or {} + if not line_dr_ids and not line_cr_ids: + return {'value':{'writeoff_amount': 0.0}} + line_osv = self.pool.get("account.voucher.line") + line_dr_ids = resolve_o2m_operations(cr, uid, line_osv, line_dr_ids, ['amount'], context) + line_cr_ids = resolve_o2m_operations(cr, uid, line_osv, line_cr_ids, ['amount'], context) + #compute the field is_multi_currency that is used to hide/display options linked to secondary currency on the voucher + is_multi_currency = False + #loop on the voucher lines to see if one of these has a secondary currency. If yes, we need to see the options + for voucher_line in line_dr_ids+line_cr_ids: + line_id = voucher_line.get('id') and self.pool.get('account.voucher.line').browse(cr, uid, voucher_line['id'], context=context).move_line_id.id or voucher_line.get('move_line_id') + if line_id and self.pool.get('account.move.line').browse(cr, uid, line_id, context=context).currency_id: + is_multi_currency = True + break + return {'value': {'writeoff_amount': self._compute_writeoff_amount(cr, uid, line_dr_ids, line_cr_ids, amount, type, context=context), 'is_multi_currency': is_multi_currency}} + + + def get_default_acc_id(self, cr, uid, args): + konto = self.pool.get('account.account').search(cr,uid,[('code','=','99999999')],limit=1) + if konto: + return konto[0] + else: + raise osv.except_osv(_('Konfigurationsfehler!'),_("Es ist kein Konto für den Ausgleich der Rechnungen definiert (Skonto). Bitte wenden Sie sich an den Support.")) + + return False + + _defaults = { + 'comment': 'Skonto', + 'writeoff_acc_id': get_default_acc_id, + } + + def _get_writeoff_amount(self, cr, uid, ids, name, args, context={}): + if not ids: return {} + currency_obj = self.pool.get('res.currency') + res = {}; diff_amount = 0.0 + debit = credit = total_inv_residual = 0.0 + for voucher in self.browse(cr, uid, ids, context=context): + sign = voucher.type == 'payment' and -1 or 1 + for l in voucher.line_dr_ids: + debit += l.amount + if context.has_key('click_register_payment'): + if voucher.payment_option == 'with_writeoff': + # There can be several open lines => we only want to reconcile the line related to the invoice + if l.move_line_id and l.move_line_id.invoice and l.move_line_id.invoice.id == context.get('invoice_id',-1): + l.write({'reconcile': True, 'amount': l.amount_unreconciled}) + total_inv_residual += (l.amount > 0 and l.amount_unreconciled - l.amount) + for l in voucher.line_cr_ids: + credit += l.amount + if context.has_key('click_register_payment'): + if voucher.payment_option == 'with_writeoff': + # There can be several open lines => we only want to reconcile the line related to the invoice + if l.move_line_id and l.move_line_id.invoice and l.move_line_id.invoice.id == context.get('invoice_id',-1): + l.write({'reconcile': True, 'amount': l.amount_unreconciled}) + total_inv_residual += (l.amount > 0 and l.amount_unreconciled - l.amount) + currency = voucher.currency_id or voucher.company_id.currency_id + write_off_amount = voucher.amount - sign * (credit - debit) + if context.has_key('click_register_payment'): + write_off_amount = total_inv_residual * sign + + res[voucher.id] = currency_obj.round(cr, uid, currency, write_off_amount) + return res + + _columns = { + 'writeoff_amount': fields.function(_get_writeoff_amount, string='Difference Amount', type='float', readonly=True, help="Computed as the difference between the amount stated in the voucher and the sum of allocation on the voucher lines."), + } + + #working on context to differentiate the button clicks without affecting the present code + #Workaround to send context in _compute_writeoff_amount() + def _compute_writeoff_amount(self, cr, uid, line_dr_ids, line_cr_ids, amount, type, context={}): + debit = credit = total_inv_residual = 0.0 + sign = type == 'payment' and -1 or 1 + for l in line_dr_ids: + debit += l['amount'] + #total_inv_residual += (l['amount'] > 0 and l['amount_unreconciled'] - l['amount']) + total_inv_residual += l['amount_unreconciled'] + for l in line_cr_ids: + credit += l['amount'] + #total_inv_residual += (l['amount'] > 0 and l['amount_unreconciled'] - l['amount']) + total_inv_residual += l['amount_unreconciled'] + writeoff_amount = amount - sign * (credit - debit) + if context.has_key('click_register_payment'): + writeoff_amount = amount - (total_inv_residual) + return writeoff_amount + + #Workaround to send context in _compute_writeoff_amount() + def recompute_voucher_lines(self, cr, uid, ids, partner_id, journal_id, price, currency_id, ttype, date, context=None): + """ + Returns a dict that contains new values and context + + @param partner_id: latest value from user input for field partner_id + @param args: other arguments + @param context: context arguments, like lang, time zone + + @return: Returns a dict which contains new values, and context + """ + def _remove_noise_in_o2m(): + """if the line is partially reconciled, then we must pay attention to display it only once and + in the good o2m. + This function returns True if the line is considered as noise and should not be displayed + """ + if line.reconcile_partial_id: + if currency_id == line.currency_id.id: + if line.amount_residual_currency <= 0: + return True + else: + if line.amount_residual <= 0: + return True + return False + + if context is None: + context = {} + context_multi_currency = context.copy() + + currency_pool = self.pool.get('res.currency') + move_line_pool = self.pool.get('account.move.line') + partner_pool = self.pool.get('res.partner') + journal_pool = self.pool.get('account.journal') + line_pool = self.pool.get('account.voucher.line') + + #set default values + default = { + 'value': {'line_dr_ids': [], 'line_cr_ids': [], 'pre_line': False}, + } + + # drop existing lines + line_ids = ids and line_pool.search(cr, uid, [('voucher_id', '=', ids[0])]) + for line in line_pool.browse(cr, uid, line_ids, context=context): + if line.type == 'cr': + default['value']['line_cr_ids'].append((2, line.id)) + else: + default['value']['line_dr_ids'].append((2, line.id)) + + if not partner_id or not journal_id: + return default + + journal = journal_pool.browse(cr, uid, journal_id, context=context) + partner = partner_pool.browse(cr, uid, partner_id, context=context) + currency_id = currency_id or journal.company_id.currency_id.id + + total_credit = 0.0 + total_debit = 0.0 + account_type = None + if context.get('account_id'): + account_type = self.pool['account.account'].browse(cr, uid, context['account_id'], context=context).type + if ttype == 'payment': + if not account_type: + account_type = 'payable' + total_debit = price or 0.0 + else: + total_credit = price or 0.0 + if not account_type: + account_type = 'receivable' + + if not context.get('move_line_ids', False): + if context.get('click_register_payment', False) and context.get('invoice_id', False): + ids = move_line_pool.search(cr, uid, [('state','=','valid'), ('account_id.type', '=', account_type), ('reconcile_id', '=', False), ('partner_id', '=', partner_id),('invoice','=',context.get('invoice_id'))], context=context) + else: + ids = move_line_pool.search(cr, uid, [('state','=','valid'), ('account_id.type', '=', account_type), ('reconcile_id', '=', False), ('partner_id', '=', partner_id)], context=context) + else: + ids = context['move_line_ids'] + invoice_id = context.get('invoice_id', False) + company_currency = journal.company_id.currency_id.id + move_lines_found = [] + + #order the lines by most old first + ids.reverse() + account_move_lines = move_line_pool.browse(cr, uid, ids, context=context) + + #compute the total debit/credit and look for a matching open amount or invoice + for line in account_move_lines: + if _remove_noise_in_o2m(): + continue + + if invoice_id: + if line.invoice.id == invoice_id: + #if the invoice linked to the voucher line is equal to the invoice_id in context + #then we assign the amount on that line, whatever the other voucher lines + move_lines_found.append(line.id) + elif currency_id == company_currency: + #otherwise treatments is the same but with other field names + if line.amount_residual == price: + #if the amount residual is equal the amount voucher, we assign it to that voucher + #line, whatever the other voucher lines + move_lines_found.append(line.id) + break + #otherwise we will split the voucher amount on each line (by most old first) + total_credit += line.credit or 0.0 + total_debit += line.debit or 0.0 + elif currency_id == line.currency_id.id: + if line.amount_residual_currency == price: + move_lines_found.append(line.id) + break + total_credit += line.credit and line.amount_currency or 0.0 + total_debit += line.debit and line.amount_currency or 0.0 + + remaining_amount = price + #voucher line creation + for line in account_move_lines: + + if _remove_noise_in_o2m(): + continue + + if line.currency_id and currency_id == line.currency_id.id: + amount_original = abs(line.amount_currency) + amount_unreconciled = abs(line.amount_residual_currency) + else: + #always use the amount booked in the company currency as the basis of the conversion into the voucher currency + amount_original = currency_pool.compute(cr, uid, company_currency, currency_id, line.credit or line.debit or 0.0, context=context_multi_currency) + amount_unreconciled = currency_pool.compute(cr, uid, company_currency, currency_id, abs(line.amount_residual), context=context_multi_currency) + line_currency_id = line.currency_id and line.currency_id.id or company_currency + rs = { + 'name':line.move_id.name, + 'type': line.credit and 'dr' or 'cr', + 'move_line_id':line.id, + 'account_id':line.account_id.id, + 'amount_original': amount_original, + 'amount': (line.id in move_lines_found) and min(abs(remaining_amount), amount_unreconciled) or 0.0, + 'date_original':line.date, + 'date_due':line.date_maturity, + 'amount_unreconciled': amount_unreconciled, + 'currency_id': line_currency_id, + } + remaining_amount -= rs['amount'] + #in case a corresponding move_line hasn't been found, we now try to assign the voucher amount + #on existing invoices: we split voucher amount by most old first, but only for lines in the same currency + if not move_lines_found: + if currency_id == line_currency_id: + if line.credit: + amount = min(amount_unreconciled, abs(total_debit)) + rs['amount'] = amount + total_debit -= amount + else: + amount = min(amount_unreconciled, abs(total_credit)) + rs['amount'] = amount + total_credit -= amount + + if rs['amount_unreconciled'] == rs['amount']: + rs['reconcile'] = True + + if rs['type'] == 'cr': + default['value']['line_cr_ids'].append(rs) + else: + default['value']['line_dr_ids'].append(rs) + + if len(default['value']['line_cr_ids']) > 0: + default['value']['pre_line'] = 1 + elif len(default['value']['line_dr_ids']) > 0: + default['value']['pre_line'] = 1 + default['value']['writeoff_amount'] = self._compute_writeoff_amount(cr, uid, default['value']['line_dr_ids'], default['value']['line_cr_ids'], price, ttype, context=context) + return default + +def resolve_o2m_operations(cr, uid, target_osv, operations, fields, context): + results = [] + for operation in operations: + result = None + if not isinstance(operation, (list, tuple)): + result = target_osv.read(cr, uid, operation, fields, context=context) + elif operation[0] == 0: + # may be necessary to check if all the fields are here and get the default values? + result = operation[2] + elif operation[0] == 1: + result = target_osv.read(cr, uid, operation[1], fields, context=context) + if not result: result = {} + result.update(operation[2]) + elif operation[0] == 4: + result = target_osv.read(cr, uid, operation[1], fields, context=context) + if result != None: + results.append(result) + return results + +class sale_order(osv.osv): + _inherit = 'sale.order' + + def _skonto_betrag_inkl(self, cr, uid, ids, field_name, arg, context=None): + res = {} + sos = self.browse(cr, uid, ids, context=context) + for so in sos: + if so.payment_term and so.payment_term.skonto_prozent: + res[so.id] = so.amount_total * (1 - so.payment_term.skonto_prozent/100.0) + return res + + _columns = { + 'skonto_betrag_inkl': fields.function(_skonto_betrag_inkl, string='Betrag inkl. Skonto', type='float'), + } # vim:expandtab:smartindent:tabstop=4:softtabstop=4:shiftwidth=4: diff --git a/ext/custom-addons/cam_invoice_skonto/cam_invoice_skonto_data.xml b/ext/custom-addons/cam_invoice_skonto/cam_invoice_skonto_data.xml index 6e2a8349..31f1fc5a 100644 --- a/ext/custom-addons/cam_invoice_skonto/cam_invoice_skonto_data.xml +++ b/ext/custom-addons/cam_invoice_skonto/cam_invoice_skonto_data.xml @@ -34,5 +34,17 @@ action_number() invoice_validate() action_skonto_faelligkeit_assign() - + + + + + + Skonto + 99999999 + other + + + + + diff --git a/ext/custom-addons/cam_invoice_skonto/cam_invoice_skonto_view.xml b/ext/custom-addons/cam_invoice_skonto/cam_invoice_skonto_view.xml index 9d3f7915..60e6a1bd 100644 --- a/ext/custom-addons/cam_invoice_skonto/cam_invoice_skonto_view.xml +++ b/ext/custom-addons/cam_invoice_skonto/cam_invoice_skonto_view.xml @@ -28,7 +28,6 @@ - cam_invoice_skonto.payment.term.form account.payment.term @@ -40,13 +39,12 @@ - +
- cam_invoice_skonto.invoice.form account.invoice @@ -56,10 +54,34 @@ - + + + + + cam_invoice_skonto.account_voucher.form + account.voucher + + + + 1 + + + + + + + sale.order.form + sale.order + + + + + + + diff --git a/ext/custom-addons/cam_reports/report/account.invoice.rml b/ext/custom-addons/cam_reports/report/account.invoice.rml index fe1b2cd0..a4a8ec3d 100644 --- a/ext/custom-addons/cam_reports/report/account.invoice.rml +++ b/ext/custom-addons/cam_reports/report/account.invoice.rml @@ -1,11 +1,6 @@ - -