insert into formulare (typ,system,erstellt,geaendert,user_1,user_2,name,formular) values (39,1,
'2004-05-01 00:00:00','2004-05-01','system','system',
'Mischungsliste nach Sorten','

<!--

 -->

<report name="Mischungsliste nach Sorten" orientation="$options.report.mischung.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="25" dynamic="true" >
    <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="100%" height="18" alignment="center" >$locale.report.mischungsliste.titel$</label>

    		
  </reportheader>

  <reportfooter height="20" fontname="SansSerif">
      	<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"/>
	   	<label fontstyle="bold" fontsize="12" x="0%" y="2" width="49%" height="12" alignment="right" >$locale.report.mischungsliste.summe$</label>     
    	<string-field fontstyle="plain" dynamic="true" fontsize="12" x="51%" y="2" height="9" width="48%" alignment="left" fieldname="mischung.summe"></string-field>    	
  </reportfooter>

  <pageheader height="25"  dynamic="true" onfirstpage="false">
    <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="100%" height="18" alignment="center" >$locale.report.mischungsliste.titel$</label>
  
	
  </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>


  <groups>
   <group>
	<groupheader height="16" >
	    <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"/>
 		<string-field fontstyle="plain" fontsize="12" x="0" y="5" height="14" width="100%" alignment="center" fieldname="mischung.sorte" /> 
 		
	</groupheader>

	<groupfooter height="15" >
	   	<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"/>
   	    <label fontstyle="bold" fontsize="12" x="0%" y="1" width="49%" height="12" alignment="right" >$locale.report.mischungsliste.summe_group$</label>    
        <number-field format="$options.report.zahlen_inventur$" fontsize="12" fontstyle="bold" x="51%" y="1" width="48%" height="12" alignment="left" fieldname="GroupSumLaMischung"/>
	</groupfooter>
	<fields>
		<field>mischung.sorte_id</field>
	</fields>
	</group>
  </groups>


  <items>
    	<rectangle  x="0" y="0" width="100%" height="100%" color="#000000" weight="1" draw="true" fill="false"/>
  		
		<label fontstyle="plain" fontsize="9" x="0%" y="1" width="20%" height="9" alignment="left" >$locale.report.mischungsliste.nummer$</label>         
        <string-field fontstyle="bold" dynamic="true" fontsize="12" x="0%" y="10" height="12" width="25%" alignment="left" fieldname="mischung.nummer"></string-field> 	
		<label fontstyle="plain" fontsize="9" x="80%" y="1" width="19%" height="9" alignment="right" >$locale.report.mischungsliste.tank$</label>         
        <string-field fontstyle="bold" dynamic="true" fontsize="12" x="75%" y="10" height="12" width="24%" alignment="right" fieldname="mischung.tank"></string-field>       
        <string-field fontstyle="bold" dynamic="true" fontsize="9" x="20%" y="1" height="9" width="60%" alignment="center" fieldname="mischung.bezeichnung"></string-field>

    	<label fontstyle="bold" fontsize="9" x="0%" y="19" width="25%" height="9" alignment="right" >$locale.report.mischungsliste.sorte$</label>     
    	<string-field fontstyle="plain" dynamic="true" fontsize="9" x="25%" y="19" height="9" width="75%" alignment="left" fieldname="mischung.sorte"></string-field>
    	<label fontstyle="bold" fontsize="9" x="0%" y="28" width="25%" height="9" alignment="right" >$locale.report.mischungsliste.la$</label>   	
    	<string-field fontstyle="plain" dynamic="true" fontsize="9" x="25%" y="28" height="9" width="75%" alignment="left" fieldname="mischung.la"></string-field>
    	
    	<string-field fontstyle="plain" dynamic="true" fontsize="9" x="0%" y="37" height="9" width="75%" alignment="left" fieldname="mischung.erstellt"></string-field>
    	<string-field fontstyle="plain" dynamic="true" fontsize="9" x="0%" y="46" height="9" width="75%" alignment="left" fieldname="mischung.geaendert"></string-field>
    	<string-field fontstyle="plain" dynamic="true" fontsize="9" x="0%" y="55" height="9" width="75%" alignment="left" fieldname="mischung.abgeschlossen"></string-field>
        
        <label fontstyle="bold" fontsize="9" x="0%" y="64" width="25%" height="9" alignment="right" >$locale.report.mischungsliste.losnummer$</label>   	
    	<string-field fontstyle="plain" dynamic="true" fontsize="9" x="25%" y="64" height="9" width="75%" alignment="left" fieldname="mischung.losnummer"></string-field>
	   	
	   	<label fontstyle="bold" fontsize="9" x="0%" y="73" width="25%" height="9" alignment="right" >$locale.report.mischungsliste.bemerkungen$</label>     
    	<string-field fontstyle="plain" dynamic="true" fontsize="9" x="25%" y="73" height="9" width="75%" alignment="left" fieldname="mischung.bemerkungen"></string-field>
 
   
  </items>



  <functions>
  <function name="GroupSumLaMischung" class="de.lunqual.rzpro.ausgabe.GroupSumLAMischungFunction">
		<properties>
			<property name="field">mischung.la_double</property>
		</properties>
	</function>
    <function name="PageNumber" class="org.jfree.report.function.PageFunction"/>  
    <function name="PageTotal" class="org.jfree.report.function.PageTotalFunction" deplevel="1"/> 
  </functions>
  
  
</report>

');