config + dmi
							parent
							
								
									3c6281c03c
								
							
						
					
					
						commit
						4425a8e0db
					
				|  | @ -68,13 +68,12 @@ | |||
|   <created_user>-</created_user> | ||||
|   <created_date>2014/12/19 13:36:06.719</created_date> | ||||
|   <modified_user>-</modified_user> | ||||
|   <modified_date>2015/02/19 15:26:38.043</modified_date> | ||||
|   <modified_date>2015/02/19 17:03:51.062</modified_date> | ||||
|   </info> | ||||
|   <notepads> | ||||
|   </notepads> | ||||
|   <order> | ||||
|   <hop> <from>Transform</from><to>Prioritize streams</to><enabled>Y</enabled> </hop> | ||||
|   <hop> <from>Prioritize streams</from><to>res.partner.csv</to><enabled>Y</enabled> </hop> | ||||
|   <hop> <from>Länder</from><to>Stream lookup</to><enabled>Y</enabled> </hop> | ||||
|   <hop> <from>vendor.csv</from><to>Stream lookup</to><enabled>Y</enabled> </hop> | ||||
|   <hop> <from>Customer.csv</from><to>Stream lookup 2</to><enabled>Y</enabled> </hop> | ||||
|  | @ -84,19 +83,24 @@ | |||
|   <hop> <from>vat_lookup.csv</from><to>Dummy (do nothing)</to><enabled>Y</enabled> </hop> | ||||
|   <hop> <from>Dummy (do nothing)</from><to>vat lookup</to><enabled>Y</enabled> </hop> | ||||
|   <hop> <from>Transform 3</from><to>account.payment.term.csv</to><enabled>Y</enabled> </hop> | ||||
|   <hop> <from>zahlungsziele_20150122.csv</from><to>Transform 3</to><enabled>N</enabled> </hop> | ||||
|   <hop> <from>vat lookup</from><to>terms loookup</to><enabled>Y</enabled> </hop> | ||||
|   <hop> <from>terms loookup</from><to>Transform</to><enabled>Y</enabled> </hop> | ||||
|   <hop> <from>zahlungsziele_20150122.csv</from><to>terms loookup</to><enabled>N</enabled> </hop> | ||||
|   <hop> <from>Stream lookup</from><to>terms loookup 2</to><enabled>Y</enabled> </hop> | ||||
|   <hop> <from>terms loookup 2</from><to>Transform 2</to><enabled>Y</enabled> </hop> | ||||
|   <hop> <from>zahlungsziele_20150122.csv</from><to>terms loookup 2</to><enabled>N</enabled> </hop> | ||||
|   <hop> <from>zahlungsziele.csv</from><to>Transform 3</to><enabled>Y</enabled> </hop> | ||||
|   <hop> <from>zahlungsziele.csv</from><to>terms loookup</to><enabled>Y</enabled> </hop> | ||||
|   <hop> <from>zahlungsziele.csv</from><to>terms loookup 2</to><enabled>Y</enabled> </hop> | ||||
|   <hop> <from>Transform 3 2</from><to>product.pricelist.version.csv</to><enabled>Y</enabled> </hop> | ||||
|   <hop> <from>Data Grid</from><to>Transform 3 2</to><enabled>Y</enabled> </hop> | ||||
|   <hop> <from>Data Grid</from><to>Transform 3 2 2</to><enabled>Y</enabled> </hop> | ||||
|   <hop> <from>Transform 3 2 2</from><to>product.pricelist.csv</to><enabled>Y</enabled> </hop> | ||||
|   <hop> <from>Transform 3 2 3</from><to>product.pricelist.item.csv</to><enabled>Y</enabled> </hop> | ||||
|   <hop> <from>Data Grid</from><to>Transform 3 2 3</to><enabled>Y</enabled> </hop> | ||||
|   <hop> <from>vat lookup</from><to>terms loookup</to><enabled>Y</enabled> </hop> | ||||
|   <hop> <from>terms loookup</from><to>Transform</to><enabled>Y</enabled> </hop> | ||||
|   <hop> <from>terms loookup 2</from><to>Transform 2</to><enabled>Y</enabled> </hop> | ||||
|   <hop> <from>Prioritize streams</from><to>Filter rows</to><enabled>Y</enabled> </hop> | ||||
|   <hop> <from>Filter rows</from><to>no name</to><enabled>Y</enabled> </hop> | ||||
|   <hop> <from>Filter rows</from><to>res.partner.csv</to><enabled>Y</enabled> </hop> | ||||
|   <hop> <from>Stream lookup</from><to>vat lookup 2</to><enabled>Y</enabled> </hop> | ||||
|   <hop> <from>vat lookup 2</from><to>terms loookup 2</to><enabled>Y</enabled> </hop> | ||||
|   <hop> <from>Dummy (do nothing)</from><to>vat lookup 2</to><enabled>Y</enabled> </hop> | ||||
|   </order> | ||||
|   <step> | ||||
|     <name>Data Grid</name> | ||||
|  | @ -158,7 +162,7 @@ | |||
|     <data> | ||||
|       <line> <item>EUR</item><item>base.EUR</item><item>purchase</item><item>Einkaufspreisliste EUR</item> </line> | ||||
|       <line> <item>USD</item><item>base.USD</item><item>purchase</item><item>Einkaufspreisliste USD</item> </line> | ||||
|       <line> <item>GBP</item><item>base.GBP</item><item>purchase</item><item>Einkaufspreisliste GBP</item> </line> | ||||
|       <line> <item>CZK</item><item>base.CZK</item><item>purchase</item><item>Einkaufspreisliste GBP</item> </line> | ||||
|     </data> | ||||
|      <cluster_schema/> | ||||
|  <remotesteps>   <input>   </input>   <output>   </output> </remotesteps>    <GUI> | ||||
|  | @ -295,7 +299,7 @@ | |||
|     <name>Stream lookup</name> | ||||
|     <type>StreamLookup</type> | ||||
|     <description/> | ||||
|     <distribute>Y</distribute> | ||||
|     <distribute>N</distribute> | ||||
|     <custom_distribution/> | ||||
|     <copies>1</copies> | ||||
|          <partitioning> | ||||
|  | @ -396,28 +400,29 @@ | |||
| 	 | ||||
| 
 | ||||
