<?xml version="1.0" encoding="UTF-8"  ?>
<!-- Created with iReport - A designer for JasperReports -->
<!DOCTYPE jasperReport PUBLIC "//JasperReports//DTD Report Design//EN" "http://jasperreports.sourceforge.net/dtds/jasperreport.dtd">
<jasperReport
		 name="report02_po_persupplier"
		 columnCount="1"
		 printOrder="Vertical"
		 orientation="Landscape"
		 pageWidth="1190"
		 pageHeight="765"
		 columnWidth="1190"
		 columnSpacing="0"
		 leftMargin="0"
		 rightMargin="0"
		 topMargin="0"
		 bottomMargin="0"
		 whenNoDataType="AllSectionsNoDetail"
		 isTitleNewPage="false"
		 isSummaryNewPage="false">
	<property name="ireport.scriptlethandling" value="0" />
	<property name="ireport.encoding" value="UTF-8" />
	<import value="java.util.*" />
	<import value="net.sf.jasperreports.engine.*" />
	<import value="net.sf.jasperreports.engine.data.*" />

	<parameter name="po_type" isForPrompting="true" class="java.lang.String"/>
	<parameter name="supplier_code" isForPrompting="true" class="java.lang.String"/>
	<parameter name="item_code" isForPrompting="true" class="java.lang.String"/>
	<parameter name="currency_code" isForPrompting="true" class="java.lang.String"/>
	<parameter name="date_from" isForPrompting="true" class="java.util.Date"/>
	<parameter name="date_end" isForPrompting="true" class="java.util.Date"/>
	<parameter name="username" isForPrompting="true" class="java.lang.String"/>
	<queryString><![CDATA[call sppureport02_po($P{po_type},$P{supplier_code},$P{date_from},$P{date_end},$P{item_code},$P{currency_code})]]></queryString>

	<field name="hdr_ftcompany_name" class="java.lang.String"/>
	<field name="hdr_ftdocument_no_iso" class="java.lang.String"/>
	<field name="det_fdtrans_date" class="java.sql.Date"/>
	<field name="det_ftpo_no" class="java.lang.String"/>
	<field name="receipt_status" class="java.lang.String"/>
	<field name="det_ftdescription" class="java.lang.String"/>
	<field name="det_ftsm_no" class="java.lang.String"/>
	<field name="det_ftsupplier_code" class="java.lang.String"/>
	<field name="det_ftsupplier_name" class="java.lang.String"/>
	<field name="det_ftitem_code" class="java.lang.String"/>
	<field name="det_ftitem_name" class="java.lang.String"/>
	<field name="det_ftuom_code" class="java.lang.String"/>
	<field name="det_fnqty_po" class="java.lang.Double"/>
	<field name="det_ftcurrency_code" class="java.lang.String"/>
	<field name="det_fcprice" class="java.math.BigDecimal"/>
	<field name="det_fdschedule_delivery_date" class="java.lang.String"/>
	<field name="det_fdstock_in_date" class="java.lang.String"/>
	<field name="det_fnqty_stock_in" class="java.lang.Double"/>
	<field name="det_fnso_qty" class="java.lang.Double"/>
	<field name="det_ftstatus_receipt" class="java.lang.String"/>
	<field name="det_fcamount" class="java.math.BigDecimal"/>
	<field name="det_fcdiscount" class="java.lang.Double"/>
	<field name="det_fcvat" class="java.lang.Double"/>
	<field name="det_fctotal_idr" class="java.math.BigDecimal"/>
	<field name="det_fctotal_usd" class="java.math.BigDecimal"/>

	<variable name="urut" class="java.lang.Integer" resetType="Report" calculation="Count">
		<variableExpression><![CDATA[new java.lang.Integer(0)]]></variableExpression>
		<initialValueExpression><![CDATA[new java.lang.Integer(1)]]></initialValueExpression>
	</variable>
	<variable name="SUM_fnqty" class="java.lang.Double" resetType="Page" calculation="Sum">
		<variableExpression><![CDATA[$F{det_fnqty_stock_in}]]></variableExpression>
	</variable>
	<variable name="SUM_fctotal_usd" class="java.math.BigDecimal" resetType="Report" calculation="Sum">
		<variableExpression><![CDATA[$F{det_fctotal_usd}]]></variableExpression>
	</variable>
	<variable name="SUM_fctotal_idr" class="java.math.BigDecimal" resetType="Report" calculation="Sum">
		<variableExpression><![CDATA[$F{det_fctotal_idr}]]></variableExpression>
	</variable>
	<variable name="SUM_fnso_qty" class="java.lang.Double" resetType="Group" resetGroup="po_no" calculation="Sum">
		<variableExpression><![CDATA[$F{det_fnqty_stock_in}]]></variableExpression>
	</variable>

		<group  name="det_ftsupplier_code" isStartNewPage="true" isReprintHeaderOnEachPage="true" >
			<groupExpression><![CDATA[$F{det_ftsupplier_code}]]></groupExpression>
			<groupHeader>
			<band height="66"  isSplitAllowed="true" >
				<line direction="TopDown">
					<reportElement
						x="0"
						y="28"
						width="1190"
						height="1"
						key="line-1"/>
					<graphicElement stretchType="NoStretch"/>
				</line>
				<line direction="TopDown">
					<reportElement
						x="0"
						y="64"
						width="1190"
						height="1"
						key="line-2"/>
					<graphicElement stretchType="NoStretch"/>
				</line>
				<staticText>
					<reportElement
						x="84"
						y="37"
						width="129"
						height="18"
						key="staticText-5"/>
					<box></box>
					<textElement textAlignment="Center" verticalAlignment="Middle">
						<font fontName="Arial" pdfFontName="Helvetica-Bold" size="12" isBold="true"/>
					</textElement>
				<text><![CDATA[No. PO]]></text>
				</staticText>
				<staticText>
					<reportElement
						x="216"
						y="37"
						width="246"
						height="18"
						key="staticText-7"/>
					<box></box>
					<textElement textAlignment="Center" verticalAlignment="Middle">
						<font fontName="Arial" pdfFontName="Helvetica-Bold" size="12" isBold="true"/>
					</textElement>
				<text><![CDATA[Nama Barang]]></text>
				</staticText>
				<staticText>
					<reportElement
						x="966"
						y="47"
						width="69"
						height="15"
						key="staticText-8"/>
					<box></box>
					<textElement textAlignment="Center">
						<font fontName="Arial" pdfFontName="Helvetica-Bold" size="12" isBold="true"/>
					</textElement>
				<text><![CDATA[Date]]></text>
				</staticText>
				<staticText>
					<reportElement
						x="2"
						y="37"
						width="79"
						height="18"
						key="staticText-10"/>
					<box></box>
					<textElement textAlignment="Center" verticalAlignment="Middle">
						<font fontName="Arial" pdfFontName="Helvetica-Bold" size="12" isBold="true"/>
					</textElement>
				<text><![CDATA[Tgl. PO]]></text>
				</staticText>
				<staticText>
					<reportElement
						x="966"
						y="31"
						width="138"
						height="16"
						key="staticText-12"/>
					<box>					<bottomPen lineWidth="1.0"/>
