insert into formulare (id,typ,system,erstellt,geaendert,user_1,user_2,name,formular) values (17,10,1,
'2004-05-01 00:00:00','2004-05-01','system','system',
'Herstellung','

<!--
Der Report unterstützt folgende Datenfelder
               "user","datum","h_lager",
               "bezeichnung","h_datum","h_user","h_losnummer","h_erledigt","h_uebernommen",
               "h_liter","h_kg","h_la",
               "h_schwundsatz","h_schwund_liter","h_schwund_kg","h_schwund_la",
               "h_endmenge_liter","h_endmenge_kg","h_endmenge_la",
               "b_typ","b_code",
               "b_lager","b_datum","b_user",
               "b_bezeichnung","b_losnummer","b_bemerkungen",
               "b_erledigt","b_uebernommen",
               "b_staerke","b_litergewicht",
               "b_liter","b_kg","b_la",
               "b_restliter","b_restkg","b_restla",
               "b_rest"
 -->

<report name="Berechnung normal" orientation="$options.report.herstellung.orientation$"
  pageformat="$options.report.general.pageformat$" topmargin="$options.report.general.margin.top$" leftmargin="$options.report.general.margin.left$" 
  bottommargin="$options.report.general.margin.bottom$" rightmargin="$options.report.general.margin.right$">
 

 <reportheader height="120" >
    <rectangle  x="0" y="0" width="100%" height="100%" color="$options.report.general.reportheader.background$" weight="0" draw="false" fill="true"/>
    <rectangle  x="0" y="0" width="100%" height="100%" color="#000000" weight="1" draw="true" fill="false"/>
    <date-field fontstyle="plain" fontsize="7" fieldname="datum" x="5" y="3" width="20%" height="10" alignment="left" format="d.MMM yyyy H.mm"></date-field>
    <label fontstyle="plain" fontsize="7" x="75%" y="3" width="14%" height="10" alignment="right" >$locale.report.user$</label>   
     <string-field fontstyle="plain" fontsize="7" x="90%" y="3" height="10" width="10%" alignment="left" fieldname="user"></string-field>
     <label fontstyle="bold" fontsize="16" x="0%" y="3" width="49%" height="20" alignment="right" >$locale.report.herstellung.titel$</label>    
   	<string-field fontstyle="bold" fontsize="16" x="50%" y="3" width="49%" height="20" alignment="left" fieldname="h_losnummer" />
 
	<label fontstyle="plain" fontsize="9" x="1%" y="24" width="9%" height="10" alignment="left">$locale.report.herstellung.lager$</label>
	<string-field fontstyle="plain" fontsize="9" x="10%" y="24" width="24%" height="10" alignment="left" fieldname="h_lager" />
   	<string-field fontstyle="bold" fontsize="9" x="26%" y="24" width="50%" height="10" alignment="center" fieldname="bezeichnung" />
   	<number-field format="$options.report.zahlen_staerke$" fontsize="9" fontstyle="plain" x="85%" y="24" width="8%" height="10" alignment="right" fieldname="h_staerke"/>
	<label fontstyle="plain" fontsize="9" x="94%" y="24" width="6%" height="10" alignment="left">$locale.string_prozentvol$</label>
	   	
   	<label fontstyle="plain" fontsize="9" x="1%" y="34" width="14%" height="10" alignment="left">$locale.report.herstellung.datum$</label>
   	<date-field fontstyle="plain" fontsize="9" fieldname="h_datum" x="15%" y="34" width="24%" height="10" alignment="left" format="d.MMM yyyy" />
   	<label fontstyle="plain" fontsize="9" x="75%" y="34" width="14%" height="10" alignment="right">$locale.report.herstellung.user$</label>
   	<string-field fontstyle="plain" fontsize="9" x="91%" y="34" width="9%" height="10" alignment="left" fieldname="h_user" />
  
   	<label fontstyle="bold" fontsize="9" x="0%" y="45" width="100%" height="10" alignment="center">$locale.report.herstellung.herstellmenge$</label>
   	<number-field format="$options.report.zahlen_normal$" fontsize="9" fontstyle="plain" x="12%" y="55" width="12%" height="10" alignment="right" fieldname="h_liter"/>
  	<label fontstyle="bold" fontsize="9" x="25%" y="55" width="12%" height="10" alignment="left">$locale.string_liter$</label>
    <number-field format="$options.report.zahlen_normal$" fontsize="9" fontstyle="plain" x="35%" y="55" width="12%" height="10" alignment="right" fieldname="h_kg"/>
  	<label fontstyle="bold" fontsize="9" x="50%" y="55" width="12%" height="10" alignment="left">$locale.string_kg$</label>
    <number-field format="$options.report.zahlen_normal$" fontsize="9" fontstyle="plain" x="65%" y="55" width="12%" height="10" alignment="right" fieldname="h_la"/>
  	<label fontstyle="bold" fontsize="9" x="80%" y="55" width="12%" height="10" alignment="left">$locale.string_la$</label> 
  
    <label fontstyle="bold" fontsize="9" x="0%" y="66" width="100%" height="10" alignment="center">$locale.report.herstellung.schwund$</label>
   	<number-field format="$options.report.zahlen_normal$" fontsize="9" fontstyle="plain" x="12%" y="77" width="12%" height="10" alignment="right" fieldname="h_schwund_liter"/>
  	<label fontstyle="bold" fontsize="9" x="25%" y="77" width="12%" height="10" alignment="left">$locale.string_liter$</label>
    <number-field format="$options.report.zahlen_normal$" fontsize="9" fontstyle="plain" x="35%" y="77" width="12%" height="10" alignment="right" fieldname="h_schwund_kg"/>
  	<label fontstyle="bold" fontsize="9" x="50%" y="77" width="12%" height="10" alignment="left">$locale.string_kg$</label>
    <number-field format="$options.report.zahlen_normal$" fontsize="9" fontstyle="plain" x="65%" y="77" width="12%" height="10" alignment="right" fieldname="h_schwund_la"/>
  	<label fontstyle="bold" fontsize="9" x="80%" y="77" width="12%" height="10" alignment="left">$locale.string_la$</label> 
  	
    <label fontstyle="bold" fontsize="9" x="0%" y="88" width="100%" height="10" alignment="center">$locale.report.herstellung.endmenge$</label>
   	<number-field format="$options.report.zahlen_normal$" fontsize="9" fontstyle="plain" x="12%" y="99" width="12%" height="10" alignment="right" fieldname="h_endmenge_liter"/>
  	<label fontstyle="bold" fontsize="9" x="25%" y="99" width="12%" height="10" alignment="left">$locale.string_liter$</label>
    <number-field format="$options.report.zahlen_normal$" fontsize="9" fontstyle="plain" x="35%" y="99" width="12%" height="10" alignment="right" fieldname="h_endmenge_kg"/>
  	<label fontstyle="bold" fontsize="9" x="50%" y="99" width="12%" height="10" alignment="left">$locale.string_kg$</label>
    <number-field format="$options.report.zahlen_normal$" fontsize="9" fontstyle="plain" x="65%" y="99" width="12%" height="10" alignment="right" fieldname="h_endmenge_la"/>
  	<label fontstyle="bold" fontsize="9" x="80%" y="99" width="12%" height="10" alignment="left">$locale.string_la$</label> 
  	
</reportheader>

  <pageheader height="40" onfirstpage="false">
   </pageheader>
  
  <pagefooter height="20">
    <rectangle  x="0" y="1" width="100%" height="100%" color="$options.report.general.pagefooter.background$" weight="0" draw="false" fill="true"/>
    <rectangle  x="0" y="1" width="100%" height="100%" color="#000000" weight="1" draw="true" fill="false"/>
    <number-field fieldname="PageNumber" x="40%" y="10"  width="90" height="20" alignment="left" format="$locale.seite$ #0"></number-field>    
    <number-field fieldname="PageTotal" x="50%" y="10"  width="90" height="20" alignment="left" format="$locale.von$ #0"></number-field>

  </pagefooter>

  <items height="35">
    <label fontstyle="bold" fontsize="9" x="1%" y="2" width="15%" height="10" alignment="left">$locale.report.herstellung.abgang$</label>
   	<string-field fontstyle="bold" fontsize="9" x="25%" y="2" width="50%" height="10" alignment="left" fieldname="b_bezeichnung" />
 
   	<label fontstyle="plain" fontsize="9" x="1%" y="12" width="13%" height="10" alignment="right">$locale.report.herstellung.lager$</label>
   	<string-field fontstyle="plain" fontsize="9" x="15%" y="12" width="34%" height="10" alignment="left" fieldname="b_lager" />
 
   	<label fontstyle="plain" fontsize="9" x="50%" y="12" width="14%" height="10" alignment="right" >$locale.report.herstellung.losnummer$</label>
   	<string-field fontstyle="bold" fontsize="9" x="65%" y="12" width="34%" height="10" alignment="left" fieldname="b_losnummer" />
     	
   	
   	<number-field format="$options.report.zahlen_staerke$" fontsize="9" fontstyle="plain" x="85%" y="12" width="8%" height="10" alignment="right" fieldname="b_staerke"/>
	<label fontstyle="plain" fontsize="9" x="94%" y="12" width="6%" height="10" alignment="left">$locale.string_prozentvol$</label>
   	
   	<number-field format="$options.report.zahlen_normal$" fontsize="9" fontstyle="plain" x="12%" y="24" width="12%" height="10" alignment="right" fieldname="b_liter"/>
  	<label fontstyle="bold" fontsize="9" x="25%" y="24" width="12%" height="10" alignment="left">$locale.string_liter$</label>
    <number-field format="$options.report.zahlen_normal$" fontsize="9" fontstyle="plain" x="35%" y="24" width="12%" height="10" alignment="right" fieldname="b_kg"/>
  	<label fontstyle="bold" fontsize="9" x="50%" y="24" width="12%" height="10" alignment="left">$locale.string_kg$</label>
    <number-field format="$options.report.zahlen_normal$" fontsize="9" fontstyle="plain" x="65%" y="24" width="12%" height="10" alignment="right" fieldname="b_la"/>
  	<label fontstyle="bold" fontsize="9" x="80%" y="24" width="12%" height="10" alignment="left">$locale.string_la$</label> 
  	
  	 <line x1="0" y1="34" x2="0" y2="34" weight="0.5"/>
  </items>

  <reportfooter height="0" fontname="SansSerif">
 </reportfooter>

  <functions>
    <function name="PageNumber" class="org.jfree.report.function.PageFunction"/>  
    <function name="PageTotal" class="org.jfree.report.function.PageTotalFunction" deplevel="1"/> 
  </functions>
  
  
</report>

');