| 	// For every row | ||||
| 	String id = get(Fields.In, "Kundennummer").getString(r); | ||||
| 	String id = get(Fields.In, "Nr.").getString(r); | ||||
| 	id = id.trim(); | ||||
| 	get(Fields.Out, "id").setValue(out, "p_" + id); | ||||
| 	get(Fields.Out, "name").setValue(out, get(Fields.In, "Kundenname Lang").getString(r)); | ||||
| 	get(Fields.Out, "name").setValue(out, get(Fields.In, "Name").getString(r)); | ||||
| 
 | ||||
|   	get(Fields.Out, "parent_id/id").setValue(out, ""); | ||||
| 	get(Fields.Out, "street").setValue(out, get(Fields.In, "street").getString(r)); | ||||
| 	get(Fields.Out, "street").setValue(out, get(Fields.In, "Adresse").getString(r)); | ||||
| 	get(Fields.Out, "street2").setValue(out, get(Fields.In, "Adresse 2").getString(r)); | ||||
| 
 | ||||
| 	get(Fields.Out, "city").setValue(out, get(Fields.In, "city").getString(r)); | ||||
| 	get(Fields.Out, "zip").setValue(out, get(Fields.In, "zip").getString(r)); | ||||
| 	get(Fields.Out, "website").setValue(out, ""); | ||||
| 	get(Fields.Out, "phone").setValue(out, get(Fields.In, "phone").getString(r)); | ||||
| 	get(Fields.Out, "city").setValue(out, get(Fields.In, "Ort").getString(r)); | ||||
| 	get(Fields.Out, "zip").setValue(out, get(Fields.In, "PLZ-Code").getString(r)); | ||||
| 	get(Fields.Out, "website").setValue(out, "Homepage"); | ||||
| 	get(Fields.Out, "phone").setValue(out, get(Fields.In, "Telefonnr.").getString(r)); | ||||
| 	get(Fields.Out, "mobile").setValue(out, ""); | ||||
| 	get(Fields.Out, "fax").setValue(out, get(Fields.In, "fax").getString(r)); | ||||
| 	get(Fields.Out, "email").setValue(out, get(Fields.In, "email").getString(r)); | ||||
| 	get(Fields.Out, "fax").setValue(out, get(Fields.In, "Faxnr.").getString(r)); | ||||
| 	get(Fields.Out, "email").setValue(out, get(Fields.In, "E-Mail").getString(r)); | ||||
| 
 | ||||
| 	String comment = get(Fields.In, "name").getString(r); | ||||
| 	String comment = ""; | ||||
| 	get(Fields.Out, "comment").setValue(out, comment); | ||||
| 
 | ||||
| 
 | ||||
| 	get(Fields.Out, "ref").setValue(out, id); | ||||
| 	get(Fields.Out, "lang").setValue(out, "de_DE"); | ||||
| 	get(Fields.Out, "lang").setValue(out, ""); //de_DE | ||||
| 	get(Fields.Out, "vat").setValue(out, get(Fields.In, "help_newvat").getString(r)); | ||||
| 	get(Fields.Out, "date").setValue(out, ""); | ||||
| 	get(Fields.Out, "is_company").setValue(out, "1"); | ||||
|  | @ -430,14 +435,8 @@ | |||
| 	get(Fields.Out, "property_payment_term/id").setValue(out,  get(Fields.In, "help_termid").getString(r)); | ||||
| 	get(Fields.Out, "notify_email").setValue(out, "none"); | ||||
| 	 | ||||
| 	String warning = get(Fields.In, "Besonderheit").getString(r); | ||||
| 	if (warning != null) { | ||||
| 		get(Fields.Out, "sale_warn").setValue(out, "warning"); | ||||
| 		get(Fields.Out, "sale_warn_msg").setValue(out, warning); | ||||
| 	} else { | ||||
| 		get(Fields.Out, "sale_warn").setValue(out, "no-message"); | ||||
| 		get(Fields.Out, "sale_warn_msg").setValue(out, ""); | ||||
| 	} | ||||
| 	get(Fields.Out, "sale_warn").setValue(out, "no-message"); | ||||
| 	get(Fields.Out, "sale_warn_msg").setValue(out, ""); | ||||
| 	get(Fields.Out, "purchase_warn").setValue(out, "no-message"); | ||||
| 	get(Fields.Out, "purchase_warn_msg").setValue(out, ""); | ||||
| 	get(Fields.Out, "picking_warn").setValue(out, "no-message"); | ||||
|  | @ -860,30 +859,30 @@ | |||
| 	 | ||||
| 
 | ||||
