<!-- Lagerliste umfassend Farbig -->

<!--
Der Report unterstützt folgende Datenfelder

 -->
 
<report name="Lagerliste umfassend farbig" orientation="$options.report.lagerliste.orientation$"
  pageformat="$options.report.general.pageformat$" topmargin="$options.report.landscape.margin.top$" leftmargin="$options.report.landscape.margin.left$" 
  bottommargin="$options.report.landscape.margin.bottom$" rightmargin="$options.report.landscape.margin.right$">

 <reportheader height="50" >
    <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="11" width="20%" height="10" alignment="left" format="d.MMM yyyy H.mm"></date-field>
    <label fontstyle="plain" fontsize="7" x="75%" y="11" width="14%" height="10" alignment="right" >$locale.report.user$</label>   
    <string-field fontstyle="plain" fontsize="7" x="90%" y="11" height="10" width="10%" alignment="left" fieldname="user"></string-field>
    <label fontstyle="bold" fontsize="12" x="0%" y="11" width="100%" height="14" alignment="center" >$locale.report.lagerliste.titel$</label>    
    <string-field fontstyle="plain" fontsize="10" x="0%" y="28" height="10" width="100%" alignment="center" fieldname="lager_text"></string-field>
  
    <label fontstyle="bold" fontsize="8" x="0%" y="38" width="9%" height="10" alignment="right" >$locale.report.lagerliste.label_mode$</label>  
    <string-field fontstyle="plain" fontsize="8" x="10%" y="38" height="10" width="14%" alignment="left" fieldname="auswahl_mode" />
  
  
    <label fontstyle="bold" fontsize="8" x="30%" y="38" width="9%" height="10" alignment="right" >$locale.report.lagerliste.label_von$</label>  
    <date-field nullstring="" fontstyle="plain" fontsize="8" fieldname="auswahl_von" x="40%" y="38" width="9%" height="10" alignment="left" format="d.MMM yyyy"></date-field>

    <label fontstyle="bold" fontsize="8" x="50%" y="38" width="9%" height="10" alignment="right" >$locale.report.statistik.label_bis$</label>  
    <date-field nullstring="" fontstyle="plain" fontsize="8" fieldname="auswahl_bis" x="60%" y="38" width="9%" height="10" alignment="left" format="d.MMM yyyy"></date-field>
  
    <label fontstyle="bold" fontsize="8" x="70%" y="38" width="7%" height="10" alignment="right" >$locale.report.lagerliste.label_bezeichnung$</label>  
    <string-field fontstyle="plain" fontsize="8" x="78%" y="38" height="10" width="7%" alignment="left" fieldname="auswahl_bezeichnung"></string-field>
   
   <label fontstyle="bold" fontsize="8" x="86%" y="38" width="6%" height="10" alignment="right" >$locale.report.lagerliste.label_losnummer$</label>  
   <string-field fontstyle="plain" fontsize="8" x="93%" y="38" height="10" width="7%" alignment="left" fieldname="auswahl_losnummer"></string-field>


