<?xml version="1.0" encoding="UTF-8"?>
<jasperReport xmlns="http://jasperreports.sourceforge.net/jasperreports" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://jasperreports.sourceforge.net/jasperreports http://jasperreports.sourceforge.net/xsd/jasperreport.xsd" name="Task Productivity" pageWidth="792" pageHeight="612" orientation="Landscape" columnWidth="772" leftMargin="15" rightMargin="5" topMargin="18" bottomMargin="10">
	<property name="ireport.zoom" value="1.5"/>
	<property name="ireport.x" value="678"/>
	<property name="ireport.y" value="0"/>
	<parameter name="EMP_CODE__FR" class="java.lang.String"/>
	<parameter name="EMP_CODE__TO" class="java.lang.String"/>
	<parameter name="DATE__FR" class="java.util.Date"/>
	<parameter name="DATE__TO" class="java.util.Date"/>
	<parameter name="AS_PICK_TYPE" class="java.lang.String"/>
	<parameter name="REP_TYPE" class="java.lang.String"/>
	<queryString>
		<![CDATA[SELECT * from dual]]>
	</queryString>
	<pageHeader>
		<band height="117" splitType="Stretch">
			<textField pattern="MM/dd/yy">
				<reportElement x="482" y="26" width="40" height="10"/>
				<textElement>
					<font fontName="Courier New" size="7"/>
				</textElement>
				<textFieldExpression class="java.util.Date"><![CDATA[new java.util.Date()]]></textFieldExpression>
			</textField>
			<textField pattern="HH:mm:ss">
				<reportElement x="532" y="26" width="51" height="10"/>
				<textElement>
					<font fontName="Courier New" size="7"/>
				</textElement>
				<textFieldExpression class="java.util.Date"><![CDATA[new java.util.Date()]]></textFieldExpression>
			</textField>
			<staticText>
				<reportElement x="522" y="26" width="10" height="10"/>
				<textElement>
					<font fontName="Courier New" size="7"/>
				</textElement>
				<text><![CDATA[At ]]></text>
			</staticText>
			<staticText>
				<reportElement x="521" y="16" width="32" height="10"/>
				<textElement>
					<font fontName="Courier New" size="7"/>
				</textElement>
				<text><![CDATA[Page :]]></text>
			</staticText>
			<staticText>
				<reportElement x="297" y="38" width="55" height="10"/>
				<textElement>
					<font fontName="Courier New" size="7"/>
				</textElement>
				<text><![CDATA[Date Range:]]></text>
			</staticText>
			<staticText>
				<reportElement x="160" y="12" width="279" height="14"/>
				<textElement textAlignment="Center">
					<font fontName="Courier New" size="10"/>
				</textElement>
				<text><![CDATA[Task Productivity by User Rpt]]></text>
			</staticText>
			<textField pattern="0" isBlankWhenNull="true">
				<reportElement x="548" y="16" width="15" height="10"/>
				<textElement textAlignment="Right">
					<font fontName="Courier New" size="7"/>
				</textElement>
				<textFieldExpression class="java.lang.Integer"><![CDATA[$V{PAGE_NUMBER}]]></textFieldExpression>
			</textField>
			<textField pattern="MM/dd/yy" isBlankWhenNull="true">
				<reportElement x="356" y="38" width="59" height="10"/>
				<textElement>
					<font fontName="Courier New" size="7"/>
				</textElement>
				<textFieldExpression class="java.util.Date"><![CDATA[$P{DATE__FR}]]></textFieldExpression>
			</textField>
			<staticText>
				<reportElement x="409" y="38" width="10" height="10"/>
				<textElement>
					<font fontName="Courier New" size="7"/>
				</textElement>
				<text><![CDATA[To]]></text>
			</staticText>
			<textField pattern="MM/dd/yy" isBlankWhenNull="true">
				<reportElement x="422" y="38" width="59" height="10"/>
				<textElement>
					<font fontName="Courier New" size="7"/>
				</textElement>
				<textFieldExpression class="java.util.Date"><![CDATA[$P{DATE__TO}]]></textFieldExpression>
			</textField>
			<staticText>
				<reportElement x="354" y="62" width="45" height="10"/>
				<textElement>
					<font fontName="Courier New" size="7"/>
				</textElement>
				<text><![CDATA[Total Locs]]></text>
			</staticText>
			<staticText>
				<reportElement x="2" y="53" width="590" height="8"/>
				<textElement>
					<font fontName="Courier New" size="7"/>
				</textElement>
				<text><![CDATA[==============================================================================================================================================]]></text>
			</staticText>
			<staticText>
				<reportElement x="206" y="62" width="55" height="10"/>
				<textElement>
					<font fontName="Courier New" size="7"/>
				</textElement>
				<text><![CDATA[Total Cases]]></text>
			</staticText>
			<staticText>
				<reportElement x="112" y="62" width="59" height="10"/>
				<textElement>
					<font fontName="Courier New" size="7"/>
				</textElement>
				<text><![CDATA[Task Number]]></text>
			</staticText>
			<staticText>
				<reportElement x="2" y="72" width="590" height="8"/>
				<textElement>
					<font fontName="Courier New" size="7"/>
				</textElement>
				<text><![CDATA[==============================================================================================================================================]]></text>
			</staticText>
			<subreport>
				<reportElement positionType="Float" isPrintRepeatedValues="false" x="2" y="81" width="583" height="17" isRemoveLineWhenBlank="true">
					<printWhenExpression><![CDATA[new Boolean($P{REP_TYPE}.equals("D")?true:false)]]></printWhenExpression>
				</reportElement>
				<parametersMapExpression><![CDATA[$P{REPORT_PARAMETERS_MAP}]]></parametersMapExpression>
				<subreportParameter name="EMP_CODE__TO">
					<subreportParameterExpression><![CDATA[$P{EMP_CODE__TO}]]></subreportParameterExpression>
				</subreportParameter>
				<subreportParameter name="EMP_CODE__FR">
					<subreportParameterExpression><![CDATA[$P{EMP_CODE__FR}]]></subreportParameterExpression>
				</subreportParameter>
				<subreportParameter name="AS_PICK_TYPE">
					<subreportParameterExpression><![CDATA[$P{AS_PICK_TYPE}]]></subreportParameterExpression>
				</subreportParameter>
				<subreportParameter name="DATE__TO">
					<subreportParameterExpression><![CDATA[$P{DATE__TO}]]></subreportParameterExpression>
				</subreportParameter>
				<subreportParameter name="DATE__FR">
					<subreportParameterExpression><![CDATA[$P{DATE__FR}]]></subreportParameterExpression>
				</subreportParameter>
				<connectionExpression><![CDATA[$P{REPORT_CONNECTION}]]></connectionExpression>
				<subreportExpression class="java.io.InputStream"><![CDATA[new FileInputStream("/data/jboss-5.1.0.GA/server/default/deploy/ibase.ear/ibase.war/webitm/reports/jrxml/d_task_productivity_detail.jasper")]]></subreportExpression>
			</subreport>
			<subreport>
				<reportElement positionType="Float" isPrintRepeatedValues="false" x="2" y="100" width="583" height="17" isRemoveLineWhenBlank="true">
					<printWhenExpression><![CDATA[new Boolean($P{REP_TYPE}.equals("S")?true:false)]]></printWhenExpression>
				</reportElement>
				<parametersMapExpression><![CDATA[$P{REPORT_PARAMETERS_MAP}]]></parametersMapExpression>
				<subreportParameter name="EMP_CODE__TO">
					<subreportParameterExpression><![CDATA[$P{EMP_CODE__TO}]]></subreportParameterExpression>
				</subreportParameter>
				<subreportParameter name="EMP_CODE__FR">
					<subreportParameterExpression><![CDATA[$P{EMP_CODE__FR}]]></subreportParameterExpression>
				</subreportParameter>
				<subreportParameter name="AS_PICK_TYPE">
					<subreportParameterExpression><![CDATA[$P{AS_PICK_TYPE}]]></subreportParameterExpression>
				</subreportParameter>
				<subreportParameter name="DATE__TO">
					<subreportParameterExpression><![CDATA[$P{DATE__TO}]]></subreportParameterExpression>
				</subreportParameter>
				<subreportParameter name="DATE__FR">
					<subreportParameterExpression><![CDATA[$P{DATE__FR}]]></subreportParameterExpression>
				</subreportParameter>
				<connectionExpression><![CDATA[$P{REPORT_CONNECTION}]]></connectionExpression>
				<subreportExpression class="java.io.InputStream"><![CDATA[new FileInputStream("/data/jboss-5.1.0.GA/server/default/deploy/ibase.ear/ibase.war/webitm/reports/jrxml/d_task_productivity_summ.jasper")]]></subreportExpression>
			</subreport>
			<staticText>
				<reportElement x="278" y="62" width="61" height="10"/>
				<textElement>
					<font fontName="Courier New" size="7"/>
				</textElement>
				<text><![CDATA[Total Actives]]></text>
			</staticText>
		</band>
	</pageHeader>
	<detail>
		<band splitType="Stretch"/>
	</detail>
</jasperReport>