| 	// For every row | ||||
| 	String id = get(Fields.In, "Lnr").getString(r); | ||||
| 	String id = get(Fields.In, "Nr.").getString(r); | ||||
| 	id = id.trim(); | ||||
| 	get(Fields.Out, "id").setValue(out, "p_" + id); | ||||
| 	get(Fields.Out, "name").setValue(out, get(Fields.In, "Name Lang").getString(r)); | ||||
| 	get(Fields.Out, "name").setValue(out, get(Fields.In, "Name").getString(r)); | ||||
| 
 | ||||
|   	get(Fields.Out, "parent_id/id").setValue(out, ""); | ||||
| 	get(Fields.Out, "street").setValue(out, get(Fields.In, "Strasse").getString(r)); | ||||
| 	get(Fields.Out, "street2").setValue(out, get(Fields.In, "Sonstiges").getString(r)); | ||||
| 	get(Fields.Out, "street").setValue(out, get(Fields.In, "Adresse").getString(r)); | ||||
| 	get(Fields.Out, "street2").setValue(out, get(Fields.In, "Adresse 2").getString(r)); | ||||
| 	 | ||||
| 	get(Fields.Out, "city").setValue(out, get(Fields.In, "Ort").getString(r)); | ||||
| 	get(Fields.Out, "zip").setValue(out, get(Fields.In, "PLZ").getString(r)); | ||||
| 	get(Fields.Out, "zip").setValue(out, get(Fields.In, "PLZ-Code").getString(r)); | ||||
| 	get(Fields.Out, "website").setValue(out, ""); | ||||
| 	get(Fields.Out, "phone").setValue(out, get(Fields.In, "Telefon").getString(r)); | ||||
| 	get(Fields.Out, "phone").setValue(out, get(Fields.In, "Telefonnr.").getString(r)); | ||||
| 	get(Fields.Out, "mobile").setValue(out, ""); | ||||
| 	get(Fields.Out, "fax").setValue(out, get(Fields.In, "Fax").getString(r)); | ||||
| 	get(Fields.Out, "email").setValue(out, get(Fields.In, "E-mail").getString(r)); | ||||
| 	get(Fields.Out, "fax").setValue(out, get(Fields.In, "Faxnr.").getString(r)); | ||||
| 	get(Fields.Out, "email").setValue(out, get(Fields.In, "E-Mail").getString(r)); | ||||
| 
 | ||||
| 	String comment = get(Fields.In, "Name").getString(r); | ||||
| 	String comment = "";//get(Fields.In, "Name").getString(r); | ||||
| 
 | ||||
| 	get(Fields.Out, "comment").setValue(out,comment); | ||||
| 	get(Fields.Out, "ref").setValue(out, id); | ||||
| 	get(Fields.Out, "lang").setValue(out, "de_DE"); | ||||
| 
 | ||||
| 	//get(Fields.Out, "vat").setValue(out, get(Fields.In, "help_newvat").getString(r)); | ||||
| 	get(Fields.Out, "vat").setValue(out, get(Fields.In, "help_newvat").getString(r)); | ||||
| 	get(Fields.Out, "date").setValue(out, ""); | ||||
| 	get(Fields.Out, "is_company").setValue(out, "1"); | ||||
| 	get(Fields.Out, "function").setValue(out, ""); | ||||
|  | @ -892,7 +891,7 @@ | |||
| 	get(Fields.Out, "customer").setValue(out, "0"); | ||||
| 	get(Fields.Out, "supplier").setValue(out, "1"); | ||||
| 
 | ||||
| 	String cur = get(Fields.In, "Währung").getString(r); | ||||
| 	String cur = get(Fields.In, "Währungscode").getString(r); | ||||
| 	if (cur == null) { | ||||
| 		cur = "EUR"; | ||||
| 	} | ||||
|  | @ -913,6 +912,7 @@ | |||
|     putRow(data.outputRowMeta, out); | ||||
| 
 | ||||
