<?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="d_shipment_detail" pageWidth="612" pageHeight="792" columnWidth="555" leftMargin="20" rightMargin="20" topMargin="20" bottomMargin="20">
	<property name="ireport.zoom" value="1.5"/>
	<property name="ireport.x" value="374"/>
	<property name="ireport.y" value="0"/>
	<parameter name="ASN_NO__FR" class="java.lang.String"/>
	<parameter name="ASN_NO__TO" class="java.lang.String"/>
	<queryString>
		<![CDATA[SELECT
        T.ASN_NO AS ASN_NO,
        T.PRO_NO AS PRO_NO,
        T.FIRST_REC_DATE AS FIRST_REC_DATE,
        T.LAST_REC_DATE AS LAST_REC_DATE,
        T.INVOICE_NO AS INVOICE_NO ,
        T.STATE_CODE AS STATE_CODE,
        T.CASE_NO AS CASE_NO,
        T.ITEM_CODE AS ITEM_CODE,
        T.PURC_ORDER AS PURC_ORDER,
        T.LINE_NO__ORD AS LINE_NO__ORD,
        T.PACK_SIZE AS PACK_SIZE,
        T.LOT_HLD AS LOT_HLD,
        T.RATE AS RATE,
        T.QUANTITY AS QUANTITY,
        T.NOOF_CASES AS NOOF_CASES,
	T.SUPP_CODE AS SUPP_CODE,
        T.QUANTITY * T.RATE AS VALUE
        FROM
(SELECT
        ASN_HDR.ASN_NO AS ASN_NO,
        ASN_HDR.PRO_NO AS PRO_NO,
        (SELECT MIN(PORCP.TRAN_DATE) FROM PORCP WHERE PORCP.ASN_NO =
ASN_HDR.ASN_NO) AS FIRST_REC_DATE,
        (SELECT MAX(PORCP.TRAN_DATE) FROM PORCP WHERE PORCP.ASN_NO =
ASN_HDR.ASN_NO) AS LAST_REC_DATE,
        ASN_HDR.INVOICE_NO AS INVOICE_NO ,
        (SELECT STATE_CODE FROM SITE WHERE SITE.SITE_CODE =
ASN_HDR.SITE_CODE) AS STATE_CODE,
        PORCPDET.LOT_SL AS CASE_NO,
        PORCPDET.ITEM_CODE AS ITEM_CODE,
        ASN_HDR.PURC_ORDER AS PURC_ORDER,
        PORCPDET.LINE_NO__ORD AS LINE_NO__ORD,
        ROUND(PORCPDET.QUANTITY__STDUOM / PORCPDET.NO_ART) AS PACK_SIZE,
        ' ' AS LOT_HLD,
        PORCPDET.RATE__STDUOM AS RATE,
        PORCPDET.QUANTITY__STDUOM AS QUANTITY,
        PORCPDET.NO_ART AS NOOF_CASES,
        PORCP.SUPP_CODE AS SUPP_CODE
        FROM ASN_HDR ASN_HDR,
        PORCP PORCP,
        PORCPDET PORCPDET
        WHERE ASN_HDR.ASN_NO >= '$P!{ASN_NO__FR}' AND ASN_HDR.ASN_NO <= '$P!{ASN_NO__TO}'
        AND PORCP.ASN_NO = ASN_HDR.ASN_NO
        AND PORCPDET.TRAN_ID = PORCP.TRAN_ID
        ) T
        ORDER BY T.ASN_NO,PURC_ORDER,T.LINE_NO__ORD DESC]]>
	</queryString>
	<field name="ASN_NO" class="java.lang.String"/>
	<field name="PRO_NO" class="java.lang.String"/>
	<field name="FIRST_REC_DATE" class="java.util.Date"/>
	<field name="LAST_REC_DATE" class="java.util.Date"/>
	<field name="INVOICE_NO" class="java.lang.String"/>
	<field name="STATE_CODE" class="java.lang.String"/>
	<field name="CASE_NO" class="java.lang.String"/>
	<field name="ITEM_CODE" class="java.lang.String"/>
	<field name="PURC_ORDER" class="java.lang.String"/>
	<field name="LINE_NO__ORD" class="java.lang.String"/>
	<field name="PACK_SIZE" class="java.lang.Double"/>
	<field name="LOT_HLD" class="java.lang.String"/>
	<field name="RATE" class="java.lang.Double"/>
	<field name="QUANTITY" class="java.lang.Double"/>
	<field name="NOOF_CASES" class="java.lang.Double"/>
	<field name="VALUE" class="java.lang.Double"/>
	<field name="SUPP_CODE" class="java.lang.String"/>
	<sortField name="ITEM_CODE"/>
	<variable name="recv_qty1" class="java.lang.Double" resetType="Group" resetGroup="ITEM_CODE" calculation="Sum">
		<variableExpression><![CDATA[$F{QUANTITY}]]></variableExpression>
	</variable>
	<variable name="recv_qty2" class="java.lang.Double" resetType="Group" resetGroup="ITEM_CODE" calculation="Sum">
		<variableExpression><![CDATA[$F{QUANTITY}]]></variableExpression>
	</variable>
	<variable name="tot_cases" class="java.lang.Double" resetType="Group" resetGroup="ITEM_CODE" calculation="Sum">
		<variableExpression><![CDATA[$F{NOOF_CASES}]]></variableExpression>
	</variable>
	<variable name="grand_val" class="java.lang.Double" resetType="Group" resetGroup="SHIP_NO" calculation="Sum">
		<variableExpression><![CDATA[$F{VALUE}]]></variableExpression>
	</variable>
	<variable name="grand_recv_qty1" class="java.lang.Double" resetType="Group" resetGroup="SHIP_NO" calculation="Sum">
		<variableExpression><![CDATA[$F{QUANTITY}]]></variableExpression>
	</variable>
	<variable name="grand_recv_qty2" class="java.lang.Double" resetType="Group" resetGroup="SHIP_NO" calculation="Sum">
		<variableExpression><![CDATA[$F{QUANTITY}]]></variableExpression>
	</variable>
	<variable name="grand_no_cases" class="java.lang.Double" resetType="Group" resetGroup="SHIP_NO" calculation="Sum">
		<variableExpression><![CDATA[$F{NOOF_CASES}]]></variableExpression>
	</variable>
	<variable name="ponbr_ln" class="java.lang.String">
		<variableExpression><![CDATA[new java.lang.String(ibase.webitm.reports.utility.BaseReportMethods.trim($F{PURC_ORDER})+"/"+ibase.webitm.reports.utility.BaseReportMethods.trim($F{LINE_NO__ORD}))]]></variableExpression>
	</variable>
	<variable name="sku_sub_tot" class="java.lang.Double" resetType="Group" resetGroup="ITEM_CODE" calculation="Sum">
		<variableExpression><![CDATA[$F{VALUE}]]></variableExpression>
	</variable>
	<group name="SHIP_NO" isStartNewPage="true" isResetPageNumber="true">
		<groupExpression><![CDATA[$F{ASN_NO}]]></groupExpression>
		<groupHeader>
			<band/>
		</groupHeader>
		<groupFooter>
			<band height="21">
				<staticText>
					<reportElement x="95" y="2" width="82" height="10"/>
					<textElement>
						<font fontName="Courier New" size="8"/>
					</textElement>
					<text><![CDATA[Grand Totals]]></text>
				</staticText>
				<textField pattern="###0.0000" isBlankWhenNull="true">
					<reportElement x="179" y="2" width="93" height="10"/>
					<textElement textAlignment="Right">
						<font fontName="Courier New" size="8"/>
					</textElement>
					<textFieldExpression class="java.lang.Double"><![CDATA[$V{grand_val}]]></textFieldExpression>
				</textField>
				<staticText>
					<reportElement x="0" y="13" width="570" height="8"/>
					<textElement>
						<font fontName="Courier New" size="7"/>
					</textElement>
					<text><![CDATA[=============================================================================================================================================================================]]></text>
				</staticText>
				<textField evaluationTime="Group" evaluationGroup="SHIP_NO" pattern="###0" isBlankWhenNull="true">
					<reportElement x="330" y="2" width="79" height="10"/>
					<textElement textAlignment="Right">
						<font fontName="Courier New" size="8"/>
					</textElement>
					<textFieldExpression class="java.lang.Double"><![CDATA[$V{grand_recv_qty1}]]></textFieldExpression>
				</textField>
				<textField evaluationTime="Group" evaluationGroup="SHIP_NO" pattern="###0" isBlankWhenNull="true">
					<reportElement x="417" y="2" width="64" height="10"/>
					<textElement textAlignment="Right">
						<font fontName="Courier New" size="8"/>
					</textElement>
					<textFieldExpression class="java.lang.Double"><![CDATA[$V{grand_recv_qty2}]]></textFieldExpression>
				</textField>
				<textField evaluationTime="Group" evaluationGroup="SHIP_NO" pattern="###0" isBlankWhenNull="true">
					<reportElement x="483" y="2" width="64" height="10"/>
					<textElement textAlignment="Right">
						<font fontName="Courier New" size="8"/>
					</textElement>
					<textFieldExpression class="java.lang.Double"><![CDATA[$V{grand_no_cases}]]></textFieldExpression>
				</textField>
			</band>
		</groupFooter>
	</group>
	<group name="ITEM_CODE">
		<groupExpression><![CDATA[$F{ITEM_CODE}]]></groupExpression>
		<groupHeader>
			<band/>
		</groupHeader>
		<groupFooter>
			<band height="45">
				<line>
					<reportElement x="0" y="1" width="572" height="1"/>
					<graphicElement>
						<pen lineWidth="0.5" lineStyle="Dashed"/>
					</graphicElement>
				</line>
				<staticText>
					<reportElement x="97" y="24" width="82" height="10"/>
					<textElement>
						<font fontName="Courier New" size="8"/>
					</textElement>
					<text><![CDATA[SKU Subtotals]]></text>
				</staticText>
				<textField pattern="###0.0000" isBlankWhenNull="true">
					<reportElement x="179" y="24" width="93" height="10"/>
					<textElement textAlignment="Right">
						<font fontName="Courier New" size="8"/>
					</textElement>
					<textFieldExpression class="java.lang.Double"><![CDATA[$V{sku_sub_tot}]]></textFieldExpression>
				</textField>
				<textField evaluationTime="Group" evaluationGroup="ITEM_CODE" pattern="###0">
					<reportElement x="354" y="24" width="55" height="10"/>
					<textElement textAlignment="Right">
						<font fontName="Courier New" size="8"/>
					</textElement>
					<textFieldExpression class="java.lang.Double"><![CDATA[$V{recv_qty1}]]></textFieldExpression>
				</textField>
				<textField evaluationTime="Group" evaluationGroup="ITEM_CODE" pattern="###0">
					<reportElement x="426" y="24" width="55" height="10"/>
					<textElement textAlignment="Right">
						<font fontName="Courier New" size="8"/>
					</textElement>
					<textFieldExpression class="java.lang.Double"><![CDATA[$V{recv_qty2}]]></textFieldExpression>
				</textField>
				<textField evaluationTime="Group" evaluationGroup="ITEM_CODE" pattern="###0">
					<reportElement x="492" y="24" width="55" height="10"/>
					<textElement textAlignment="Right">
						<font fontName="Courier New" size="8"/>
					</textElement>
					<textFieldExpression class="java.lang.Double"><![CDATA[$V{tot_cases}]]></textFieldExpression>
				</textField>
				<staticText>
					<reportElement x="373" y="4" width="36" height="20"/>
					<textElement textAlignment="Right">
						<font fontName="Courier New" size="8"/>
					</textElement>
					<text><![CDATA[ShippedUnits]]></text>
				</staticText>
				<staticText>
					<reportElement x="233" y="4" width="39" height="20"/>
					<textElement textAlignment="Right">
						<font fontName="Courier New" size="8"/>
					</textElement>
					<text><![CDATA[ExtendedCost]]></text>
				</staticText>
				<staticText>
					<reportElement x="1" y="35" width="570" height="8"/>
					<textElement>
						<font fontName="Courier New" size="7"/>
					</textElement>
					<text><![CDATA[=============================================================================================================================================================================]]></text>
				</staticText>
			</band>
		</groupFooter>
	</group>
	<background>
		<band splitType="Stretch"/>
	</background>
	<title>
		<band splitType="Stretch"/>
	</title>
	<pageHeader>
		<band height="137" splitType="Stretch">
			<staticText>
				<reportElement x="10" y="10" width="75" height="10">
					<printWhenExpression><![CDATA[new Boolean(false)]]></printWhenExpression>
				</reportElement>
				<textElement>
					<font fontName="Courier New" size="7"/>
				</textElement>
				<text><![CDATA[d_shipment_detail]]></text>
			</staticText>
			<staticText>
				<reportElement x="501" y="26" width="10" height="10"/>
				<textElement>
					<font fontName="Courier New" size="7"/>
				</textElement>
				<text><![CDATA[At ]]></text>
			</staticText>
			<staticText>
				<reportElement x="0" y="12" width="572" height="14"/>
				<textElement textAlignment="Center">
					<font fontName="Courier New" size="10"/>
				</textElement>
				<text><![CDATA[Shipment Detail Report]]></text>
			</staticText>
			<textField isBlankWhenNull="true">
				<reportElement x="546" y="16" width="17" height="10"/>
				<textElement>
					<font fontName="Courier New" size="7"/>
				</textElement>
				<textFieldExpression class="java.lang.Integer"><![CDATA[$V{PAGE_NUMBER}]]></textFieldExpression>
			</textField>
			<staticText>
				<reportElement x="10" y="20" width="46" height="10">
					<printWhenExpression><![CDATA[new Boolean(false)]]></printWhenExpression>
				</reportElement>
				<textElement>
					<font fontName="Courier New" size="7"/>
				</textElement>
				<text><![CDATA[WM]]></text>
			</staticText>
			<textField pattern="HH:mm:ss">
				<reportElement x="512" 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="514" y="16" width="32" height="10"/>
				<textElement>
					<font fontName="Courier New" size="7"/>
				</textElement>
				<text><![CDATA[Page :]]></text>
			</staticText>
			<textField isBlankWhenNull="true">
				<reportElement x="58" y="29" width="39" height="10">
					<printWhenExpression><![CDATA[new Boolean(false)]]></printWhenExpression>
				</reportElement>
				<textElement>
					<font fontName="Courier New" size="7"/>
				</textElement>
				<textFieldExpression class="java.lang.String"><![CDATA[$F{STATE_CODE}]]></textFieldExpression>
			</textField>
			<staticText>
				<reportElement x="10" y="29" width="46" height="10">
					<printWhenExpression><![CDATA[new Boolean(false)]]></printWhenExpression>
				</reportElement>
				<textElement>
					<font fontName="Courier New" size="7"/>
				</textElement>
				<text><![CDATA[Wh/Co/Div::]]></text>
			</staticText>
			<textField pattern="MM/dd/yy">
				<reportElement x="461" 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>
			<staticText>
				<reportElement x="10" y="52" width="90" height="10" isRemoveLineWhenBlank="true"/>
				<textElement>
					<font fontName="Courier New" size="7"/>
				</textElement>
				<text><![CDATA[Shipment # ]]></text>
			</staticText>
			<staticText>
				<reportElement x="10" y="62" width="90" height="10" isRemoveLineWhenBlank="true"/>
				<textElement>
					<font fontName="Courier New" size="7"/>
				</textElement>
				<text><![CDATA[PRO# ]]></text>
			</staticText>
			<staticText>
				<reportElement x="10" y="72" width="90" height="10" isRemoveLineWhenBlank="true"/>
				<textElement>
					<font fontName="Courier New" size="7"/>
				</textElement>
				<text><![CDATA[First Receipt Date ]]></text>
			</staticText>
			<staticText>
				<reportElement x="10" y="82" width="90" height="10" isRemoveLineWhenBlank="true"/>
				<textElement>
					<font fontName="Courier New" size="7"/>
				</textElement>
				<text><![CDATA[Invoice#]]></text>
			</staticText>
			<staticText>
				<reportElement x="311" y="72" width="86" height="10" isRemoveLineWhenBlank="true"/>
				<textElement>
					<font fontName="Courier New" size="7"/>
				</textElement>
				<text><![CDATA[Received From ]]></text>
			</staticText>
			<staticText>
				<reportElement x="311" y="82" width="86" height="10" isRemoveLineWhenBlank="true"/>
				<textElement>
					<font fontName="Courier New" size="7"/>
				</textElement>
				<text><![CDATA[Last Receipt Date ]]></text>
			</staticText>
			<textField isBlankWhenNull="true">
				<reportElement x="107" y="52" width="100" height="10"/>
				<textElement>
					<font fontName="Courier New" size="7"/>
				</textElement>
				<textFieldExpression class="java.lang.String"><![CDATA[$F{ASN_NO}]]></textFieldExpression>
			</textField>
			<textField isBlankWhenNull="true">
				<reportElement x="107" y="62" width="100" height="10"/>
				<textElement>
					<font fontName="Courier New" size="7"/>
				</textElement>
				<textFieldExpression class="java.lang.String"><![CDATA[$F{PRO_NO}]]></textFieldExpression>
			</textField>
			<textField pattern="MM/dd/yy" isBlankWhenNull="true">
				<reportElement x="107" y="72" width="100" height="10"/>
				<textElement>
					<font fontName="Courier New" size="7"/>
				</textElement>
				<textFieldExpression class="java.util.Date"><![CDATA[$F{FIRST_REC_DATE}]]></textFieldExpression>
			</textField>
			<textField pattern="MM/dd/yy" isBlankWhenNull="true">
				<reportElement x="406" y="82" width="100" height="10"/>
				<textElement>
					<font fontName="Courier New" size="7"/>
				</textElement>
				<textFieldExpression class="java.util.Date"><![CDATA[$F{LAST_REC_DATE}]]></textFieldExpression>
			</textField>
			<textField isBlankWhenNull="true">
				<reportElement x="107" y="82" width="100" height="10"/>
				<textElement>
					<font fontName="Courier New" size="7"/>
				</textElement>
				<textFieldExpression class="java.lang.String"><![CDATA[$F{INVOICE_NO}]]></textFieldExpression>
			</textField>
			<staticText>
				<reportElement x="14" y="118" width="79" height="10"/>
				<textElement>
					<font fontName="Courier New" size="8"/>
				</textElement>
				<text><![CDATA[Case#]]></text>
			</staticText>
			<staticText>
				<reportElement x="97" y="118" width="82" height="10"/>
				<textElement>
					<font fontName="Courier New" size="8"/>
				</textElement>
				<text><![CDATA[SKU]]></text>
			</staticText>
			<staticText>
				<reportElement x="190" y="118" width="79" height="10"/>
				<textElement textAlignment="Left">
					<font fontName="Courier New" size="8"/>
				</textElement>
				<text><![CDATA[PO Nbr/Ln#]]></text>
			</staticText>
			<staticText>
				<reportElement x="281" y="110" width="16" height="19"/>
				<textElement>
					<font fontName="Courier New" size="8"/>
				</textElement>
				<text><![CDATA[Ea/Cs]]></text>
			</staticText>
			<staticText>
				<reportElement x="308" y="110" width="25" height="19"/>
				<textElement textAlignment="Left">
					<font fontName="Courier New" size="8"/>
				</textElement>
				<text><![CDATA[Lot Hld]]></text>
			</staticText>
			<staticText>
				<reportElement x="370" y="110" width="39" height="10"/>
				<textElement textAlignment="Right">
					<font fontName="Courier New" size="8"/>
				</textElement>
				<text><![CDATA[Expected]]></text>
			</staticText>
			<staticText>
				<reportElement x="442" y="110" width="39" height="19"/>
				<textElement textAlignment="Right">
					<font fontName="Courier New" size="8"/>
				</textElement>
				<text><![CDATA[ReceivedUnits]]></text>
			</staticText>
			<staticText>
				<reportElement x="508" y="110" width="39" height="19"/>
				<textElement textAlignment="Right">
					<font fontName="Courier New" size="8"/>
				</textElement>
				<text><![CDATA[ReceivedCases]]></text>
			</staticText>
			<staticText>
				<reportElement x="2" y="102" width="570" height="8"/>
				<textElement>
					<font fontName="Courier New" size="7"/>
				</textElement>
				<text><![CDATA[=============================================================================================================================================================================]]></text>
			</staticText>
			<staticText>
				<reportElement x="370" y="119" width="39" height="10"/>
				<textElement textAlignment="Justified">
					<font fontName="Courier New" size="8"/>
				</textElement>
				<text><![CDATA[UnitCst]]></text>
			</staticText>
			<staticText>
				<reportElement x="99" y="52" width="6" height="10" isRemoveLineWhenBlank="true"/>
				<textElement>
					<font fontName="Courier New" size="7"/>
				</textElement>
				<text><![CDATA[:]]></text>
			</staticText>
			<staticText>
				<reportElement x="99" y="62" width="6" height="10" isRemoveLineWhenBlank="true"/>
				<textElement>
					<font fontName="Courier New" size="7"/>
				</textElement>
				<text><![CDATA[:]]></text>
			</staticText>
			<staticText>
				<reportElement x="99" y="72" width="6" height="10" isRemoveLineWhenBlank="true"/>
				<textElement>
					<font fontName="Courier New" size="7"/>
				</textElement>
				<text><![CDATA[:]]></text>
			</staticText>
			<staticText>
				<reportElement x="99" y="82" width="6" height="10" isRemoveLineWhenBlank="true"/>
				<textElement>
					<font fontName="Courier New" size="7"/>
				</textElement>
				<text><![CDATA[:]]></text>
			</staticText>
			<staticText>
				<reportElement x="396" y="82" width="6" height="10" isRemoveLineWhenBlank="true"/>
				<textElement>
					<font fontName="Courier New" size="7"/>
				</textElement>
				<text><![CDATA[:]]></text>
			</staticText>
			<staticText>
				<reportElement x="396" y="72" width="6" height="10" isRemoveLineWhenBlank="true"/>
				<textElement>
					<font fontName="Courier New" size="7"/>
				</textElement>
				<text><![CDATA[:]]></text>
			</staticText>
			<staticText>
				<reportElement x="2" y="129" width="570" height="8"/>
				<textElement>
					<font fontName="Courier New" size="7"/>
				</textElement>
				<text><![CDATA[=============================================================================================================================================================================]]></text>
			</staticText>
			<textField isBlankWhenNull="true">
				<reportElement x="406" y="72" width="100" height="10"/>
				<textElement>
					<font fontName="Courier New" size="7"/>
				</textElement>
				<textFieldExpression class="java.lang.String"><![CDATA[$F{SUPP_CODE}]]></textFieldExpression>
			</textField>
		</band>
	</pageHeader>
	<columnHeader>
		<band splitType="Stretch"/>
	</columnHeader>
	<detail>
		<band height="12">
			<textField isBlankWhenNull="true">
				<reportElement x="14" y="2" width="79" height="10"/>
				<textElement>
					<font fontName="Courier New" size="8"/>
				</textElement>
				<textFieldExpression class="java.lang.String"><![CDATA[$F{CASE_NO}]]></textFieldExpression>
			</textField>
			<textField isBlankWhenNull="true">
				<reportElement x="97" y="2" width="79" height="10"/>
				<textElement>
					<font fontName="Courier New" size="8"/>
				</textElement>
				<textFieldExpression class="java.lang.String"><![CDATA[$F{ITEM_CODE}]]></textFieldExpression>
			</textField>
			<textField pattern="###0" isBlankWhenNull="true">
				<reportElement x="281" y="2" width="14" height="10"/>
				<textElement textAlignment="Right">
					<font fontName="Courier New" size="8"/>
				</textElement>
				<textFieldExpression class="java.lang.Double"><![CDATA[$F{PACK_SIZE}]]></textFieldExpression>
			</textField>
			<textField isBlankWhenNull="true">
				<reportElement x="308" y="2" width="54" height="10"/>
				<textElement>
					<font fontName="Courier New" size="8"/>
				</textElement>
				<textFieldExpression class="java.lang.String"><![CDATA[$F{LOT_HLD}]]></textFieldExpression>
			</textField>
			<textField pattern="###0.0000" isBlankWhenNull="true">
				<reportElement x="370" y="2" width="39" height="10"/>
				<textElement textAlignment="Right">
					<font fontName="Courier New" size="8"/>
				</textElement>
				<textFieldExpression class="java.lang.Double"><![CDATA[$F{RATE}]]></textFieldExpression>
			</textField>
			<textField pattern="###0" isBlankWhenNull="true">
				<reportElement x="442" y="2" width="39" height="10"/>
				<textElement textAlignment="Right">
					<font fontName="Courier New" size="8"/>
				</textElement>
				<textFieldExpression class="java.lang.Double"><![CDATA[$F{QUANTITY}]]></textFieldExpression>
			</textField>
			<textField pattern="###0" isBlankWhenNull="true">
				<reportElement x="508" y="2" width="39" height="10"/>
				<textElement textAlignment="Right">
					<font fontName="Courier New" size="8"/>
				</textElement>
				<textFieldExpression class="java.lang.Double"><![CDATA[$F{NOOF_CASES}]]></textFieldExpression>
			</textField>
			<textField isBlankWhenNull="true">
				<reportElement x="190" y="2" width="79" height="10"/>
				<textElement textAlignment="Left">
					<font fontName="Courier New" size="8"/>
				</textElement>
				<textFieldExpression class="java.lang.String"><![CDATA[$V{ponbr_ln}]]></textFieldExpression>
			</textField>
		</band>
	</detail>
	<columnFooter>
		<band splitType="Stretch"/>
	</columnFooter>
	<pageFooter>
		<band splitType="Stretch"/>
	</pageFooter>
	<lastPageFooter>
		<band/>
	</lastPageFooter>
	<summary>
		<band height="15" splitType="Stretch">
			<staticText>
				<reportElement x="2" y="1" width="572" height="14"/>
				<textElement textAlignment="Center" verticalAlignment="Middle">
					<font fontName="Courier New" size="10"/>
				</textElement>
				<text><![CDATA[*** End of Report ***]]></text>
			</staticText>
		</band>
	</summary>
</jasperReport>
