diff --git a/dev/Server.launch b/dev/Server.launch index e8a48a3e..42252cac 100644 --- a/dev/Server.launch +++ b/dev/Server.launch @@ -1,12 +1,12 @@ - + - + diff --git a/dev/dmi/run1/Kundendaten.ktr b/dev/dmi/run1/Kundendaten.ktr deleted file mode 100644 index d925479b..00000000 --- a/dev/dmi/run1/Kundendaten.ktr +++ /dev/null @@ -1,1737 +0,0 @@ - - - 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/01/13 16:27:12.108 - - - - - TransformPrioritize streamsY - Prioritize streamsres.partner.csvY - LänderStream lookupY - lieferanten_20150107.csvStream lookupY - kunden_20150107.csvStream lookup 2Y - LänderStream lookup 2Y - Stream lookup 2vat lookupY - vat lookupTransformY - Transform 2Prioritize streamsY - Stream lookupvat lookup 2Y - vat lookup 2Transform 2Y - vat_lookup.csvvat lookupY - vat_lookup.csvvat lookup 2Y - - - Länder - DataGrid - - N - - 1 - - none - - - - - key - String - - - - - -1 - -1 - N - - - value - String - - - - - -1 - -1 - N - - - - Österreichbase.at - Deutschlandbase.de - Italybase.it - Ungarnbase.hu - Belgienbase.be - Schweizbase.ch - - - - 652 - 178 - Y - - - - - Prioritize streams - PrioritizeStreams - - Y - - 1 - - none - - - - - Transform - - - Transform 2 - - - - - 650 - 525 - Y - - - - - Stream lookup - StreamLookup - - Y - - 1 - - none - - - Länder - N - Y - N - N - - - Land - key - - - value - land_xml - - None - - - - - 806 - 217 - Y - - - - - Stream lookup 2 - StreamLookup - - Y - - 1 - - none - - - Länder - N - Y - N - N - - - Land - key - - - value - land_xml - - None - - - - - 539 - 228 - 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 - - - - 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 - - - Y - - - 545 - 469 - 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 - - - - 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 - - - Y - - - 817 - 447 - Y - - - - - kunden_20150107.csv - CsvInput - - Y - - 1 - - none - - - ${GITREPOS}/input/kunden_20150107.csv - - - N - , - " -
Y
- 50000 - Y - N - N - N - - - - Kundennr - String - - - - - -1 - -1 - none - - - Suchname - String - - - - - -1 - -1 - none - - - x - String - - - - - -1 - -1 - none - - - Name - String - - - - - -1 - -1 - none - - - Ansprechpartner - String - - - - - -1 - -1 - none - - - Adresse - String - - - - - -1 - -1 - none - - - PLZ - String - - - - - -1 - -1 - none - - - Ort - String - - - - - -1 - -1 - none - - - Land - String - - - - - -1 - -1 - none - - - Telefon - String - - - - - -1 - -1 - none - - - Fax - String - - - - - -1 - -1 - none - - - mail - String - - - - - -1 - -1 - none - - - Steuernummer - String - - - - - -1 - -1 - none - - - Rechnung per Mail - String - - - - - -1 - -1 - none - - - Zahlungsziel - String - - - - - -1 - -1 - none - - - - - 537 - 115 - Y - -
- - - lieferanten_20150107.csv - CsvInput - - N - - 1 - - none - - - ${GITREPOS}/input/lieferanten_20150107.csv - - - N - , - " -
Y
- 50000 - Y - N - N - N - - - - Lieferanten Nr - String - - - - - -1 - -1 - none - - - Suchname - String - - - - - -1 - -1 - none - - - Bezeichnung - String - - - - - -1 - -1 - none - - - Firmenname - String - - - - - -1 - -1 - none - - - Ansprechpartner - String - - - - - -1 - -1 - none - - - Strasse - String - - - - - -1 - -1 - none - - - PLZ - String - - - - - -1 - -1 - none - - - Stadt - String - - - - - -1 - -1 - none - - - Land - String - - - - - -1 - -1 - none - - - Code - String - - - - - -1 - -1 - none - - - Steuer Nr. - String - - - - - -1 - -1 - none - - - Mail - String - - - - - -1 - -1 - none - - - - - 800 - 115 - Y - -
- - - res.partner.csv - TextFileOutput - - Y - - 1 - - none - - - , - " - N - N -
Y
-
N
- DOS - None - UTF-8 - - N - - Y - - ${GITREPOS}/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 - - - 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 - - - - - 650 - 615 - Y - -
- - - vat lookup - StreamLookup - - Y - - 1 - - none - - - vat_lookup.csv - N - Y - N - N - - - Steuernummer - vat_old - - - vat_new - help_newvat - - None - - - - - 543 - 336 - Y - - - - - vat lookup 2 - StreamLookup - - Y - - 1 - - none - - - vat_lookup.csv - N - Y - N - N - - - Steuer Nr. - vat_old - - - vat_new - help_newvat - - None - - - - - 810 - 344 - Y - - - - - vat_lookup.csv - CsvInput - - N - - 1 - - none - - - ${GITREPOS}/cam_dmi/vat_lookup.csv - - - N - , - " -
Y
- 50000 - N - N - N - N - - - - vat_old - String - - - - - -1 - -1 - none - - - vat_new - String - - - - - -1 - -1 - none - - - - - 669 - 257 - Y - -
- - - - - - N - - diff --git a/dev/dmi/run1/Produktdaten.ktr b/dev/dmi/run1/Produktdaten.ktr deleted file mode 100644 index a4495347..00000000 --- a/dev/dmi/run1/Produktdaten.ktr +++ /dev/null @@ -1,2034 +0,0 @@ - - - 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/01/13 16:27:51.078 - - - - - METransformY - Transformproduct.product.csvY - MengeneinheitenMEY - artikel_20150107.csvSort rowsY - Sort rowsUnique rowsY - Unique rowsTransform 2Y - Transform 2product.category.csvY - artikel_20150107.csvKategorieY - KategorieMEY - Transform 2KategorieY - Transform - Orderpointstock.warehouse.orderpoint.csvY - artikel_20150107.csvTransform - OrderpointY - Lagerstandstock.inventory.line.csvY - MELagerstandY - Inventurauftrag 2stock.inventory.csvY - Lieferanteninfosproduct.supplierinfo.csvY - MELieferanteninfosY - - - Inventurauftrag 2 - DataGrid - - Y - - 1 - - none - - - - - id - String - - - - - -1 - -1 - N - - - name - String - - - - - -1 - -1 - N - - - state - String - - - - - -1 - -1 - N - - - - inv_initinitialbefüllungconfirm - - - - 1228 - 343 - Y - - - - - Kategorie - StreamLookup - - Y - - 1 - - none - - - Transform 2 - N - Y - N - N - - - Artikelgruppe - name - - - id - help_category - - None - - - - - 400 - 365 - Y - - - - - 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 - - - 1064 - 345 - Y - - - - - Lieferanteninfos - 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 - - - - min_qty - - String - - -1 - - -1 - - - - product_tmpl_id/id - - String - - -1 - - -1 - - - - delay - - String - - -1 - - -1 - - - - pricelist_ids/price - - String - - -1 - - -1 - - - - pricelist_ids/min_quantity - - String - - -1 - - -1 - - - Y - - - 1390 - 343 - Y - - - - - ME - StreamLookup - - N - - 1 - - none - - - Mengeneinheiten - N - Y - N - N - - - Einheit - key - - - value - me - - None - - - - - 400 - 481 - Y - - - - - Mengeneinheiten - DataGrid - - Y - - 1 - - none - - - - - key - String - - - - - -1 - -1 - N - - - value - String - - - - - -1 - -1 - N - - - - Ktnproduct.product_uom_unit - Rolproduct.product_uom_unit - Kanproduct.product_uom_unit - lfmproduct.product_uom_meter - Stkproduct.product_uom_unit - qmcam_custom.product_uom_qm - Stgproduct.product_uom_unit - Paarproduct.product_uom_unit - - - - 200 - 255 - Y - - - - - Sort rows - SortRows - - Y - - 1 - - none - - - %%java.io.tmpdir%% - out - 1000000 - - N - - N - - - Artikelgruppe - Y - N - N - - - - - 638 - 151 - 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 - - - Y - - - 399 - 574 - 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 - - - 825 - 300 - Y - - - - - Transform 2 - UserDefinedJavaClass - - N - - 1 - - none - - - - - - TRANSFORM_CLASS - - Processor - - - - - - - id - - String - - -1 - - -1 - - - - name - - String - - -1 - - -1 - - - Y - - - 638 - 301 - Y - - - - - Unique rows - Unique - - Y - - 1 - - none - - - N - - N - - Artikelgruppe - N - - - 641 - 213 - Y - - - - - artikel_20150107.csv - CsvInput - - N - - 1 - - none - - - ${GITREPOS}/input/artikel_20150107.csv - - - N - , - " -
Y
- 50000 - Y - N - N - N - - - - Artikelnummer - String - - - - - -1 - -1 - none - - - Bezeichnung - String - - - - - -1 - -1 - none - - - Lieferantennummer - String - - - - - -1 - -1 - none - - - Lagerbestand - String - - - - - -1 - -1 - none - - - Mindestbestand - String - - - - - -1 - -1 - none - - - Einheit - String - - - - - -1 - -1 - none - - - MwSt. - String - - - - - -1 - -1 - none - - - Listenpreis ohne MWST - String - - - - - -1 - -1 - none - - - Einkaufspreis ohne MWST - String - - - - - -1 - -1 - none - - - Artikelgruppe - String - - - - - -1 - -1 - none - - - Hersteller - String - - - - - -1 - -1 - none - - - Herstellercode - String - - - - - -1 - -1 - none - - - Lagerwert - String - - - - - -1 - -1 - none - - - - - 638 - 48 - Y - -
- - - product.category.csv - TextFileOutput - - Y - - 1 - - none - - - , - " - N - N -
Y
-
N
- DOS - None - - - N - - Y - - ${GITREPOS}/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.product.csv - TextFileOutput - - Y - - 1 - - none - - - , - " - N - N -
Y
-
N
- DOS - None - - - N - - Y - - ${GITREPOS}/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 - - - - - 399 - 651 - Y - -
- - - product.supplierinfo.csv - TextFileOutput - - Y - - 1 - - none - - - , - " - N - N -
Y
-
N
- DOS - None - - - N - - Y - - ${GITREPOS}/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 - - - min_qty - String - - - - - - none - -1 - -1 - - - product_tmpl_id/id - String - - - - - - none - -1 - -1 - - - delay - String - - - - - - none - -1 - -1 - - - pricelist_ids/price - String - - - - - - none - -1 - -1 - - - pricelist_ids/min_quantity - String - - - - - - none - -1 - -1 - - - - - 1399 - 640 - Y - -
- - - stock.inventory.csv - TextFileOutput - - Y - - 1 - - none - - - , - " - N - N -
Y
-
N
- DOS - None - - - N - - Y - - ${GITREPOS}/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 - - - - - 1238 - 646 - Y - -
- - - stock.inventory.line.csv - TextFileOutput - - Y - - 1 - - none - - - , - " - N - N -
Y
-
N
- DOS - None - - - N - - Y - - ${GITREPOS}/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 - - - - - 1068 - 648 - Y - -
- - - stock.warehouse.orderpoint.csv - TextFileOutput - - Y - - 1 - - none - - - , - " - N - N -
Y
-
N
- DOS - None - - - N - - Y - - ${GITREPOS}/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 - -
- - - - - - N - - diff --git a/dev/dmi/run1/VAT-Lookup.ktr b/dev/dmi/run1/VAT-Lookup.ktr deleted file mode 100644 index 7db60e48..00000000 --- a/dev/dmi/run1/VAT-Lookup.ktr +++ /dev/null @@ -1,883 +0,0 @@ - - - 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/01/13 16:28:08.336 - - - - - REST ClientGet data from XMLY - kunden_20150107.csvSelect valuesY - ieferanten_20150107.csvSelect values 2Y - Select valuesCreate URLY - Select values 2Create URLY - Create URLREST ClientY - Get data from XMLAufbereitenY - Aufbereitenvat_lookup.csvY - - - Aufbereiten - UserDefinedJavaClass - - N - - 1 - - none - - - - - - TRANSFORM_CLASS - - Processor - - - - - - - vat_old - - String - - -1 - - -1 - - - - vat_new - - String - - -1 - - -1 - - - Y - - - 211 - 467 - Y - - - - - Create URL - UserDefinedJavaClass - - N - - 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 - - - 214 - 219 - 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 - - - - - - - - - - - - 213 - 380 - Y - - - - - REST Client - Rest - - N - - 1 - - none - - - TEXT PLAIN - GET - - Y - N - - help_url - - - Encrypted - - - N - - Encrypted - - - - - - help_result - help_resultcode - - - - - 212 - 287 - Y - - - - - Select values - SelectValues - - Y - - 1 - - none - - - Steuernummer - vat - -2 - -2 - N - - - 124 - 159 - Y - - - - - Select values 2 - SelectValues - - Y - - 1 - - none - - - Steuer Nr. - vat - -2 - -2 - N - - - 290 - 155 - Y - - - - - ieferanten_20150107.csv - CsvInput - - N - - 1 - - none - - - ${GITREPOS}/input/lieferanten_20150107.csv - - - N - , - " -
Y
- 50000 - Y - N - N - N - - - - Lieferanten Nr - String - - - - - -1 - -1 - none - - - Suchname - String - - - - - -1 - -1 - none - - - Bezeichnung - String - - - - - -1 - -1 - none - - - Firmenname - String - - - - - -1 - -1 - none - - - Ansprechpartner - String - - - - - -1 - -1 - none - - - Strasse - String - - - - - -1 - -1 - none - - - PLZ - String - - - - - -1 - -1 - none - - - Stadt - String - - - - - -1 - -1 - none - - - Land - String - - - - - -1 - -1 - none - - - Code - String - - - - - -1 - -1 - none - - - Steuer Nr. - String - - - - - -1 - -1 - none - - - Mail - String - - - - - -1 - -1 - none - - - - - 282 - 68 - Y - -
- - - kunden_20150107.csv - CsvInput - - Y - - 1 - - none - - - ${GITREPOS}/input/kunden_20150107.csv - - - N - , - " -
Y
- 50000 - Y - N - N - N - - - - Kundennr - String - - - - - -1 - -1 - none - - - Suchname - String - - - - - -1 - -1 - none - - - Type - String - - - - - -1 - -1 - none - - - Name - String - - - - - -1 - -1 - none - - - Ansprechpartner - String - - - - - -1 - -1 - none - - - Adresse - String - - - - - -1 - -1 - none - - - PLZ - String - - - - - -1 - -1 - none - - - Ort - String - - - - - -1 - -1 - none - - - Land - String - - - - - -1 - -1 - none - - - Telefon - String - - - - - -1 - -1 - none - - - Fax - String - - - - - -1 - -1 - none - - - mail - String - - - - - -1 - -1 - none - - - Steuernummer - String - - - - - -1 - -1 - none - - - Rechnung per Mail - String - - - - - -1 - -1 - none - - - Zahlungsziel - String - - - - - -1 - -1 - none - - - - - 127 - 69 - Y - -
- - - vat_lookup.csv - TextFileOutput - - Y - - 1 - - none - - - , - " - N - N -
Y
-
N
- DOS - None - UTF-8 - - N - - Y - - ${GITREPOS}/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 - - - - - 208 - 587 - Y - -
- - - - - - N - - diff --git a/dev/odoo-server-dev-br.conf b/dev/odoo-server-dev-br.conf index eb27d1a2..abad481e 100644 --- a/dev/odoo-server-dev-br.conf +++ b/dev/odoo-server-dev-br.conf @@ -4,11 +4,12 @@ xmlrpc_port = 8080 ; This is the password that allows database operations: ; admin_passwd = admin db_host = False -db_port = 5436 +db_port = 5432 db_user = False db_password = False -addons_path = ext/odoo/addons,ext/custom-addons,dev/dmi/run1 +addons_path = ext/odoo/addons,ext/custom-addons,dmi/run1 timezone = Europe/Brussels -#dbfilter_test = ['.*',] \ No newline at end of file +#dbfilter_test = ['.*',] +show_debug = 1 \ No newline at end of file diff --git a/dev/odoo-server-dev-ka.conf b/dev/odoo-server-dev-ka.conf new file mode 100644 index 00000000..abad481e --- /dev/null +++ b/dev/odoo-server-dev-ka.conf @@ -0,0 +1,15 @@ +[options] + +xmlrpc_port = 8080 +; This is the password that allows database operations: +; admin_passwd = admin +db_host = False +db_port = 5432 +db_user = False +db_password = False + +addons_path = ext/odoo/addons,ext/custom-addons,dmi/run1 +timezone = Europe/Brussels + +#dbfilter_test = ['.*',] +show_debug = 1 \ No newline at end of file diff --git a/dev/odoo-server-dev-sk.conf b/dev/odoo-server-dev-sk.conf index 4298cca5..337c2e0e 100644 --- a/dev/odoo-server-dev-sk.conf +++ b/dev/odoo-server-dev-sk.conf @@ -8,7 +8,8 @@ db_port = 5433 db_user = False db_password = False -addons_path = ext/odoo/addons,ext/custom-addons,dev/dmi/run1 +addons_path = ext/odoo/addons,ext/custom-addons,dmi/run1 timezone = Europe/Brussels -#dbfilter_test = ['.*',] \ No newline at end of file +#dbfilter_test = ['.*',] +show_debug = 1 \ 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/dev/dmi/run1/Validation.ktr b/dmi/run1/Validation.ktr similarity index 50% rename from dev/dmi/run1/Validation.ktr rename to dmi/run1/Validation.ktr index 3e647d2a..4f8d74dd 100644 --- a/dev/dmi/run1/Validation.ktr +++ b/dmi/run1/Validation.ktr @@ -5,6 +5,7 @@ Normal + 0 / @@ -67,26 +68,40 @@ - 2014/12/30 14:48:36.101 - - 2015/01/13 16:28:48.168 + 2015/02/19 17:11:58.648 - product.template.csvData ValidatorY - res.partner.csvData Validator 2Y - stock.warehouse.orderpoint.csvData Validator 3Y - stock.inventory.line.csvData Validator 3 2Y - vat_lookup.csvData Validator 2Y - product.product.csvData Validator 2 2N - product.template.csvData Validator 2 2N - product.product.csvData Validator 3 2Y - product.product.csvData Validator 3Y - product.supplierinfo.csvData Validator 3 2 2Y - product.product.csvData Validator 3 2 2Y - res.partner.csvData Validator 3 2 2Y + 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 - Data Validator + Validate Produkt Validator Y @@ -173,9 +188,9 @@ -N - - +Y +product.category.csv +id name name @@ -231,14 +246,14 @@ - 510 - 532 + 570 + 317 Y - Data Validator 2 + Validate Partner Validator Y @@ -277,8 +292,8 @@ - vat -vat exists + property_product_pricelist_purchase/id +purchase_pricelist Y @@ -300,33 +315,63 @@ Y -vat_lookup.csv -vat_new +product.pricelist.csv +id - - - 356 - 509 - Y - - - - - Data Validator 2 2 - Validator - - Y - - 1 - - none - - -N -N -| - product_tmpl_id/id -product_tmpl_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 @@ -347,20 +392,98 @@ -Y -product.template.csv -id +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 + + - 174 - 514 + 359 + 319 Y - Data Validator 3 + Validate Orderpoints Validator Y @@ -401,14 +524,14 @@ - 710 - 529 + 727 + 316 Y - Data Validator 3 2 + Validate Supplierinfo Validator Y @@ -418,55 +541,7 @@ none -N -N -| - product_id/id -product_id - - -N -N -N -None -N - - - - - - - - - - - - - -Y -product.product.csv -id - - - - 901 - 541 - Y - - - - - Data Validator 3 2 2 - Validator - - Y - - 1 - - none - - -N +Y N | product_tmpl_id/id @@ -496,7 +571,7 @@ id name/id -Lieferant partner_id +partner_id N @@ -520,17 +595,473 @@ Y res.partner.csv id + + pricelist_ids/price +price + + +N +N +N +None +N + + + + + + + + + + + + + +N + + - 1124 - 535 + 944 + 323 Y - product.product.csv + 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 @@ -540,7 +1071,140 @@ none - ${GITREPOS}/cam_dmi/product.product.csv + ${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 @@ -565,6 +1229,28 @@ -1 none
+ + name + String + + + + + -1 + -1 + none + + + type + String + + + + + -1 + -1 + none + product_tmpl_id/id String @@ -576,27 +1262,49 @@ -1 none + + product_qty + String + + + + + -1 + -1 + none + + + product_uom/id + String + + + + + -1 + -1 + none + - 93 - 136 + 1137 + 139 Y - product.supplierinfo.csv + mrp.bom.line.csv CsvInput - Y + N 1 none - ${GITREPOS}/cam_dmi/product.supplierinfo.csv + ${dmi_dir}/cam_dmi/mrp.bom.line.csv N @@ -622,7 +1330,7 @@ none - name/id + type String @@ -633,7 +1341,7 @@ none - product_name + product_id/id String @@ -644,7 +1352,130 @@ none - product_code + 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 @@ -666,7 +1497,51 @@ none - min_qty + 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 @@ -688,7 +1563,7 @@ none - delay + weight String @@ -699,18 +1574,7 @@ none - pricelist_ids/price - String - - - - - -1 - -1 - none - - - pricelist_ids/min_quantity + code String @@ -723,14 +1587,14 @@ - 1200 - 135 + 913 + 470 Y
- product.template.csv + product.pricelist.csv CsvInput N @@ -740,7 +1604,230 @@ none - ${GITREPOS}/cam_dmi/product.template.csv + ${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 @@ -908,11 +1995,354 @@ -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 + - 541 - 133 + 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
@@ -928,7 +2358,7 @@ none - ${GITREPOS}/cam_dmi/res.partner.csv + ${dmi_dir}/cam_dmi/res.partner.csv N @@ -936,7 +2366,7 @@ "
Y
50000 - Y + N N N N @@ -986,6 +2416,17 @@ -1 none + + street2 + String + + + + + -1 + -1 + none + city String @@ -1195,42 +2636,8 @@ -1 none - - - - 380 - 129 - Y - - - - - stock.inventory.line.csv - CsvInput - - Y - - 1 - - none - - - ${GITREPOS}/cam_dmi/stock.inventory.line.csv - - - N - , - " -
Y
- 50000 - Y - N - N - N - - - id + property_product_pricelist_purchase/id String @@ -1241,7 +2648,7 @@ none - inventory_id/id + property_payment_term/id String @@ -1252,7 +2659,7 @@ none - product_id/id + property_supplier_payment_term/id String @@ -1263,7 +2670,7 @@ none - location_id/id + sale_warn String @@ -1274,7 +2681,7 @@ none - product_uom_id/id + sale_warn_msg String @@ -1285,7 +2692,62 @@ none - product_qty + 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 @@ -1298,8 +2760,8 @@ - 1000 - 133 + 357 + 142 Y
@@ -1315,7 +2777,7 @@ none - ${GITREPOS}/cam_dmi/stock.warehouse.orderpoint.csv + ${dmi_dir}/cam_dmi/stock.warehouse.orderpoint.csv N @@ -1398,64 +2860,8 @@ - 764 - 134 - Y - - - - - vat_lookup.csv - CsvInput - - Y - - 1 - - none - - - ${GITREPOS}/cam_dmi/vat_lookup.csv - - - N - , - " -
Y
- 50000 - Y - N - N - N - - - - vat_old - String - - - - - -1 - -1 - none - - - vat_new - String - - - - - -1 - -1 - none - - - - - 243 - 132 + 760 + 72 Y
diff --git a/dev/dmi/run1/cam_dmi/__init__.py b/dmi/run1/cam_dmi/__init__.py similarity index 100% rename from dev/dmi/run1/cam_dmi/__init__.py rename to dmi/run1/cam_dmi/__init__.py diff --git a/dev/dmi/run1/cam_dmi/__openerp__.py b/dmi/run1/cam_dmi/__openerp__.py similarity index 100% rename from dev/dmi/run1/cam_dmi/__openerp__.py rename to dmi/run1/cam_dmi/__openerp__.py diff --git a/dev/dmi/run1/cam_dmi/res.users.csv b/dmi/run1/cam_dmi/res.users.csv similarity index 100% rename from dev/dmi/run1/cam_dmi/res.users.csv rename to dmi/run1/cam_dmi/res.users.csv diff --git a/dev/dmi/run1/cam_dmi/static/description/icon.png b/dmi/run1/cam_dmi/static/description/icon.png similarity index 100% rename from dev/dmi/run1/cam_dmi/static/description/icon.png rename to dmi/run1/cam_dmi/static/description/icon.png diff --git a/dev/dmi/run1/input/README.txt b/dmi/run1/input/README.txt similarity index 100% rename from dev/dmi/run1/input/README.txt rename to dmi/run1/input/README.txt 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-80.nginx b/ext/config/odoo-80.nginx deleted file mode 100644 index 6fb7c17c..00000000 --- a/ext/config/odoo-80.nginx +++ /dev/null @@ -1,50 +0,0 @@ -upstream odoo-server { - server 127.0.0.1:8069 fail_timeout=3000s; -} - -server { - listen 80 default_server; - server_name _; - - - # Specifies the maximum accepted body size of a client request, - # as indicated by the request header Content-Length. - client_max_body_size 200m; - - # log files - access_log /var/log/nginx/odoo-access.log; - error_log /var/log/nginx/odoo-error.log; - - # increase proxy buffer to handle some OpenERP web requests - proxy_buffers 16 64k; - proxy_buffer_size 128k; - - location / { - proxy_pass http://odoo-server; - # force timeouts if the backend dies - proxy_next_upstream error timeout invalid_header http_500 http_502 http_503; - proxy_read_timeout 300s; - - # set headers - proxy_set_header Host $host; - proxy_set_header X-Real-IP $remote_addr; - proxy_set_header X-Forward-For $proxy_add_x_forwarded_for; - - # Let the OpenERP web service know that we're using HTTPS, otherwise - # it will generate URL using http:// and not https:// - # proxy_set_header X-Forwarded-Proto https; - - # by default, do not forward anything - proxy_redirect off; - } - - # cache some static data in memory for 60mins. - # under heavy load this should relieve stress on the OpenERP web interface a bit. - location ~* /web/static/ { - proxy_cache_valid 200 60m; - proxy_buffering on; - expires 864000; - proxy_pass http://odoo-server; - } - -} diff --git a/ext/config/odoo-server.conf b/ext/config/odoo-server.conf index f0b68fe6..7a2599d6 100644 --- a/ext/config/odoo-server.conf +++ b/ext/config/odoo-server.conf @@ -10,15 +10,16 @@ db_user = False debug_mode = False list_db = True -log_level = error -logfile = /var/log/odoo/odoo-server.log +log_level = warn #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 diff --git a/ext/custom-addons/cam_custom/__openerp__.py b/ext/custom-addons/cam_custom/__openerp__.py index 7709fa23..3fbdcc18 100644 --- a/ext/custom-addons/cam_custom/__openerp__.py +++ b/ext/custom-addons/cam_custom/__openerp__.py @@ -27,11 +27,12 @@ 'description': """Individuelle Anpassungen""", 'author': 'camadeus GmbH', 'website': 'http://www.camadeus.at', - 'depends': ['crm','sale','mail','product','account'], + 'depends': ['knowledge','crm','sale','mail','product','account'], 'data': [ 'cam_custom_view.xml', 'cam_custom_data.xml', 'views/custom_theme.xml', + 'security/ir.model.access.csv', ], 'installable': True, 'auto_install': False, diff --git a/ext/custom-addons/cam_custom/cam_custom_view.xml b/ext/custom-addons/cam_custom/cam_custom_view.xml index 2590defa..8852021a 100644 --- a/ext/custom-addons/cam_custom/cam_custom_view.xml +++ b/ext/custom-addons/cam_custom/cam_custom_view.xml @@ -74,6 +74,38 @@ - + + + + + + Dokumente + ir.actions.act_window + ir.attachment + form + tree,form + +

+ Click to create a new document. +

+ The Documents repository gives you access to all attachments, such + as mails, project documents, invoices etc. +

+
+
+ + diff --git a/ext/custom-addons/cam_custom/security/ir.model.access.csv b/ext/custom-addons/cam_custom/security/ir.model.access.csv new file mode 100644 index 00000000..52d55274 --- /dev/null +++ b/ext/custom-addons/cam_custom/security/ir.model.access.csv @@ -0,0 +1,2 @@ +"id","name","model_id:id","group_id:id","perm_read","perm_write","perm_create","perm_unlink" +"crm_opportunity_report_show","crm_opportunity_report_show","crm.model_crm_opportunity_report","base.group_sale_salesman",1,,, 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/cam_invoice_skonto.py b/ext/custom-addons/cam_invoice_skonto/cam_invoice_skonto.py index acccc44e..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,7 +82,312 @@ 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' 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 884e1a19..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 @@ -39,7 +39,7 @@ - + @@ -54,10 +54,23 @@ - + + + + + cam_invoice_skonto.account_voucher.form + account.voucher + + + + 1 + + + + sale.order.form diff --git a/ext/custom-addons/cam_reports/cam_reports.py b/ext/custom-addons/cam_reports/cam_reports.py index 7112626b..974a8f5b 100644 --- a/ext/custom-addons/cam_reports/cam_reports.py +++ b/ext/custom-addons/cam_reports/cam_reports.py @@ -31,7 +31,7 @@ class res_company(osv.osv): def get_image(self, img): def _get_dir(): - styles_dir = 'cam_custom/static/src/img' + styles_dir = 'cam_reports/static/src/img' adps = addons.module.ad_paths for adp in adps: dir = os.path.join(adp, styles_dir) @@ -64,6 +64,23 @@ class res_company(osv.osv): if os.path.isdir(dir): break + if os.path.isdir(dir): + filename = os.path.join(dir, 'briefkopf.rml') + f = open(filename , 'rb') + data = f.read() + result = dict.fromkeys(ids, data) + return result + + def _get_rml_header2(self, cr, uid, ids, _field_name, _args, context=None): + result = dict.fromkeys(ids, False) + # Get filename + dirname = 'cam_reports/report' + adps = addons.module.ad_paths + for adp in adps: + dir = os.path.join(adp, dirname) + if os.path.isdir(dir): + break + if os.path.isdir(dir): filename = os.path.join(dir, 'page.rml') f = open(filename , 'rb') @@ -72,5 +89,6 @@ class res_company(osv.osv): return result _columns = { - 'rml_header': fields.function(_get_rml_header, type='text', string='RML Header'), + 'rml_header': fields.function(_get_rml_header, type='text', string='Briefkopf',readonly=True), + 'rml_header2': fields.function(_get_rml_header2, type='text', string='RML Header',readonly=True), } \ No newline at end of file diff --git a/ext/custom-addons/cam_reports/report/briefkopf.rml b/ext/custom-addons/cam_reports/report/briefkopf.rml new file mode 100644 index 00000000..09710608 --- /dev/null +++ b/ext/custom-addons/cam_reports/report/briefkopf.rml @@ -0,0 +1,99 @@ +
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + [[ company.partner_id.name ]] + [[ company.street ]] + [[ company.zip ]] [[ company.city ]] + [[ company.country_id.name ]] + + + + + Telefon: + Telefax: + E-Mail: + Web: + + + [[ company.phone ]] + [[ company.fax ]] + [[ company.partner_id.email ]] + [[ company.partner_id.website ]] + + + + [[ company.logo]] + + + + + + + + + + Bankverbindung: BANK, IBAN: AT000000000000000000, BIC: AAAAAAAA + UID: [[company.vat ]], FN: [[ company.company_registry ]] + Die Ware bleibt bis zur vollständigen Bezahlung unser Eigentum. + + + + + Seite + + + + +
\ No newline at end of file diff --git a/ext/custom-addons/cam_reports/report/page.rml b/ext/custom-addons/cam_reports/report/page.rml index 09710608..f4d8ecd1 100644 --- a/ext/custom-addons/cam_reports/report/page.rml +++ b/ext/custom-addons/cam_reports/report/page.rml @@ -49,51 +49,5 @@ - - - - - [[ company.partner_id.name ]] - [[ company.street ]] - [[ company.zip ]] [[ company.city ]] - [[ company.country_id.name ]] - - - - - Telefon: - Telefax: - E-Mail: - Web: - - - [[ company.phone ]] - [[ company.fax ]] - [[ company.partner_id.email ]] - [[ company.partner_id.website ]] - - - - [[ company.logo]] - - - - - - - - - - Bankverbindung: BANK, IBAN: AT000000000000000000, BIC: AAAAAAAA - UID: [[company.vat ]], FN: [[ company.company_registry ]] - Die Ware bleibt bis zur vollständigen Bezahlung unser Eigentum. - - - - - Seite - - - \ No newline at end of file diff --git a/ext/custom-addons/cam_reports/report/sale.order.rml b/ext/custom-addons/cam_reports/report/sale.order.rml index e073a871..8442e08c 100644 --- a/ext/custom-addons/cam_reports/report/sale.order.rml +++ b/ext/custom-addons/cam_reports/report/sale.order.rml @@ -13,7 +13,7 @@ [[repeatIn(objects,'o')]] [[ setLang(o.partner_id.commercial_partner_id.lang)]] - +
- + + + + + + + + + + + + + + + + + + + +
@@ -25,28 +25,69 @@ [[ (o.partner_id.state_id and o.partner_id.state_id.name) or removeParentNode('para')]] [[ (o.partner_id.country_id and o.partner_id.country_id.name) or '' ]] +
[[ not (o.partner_id.commercial_partner_id and o.partner_id.commercial_partner_id.ref) or removeParentNode('section') ]]   -
+
+ +
[[ (o.partner_shipping_id and o.partner_shipping_id.id != o.partner_id.id) or removeParentNode('section')]] + + Lieferadresse: + [[ o.partner_shipping_id.commercial_partner_id.name ]] + [[ (o.partner_shipping_id.commercial_partner_id.id != o.partner_shipping_id.id and o.partner_shipping_id.name) or '' ]] + [[ (o.partner_shipping_id.street ) or '']] + [[ (o.partner_shipping_id.street2) or removeParentNode('para') ]] + [[ (o.partner_shipping_id.zip) or '' ]] [[ (o.partner_shipping_id and o.partner_shipping_id.city) or '' ]] + [[ (o.partner_shipping_id.state_id and o.partner_shipping_id.state_id.name) or removeParentNode('para')]] + [[ (o.partner_shipping_id.country_id and o.partner_shipping_id.country_id.name) or '' ]] +
- Angebotsdatum:[[ o.state not in ['draft','sent'] and removeParentNode('para') ]] - Bestelldatum:[[ o.state in ['draft','sent'] and removeParentNode('para') ]] - Quelldokument: - Referenz: - - Kunde UID Nr.: - Ansprechpartner: - - [[ formatLang(o.date_order,date = True) ]]  - [[ o.origin ]]  - [[ o.client_order_ref ]]  - - [[ o.partner_id.commercial_partner_id and o.partner_id.commercial_partner_id.vat or '' ]]  - [[ (o.user_id and o.user_id.name) or '' ]]  + +
+ Angebotsdatum:[[ o.state not in ['draft','sent'] and removeParentNode('para') ]] + Bestelldatum:[[ o.state in ['draft','sent'] and removeParentNode('para') ]] + + [[ formatLang(o.date_order,date = True) ]] +
+ Quelldokument:[[ o.state not in ['draft','sent'] and removeParentNode('tr') ]] + + [[ o.origin ]] +
+ Kundennummer: + + [[ o.client_order_ref ]] +
+ Kunde UID Nr.: + + [[ o.partner_id.commercial_partner_id and o.partner_id.commercial_partner_id.vat or '' ]] +
+ Ansprechpartner: + + [[ (o.user_id and o.user_id.name) or '' ]] +