| 	// Erstelle Ansprechpartner | ||||
| /* | ||||
| 	String ansprechpartner = get(Fields.In, "Gespraechspartner").getString(r); | ||||
| 	if (ansprechpartner != null) { | ||||
| 		Object[] out2 = createOutputRow(out, data.outputRowMeta.size()); | ||||
|  | @ -932,7 +932,7 @@ | |||
| 		get(Fields.Out, "invoice_warn_msg").setValue(out2, ""); | ||||
| 		putRow(data.outputRowMeta, out2); | ||||
| 	} | ||||
| 
 | ||||
| */ | ||||
| 	return true; | ||||
| }]]></class_source> | ||||
|         </definition> | ||||
|  | @ -1291,8 +1291,8 @@ | |||
|     </fields><clear_result_fields>Y</clear_result_fields> | ||||
| <info_steps></info_steps><target_steps></target_steps><usage_parameters></usage_parameters>     <cluster_schema/> | ||||
|  <remotesteps>   <input>   </input>   <output>   </output> </remotesteps>    <GUI> | ||||
|       <xloc>808</xloc> | ||||
|       <yloc>444</yloc> | ||||
|       <xloc>815</xloc> | ||||
|       <yloc>521</yloc> | ||||
|       <draw>Y</draw> | ||||
|       </GUI> | ||||
|     </step> | ||||
|  | @ -1334,7 +1334,7 @@ | |||
| 	id = id.trim(); | ||||
| 	get(Fields.Out, "id").setValue(out, id); | ||||
| 	get(Fields.Out, "name").setValue(out, get(Fields.In, "Name").getString(r)); | ||||
| 	get(Fields.Out, "note").setValue(out, get(Fields.In, "Name").getString(r)); | ||||
| 	get(Fields.Out, "note").setValue(out, get(Fields.In, "Text").getString(r)); | ||||
| 	get(Fields.Out, "netto_tage").setValue(out, get(Fields.In, "Nettotage").getString(r)); | ||||
| 	get(Fields.Out, "skonto_tage").setValue(out, get(Fields.In, "Tage").getString(r)); | ||||
|   	get(Fields.Out, "skonto_prozent").setValue(out, get(Fields.In, "Skonto").getString(r)); | ||||
|  | @ -1766,7 +1766,7 @@ | |||
|       <is_command>N</is_command> | ||||
|       <servlet_output>N</servlet_output> | ||||
|       <do_not_open_new_file_init>N</do_not_open_new_file_init> | ||||
|       <extention>${EXT1}</extention> | ||||
|       <extention>csv</extention> | ||||
|       <append>N</append> | ||||
|       <split>N</split> | ||||
|       <haspartno>N</haspartno> | ||||
|  | @ -2750,8 +2750,8 @@ | |||
|     </fields> | ||||
|      <cluster_schema/> | ||||
|  <remotesteps>   <input>   </input>   <output>   </output> </remotesteps>    <GUI> | ||||
|       <xloc>537</xloc> | ||||
|       <yloc>115</yloc> | ||||
|       <xloc>535</xloc> | ||||
|       <yloc>36</yloc> | ||||
|       <draw>Y</draw> | ||||
|       </GUI> | ||||
|     </step> | ||||
|  | @ -3468,7 +3468,7 @@ | |||
|       <is_command>N</is_command> | ||||
|       <servlet_output>N</servlet_output> | ||||
|       <do_not_open_new_file_init>N</do_not_open_new_file_init> | ||||
|       <extention>${EXT1}</extention> | ||||
|       <extention>csv</extention> | ||||
|       <append>N</append> | ||||
|       <split>N</split> | ||||
|       <haspartno>N</haspartno> | ||||
|  | @ -3568,7 +3568,7 @@ | |||
|       <is_command>N</is_command> | ||||
|       <servlet_output>N</servlet_output> | ||||
|       <do_not_open_new_file_init>N</do_not_open_new_file_init> | ||||
|       <extention>${EXT1}</extention> | ||||
|       <extention>csv</extention> | ||||
|       <append>N</append> | ||||
|       <split>N</split> | ||||
|       <haspartno>N</haspartno> | ||||
|  | @ -3668,7 +3668,7 @@ | |||
|       <is_command>N</is_command> | ||||
|       <servlet_output>N</servlet_output> | ||||
|       <do_not_open_new_file_init>N</do_not_open_new_file_init> | ||||
|       <extention>${EXT1}</extention> | ||||
|       <extention>csv</extention> | ||||
|       <append>N</append> | ||||
|       <split>N</split> | ||||
|       <haspartno>N</haspartno> | ||||
|  | @ -3756,7 +3756,7 @@ | |||
|       <is_command>N</is_command> | ||||
|       <servlet_output>N</servlet_output> | ||||
|       <do_not_open_new_file_init>N</do_not_open_new_file_init> | ||||
|       <extention>${EXT1}</extention> | ||||
|       <extention>csv</extention> | ||||
|       <append>N</append> | ||||
|       <split>N</split> | ||||
|       <haspartno>N</haspartno> | ||||
|  | @ -4194,7 +4194,7 @@ | |||
|      <cluster_schema/> | ||||
|  <remotesteps>   <input>   </input>   <output>   </output> </remotesteps>    <GUI> | ||||
|       <xloc>668</xloc> | ||||
|       <yloc>653</yloc> | ||||
|       <yloc>720</yloc> | ||||
|       <draw>Y</draw> | ||||
|       </GUI> | ||||
|     </step> | ||||
|  | @ -4210,14 +4210,14 @@ | |||
|            <method>none</method> | ||||
|            <schema_name/> | ||||
|            </partitioning> | ||||
|     <from>zahlungsziele_20150122.csv</from> | ||||
|     <from>zahlungsziele.csv</from> | ||||
|     <input_sorted>N</input_sorted> | ||||
|     <preserve_memory>Y</preserve_memory> | ||||
|     <sorted_list>N</sorted_list> | ||||
|     <integer_pair>N</integer_pair> | ||||
|     <lookup> | ||||
|       <key> | ||||
|         <name>Zahlungsziel</name> | ||||
|         <name>Zlg.-Bedingungscode</name> | ||||
|         <field>Name</field> | ||||
|       </key> | ||||
|       <value> | ||||
|  | @ -4229,8 +4229,8 @@ | |||
|     </lookup> | ||||
|      <cluster_schema/> | ||||
|  <remotesteps>   <input>   </input>   <output>   </output> </remotesteps>    <GUI> | ||||
|       <xloc>541</xloc> | ||||
|       <yloc>411</yloc> | ||||
|       <xloc>542</xloc> | ||||
|       <yloc>421</yloc> | ||||
|       <draw>Y</draw> | ||||
|       </GUI> | ||||
|     </step> | ||||
|  | @ -4246,14 +4246,14 @@ | |||
|            <method>none</method> | ||||
|            <schema_name/> | ||||
|            </partitioning> | ||||
|     <from>zahlungsziele_20150122.csv</from> | ||||
|     <from>zahlungsziele.csv</from> | ||||
|     <input_sorted>N</input_sorted> | ||||
|     <preserve_memory>Y</preserve_memory> | ||||
|     <sorted_list>N</sorted_list> | ||||
|     <integer_pair>N</integer_pair> | ||||
|     <lookup> | ||||
|       <key> | ||||
|         <name>Zahlungsziel</name> | ||||
|         <name>Zlg.-Bedingungscode</name> | ||||
|         <field>Name</field> | ||||
|       </key> | ||||
|       <value> | ||||
|  | @ -4265,8 +4265,8 @@ | |||
|     </lookup> | ||||
|      <cluster_schema/> | ||||
|  <remotesteps>   <input>   </input>   <output>   </output> </remotesteps>    <GUI> | ||||
|       <xloc>805</xloc> | ||||
|       <yloc>334</yloc> | ||||
|       <xloc>812</xloc> | ||||
|       <yloc>440</yloc> | ||||
|       <draw>Y</draw> | ||||
|       </GUI> | ||||
|     </step> | ||||
|  | @ -4275,7 +4275,7 @@ | |||
|     <name>vat lookup</name> | ||||
|     <type>StreamLookup</type> | ||||
|     <description/> | ||||
|     <distribute>Y</distribute> | ||||
|     <distribute>N</distribute> | ||||
|     <custom_distribution/> | ||||
|     <copies>1</copies> | ||||
|          <partitioning> | ||||
|  | @ -4301,8 +4301,8 @@ | |||
|     </lookup> | ||||
|      <cluster_schema/> | ||||
|  <remotesteps>   <input>   </input>   <output>   </output> </remotesteps>    <GUI> | ||||
|       <xloc>543</xloc> | ||||
|       <yloc>336</yloc> | ||||
|       <xloc>537</xloc> | ||||
|       <yloc>338</yloc> | ||||
|       <draw>Y</draw> | ||||
|       </GUI> | ||||
|     </step> | ||||
|  | @ -4318,7 +4318,7 @@ | |||
|            <method>none</method> | ||||
|            <schema_name/> | ||||
|            </partitioning> | ||||
|     <filename>${dmi_dir}/run1/cam_dmi/vat_lookup.csv</filename> | ||||
|     <filename>${dmi_dir}/cam_dmi/vat_lookup.csv</filename> | ||||
|     <filename_field/> | ||||
|     <rownum_field/> | ||||
|     <include_filename>N</include_filename> | ||||
|  | @ -4326,7 +4326,7 @@ | |||
|     <enclosure>"</enclosure> | ||||
|     <header>Y</header> | ||||
|     <buffer_size>50000</buffer_size> | ||||
|     <lazy_conversion>Y</lazy_conversion> | ||||
|     <lazy_conversion>N</lazy_conversion> | ||||
|     <add_filename_result>N</add_filename_result> | ||||
|     <parallel>N</parallel> | ||||
|     <newline_possible>N</newline_possible> | ||||
|  | @ -4357,14 +4357,14 @@ | |||
|     </fields> | ||||
|      <cluster_schema/> | ||||
|  <remotesteps>   <input>   </input>   <output>   </output> </remotesteps>    <GUI> | ||||
|       <xloc>669</xloc> | ||||
|       <yloc>257</yloc> | ||||
|       <xloc>671</xloc> | ||||
|       <yloc>243</yloc> | ||||
|       <draw>Y</draw> | ||||
|       </GUI> | ||||
|     </step> | ||||
| 
 | ||||
