<?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="retort10_penyerahan_po_local"
		 columnCount="1"
		 printOrder="Vertical"
		 orientation="Landscape"
		 pageWidth="963"
		 pageHeight="311"
		 columnWidth="963"
		 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="date_from" isForPrompting="true" class="java.util.Date"/>
	<parameter name="date_end" isForPrompting="true" class="java.util.Date"/>
	<parameter name="ftpo_no1" isForPrompting="true" class="java.lang.String"/>
	<parameter name="ftpo_no2" isForPrompting="true" class="java.lang.String"/>
	<parameter name="ftpo_no3" isForPrompting="true" class="java.lang.String"/>
	<parameter name="ftpo_no4" isForPrompting="true" class="java.lang.String"/>
	<parameter name="ftpo_no5" isForPrompting="true" class="java.lang.String"/>
	<parameter name="ftpo_no6" isForPrompting="true" class="java.lang.String"/>
	<parameter name="ftpo_no7" isForPrompting="true" class="java.lang.String"/>
	<parameter name="ftpo_no8" isForPrompting="true" class="java.lang.String"/>
	<parameter name="ftpo_no9" isForPrompting="true" class="java.lang.String"/>
	<parameter name="ftpo_no10" isForPrompting="true" class="java.lang.String"/>
	<parameter name="pfntype1" isForPrompting="true" class="java.lang.String"/>
	<parameter name="username" isForPrompting="true" class="java.lang.String"/>
	<queryString><![CDATA[call sppureport10_penyerahan_po_local($P{date_from},$P{date_end},$P{pfntype1},$P{ftpo_no1},$P{ftpo_no2},$P{ftpo_no3},$P{ftpo_no4},$P{ftpo_no5},$P{ftpo_no6},$P{ftpo_no7},$P{ftpo_no8},$P{ftpo_no9},$P{ftpo_no10})]]></queryString>

	<field name="ftcompany_name" class="java.lang.String"/>
	<field name="fdtrans_date" class="java.sql.Date"/>
	<field name="ftpo_no" class="java.lang.String"/>
	<field name="ftsupplier_code" class="java.lang.String"/>
	<field name="ftsupplier_name" class="java.lang.String"/>
	<field name="ftstock_group_code" class="java.lang.String"/>
	<field name="ftstock_group_name" class="java.lang.String"/>
	<field name="ftitem_name" class="java.lang.String"/>
	<field name="fnqty" class="java.lang.Double"/>
	<field name="fnqty_x" class="java.lang.String"/>
	<field name="ftuom_code" class="java.lang.String"/>
	<field name="fdschedule_delivery_date" class="java.lang.String"/>
	<field name="ftdescription" class="java.lang.String"/>

	<variable name="urut" class="java.lang.Integer" resetType="Group" resetGroup="ftstock_group_code" calculation="Count">
		<variableExpression><![CDATA[new java.lang.Integer(0) ]]></variableExpression>
		<initialValueExpression><![CDATA[new java.lang.Integer(1) ]]></initialValueExpression>
	</variable>

		<group  name="ftcompany_name" >
			<groupExpression><![CDATA[$F{ftcompany_name}]]></groupExpression>
			<groupHeader>
			<band height="0"  isSplitAllowed="true" >
			</band>
			</groupHeader>
			<groupFooter>
			<band height="0"  isSplitAllowed="true" >
			</band>
			</groupFooter>
		</group>
		<group  name="ftstock_group_code" isStartNewPage="true" >
			<groupExpression><![CDATA[$F{ftstock_group_code}]]></groupExpression>
			<groupHeader>
			<band height="54"  isSplitAllowed="true" >
				<line direction="TopDown">
					<reportElement
						x="0"
						y="20"
						width="957"
						height="0"
						key="line-6"/>
					<graphicElement stretchType="NoStretch"/>
				</line>
				<line direction="TopDown">
					<reportElement
						x="1"
						y="52"
						width="957"
						height="0"
						key="line-8"/>
					<graphicElement stretchType="NoStretch"/>
				</line>
				<staticText>
					<reportElement
						x="1"
						y="27"
						width="25"
						height="18"
						key="staticText-30"/>
					<box></box>
					<textElement textAlignment="Right" verticalAlignment="Middle">
						<font fontName="Tahoma" size="10"/>
					</textElement>
				<text><![CDATA[NO]]></text>
				</staticText>
				<staticText>
					<reportElement
						x="8"
						y="0"
						width="247"
						height="18"
						key="staticText-31"/>
					<box></box>
					<textElement textAlignment="Right" verticalAlignment="Middle">
						<font fontName="Arial" size="11"/>
					</textElement>
				<text><![CDATA[TYPE BARANG :]]></text>
				</staticText>
				<textField isStretchWithOverflow="false" isBlankWhenNull="false" evaluationTime="Now" hyperlinkType="None"  hyperlinkTarget="Self" >
					<reportElement
						x="266"
						y="0"
						width="604"
						height="18"
						key="textField"/>
					<box></box>
					<textElement verticalAlignment="Middle">
						<font fontName="Arial" size="11"/>
					</textElement>
				<textFieldExpression   class="java.lang.String"><![CDATA[$F{ftstock_group_name}]]></textFieldExpression>
				</textField>
				<staticText>
					<reportElement
						x="33"
						y="27"
						width="131"
						height="18"
						key="staticText-32"/>
					<box></box>
					<textElement textAlignment="Left" verticalAlignment="Middle">
						<font fontName="Tahoma" size="10"/>
					</textElement>
				<text><![CDATA[NO. PO]]></text>
				</staticText>
				<staticText>
					<reportElement
						x="165"
						y="27"
						width="122"
						height="18"
						key="staticText-33"/>
					<box></box>
					<textElement textAlignment="Left" verticalAlignment="Middle">
						<font fontName="Tahoma" size="10"/>
					</textElement>
				<text><![CDATA[SUPPLIER]]></text>
				</staticText>
				<staticText>
					<reportElement
						x="383"
						y="27"
						width="317"
						height="18"
						key="staticText-34"/>
					<box></box>
					<textElement textAlignment="Left" verticalAlignment="Middle">
						<font fontName="Tahoma" size="10"/>
					</textElement>
				<text><![CDATA[NAMA BARANG]]></text>
				</staticText>
				<staticText>
					<reportElement
						x="716"
						y="27"
						width="56"
						height="18"
						key="staticText-35"/>
					<box></box>
					<textElement textAlignment="Right" verticalAlignment="Middle">
						<font fontName="Tahoma" size="10"/>
					</textElement>
				<text><![CDATA[QTY]]></text>
				</staticText>
				<staticText>
					<reportElement
						x="821"
						y="22"
						width="110"
						height="29"
						key="staticText-36"/>
					<box></box>
					<textElement textAlignment="Center" verticalAlignment="Middle">
						<font fontName="Tahoma" size="10"/>
					</textElement>
				<text><![CDATA[SCHEDULE
DELIVERY]]></text>
				</staticText>
				<staticText>
					<reportElement
						x="777"
						y="27"
						width="42"
						height="18"
						key="staticText-37"/>
					<box></box>
					<textElement textAlignment="Left" verticalAlignment="Middle">
						<font fontName="Tahoma" size="10"/>
					</textElement>
				<text><![CDATA[SATUAN]]></text>
				</staticText>
			</band>
			</groupHeader>
			<groupFooter>
			<band height="11"  isSplitAllowed="true" >
				<line direction="TopDown">
					<reportElement
						x="1"
						y="5"
						width="957"
						height="0"
						key="line-7"/>
					<graphicElement stretchType="NoStretch"/>
				</line>
			</band>
			</groupFooter>
		</group>
		<background>
			<band height="0"  isSplitAllowed="true" >
			</band>
		</background>
		<title>
			<band height="2"  isSplitAllowed="true" >
			</band>
		</title>
		<pageHeader>
			<band height="54"  isSplitAllowed="true" >
				<textField isStretchWithOverflow="false" isBlankWhenNull="false" evaluationTime="Now" hyperlinkType="None"  hyperlinkTarget="Self" >
					<reportElement
						x="1"
						y="0"
						width="598"
						height="13"
						key="textField"/>
					<box></box>
					<textElement>
						<font fontName="Arial" size="11"/>
					</textElement>
				<textFieldExpression   class="java.lang.String"><![CDATA[$F{ftcompany_name}]]></textFieldExpression>
				</textField>
				<staticText>
					<reportElement
						x="-5"
						y="17"
						width="963"
						height="16"
						key="staticText-29"/>
					<box></box>
					<textElement textAlignment="Center">
						<font fontName="Arial" pdfFontName="Helvetica-Bold" size="12" isBold="true"/>
					</textElement>
				<text><![CDATA[LAPORAN PENYERAHAN PO (PURCHASE ORDER) LOCAL]]></text>
				</staticText>
				<textField isStretchWithOverflow="false" isBlankWhenNull="false" evaluationTime="Now" hyperlinkType="None"  hyperlinkTarget="Self" >
					<reportElement
						x="-5"
						y="33"
						width="963"
						height="18"
						key="textField"/>
					<box></box>
					<textElement textAlignment="Center">
						<font fontName="Arial" size="11"/>
					</textElement>
				<textFieldExpression   class="java.lang.String"><![CDATA[$F{ftdescription}]]></textFieldExpression>
				</textField>
				<textField isStretchWithOverflow="false" isBlankWhenNull="false" evaluationTime="Report" hyperlinkType="None"  hyperlinkTarget="Self" >
					<reportElement
						x="857"
						y="1"
						width="100"
						height="14"
						key="textField-1"/>
					<box></box>
					<textElement>
						<font fontName="Arial" size="11"/>
					</textElement>
				<textFieldExpression   class="java.lang.String"><![CDATA[" " + $V{PAGE_NUMBER} + ""]]></textFieldExpression>
				</textField>
				<textField isStretchWithOverflow="false" isBlankWhenNull="false" evaluationTime="Now" hyperlinkType="None"  hyperlinkTarget="Self" >
					<reportElement
						x="757"
						y="1"
						width="100"
						height="14"
						key="textField-2"/>
					<box></box>
					<textElement textAlignment="Right">
						<font fontName="Arial" size="11"/>
					</textElement>
				<textFieldExpression   class="java.lang.String"><![CDATA["Page " + $V{PAGE_NUMBER} + " of "]]></textFieldExpression>
				</textField>
			</band>
		</pageHeader>
		<columnHeader>
			<band height="1"  isSplitAllowed="true" >
			</band>
		</columnHeader>
		<detail>
			<band height="16"  isSplitAllowed="true" >
				<textField isStretchWithOverflow="false" isBlankWhenNull="false" evaluationTime="Now" hyperlinkType="None"  hyperlinkTarget="Self" >
					<reportElement
						x="2"
						y="0"
						width="24"
						height="16"
						key="textField"/>
					<box></box>
					<textElement textAlignment="Right" verticalAlignment="Middle">
						<font fontName="Tahoma" size="9"/>
					</textElement>
				<textFieldExpression   class="java.lang.Integer"><![CDATA[$V{urut}]]></textFieldExpression>
				</textField>
				<textField isStretchWithOverflow="false" isBlankWhenNull="false" evaluationTime="Now" hyperlinkType="None"  hyperlinkTarget="Self" >
					<reportElement
						x="33"
						y="0"
						width="131"
						height="16"
						key="textField"/>
					<box></box>
					<textElement verticalAlignment="Middle">
						<font fontName="Tahoma" size="9"/>
					</textElement>
				<textFieldExpression   class="java.lang.String"><![CDATA[$F{ftpo_no}]]></textFieldExpression>
				</textField>
				<textField isStretchWithOverflow="true" isBlankWhenNull="false" evaluationTime="Now" hyperlinkType="None"  hyperlinkTarget="Self" >
					<reportElement
						x="165"
						y="0"
						width="217"
						height="16"
						key="textField"
						stretchType="RelativeToBandHeight"
						isPrintWhenDetailOverflows="true"/>
					<box></box>
					<textElement verticalAlignment="Middle">
						<font fontName="Tahoma" size="9"/>
					</textElement>
				<textFieldExpression   class="java.lang.String"><![CDATA[$F{ftsupplier_name}]]></textFieldExpression>
				</textField>
				<textField isStretchWithOverflow="true" isBlankWhenNull="false" evaluationTime="Now" hyperlinkType="None"  hyperlinkTarget="Self" >
					<reportElement
						x="383"
						y="0"
						width="333"
						height="16"
						key="textField"
						stretchType="RelativeToBandHeight"
						isPrintWhenDetailOverflows="true"/>
					<box></box>
					<textElement verticalAlignment="Middle">
						<font fontName="Tahoma" size="9"/>
					</textElement>
				<textFieldExpression   class="java.lang.String"><![CDATA[$F{ftitem_name}]]></textFieldExpression>
				</textField>
				<textField isStretchWithOverflow="false" isBlankWhenNull="false" evaluationTime="Now" hyperlinkType="None"  hyperlinkTarget="Self" >
					<reportElement
						x="777"
						y="0"
						width="42"
						height="16"
						key="textField"/>
					<box></box>
					<textElement verticalAlignment="Middle">
						<font fontName="Tahoma" size="9"/>
					</textElement>
				<textFieldExpression   class="java.lang.String"><![CDATA[$F{ftuom_code}]]></textFieldExpression>
				</textField>
				<textField isStretchWithOverflow="false" isBlankWhenNull="false" evaluationTime="Now" hyperlinkType="None"  hyperlinkTarget="Self" >
					<reportElement
						x="821"
						y="0"
						width="129"
						height="16"
						key="textField"/>
					<box></box>
					<textElement textAlignment="Center" verticalAlignment="Middle">
						<font fontName="Tahoma" size="9"/>
					</textElement>
				<textFieldExpression   class="java.lang.String"><![CDATA[$F{fdschedule_delivery_date}]]></textFieldExpression>
				</textField>
				<textField isStretchWithOverflow="false" isBlankWhenNull="false" evaluationTime="Now" hyperlinkType="None"  hyperlinkTarget="Self" >
					<reportElement
						x="724"
						y="0"
						width="50"
						height="16"
						key="textField-3"/>
					<box></box>
					<textElement textAlignment="Right" verticalAlignment="Middle">
						<font fontName="Tahoma" size="9"/>
					</textElement>
				<textFieldExpression   class="java.lang.String"><![CDATA[$F{fnqty_x}]]></textFieldExpression>
				</textField>
			</band>
		</detail>
		<columnFooter>
			<band height="0"  isSplitAllowed="true" >
			</band>
		</columnFooter>
		<pageFooter>
			<band height="26"  isSplitAllowed="true" >
				<textField isStretchWithOverflow="false" pattern="EEE, d MMM yyyy HH:mm:ss" isBlankWhenNull="false" evaluationTime="Report" hyperlinkType="None"  hyperlinkTarget="Self" >
					<reportElement
						x="748"
						y="5"
						width="205"
						height="18"
						key="textField-4"/>
					<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>
				<textField isStretchWithOverflow="false" isBlankWhenNull="false" evaluationTime="Now" hyperlinkType="None"  hyperlinkTarget="Self" >
					<reportElement
						x="645"
						y="5"
						width="100"
						height="18"
						key="textField-5"/>
					<box></box>
					<textElement>
						<font fontName="Arial" size="12"/>
					</textElement>
				<textFieldExpression   class="java.lang.String"><![CDATA[$P{username}]]></textFieldExpression>
				</textField>
			</band>
		</pageFooter>
		<lastPageFooter>
			<band height="109"  isSplitAllowed="true" >
				<staticText>
					<reportElement
						x="220"
						y="6"
						width="211"
						height="14"
						key="staticText-38"/>
					<box></box>
					<textElement textAlignment="Center">
						<font fontName="Tahoma" pdfFontName="Helvetica" size="10" isBold="false"/>
					</textElement>
				<text><![CDATA[YG MENYERAHKAN]]></text>
				</staticText>
				<staticText>
					<reportElement
						x="227"
						y="46"
						width="204"
						height="19"
						key="staticText-39"/>
					<box></box>
					<textElement textAlignment="Center">
						<font fontName="Tahoma" pdfFontName="Helvetica" size="10" isBold="false"/>
					</textElement>
				<text><![CDATA[(. . . . . . . . . . . . .  . . . . .)]]></text>
				</staticText>
				<staticText>
					<reportElement
						x="247"
						y="65"
						width="184"
						height="15"
						key="staticText-40"/>
					<box></box>
					<textElement textAlignment="Center">
						<font fontName="Tahoma" size="10"/>
					</textElement>
				<text><![CDATA[PURCHASING]]></text>
				</staticText>
				<staticText>
					<reportElement
						x="578"
						y="6"
						width="211"
						height="14"
						key="staticText-41"/>
					<box></box>
					<textElement textAlignment="Center">
						<font fontName="Tahoma" pdfFontName="Helvetica" size="10" isBold="false"/>
					</textElement>
				<text><![CDATA[YG MENERIMA]]></text>
				</staticText>
				<staticText>
					<reportElement
						x="585"
						y="46"
						width="204"
						height="19"
						key="staticText-42"/>
					<box></box>
					<textElement textAlignment="Center">
						<font fontName="Tahoma" pdfFontName="Helvetica" size="10" isBold="false"/>
					</textElement>
				<text><![CDATA[(. . . . . . . . . . . . .  . . . . .)]]></text>
				</staticText>
				<staticText>
					<reportElement
						x="605"
						y="65"
						width="184"
						height="15"
						key="staticText-43"/>
					<box></box>
					<textElement textAlignment="Center">
						<font fontName="Tahoma" size="10"/>
					</textElement>
				<text><![CDATA[GUDANG]]></text>
				</staticText>
				<textField isStretchWithOverflow="false" pattern="EEE, d MMM yyyy HH:mm:ss" isBlankWhenNull="false" evaluationTime="Report" hyperlinkType="None"  hyperlinkTarget="Self" >
					<reportElement
						x="748"
						y="87"
						width="205"
						height="18"
						key="textField-6"/>
					<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>
				<textField isStretchWithOverflow="false" isBlankWhenNull="false" evaluationTime="Now" hyperlinkType="None"  hyperlinkTarget="Self" >
					<reportElement
						x="645"
						y="87"
						width="100"
						height="18"
						key="textField-7"/>
					<box></box>
					<textElement>
						<font fontName="Arial" size="12"/>
					</textElement>
				<textFieldExpression   class="java.lang.String"><![CDATA[$P{username}]]></textFieldExpression>
				</textField>
			</band>
		</lastPageFooter>
		<summary>
			<band height="0"  isSplitAllowed="true" >
			</band>
		</summary>
</jasperReport>