</box>
					<textElement textAlignment="Center" verticalAlignment="Top">
						<font fontName="Arial" pdfFontName="Helvetica-Bold" size="12" isBold="true"/>
					</textElement>
				<text><![CDATA[Schedule Delivery]]></text>
				</staticText>
				<staticText>
					<reportElement
						x="1108"
						y="37"
						width="77"
						height="18"
						key="staticText-14"/>
					<box></box>
					<textElement textAlignment="Center" verticalAlignment="Middle">
						<font fontName="Arial" pdfFontName="Helvetica-Bold" size="12" isBold="true"/>
					</textElement>
				<text><![CDATA[OS PO]]></text>
				</staticText>
				<staticText>
					<reportElement
						x="874"
						y="31"
						width="88"
						height="16"
						key="staticText-17"/>
					<box></box>
					<textElement textAlignment="Center" verticalAlignment="Top">
						<font fontName="Arial" pdfFontName="Helvetica-Bold" size="12" isBold="true"/>
					</textElement>
				<text><![CDATA[PPN]]></text>
				</staticText>
				<staticText>
					<reportElement
						x="1040"
						y="47"
						width="64"
						height="15"
						key="staticText-19"/>
					<box></box>
					<textElement textAlignment="Center">
						<font fontName="Arial" pdfFontName="Helvetica-Bold" size="12" isBold="true"/>
					</textElement>
				<text><![CDATA[Qty]]></text>
				</staticText>
				<staticText>
					<reportElement
						x="2"
						y="4"
						width="90"
						height="18"
						key="staticText-22"/>
					<box></box>
					<textElement textAlignment="Left">
						<font fontName="Arial" pdfFontName="Helvetica-Bold" size="12" isBold="true"/>
					</textElement>
				<text><![CDATA[Supplier]]></text>
				</staticText>
				<staticText>
					<reportElement
						x="92"
						y="4"
						width="12"
						height="18"
						key="staticText-24"/>
					<box></box>
					<textElement textAlignment="Center">
						<font fontName="Arial" pdfFontName="Helvetica-Bold" size="12" isBold="true"/>
					</textElement>
				<text><![CDATA[:]]></text>
				</staticText>
				<staticText>
					<reportElement
						x="782"
						y="31"
						width="88"
						height="16"
						key="staticText-25"/>
					<box></box>
					<textElement textAlignment="Center" verticalAlignment="Top">
						<font fontName="Arial" pdfFontName="Helvetica-Bold" size="12" isBold="true"/>
					</textElement>
				<text><![CDATA[Disc]]></text>
				</staticText>
				<staticText>
					<reportElement
						x="690"
						y="31"
						width="88"
						height="16"
						key="staticText-26"/>
					<box></box>
					<textElement textAlignment="Center" verticalAlignment="Top">
						<font fontName="Arial" pdfFontName="Helvetica-Bold" size="12" isBold="true"/>
					</textElement>
				<text><![CDATA[Harga]]></text>
				</staticText>
				<staticText>
					<reportElement
						x="598"
						y="31"
						width="88"
						height="16"
						key="staticText-27"/>
					<box></box>
					<textElement textAlignment="Center" verticalAlignment="Top">
						<font fontName="Arial" pdfFontName="Helvetica-Bold" size="12" isBold="true"/>
					</textElement>
				<text><![CDATA[Quantity]]></text>
				</staticText>
				<staticText>
					<reportElement
						x="598"
						y="47"
						width="88"
						height="15"
						key="staticText-28"/>
					<box></box>
					<textElement textAlignment="Center" verticalAlignment="Top">
						<font fontName="Arial" pdfFontName="Helvetica-Bold" size="12" isBold="true"/>
					</textElement>
				<text><![CDATA[PO]]></text>
				</staticText>
				<staticText>
					<reportElement
						x="465"
						y="37"
						width="129"
						height="18"
						key="staticText-29"/>
					<box></box>
					<textElement textAlignment="Center" verticalAlignment="Middle">
						<font fontName="Arial" pdfFontName="Helvetica-Bold" size="12" isBold="true"/>
					</textElement>
				<text><![CDATA[No. SM]]></text>
				</staticText>
				<textField isStretchWithOverflow="false" isBlankWhenNull="true" evaluationTime="Now" hyperlinkType="None"  hyperlinkTarget="Self" >
					<reportElement
						x="112"
						y="4"
						width="159"
						height="18"
						key="textField"/>
					<box></box>
					<textElement>
						<font fontName="Arial" pdfFontName="Helvetica-Bold" size="12" isBold="true"/>
					</textElement>
				<textFieldExpression   class="java.lang.String"><![CDATA[$F{det_ftsupplier_name}]]></textFieldExpression>
				</textField>
				<textField isStretchWithOverflow="false" pattern="##0.00" isBlankWhenNull="false" evaluationTime="Now" hyperlinkType="None"  hyperlinkTarget="Self" >
					<reportElement
						x="690"
						y="47"
						width="88"
						height="15"
						key="textField-9"/>
					<box></box>
					<textElement textAlignment="Center">
						<font fontName="Arial" pdfFontName="Helvetica-Bold" size="12" isBold="true"/>
					</textElement>
				<textFieldExpression   class="java.lang.String"><![CDATA["(" +$F{det_ftcurrency_code} + ")"]]></textFieldExpression>
				</textField>
				<textField isStretchWithOverflow="false" pattern="##0.00" isBlankWhenNull="false" evaluationTime="Now" hyperlinkType="None"  hyperlinkTarget="Self" >
					<reportElement
						x="782"
						y="47"
						width="88"
						height="15"
						key="textField-10"/>
					<box></box>
					<textElement textAlignment="Center">
						<font fontName="Arial" pdfFontName="Helvetica-Bold" size="12" isBold="true"/>
					</textElement>
				<textFieldExpression   class="java.lang.String"><![CDATA["(" +$F{det_ftcurrency_code} + ")"]]></textFieldExpression>
				</textField>
				<textField isStretchWithOverflow="false" pattern="##0.00" isBlankWhenNull="false" evaluationTime="Now" hyperlinkType="None"  hyperlinkTarget="Self" >
					<reportElement
						x="874"
						y="47"
						width="88"
						height="15"
						key="textField-11"/>
					<box></box>
					<textElement textAlignment="Center">
						<font fontName="Arial" pdfFontName="Helvetica-Bold" size="12" isBold="true"/>
					</textElement>
				<textFieldExpression   class="java.lang.String"><![CDATA["(" +$F{det_ftcurrency_code} + ")"]]></textFieldExpression>
				</textField>
			</band>
			</groupHeader>
			<groupFooter>
			<band height="0"  isSplitAllowed="true" >
			</band>
			</groupFooter>
		</group>
		<group  name="po_no" >
			<groupExpression><![CDATA[$F{det_ftpo_no}]]></groupExpression>
			<groupHeader>
			<band height="0"  isSplitAllowed="true" >
			</band>
			</groupHeader>
			<groupFooter>
			<band height="0"  isSplitAllowed="true" >
			</band>
			</groupFooter>
		</group>
		<background>
			<band height="0"  isSplitAllowed="true" >
			</band>
		</background>
		<title>
			<band height="0"  isSplitAllowed="true" >
			</band>
		</title>
		<pageHeader>
			<band height="54"  isSplitAllowed="true" >
				<staticText>
					<reportElement
						x="2"
						y="35"
						width="90"
						height="18"
						key="staticText-2"/>
					<box></box>
					<textElement textAlignment="Left">
						<font fontName="Arial" pdfFontName="Helvetica-Bold" size="12" isBold="true"/>
					</textElement>
				<text><![CDATA[Periode transaksi :]]></text>
				</staticText>
				<textField isStretchWithOverflow="false" pattern="dd-MMM-yyyy" isBlankWhenNull="false" evaluationTime="Now" hyperlinkType="None"  hyperlinkTarget="Self" >
					<reportElement
						x="104"
						y="35"
						width="76"
						height="18"
						key="textField-1"/>
					<box></box>
					<textElement textAlignment="Right">
						<font fontName="Arial" pdfFontName="Helvetica-Bold" size="12" isBold="true" isStrikeThrough="false" />
					</textElement>
				<textFieldExpression   class="java.util.Date"><![CDATA[$P{date_from}]]></textFieldExpression>
				</textField>
				<staticText>
					<reportElement
						x="180"
						y="35"
						width="25"
						height="18"
						key="staticText-3"/>
					<box></box>
					<textElement textAlignment="Center">
						<font fontName="Arial" pdfFontName="Helvetica-Bold" size="12" isBold="true"/>
					</textElement>
				<text><![CDATA[s/d]]></text>
				</staticText>
				<textField isStretchWithOverflow="false" pattern="dd-MMM-yyyy" isBlankWhenNull="false" evaluationTime="Now" hyperlinkType="None"  hyperlinkTarget="Self" >
					<reportElement
						x="205"
						y="35"
						width="76"
						height="18"
						key="textField-2"/>
					<box></box>
					<textElement>
						<font fontName="Arial" pdfFontName="Helvetica-Bold" size="12" isBold="true"/>
					</textElement>
				<textFieldExpression   class="java.util.Date"><![CDATA[$P{date_end}]]></textFieldExpression>
				</textField>
				<textField isStretchWithOverflow="false" isBlankWhenNull="false" evaluationTime="Now" hyperlinkType="None"  hyperlinkTarget="Self" >
					<reportElement
						x="1048"
						y="0"
						width="100"
						height="18"
						key="textField"/>
					<box></box>
					<textElement textAlignment="Right">
						<font fontName="Arial" size="12"/>
					</textElement>
				<textFieldExpression   class="java.lang.String"><![CDATA["Page " + $V{PAGE_NUMBER} + " of "]]></textFieldExpression>
				</textField>
				<textField isStretchWithOverflow="false" isBlankWhenNull="false" evaluationTime="Report" hyperlinkType="None"  hyperlinkTarget="Self" >
					<reportElement
						x="1152"
						y="0"
						width="33"
						height="18"
						key="textField"/>
					<box></box>
					<textElement>
						<font fontName="Arial" size="12"/>
					</textElement>
				<textFieldExpression   class="java.lang.String"><![CDATA["" + $V{PAGE_NUMBER} + ""]]></textFieldExpression>
				</textField>
				<staticText>
					<reportElement
						x="2"
						y="5"
						width="458"
						height="23"
						key="staticText-18"/>
					<box></box>
					<textElement textAlignment="Left">
						<font fontName="Arial" pdfFontName="Helvetica-Bold" size="14" isBold="true"/>
					</textElement>
				<text><![CDATA[LAPORAN PO PER SUPPLIER]]></text>
				</staticText>
				<staticText>
					<reportElement
						x="92"
						y="35"
						width="12"
						height="18"
						key="staticText-23"/>
					<box></box>
					<textElement textAlignment="Center">
						<font fontName="Arial" pdfFontName="Helvetica-Bold" size="12" isBold="true"/>
					</textElement>
				<text><![CDATA[:]]></text>
				</staticText>
			</band>
		</pageHeader>
		<columnHeader>
			<band height="0"  isSplitAllowed="true" >
			</band>
		</columnHeader>
		<detail>
			<band height="19"  isSplitAllowed="true" >
				<textField isStretchWithOverflow="false" isBlankWhenNull="true" evaluationTime="Now" hyperlinkType="None"  hyperlinkTarget="Self" >
					<reportElement
						x="2"
						y="1"
						width="79"
						height="18"
						key="textField"/>
					<box></box>
					<textElement verticalAlignment="Middle">
						<font fontName="Arial" size="11"/>
					</textElement>
				<textFieldExpression   class="java.util.Date"><![CDATA[$F{det_fdtrans_date}]]></textFieldExpression>
				</textField>
				<textField isStretchWithOverflow="false" isBlankWhenNull="true" evaluationTime="Now" hyperlinkType="None"  hyperlinkTarget="Self" >
					<reportElement
						x="84"
						y="1"
						width="129"
						height="18"
						key="textField"/>
					<box></box>
					<textElement verticalAlignment="Middle">
						<font fontName="Arial" size="11"/>
					</textElement>
				<textFieldExpression   class="java.lang.String"><![CDATA[$F{det_ftpo_no}]]></textFieldExpression>
				</textField>
				<textField isStretchWithOverflow="false" isBlankWhenNull="true" evaluationTime="Now" hyperlinkType="None"  hyperlinkTarget="Self" >
					<reportElement
						x="216"
						y="1"
						width="246"
						height="18"
						key="textField"/>
					<box></box>
					<textElement verticalAlignment="Middle">
						<font fontName="Arial" size="11"/>
					</textElement>
				<textFieldExpression   class="java.lang.String"><![CDATA[$F{det_ftitem_name}]]></textFieldExpression>
				</textField>
				<textField isStretchWithOverflow="false" pattern="#,##0.00" isBlankWhenNull="true" evaluationTime="Now" hyperlinkType="None"  hyperlinkTarget="Self" >
					<reportElement
						x="598"
						y="1"
						width="47"
						height="18"
						key="textField"/>
					<box></box>
					<textElement textAlignment="Right" verticalAlignment="Middle">
						<font fontName="Arial" size="11"/>
					</textElement>
				<textFieldExpression   class="java.lang.Double"><![CDATA[$F{det_fnqty_po}]]></textFieldExpression>
				</textField>
				<textField isStretchWithOverflow="false" pattern="#,##0.00" isBlankWhenNull="true" evaluationTime="Now" hyperlinkType="None"  hyperlinkTarget="Self" >
					<reportElement
						x="690"
						y="1"
						width="88"
						height="18"
						key="textField"/>
					<box></box>
					<textElement textAlignment="Right" verticalAlignment="Middle">
						<font fontName="Arial" size="11"/>
					</textElement>
				<textFieldExpression   class="java.math.BigDecimal"><![CDATA[$F{det_fcprice}]]></textFieldExpression>
				</textField>
				<textField isStretchWithOverflow="false" isBlankWhenNull="true" evaluationTime="Now" hyperlinkType="None"  hyperlinkTarget="Self" >
					<reportElement
						x="966"
						y="1"
						width="69"
						height="18"
						key="textField"
						isPrintRepeatedValues="false">
							<printWhenExpression><![CDATA[($F{det_fnqty_stock_in}).intValue() == 0 ? Boolean.FALSE : Boolean.TRUE]]></printWhenExpression>
						</reportElement>
					<box></box>
					<textElement verticalAlignment="Middle">
						<font fontName="Arial" size="11"/>
					</textElement>
				<textFieldExpression   class="java.lang.String"><![CDATA[$F{det_fdschedule_delivery_date}]]></textFieldExpression>
				</textField>
				<textField isStretchWithOverflow="false" pattern="#,##0.00" isBlankWhenNull="true" evaluationTime="Now" hyperlinkType="None"  hyperlinkTarget="Self" >
					<reportElement
						x="1040"
						y="1"
						width="64"
						height="18"
						key="textField">
							<printWhenExpression><![CDATA[($F{det_fnqty_stock_in}).intValue() == 0 ? Boolean.FALSE : Boolean.TRUE]]></printWhenExpression>
						</reportElement>
					<box></box>
					<textElement textAlignment="Right" verticalAlignment="Middle">
						<font fontName="Arial" size="11"/>
					</textElement>
				<textFieldExpression   class="java.lang.Double"><![CDATA[$F{det_fnqty_stock_in}]]></textFieldExpression>
				</textField>
				<textField isStretchWithOverflow="false" isBlankWhenNull="true" evaluationTime="Now" hyperlinkType="None"  hyperlinkTarget="Self" >
					<reportElement
						x="648"
						y="1"
						width="38"
						height="18"
						key="textField"/>
					<box></box>
					<textElement verticalAlignment="Middle">
						<font fontName="Arial" size="11"/>
					</textElement>
				<textFieldExpression   class="java.lang.String"><![CDATA[$F{det_ftuom_code}]]></textFieldExpression>
				</textField>
				<textField isStretchWithOverflow="false" isBlankWhenNull="true" evaluationTime="Now" hyperlinkType="None"  hyperlinkTarget="Self" >
					<reportElement
						x="1149"
						y="1"
						width="38"
						height="18"
						key="textField-8"/>
					<box></box>
					<textElement verticalAlignment="Middle">
						<font fontName="Arial" size="11"/>
					</textElement>
				<textFieldExpression   class="java.lang.String"><![CDATA[$F{det_ftuom_code}]]></textFieldExpression>
				</textField>
				<textField isStretchWithOverflow="false" isBlankWhenNull="true" evaluationTime="Now" hyperlinkType="None"  hyperlinkTarget="Self" >
					<reportElement
						x="465"
						y="1"
						width="129"
						height="18"
						key="textField"/>
					<box></box>
					<textElement verticalAlignment="Middle">
						<font fontName="Arial" size="11"/>
					</textElement>
				<textFieldExpression   class="java.lang.String"><![CDATA[$F{det_ftsm_no}]]></textFieldExpression>
				</textField>
				<textField isStretchWithOverflow="false" pattern="#,##0.00" isBlankWhenNull="true" evaluationTime="Now" hyperlinkType="None"  hyperlinkTarget="Self" >
					<reportElement
						x="1108"
						y="1"
						width="38"
						height="18"
						key="textField"/>
					<box></box>
					<textElement verticalAlignment="Middle">
						<font fontName="Arial" size="11"/>
					</textElement>
				<textFieldExpression   class="java.lang.Double"><![CDATA[Double.valueOf($F{det_fnqty_po}.doubleValue() - $V{SUM_fnso_qty}.doubleValue())]]></textFieldExpression>
				</textField>
				<textField isStretchWithOverflow="false" pattern="#,##0.00" isBlankWhenNull="true" evaluationTime="Now" hyperlinkType="None"  hyperlinkTarget="Self" >
					<reportElement
						x="782"
						y="1"
						width="88"
						height="18"
						key="textField"/>
					<box></box>
					<textElement textAlignment="Right" verticalAlignment="Middle">
						<font fontName="Arial" size="11"/>
					</textElement>
				<textFieldExpression   class="java.lang.Double"><![CDATA[$F{det_fcdiscount}]]></textFieldExpression>
				</textField>
				<textField isStretchWithOverflow="false" pattern="#,##0.00" isBlankWhenNull="true" evaluationTime="Now" hyperlinkType="None"  hyperlinkTarget="Self" >
					<reportElement
						x="874"
						y="1"
						width="88"
						height="18"
						key="textField"/>
					<box></box>
					<textElement textAlignment="Right" verticalAlignment="Middle">
						<font fontName="Arial" size="11"/>
					</textElement>
				<textFieldExpression   class="java.lang.Double"><![CDATA[$F{det_fcvat}]]></textFieldExpression>
				</textField>
			</band>
		</detail>
		<columnFooter>
			<band height="0"  isSplitAllowed="true" >
			</band>
		</columnFooter>
		<pageFooter>
			<band height="80"  isSplitAllowed="true" >
				<staticText>
					<reportElement
						x="864"
						y="6"
						width="148"
						height="18"
						key="staticText-32"/>
					<box></box>
					<textElement textAlignment="Right">
						<font fontName="Arial" pdfFontName="Helvetica-Bold" size="12" isBold="true" isUnderline="false"/>
					</textElement>
				<text><![CDATA[Total :]]></text>
				</staticText>
				<textField isStretchWithOverflow="false" pattern="#,##0.00" isBlankWhenNull="false" evaluationTime="Now" hyperlinkType="None"  hyperlinkTarget="Self" >
					<reportElement
						x="1012"
						y="6"
						width="92"
						height="18"
						key="textField-13"/>
					<box></box>
					<textElement textAlignment="Right">
						<font fontName="Arial" pdfFontName="Helvetica" size="12" isBold="false" isUnderline="false"/>
					</textElement>
				<textFieldExpression   class="java.lang.Double"><![CDATA[$V{SUM_fnqty}]]></textFieldExpression>
				</textField>
				<line direction="TopDown">
					<reportElement
						x="0"
						y="2"
						width="1190"
						height="1"
						key="line-4"/>
					<graphicElement stretchType="NoStretch"/>
				</line>
				<textField isStretchWithOverflow="false" pattern="EEE, d MMM yyyy HH:mm:ss" isBlankWhenNull="false" evaluationTime="Report" hyperlinkType="None"  hyperlinkTarget="Self" >
					<reportElement
						x="954"
						y="57"
						width="231"
						height="18"
						key="textField-14"/>
					<box></box>
					<textElement textAlignment="Right">
						<font fontName="Arial" pdfFontName="Helvetica-Oblique" size="12" isItalic="true"/>
					</textElement>
				<textFieldExpression   class="java.util.Date"><![CDATA[new java.util.Date()]]></textFieldExpression>
				</textField>
			</band>
		</pageFooter>
		<lastPageFooter>
			<band height="80"  isSplitAllowed="true" >
				<staticText>
					<reportElement
						x="864"
						y="6"
						width="148"
						height="18"
						key="staticText-30"/>
					<box></box>
					<textElement textAlignment="Right">
						<font fontName="Arial" pdfFontName="Helvetica-Bold" size="12" isBold="true" isUnderline="false"/>
					</textElement>
				<text><![CDATA[Total :]]></text>
				</staticText>
				<textField isStretchWithOverflow="false" pattern="#,##0.00" isBlankWhenNull="false" evaluationTime="Now" hyperlinkType="None"  hyperlinkTarget="Self" >
					<reportElement
						x="1012"
						y="6"
						width="92"
						height="18"
						key="textField-7"/>
					<box></box>
					<textElement textAlignment="Right">
						<font fontName="Arial" pdfFontName="Helvetica" size="12" isBold="false" isUnderline="false"/>
					</textElement>
				<textFieldExpression   class="java.lang.Double"><![CDATA[$V{SUM_fnqty}]]></textFieldExpression>
				</textField>
				<line direction="TopDown">
					<reportElement
						x="0"
						y="2"
						width="1190"
						height="1"
						key="line-3"/>
					<graphicElement stretchType="NoStretch"/>
				</line>
				<textField isStretchWithOverflow="false" pattern="##0.00" isBlankWhenNull="false" evaluationTime="Now" hyperlinkType="None"  hyperlinkTarget="Self" >
					<reportElement
						x="2"
						y="37"
						width="87"
						height="15"
						key="textField-12">
							<printWhenExpression><![CDATA[($F{det_ftcurrency_code}).equals("IDR") ? Boolean.FALSE : Boolean.TRUE]]></printWhenExpression>
						</reportElement>
					<box></box>
					<textElement textAlignment="Right">
						<font fontName="Arial" pdfFontName="Helvetica-Bold" size="12" isBold="true"/>
					</textElement>
				<textFieldExpression   class="java.lang.String"><![CDATA["TOTAL " +$F{det_ftcurrency_code} + " :"]]></textFieldExpression>
				</textField>
				<staticText>
					<reportElement
						x="879"
						y="31"
						width="87"
						height="15"
						key="staticText-31"/>
					<box></box>
					<textElement textAlignment="Right" verticalAlignment="Middle">
						<font fontName="Arial" pdfFontName="Helvetica-Bold" size="12" isBold="true"/>
					</textElement>
				<text><![CDATA[TOTAL IDR :]]></text>
				</staticText>
				<textField isStretchWithOverflow="false" pattern="#,##0.000" isBlankWhenNull="false" evaluationTime="Now" hyperlinkType="None"  hyperlinkTarget="Self" >
					<reportElement
						x="89"
						y="37"
						width="219"
						height="16"
						key="textField">
							<printWhenExpression><![CDATA[($F{det_ftcurrency_code}).equals("IDR") ? Boolean.FALSE : Boolean.TRUE]]></printWhenExpression>
						</reportElement>
					<box></box>
					<textElement textAlignment="Right">
						<font fontName="Arial" pdfFontName="Helvetica-Bold" size="12" isBold="true"/>
					</textElement>
				<textFieldExpression   class="java.math.BigDecimal"><![CDATA[$V{SUM_fctotal_usd}]]></textFieldExpression>
				</textField>
				<textField isStretchWithOverflow="false" pattern="#,##0.00" isBlankWhenNull="false" evaluationTime="Now" hyperlinkType="None"  hyperlinkTarget="Self" >
					<reportElement
						x="966"
						y="31"
						width="219"
						height="15"
						key="textField"/>
					<box></box>
					<textElement textAlignment="Right">
						<font fontName="Arial" pdfFontName="Helvetica-Bold" size="12" isBold="true"/>
					</textElement>
				<textFieldExpression   class="java.math.BigDecimal"><![CDATA[$V{SUM_fctotal_idr}]]></textFieldExpression>
				</textField>
				<textField isStretchWithOverflow="false" pattern="EEE, d MMM yyyy HH:mm:ss" isBlankWhenNull="false" evaluationTime="Report" hyperlinkType="None"  hyperlinkTarget="Self" >
					<reportElement
						x="954"
						y="57"
						width="231"
						height="18"
						key="textField-5"/>
					<box></box>
					<textElement textAlignment="Right">
						<font fontName="Arial" pdfFontName="Helvetica-Oblique" size="12" isItalic="true"/>
					</textElement>
				<textFieldExpression   class="java.util.Date"><![CDATA[new java.util.Date()]]></textFieldExpression>
				</textField>
			</band>
		</lastPageFooter>
		<summary>
			<band height="0"  isSplitAllowed="true" >
			</band>
		</summary>
</jasperReport>