|   <step> | ||||
|     <name>zahlungsziele_20150122.csv</name> | ||||
|     <name>zahlungsziele.csv</name> | ||||
|     <type>CsvInput</type> | ||||
|     <description/> | ||||
|     <distribute>N</distribute> | ||||
|  | @ -4374,7 +4374,7 @@ | |||
|            <method>none</method> | ||||
|            <schema_name/> | ||||
|            </partitioning> | ||||
|     <filename>${dmi_dir}/input/zahlungsziele_20150122.csv</filename> | ||||
|     <filename>${dmi_dir}/input/zahlungsziele.csv</filename> | ||||
|     <filename_field/> | ||||
|     <rownum_field/> | ||||
|     <include_filename>N</include_filename> | ||||
|  | @ -4410,6 +4410,17 @@ | |||
|         <precision>-1</precision> | ||||
|         <trim_type>none</trim_type> | ||||
|       </field> | ||||
|       <field> | ||||
|         <name>Text</name> | ||||
|         <type>String</type> | ||||
|         <format/> | ||||
|         <currency/> | ||||
|         <decimal/> | ||||
|         <group/> | ||||
|         <length>-1</length> | ||||
|         <precision>-1</precision> | ||||
|         <trim_type>none</trim_type> | ||||
|       </field> | ||||
|       <field> | ||||
|         <name>Tage</name> | ||||
|         <type>String</type> | ||||
|  | @ -4452,6 +4463,90 @@ | |||
|       </GUI> | ||||
|     </step> | ||||
| 
 | ||||