</reportheader>

  <pageheader height="50" 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="11" width="20%" height="10" alignment="left" format="d.MMM yyyy H.mm"></date-field>
    <label fontstyle="plain" fontsize="7" x="75%" y="11" width="14%" height="10" alignment="right" >$locale.report.user$</label>   
    <string-field fontstyle="plain" fontsize="7" x="90%" y="11" height="10" width="10%" alignment="left" fieldname="user"></string-field>
    <label fontstyle="bold" fontsize="12" x="0%" y="11" width="100%" height="14" alignment="center" >$locale.report.lagerliste.titel$</label>    
    <string-field fontstyle="plain" fontsize="10" x="0%" y="20" height="10" width="100%" alignment="center" fieldname="lager_text"></string-field>
  
    <label fontstyle="bold" fontsize="8" x="0%" y="38" width="9%" height="10" alignment="right" >$locale.report.lagerliste.label_mode$</label>  
    <string-field fontstyle="plain" fontsize="8" x="10%" y="38" height="10" width="14%" alignment="left" fieldname="auswahl_mode" />
  
  
    <label fontstyle="bold" fontsize="8" x="30%" y="38" width="9%" height="10" alignment="right" >$locale.report.lagerliste.label_von$</label>  
    <date-field nullstring="" fontstyle="plain" fontsize="8" fieldname="auswahl_von" x="40%" y="38" width="9%" height="10" alignment="left" format="d.MMM yyyy"></date-field>

    <label fontstyle="bold" fontsize="8" x="50%" y="38" width="9%" height="10" alignment="right" >$locale.report.statistik.label_bis$</label>  
    <date-field nullstring="" fontstyle="plain" fontsize="8" fieldname="auswahl_bis" x="60%" y="38" width="9%" height="10" alignment="left" format="d.MMM yyyy"></date-field>
  
    <label fontstyle="bold" fontsize="8" x="70%" y="38" width="7%" height="10" alignment="right" >$locale.report.lagerliste.label_bezeichnung$</label>  
    <string-field fontstyle="plain" fontsize="8" x="78%" y="38" height="10" width="7%" alignment="left" fieldname="auswahl_bezeichnung"></string-field>
   
   <label fontstyle="bold" fontsize="8" x="86%" y="38" width="6%" height="10" alignment="right" >$locale.report.lagerliste.label_losnummer$</label>  
   <string-field fontstyle="plain" fontsize="8" x="93%" y="38" height="10" width="7%" alignment="left" fieldname="auswahl_losnummer"></string-field>
  
   </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="48" >
	    <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 nullstring="" fontstyle="plain" fontsize="8" fieldname="h_datum" x="0" y="11" width="10%" height="10" alignment="right" format="d.MMM yyyy"></date-field>
        <string-field fontstyle="plain" fontsize="8" x="11%" y="11" height="10" width="18%" alignment="left" fieldname="h_lager"></string-field>
	    <string-field fontstyle="bold" fontsize="8" x="31%" y="11" height="10" width="20%" alignment="left" fieldname="h_bezeichnung"></string-field>
	    <label fontstyle="bold" fontsize="8" x="65%" y="11" width="10%" height="10" alignment="right" >$locale.report.lagerliste.label_losnummer$</label>  
        <string-field fontstyle="plain" fontsize="8" x="76%" y="11" height="10" width="20%" alignment="left" fieldname="h_losnummer"></string-field>

	    <label fontstyle="plain" fontsize="8" x="0" y="20" width="10%" height="10" alignment="right" >$locale.report.lagerliste.label_herstellmenge$</label>  
        <number-field format="$options.report.zahlen_staerke$" fontstyle="plain" fontsize="8" x="11%" y="20" height="10" width="9%" alignment="right" fieldname="h_staerke"/>
  	    <label fontstyle="plain" fontsize="8" x="21%" y="20" width="10%" height="10" alignment="left" >$locale.string_prozentvol$</label>  
        <number-field format="$options.report.zahlen_normal$" fontstyle="plain" fontsize="8" x="41%" y="20" height="10" width="9%" alignment="right" fieldname="h_liter"/>
  	    <label fontstyle="plain" fontsize="8" x="51%" y="20" width="10%" height="10" alignment="left" >$locale.string_liter$</label>  
        <number-field format="$options.report.zahlen_normal$" fontstyle="plain" fontsize="8" x="61%" y="20" height="10" width="9%" alignment="right" fieldname="h_kg"/>
  	    <label fontstyle="plain" fontsize="8" x="71%" y="20" width="10%" height="10" alignment="left" >$locale.string_kg$</label>  
        <number-field format="$options.report.zahlen_normal$" fontstyle="plain" fontsize="8" x="81%" y="20" height="10" width="9%" alignment="right" fieldname="h_la"/>
  	    <label fontstyle="plain" fontsize="8" x="91%" y="20" width="10%" height="10" alignment="left" >$locale.string_la$</label>  
           
	    <label fontstyle="plain" fontsize="8" x="0" y="28" width="10%" height="10" alignment="right" >$locale.report.lagerliste.label_schwund$</label>  
        <number-field format="$options.report.zahlen_staerke$" fontstyle="plain" fontsize="8" x="11%" y="28" height="10" width="9%" alignment="right" fieldname="h_staerke"/>
  	    <label fontstyle="plain" fontsize="8" x="21%" y="28" width="10%" height="10" alignment="left" >$locale.string_prozentvol$</label>  
        <number-field format="$options.report.zahlen_normal$" fontstyle="plain" fontsize="8" x="41%" y="28" height="10" width="9%" alignment="right" fieldname="h_schwund_liter"/>
  	    <label fontstyle="plain" fontsize="8" x="51%" y="28" width="10%" height="10" alignment="left" >$locale.string_liter$</label>  
        <number-field format="$options.report.zahlen_normal$" fontstyle="plain" fontsize="8" x="61%" y="28" height="10" width="9%" alignment="right" fieldname="h_schwund_kg"/>
  	    <label fontstyle="plain" fontsize="8" x="71%" y="28" width="10%" height="10" alignment="left" >$locale.string_kg$</label>  
        <number-field format="$options.report.zahlen_normal$" fontstyle="plain" fontsize="8" x="81%" y="28" height="10" width="9%" alignment="right" fieldname="h_schwund_la"/>
  	    <label fontstyle="plain" fontsize="8" x="91%" y="28" width="10%" height="10" alignment="left" >$locale.string_la$</label>  
               
   	    <label fontstyle="bold" fontsize="8" x="0" y="36" width="10%" height="10" alignment="right" >$locale.report.lagerliste.label_endmenge$</label>  
        <number-field format="$options.report.zahlen_staerke$" fontstyle="bold" fontsize="8" x="11%" y="36" height="10" width="9%" alignment="right" fieldname="h_staerke"/>
  	    <label fontstyle="bold" fontsize="8" x="21%" y="36" width="10%" height="10" alignment="left" >$locale.string_prozentvol$</label>  
        <number-field format="$options.report.zahlen_normal$" fontstyle="bold" fontsize="8" x="41%" y="36" height="10" width="9%" alignment="right" fieldname="h_end_liter"/>
  	    <label fontstyle="bold" fontsize="8" x="51%" y="36" width="10%" height="10" alignment="left" >$locale.string_liter$</label>  
        <number-field format="$options.report.zahlen_normal$" fontstyle="bold" fontsize="8" x="61%" y="36" height="10" width="9%" alignment="right" fieldname="h_end_kg"/>
  	    <label fontstyle="bold" fontsize="8" x="71%" y="36" width="10%" height="10" alignment="left" >$locale.string_kg$</label>  
        <number-field format="$options.report.zahlen_normal$" fontstyle="bold" fontsize="8" x="81%" y="36" height="10" width="9%" alignment="right" fieldname="h_end_la"/>
  	    <label fontstyle="bold" fontsize="8" x="91%" y="36" width="10%" height="10" alignment="left" >$locale.string_la$</label>  
	</groupheader>

	<groupfooter height="1" >
	</groupfooter>
	<fields>
		<field>herstellung</field>
	</fields>
	</group>
	
  </groups>
  
  
  <items height="36" dynamic="true">
    	<band name="abgang" layout-cachable="false" x="0" y="0" width="100%" height="36" >
	        <string-field fontstyle="plain" fontsize="8" x="0" y="11" height="10" width="10%" alignment="left" fieldname="b_typ"></string-field>
	        <string-field fontstyle="plain" fontsize="8" x="11%" y="11" height="10" width="18%" alignment="left" fieldname="b_lager"></string-field>
		    <string-field fontstyle="plain" fontsize="8" x="31%" y="11" height="10" width="20%" alignment="left" fieldname="b_bezeichnung"></string-field>
		    <label fontstyle="plain" fontsize="8" x="65%" y="11" width="10%" height="10" alignment="right" >$locale.report.lagerliste.label_losnummer$</label>  
	        <string-field fontstyle="plain" fontsize="8" x="76%" y="11" height="10" width="20%" alignment="left" fieldname="b_losnummer"></string-field>
	        <number-field color="$options.report.statistik.color.abgang$" format="$options.report.zahlen_staerke$" fontstyle="plain" fontsize="8" x="11%" y="20" height="10" width="9%" alignment="right" fieldname="b_staerke"/>
	   	    <label fontstyle="plain" fontsize="8" x="21%" y="20" width="10%" height="10" alignment="left" >$locale.string_prozentvol$</label>  
	        <number-field color="$options.report.statistik.color.abgang$" format="$options.report.zahlen_normal$" fontstyle="plain" fontsize="8" x="41%" y="20" height="10" width="9%" alignment="right" fieldname="b_liter"/>
	  	    <label fontstyle="plain" fontsize="8" x="51%" y="20" width="10%" height="10" alignment="left" >$locale.string_liter$</label>  
	        <number-field color="$options.report.statistik.color.abgang$" format="$options.report.zahlen_normal$" fontstyle="plain" fontsize="8" x="61%" y="20" height="10" width="9%" alignment="right" fieldname="b_kg"/>
	  	    <label fontstyle="plain" fontsize="8" x="71%" y="20" width="10%" height="10" alignment="left" >$locale.string_kg$</label>  
	        <number-field color="$options.report.statistik.color.abgang$" format="$options.report.zahlen_normal$" fontstyle="plain" fontsize="8" x="81%" y="20" height="10" width="9%" alignment="right" fieldname="b_la"/>
	  	    <label fontstyle="plain" fontsize="8" x="91%" y="20" width="10%" height="10" alignment="left" >$locale.string_la$</label>  
	      
	       <number-field color="$options.report.statistik.color.abgang$" format="$options.report.zahlen_normal$" fontstyle="plain" fontsize="8" x="41%" y="30" height="10" width="9%" alignment="right" fieldname="b_liter_auf_staerke"/>
	       <string-field fontstyle="plain" fontsize="8" x="51%" y="30" width="30%" height="10" alignment="left" fieldname="b_liter_auf_staerke_text" />  
	  
	         <line x1="0" y1="0" x2="0" y2="0" weight="0.5"/>
	    </band>
    	<band name="zugang" layout-cachable="false" x="0" y="0" width="100%" height="36" >
	        <string-field fontstyle="plain" fontsize="8" x="0" y="11" height="10" width="10%" alignment="left" fieldname="b_typ"></string-field>
	        <string-field fontstyle="plain" fontsize="8" x="11%" y="11" height="10" width="18%" alignment="left" fieldname="b_lager"></string-field>
		    <string-field fontstyle="plain" fontsize="8" x="31%" y="11" height="10" width="20%" alignment="left" fieldname="b_bezeichnung"></string-field>
		    <label fontstyle="plain" fontsize="8" x="65%" y="11" width="10%" height="10" alignment="right" >$locale.report.lagerliste.label_losnummer$</label>  
	        <string-field fontstyle="plain" fontsize="8" x="76%" y="11" height="10" width="20%" alignment="left" fieldname="b_losnummer"></string-field>
	        <number-field color="$options.report.statistik.color.zugang$" format="$options.report.zahlen_staerke$" fontstyle="plain" fontsize="8" x="11%" y="20" height="10" width="9%" alignment="right" fieldname="b_staerke"/>
	   	    <label fontstyle="plain" fontsize="8" x="21%" y="20" width="10%" height="10" alignment="left" >$locale.string_prozentvol$</label>  
	        <number-field color="$options.report.statistik.color.zugang$" format="$options.report.zahlen_normal$" fontstyle="plain" fontsize="8" x="41%" y="20" height="10" width="9%" alignment="right" fieldname="b_liter"/>
	  	    <label fontstyle="plain" fontsize="8" x="51%" y="20" width="10%" height="10" alignment="left" >$locale.string_liter$</label>  
	        <number-field color="$options.report.statistik.color.zugang$" format="$options.report.zahlen_normal$" fontstyle="plain" fontsize="8" x="61%" y="20" height="10" width="9%" alignment="right" fieldname="b_kg"/>
	  	    <label fontstyle="plain" fontsize="8" x="71%" y="20" width="10%" height="10" alignment="left" >$locale.string_kg$</label>  
	        <number-field color="$options.report.statistik.color.zugang$" format="$options.report.zahlen_normal$" fontstyle="plain" fontsize="8" x="81%" y="20" height="10" width="9%" alignment="right" fieldname="b_la"/>
	  	    <label fontstyle="plain" fontsize="8" x="91%" y="20" width="10%" height="10" alignment="left" >$locale.string_la$</label>  
	      
	       <number-field color="$options.report.statistik.color.zugang$" format="$options.report.zahlen_normal$" fontstyle="plain" fontsize="8" x="41%" y="30" height="10" width="9%" alignment="right" fieldname="b_liter_auf_staerke"/>
	       <string-field fontstyle="plain" fontsize="8" x="51%" y="30" width="30%" height="10" alignment="left" fieldname="b_liter_auf_staerke_text" />  
	  
	         <line x1="0" y1="0" x2="0" y2="0" weight="0.5"/>
	    </band>	    
	    
  </items>

  <reportfooter height="20" dynamic="true" fontname="SansSerif">
        <string-field fontstyle="plain" fontsize="8" x="0" y="24" width="100%" height="10" dynamic="true" alignment="left" fieldname="footer" />  
 </reportfooter>

  <functions>
    <function name="PageNumber" class="org.jfree.report.function.PageFunction"/>  
    <function name="PageTotal" class="org.jfree.report.function.PageTotalFunction" deplevel="1"/> 
    <function name="SetVisible" class="de.lunqual.rzpro.ausgabe.VisibleStatistikBandFunction"/>
  </functions>
  
  
</report>