|   <step> | ||||
|     <name>Filter rows</name> | ||||
|     <type>FilterRows</type> | ||||
|     <description/> | ||||
|     <distribute>Y</distribute> | ||||
|     <custom_distribution/> | ||||
|     <copies>1</copies> | ||||
|          <partitioning> | ||||
|            <method>none</method> | ||||
|            <schema_name/> | ||||
|            </partitioning> | ||||
| <send_true_to>res.partner.csv</send_true_to> | ||||
| <send_false_to>no name</send_false_to> | ||||
|     <compare> | ||||
| <condition> | ||||
|  <negated>N</negated> | ||||
|  <leftvalue>name</leftvalue> | ||||
|  <function>IS NOT NULL</function> | ||||
|  <rightvalue/> | ||||
|  </condition> | ||||
|     </compare> | ||||
|      <cluster_schema/> | ||||
|  <remotesteps>   <input>   </input>   <output>   </output> </remotesteps>    <GUI> | ||||
|       <xloc>670</xloc> | ||||
|       <yloc>625</yloc> | ||||
|       <draw>Y</draw> | ||||
|       </GUI> | ||||
|     </step> | ||||
| 
 | ||||
|   <step> | ||||
|     <name>no name</name> | ||||
|     <type>Dummy</type> | ||||
|     <description/> | ||||
|     <distribute>Y</distribute> | ||||
|     <custom_distribution/> | ||||
|     <copies>1</copies> | ||||
|          <partitioning> | ||||
|            <method>none</method> | ||||
|            <schema_name/> | ||||
|            </partitioning> | ||||
|      <cluster_schema/> | ||||
|  <remotesteps>   <input>   </input>   <output>   </output> </remotesteps>    <GUI> | ||||
|       <xloc>838</xloc> | ||||
|       <yloc>662</yloc> | ||||
|       <draw>Y</draw> | ||||
|       </GUI> | ||||
|     </step> | ||||
| 
 | ||||
|   <step> | ||||
|     <name>vat lookup 2</name> | ||||
|     <type>StreamLookup</type> | ||||
|     <description/> | ||||
|     <distribute>N</distribute> | ||||
|     <custom_distribution/> | ||||
|     <copies>1</copies> | ||||
|          <partitioning> | ||||
|            <method>none</method> | ||||
|            <schema_name/> | ||||
|            </partitioning> | ||||
|     <from>Dummy (do nothing)</from> | ||||
|     <input_sorted>N</input_sorted> | ||||
|     <preserve_memory>Y</preserve_memory> | ||||
|     <sorted_list>N</sorted_list> | ||||
|     <integer_pair>N</integer_pair> | ||||
|     <lookup> | ||||
|       <key> | ||||
|         <name>USt-IdNr.</name> | ||||
|         <field>vat_old</field> | ||||
|       </key> | ||||
|       <value> | ||||
|         <name>vat_new</name> | ||||
|         <rename>help_newvat</rename> | ||||
|         <default/> | ||||
|         <type>None</type> | ||||
|       </value> | ||||
|     </lookup> | ||||
|      <cluster_schema/> | ||||
|  <remotesteps>   <input>   </input>   <output>   </output> </remotesteps>    <GUI> | ||||
|       <xloc>813</xloc> | ||||
|       <yloc>348</yloc> | ||||
|       <draw>Y</draw> | ||||
|       </GUI> | ||||
|     </step> | ||||
| 
 | ||||
|   <step_error_handling> | ||||
|   </step_error_handling> | ||||
|    <slave-step-copy-partition-distribution> | ||||
|  |  | |||
										
											
												File diff suppressed because it is too large
												Load Diff
											
										
									
								
							|  | @ -68,7 +68,7 @@ | |||
|   <created_user>-</created_user> | ||||
|   <created_date>2014/12/30 14:48:36.101</created_date> | ||||
|   <modified_user>-</modified_user> | ||||
|   <modified_date>2015/02/19 14:39:38.678</modified_date> | ||||
|   <modified_date>2015/02/19 17:11:58.648</modified_date> | ||||
|   </info> | ||||
|   <notepads> | ||||
|   </notepads> | ||||
|  | @ -77,19 +77,19 @@ | |||
|   <hop> <from>res.partner.csv</from><to>Validate Partner</to><enabled>Y</enabled> </hop> | ||||
|   <hop> <from>stock.warehouse.orderpoint.csv</from><to>Validate Orderpoints</to><enabled>N</enabled> </hop> | ||||
|   <hop> <from>product.product.csv</from><to>Validate Orderpoints</to><enabled>N</enabled> </hop> | ||||
|   <hop> <from>product.supplierinfo.csv</from><to>Validate Supplierinfo</to><enabled>Y</enabled> </hop> | ||||
|   <hop> <from>res.partner.csv</from><to>Validate Supplierinfo</to><enabled>Y</enabled> </hop> | ||||
|   <hop> <from>product.product.csv</from><to>Validate Supplierinfo</to><enabled>Y</enabled> </hop> | ||||
|   <hop> <from>product.supplierinfo.csv</from><to>Validate Supplierinfo</to><enabled>N</enabled> </hop> | ||||
|   <hop> <from>res.partner.csv</from><to>Validate Supplierinfo</to><enabled>N</enabled> </hop> | ||||
|   <hop> <from>product.product.csv</from><to>Validate Supplierinfo</to><enabled>N</enabled> </hop> | ||||
|   <hop> <from>product.category.csv</from><to>Validate Produkt</to><enabled>Y</enabled> </hop> | ||||
|   <hop> <from>mrp.bom.csv</from><to>Validate BoM</to><enabled>Y</enabled> </hop> | ||||
|   <hop> <from>product.product.csv</from><to>Validate BoM</to><enabled>Y</enabled> </hop> | ||||
|   <hop> <from>mrp.bom.line.csv</from><to>Validate BoM line</to><enabled>Y</enabled> </hop> | ||||
|   <hop> <from>mrp.bom.csv</from><to>Validate BoM line</to><enabled>Y</enabled> </hop> | ||||
|   <hop> <from>product.product.csv</from><to>Validate BoM line</to><enabled>Y</enabled> </hop> | ||||
|   <hop> <from>product.ul.csv</from><to>Validate Produkt UL</to><enabled>Y</enabled> </hop> | ||||
|   <hop> <from>product.packaging.csv</from><to>Validate Produkt Packaging</to><enabled>Y</enabled> </hop> | ||||
|   <hop> <from>product.product.csv</from><to>Validate Produkt Packaging</to><enabled>Y</enabled> </hop> | ||||
|   <hop> <from>product.ul.csv</from><to>Validate Produkt Packaging</to><enabled>Y</enabled> </hop> | ||||
|   <hop> <from>mrp.bom.csv</from><to>Validate BoM</to><enabled>N</enabled> </hop> | ||||
|   <hop> <from>product.product.csv</from><to>Validate BoM</to><enabled>N</enabled> </hop> | ||||
|   <hop> <from>mrp.bom.line.csv</from><to>Validate BoM line</to><enabled>N</enabled> </hop> | ||||
|   <hop> <from>mrp.bom.csv</from><to>Validate BoM line</to><enabled>N</enabled> </hop> | ||||
|   <hop> <from>product.product.csv</from><to>Validate BoM line</to><enabled>N</enabled> </hop> | ||||
|   <hop> <from>product.ul.csv</from><to>Validate Produkt UL</to><enabled>N</enabled> </hop> | ||||
|   <hop> <from>product.packaging.csv</from><to>Validate Produkt Packaging</to><enabled>N</enabled> </hop> | ||||
|   <hop> <from>product.product.csv</from><to>Validate Produkt Packaging</to><enabled>N</enabled> </hop> | ||||
|   <hop> <from>product.ul.csv</from><to>Validate Produkt Packaging</to><enabled>N</enabled> </hop> | ||||
|   <hop> <from>product.pricelist.version.csv</from><to>Validate Pricelist</to><enabled>Y</enabled> </hop> | ||||
|   <hop> <from>product.pricelist.csv</from><to>Validate Pricelist</to><enabled>Y</enabled> </hop> | ||||
|   <hop> <from>product.pricelist.item.csv</from><to>Validate Pricelist Version</to><enabled>Y</enabled> </hop> | ||||
|  | @ -1995,6 +1995,83 @@ | |||
|         <precision>-1</precision> | ||||
|         <trim_type>none</trim_type> | ||||
|       </field> | ||||
|       <field> | ||||
|         <name>zollcode</name> | ||||
|         <type>String</type> | ||||
|         <format/> | ||||
|         <currency/> | ||||
|         <decimal/> | ||||
|         <group/> | ||||
|         <length>-1</length> | ||||
|         <precision>-1</precision> | ||||
|         <trim_type>none</trim_type> | ||||
|       </field> | ||||
|       <field> | ||||
|         <name>ean13</name> | ||||
|         <type>String</type> | ||||
|         <format/> | ||||
|         <currency/> | ||||
|         <decimal/> | ||||
|         <group/> | ||||
|         <length>-1</length> | ||||
|         <precision>-1</precision> | ||||
|         <trim_type>none</trim_type> | ||||
|       </field> | ||||
|       <field> | ||||
|         <name>loc_row</name> | ||||
|         <type>String</type> | ||||
|         <format/> | ||||
|         <currency/> | ||||
|         <decimal/> | ||||
|         <group/> | ||||
|         <length>-1</length> | ||||
|         <precision>-1</precision> | ||||
|         <trim_type>none</trim_type> | ||||
|       </field> | ||||
|       <field> | ||||
|         <name>loc_case</name> | ||||
|         <type>String</type> | ||||
|         <format/> | ||||
|         <currency/> | ||||
|         <decimal/> | ||||
|         <group/> | ||||
|         <length>-1</length> | ||||
|         <precision>-1</precision> | ||||
|         <trim_type>none</trim_type> | ||||
|       </field> | ||||
|       <field> | ||||
|         <name>volume</name> | ||||
|         <type>String</type> | ||||
|         <format/> | ||||
|         <currency/> | ||||
|         <decimal/> | ||||
|         <group/> | ||||
|         <length>-1</length> | ||||
|         <precision>-1</precision> | ||||
|         <trim_type>none</trim_type> | ||||
|       </field> | ||||
|       <field> | ||||
|         <name>weight</name> | ||||
|         <type>String</type> | ||||
|         <format/> | ||||
|         <currency/> | ||||
|         <decimal/> | ||||
|         <group/> | ||||
|         <length>-1</length> | ||||
|         <precision>-1</precision> | ||||
|         <trim_type>none</trim_type> | ||||
|       </field> | ||||
|       <field> | ||||
|         <name>loc_rack</name> | ||||
|         <type>String</type> | ||||
|         <format/> | ||||
|         <currency/> | ||||
|         <decimal/> | ||||
|         <group/> | ||||
|         <length>-1</length> | ||||
|         <precision>-1</precision> | ||||
|         <trim_type>none</trim_type> | ||||
|       </field> | ||||
|     </fields> | ||||
|      <cluster_schema/> | ||||
|  <remotesteps>   <input>   </input>   <output>   </output> </remotesteps>    <GUI> | ||||
|  |  | |||
|  | @ -8,7 +8,8 @@ class Config(): | |||
|         self.sales_tax = '20% MwSt' | ||||
|         self.purchase_tax = '20% VSt' | ||||
|         self.chart_template_id = 2 # Austrian Chart of Account         | ||||
|         self.digits = 2 #Nachkommastellen Preis | ||||
|         self.price_decimals = 2 # Nachkommastellen Preis | ||||
|         self.uom_decimals = 3 # Nachkommastellen Mengeneinheiten | ||||
|                  | ||||
|         self.company_data = { | ||||
|             'name': 'Camadeus GmbH', | ||||
|  |  | |||
|  | @ -501,11 +501,24 @@ class CamadeusFunctions(): | |||
|         return True | ||||
|      | ||||
|     def set_decimal_price(self): | ||||
|         """Dezimalstellen Preis setzen""" | ||||
|         """Dezimalstellen setzen""" | ||||
|          | ||||
|         # Set all currencies to active | ||||
|         ids = self._execute('decimal.precision', 'search', [('name','=','Product Price')]) | ||||
|         res = self._execute('decimal.precision', 'write', ids, {'digits': self.config.digits}) | ||||
|         # UOM | ||||
|         decimal_id = self._execute('ir.model.data', 'xmlid_to_res_id', 'product.decimal_product_uom') | ||||
|         res = self._execute('decimal.precision', 'write', [decimal_id], {'digits': self.config.uom_decimals}) | ||||
|         if not res: | ||||
|             return False | ||||
|          | ||||
|         # Product Price | ||||
|         decimal_id = self._execute('ir.model.data', 'xmlid_to_res_id', 'product.decimal_price') | ||||
|         res = self._execute('decimal.precision', 'write', [decimal_id], {'digits': self.config.price_decimals}) | ||||
|         if not res: | ||||
|             return False         | ||||
|          | ||||
|         # Product Price | ||||
|         ids = self._execute('decimal.precision', 'search', [('name','=','Product Price')]) | ||||
|         res = self._execute('decimal.precision', 'write', ids, {'digits': self.config.price_decimals}) | ||||
|         if not res: | ||||
|             return False | ||||
|          | ||||
|         return True     | ||||
|  |  | |||
		Loading…
	
		Reference in New Issue