<?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="spprint02_stok_keluar"
		 columnCount="1"
		 printOrder="Vertical"
		 orientation="Landscape"
		 pageWidth="612"
		 pageHeight="390"
		 columnWidth="612"
		 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="trans_no" isForPrompting="true" class="java.lang.String"/>
	<queryString><![CDATA[call spiprint02_stock_keluar($P{trans_no})]]></queryString>

	<field name="hdr_ftcompany_name" class="java.lang.String"/>
	<field name="hdr_ftstock_out_no" class="java.lang.String"/>
	<field name="hdr_ftcategory_name" class="java.lang.String"/>
	<field name="hdr_ftstock_out_company" class="java.lang.String"/>
	<field name="hdr_ftdocument_no" class="java.lang.String"/>
	<field name="hdr_fdtrans_date" class="java.sql.Date"/>
	<field name="hdr_fntotal_qty" class="java.lang.Double"/>
	<field name="hdr_fttrans_status_name" class="java.lang.String"/>
	<field name="hdr_ftnotes" class="java.lang.String"/>
	<field name="det_fnindex" class="java.lang.Integer"/>
	<field name="det_ftitem_code" class="java.lang.String"/>
	<field name="det_ftpart_no" class="java.lang.String"/>
	<field name="det_ftitem_name" class="java.lang.String"/>
	<field name="det_ftprint_name" class="java.lang.String"/>
	<field name="det_ftwarehouse_code" class="java.lang.String"/>
	<field name="det_ftwarehouse_name" class="java.lang.String"/>
	<field name="det_ftlocation_code" class="java.lang.String"/>
	<field name="det_ftlocation_name" class="java.lang.String"/>
	<field name="det_ftuom_code" class="java.lang.String"/>
	<field name="det_fnqty" class="java.lang.Double"/>
	<field name="hdr_ftreff_no" class="java.lang.String"/>

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

		<group  name="g_trans_no" >
			<groupExpression><![CDATA[$F{hdr_ftstock_out_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="95"  isSplitAllowed="true" >
				<staticText>
					<reportElement
						x="15"
						y="8"
						width="485"
						height="20"
						key="staticText-1"/>
					<box></box>
					<textElement textAlignment="Center" verticalAlignment="Middle">
						<font fontName="Verdana" pdfFontName="Helvetica-Bold" size="12" isBold="true"/>
					</textElement>
				<text><![CDATA[STOCK KELUAR]]></text>
				</staticText>
				<staticText>
					<reportElement
						x="15"
						y="32"
						width="100"
						height="13"
						key="staticText-2"/>
					<box></box>
					<textElement textAlignment="Left">
						<font fontName="Verdana" size="10"/>
					</textElement>
				<text><![CDATA[No. Transaksi]]></text>
				</staticText>
				<staticText>
					<reportElement
						x="15"
						y="45"
						width="100"
						height="13"
						key="staticText-3"/>
					<box></box>
					<textElement textAlignment="Left">
						<font fontName="Verdana" size="10"/>
					</textElement>
				<text><![CDATA[Kategori ]]></text>
				</staticText>
				<staticText>
					<reportElement
						x="15"
						y="58"
						width="100"
						height="13"
						key="staticText-4"/>
					<box></box>
					<textElement textAlignment="Left">
						<font fontName="Verdana" size="10"/>
					</textElement>
				<text><![CDATA[Supplier/Customer ]]></text>
				</staticText>
				<textField isStretchWithOverflow="false" isBlankWhenNull="false" evaluationTime="Now" hyperlinkType="None"  hyperlinkTarget="Self" >
					<reportElement
						x="125"
						y="32"
						width="120"
						height="13"
						key="textField-1"/>
					<box></box>
					<textElement>
						<font fontName="Verdana" size="10"/>
					</textElement>
				<textFieldExpression   class="java.lang.String"><![CDATA[$F{hdr_ftstock_out_no}]]></textFieldExpression>
				</textField>
				<textField isStretchWithOverflow="false" isBlankWhenNull="false" evaluationTime="Now" hyperlinkType="None"  hyperlinkTarget="Self" >
					<reportElement
						x="125"
						y="45"
						width="120"
						height="13"
						key="textField-2"/>
					<box></box>
					<textElement>
						<font fontName="Verdana" size="10"/>
					</textElement>
				<textFieldExpression   class="java.lang.String"><![CDATA[$F{hdr_ftcategory_name}]]></textFieldExpression>
				</textField>
				<textField isStretchWithOverflow="false" isBlankWhenNull="false" evaluationTime="Now" hyperlinkType="None"  hyperlinkTarget="Self" >
					<reportElement
						x="125"
						y="58"
						width="120"
						height="13"
						key="textField-3"/>
					<box></box>
					<textElement>
						<font fontName="Verdana" size="10"/>
					</textElement>
				<textFieldExpression   class="java.lang.String"><![CDATA[$F{hdr_ftstock_out_company}]]></textFieldExpression>
				</textField>
				<staticText>
					<reportElement
						x="15"
						y="77"
						width="20"
						height="18"
						key="staticText-5"/>
					<box>					<pen lineWidth="0.5" lineStyle="Solid"/>
					<topPen lineWidth="0.5" lineStyle="Solid"/>
					<leftPen lineWidth="0.0" lineStyle="Solid"/>
					<bottomPen lineWidth="0.5" lineStyle="Solid"/>
					<rightPen lineWidth="0.0" lineStyle="Solid"/>
</box>
					<textElement textAlignment="Right" verticalAlignment="Middle">
						<font fontName="Verdana" pdfFontName="Helvetica-Bold" size="10" isBold="true"/>
					</textElement>
				<text><![CDATA[No.]]></text>
				</staticText>
				<staticText>
					<reportElement
						x="35"
						y="77"
						width="65"
						height="18"
						key="staticText-6"/>
					<box>					<pen lineWidth="0.5" lineStyle="Solid"/>
					<topPen lineWidth="0.5" lineStyle="Solid"/>
					<leftPen lineWidth="0.0" lineStyle="Solid"/>
					<bottomPen lineWidth="0.5" lineStyle="Solid"/>
					<rightPen lineWidth="0.0" lineStyle="Solid"/>
</box>
					<textElement textAlignment="Left" verticalAlignment="Middle">
						<font fontName="Verdana" pdfFontName="Helvetica-Bold" size="10" isBold="true"/>
					</textElement>
				<text><![CDATA[Kode]]></text>
				</staticText>
				<staticText>
					<reportElement
						x="100"
						y="77"
						width="270"
						height="18"
						key="staticText-7"/>
					<box>					<pen lineWidth="0.5" lineStyle="Solid"/>
					<topPen lineWidth="0.5" lineStyle="Solid"/>
					<leftPen lineWidth="0.0" lineStyle="Solid"/>
					<bottomPen lineWidth="0.5" lineStyle="Solid"/>
					<rightPen lineWidth="0.0" lineStyle="Solid"/>
</box>
					<textElement textAlignment="Left" verticalAlignment="Middle">
						<font fontName="Verdana" pdfFontName="Helvetica-Bold" size="10" isBold="true"/>
					</textElement>
				<text><![CDATA[Nama Barang]]></text>
				</staticText>
				<staticText>
					<reportElement
						x="370"
						y="77"
						width="40"
						height="18"
						key="staticText-8"/>
					<box>					<pen lineWidth="0.5" lineStyle="Solid"/>
					<topPen lineWidth="0.5" lineStyle="Solid"/>
					<leftPen lineWidth="0.0" lineStyle="Solid"/>
					<bottomPen lineWidth="0.5" lineStyle="Solid"/>
					<rightPen lineWidth="0.0" lineStyle="Solid"/>
</box>
					<textElement textAlignment="Left" verticalAlignment="Middle">
						<font fontName="Verdana" pdfFontName="Helvetica-Bold" size="10" isBold="true"/>
					</textElement>
				<text><![CDATA[LOC]]></text>
				</staticText>
				<staticText>
					<reportElement
						x="410"
						y="77"
						width="90"
						height="18"
						key="staticText-9"/>
					<box>					<pen lineWidth="0.5" lineStyle="Solid"/>
					<topPen lineWidth="0.5" lineStyle="Solid"/>
					<leftPen lineWidth="0.0" lineStyle="Solid"/>
					<bottomPen lineWidth="0.5" lineStyle="Solid"/>
					<rightPen lineWidth="0.0" lineStyle="Solid"/>
</box>
					<textElement textAlignment="Right" verticalAlignment="Middle">
						<font fontName="Verdana" pdfFontName="Helvetica-Bold" size="10" isBold="true"/>
					</textElement>
				<text><![CDATA[Jumlah]]></text>
				</staticText>
				<staticText>
					<reportElement
						x="270"
						y="32"
						width="100"
						height="13"
						key="staticText-10"/>
					<box></box>
					<textElement textAlignment="Left">
						<font fontName="Verdana" size="10"/>
					</textElement>
				<text><![CDATA[Tgl. Transaksi]]></text>
				</staticText>
				<staticText>
					<reportElement
						x="270"
						y="45"
						width="100"
						height="13"
						key="staticText-11"/>
					<box></box>
					<textElement textAlignment="Left">
						<font fontName="Verdana" size="10"/>
					</textElement>
				<text><![CDATA[No. Document]]></text>
				</staticText>
				<staticText>
					<reportElement
						x="270"
						y="58"
						width="100"
						height="13"
						key="staticText-12"/>
					<box></box>
					<textElement textAlignment="Left">
						<font fontName="Verdana" size="10"/>
					</textElement>
				<text><![CDATA[No. Referensi]]></text>
				</staticText>
				<textField isStretchWithOverflow="false" pattern="dd-MMM-yyyy" isBlankWhenNull="false" evaluationTime="Now" hyperlinkType="None"  hyperlinkTarget="Self" >
					<reportElement
						x="380"
						y="32"
						width="120"
						height="13"
						key="textField-4"/>
					<box></box>
					<textElement>
						<font fontName="Verdana" size="10"/>
					</textElement>
				<textFieldExpression   class="java.util.Date"><![CDATA[$F{hdr_fdtrans_date}]]></textFieldExpression>
				</textField>
				<textField isStretchWithOverflow="false" isBlankWhenNull="true" evaluationTime="Now" hyperlinkType="None"  hyperlinkTarget="Self" >
					<reportElement
						x="380"
						y="45"
						width="120"
						height="13"
						key="textField-5"/>
					<box></box>
					<textElement>
						<font fontName="Verdana" size="10"/>
					</textElement>
				<textFieldExpression   class="java.lang.String"><![CDATA[$F{hdr_ftdocument_no}]]></textFieldExpression>
				</textField>
				<textField isStretchWithOverflow="false" isBlankWhenNull="false" evaluationTime="Now" hyperlinkType="None"  hyperlinkTarget="Self" >
					<reportElement
						x="380"
						y="58"
						width="120"
						height="13"
						key="textField-6"/>
					<box></box>
					<textElement>
						<font fontName="Verdana" size="10"/>
					</textElement>
				<textFieldExpression   class="java.lang.String"><![CDATA[$F{hdr_ftreff_no}]]></textFieldExpression>
				</textField>
				<staticText>
					<reportElement
						x="115"
						y="32"
						width="10"
						height="13"
						key="staticText-13"/>
					<box></box>
					<textElement textAlignment="Center" verticalAlignment="Top">
						<font fontName="Verdana" size="10"/>
					</textElement>
				<text><![CDATA[:]]></text>
				</staticText>
				<staticText>
					<reportElement
						x="370"
						y="32"
						width="10"
						height="13"
						key="staticText-14"/>
					<box></box>
					<textElement textAlignment="Center" verticalAlignment="Top">
						<font fontName="Verdana" size="10"/>
					</textElement>
				<text><![CDATA[:]]></text>
				</staticText>
				<staticText>
					<reportElement
						x="115"
						y="45"
						width="10"
						height="13"
						key="staticText-15"/>
					<box></box>
					<textElement textAlignment="Center" verticalAlignment="Top">
						<font fontName="Verdana" size="10"/>
					</textElement>
				<text><![CDATA[:]]></text>
				</staticText>
				<staticText>
					<reportElement
						x="115"
						y="58"
						width="10"
						height="13"
						key="staticText-16"/>
					<box></box>
					<textElement textAlignment="Center" verticalAlignment="Top">
						<font fontName="Verdana" size="10"/>
					</textElement>
				<text><![CDATA[:]]></text>
				</staticText>
				<staticText>
					<reportElement
						x="370"
						y="45"
						width="10"
						height="13"
						key="staticText-17"/>
					<box></box>
					<textElement textAlignment="Center" verticalAlignment="Top">
						<font fontName="Verdana" size="10"/>
					</textElement>
				<text><![CDATA[:]]></text>
				</staticText>
				<staticText>
					<reportElement
						x="370"
						y="58"
						width="10"
						height="13"
						key="staticText-18"/>
					<box></box>
					<textElement textAlignment="Center" verticalAlignment="Top">
						<font fontName="Verdana" size="10"/>
					</textElement>
				<text><![CDATA[:]]></text>
				</staticText>
			</band>
		</pageHeader>
		<columnHeader>
			<band height="0"  isSplitAllowed="true" >
			</band>
		</columnHeader>
		<detail>
			<band height="26"  isSplitAllowed="true" >
				<textField isStretchWithOverflow="false" isBlankWhenNull="false" evaluationTime="Now" hyperlinkType="None"  hyperlinkTarget="Self" >
					<reportElement
						x="15"
						y="0"
						width="20"
						height="13"
						key="textField-7"/>
					<box></box>
					<textElement>
						<font fontName="Verdana" size="10"/>
					</textElement>
				<textFieldExpression   class="java.lang.Integer"><![CDATA[$V{urut}]]></textFieldExpression>
				</textField>
				<textField isStretchWithOverflow="false" isBlankWhenNull="false" evaluationTime="Now" hyperlinkType="None"  hyperlinkTarget="Self" >
					<reportElement
						x="35"
						y="0"
						width="65"
						height="13"
						key="textField-8"/>
					<box></box>
					<textElement>
						<font fontName="Verdana" size="10"/>
					</textElement>
				<textFieldExpression   class="java.lang.String"><![CDATA[$F{det_ftitem_code}]]></textFieldExpression>
				</textField>
				<textField isStretchWithOverflow="true" isBlankWhenNull="false" evaluationTime="Now" hyperlinkType="None"  hyperlinkTarget="Self" >
					<reportElement
						x="100"
						y="0"
						width="270"
						height="13"
						key="textField-9"
						stretchType="RelativeToBandHeight"
						isPrintWhenDetailOverflows="true"/>
					<box></box>
					<textElement>
						<font fontName="Verdana" size="10"/>
					</textElement>
				<textFieldExpression   class="java.lang.String"><![CDATA[$F{det_ftitem_name}]]></textFieldExpression>
				</textField>
				<textField isStretchWithOverflow="false" isBlankWhenNull="false" evaluationTime="Now" hyperlinkType="None"  hyperlinkTarget="Self" >
					<reportElement
						x="370"
						y="0"
						width="40"
						height="13"
						key="textField-10"/>
					<box></box>
					<textElement>
						<font fontName="Verdana" size="10"/>
					</textElement>
				<textFieldExpression   class="java.lang.String"><![CDATA[$F{det_ftlocation_code}]]></textFieldExpression>
				</textField>
				<textField isStretchWithOverflow="false" pattern="#,##0.00" isBlankWhenNull="false" evaluationTime="Now" hyperlinkType="None"  hyperlinkTarget="Self" >
					<reportElement
						x="410"
						y="0"
						width="90"
						height="13"
						key="textField-11"/>
					<box></box>
					<textElement textAlignment="Right">
						<font fontName="Verdana" size="10"/>
					</textElement>
				<textFieldExpression   class="java.lang.Double"><![CDATA[$F{det_fnqty}]]></textFieldExpression>
				</textField>
				<staticText>
					<reportElement
						x="100"
						y="13"
						width="60"
						height="13"
						key="staticText-19"/>
					<box></box>
					<textElement textAlignment="Left">
						<font fontName="Verdana" size="10"/>
					</textElement>
				<text><![CDATA[PART NO:]]></text>
				</staticText>
				<textField isStretchWithOverflow="true" isBlankWhenNull="true" evaluationTime="Now" hyperlinkType="None"  hyperlinkTarget="Self" >
					<reportElement
						x="160"
						y="13"
						width="210"
						height="13"
						key="textField-12"
						stretchType="RelativeToTallestObject"/>
					<box></box>
					<textElement>
						<font fontName="Verdana" size="10"/>
					</textElement>
				<textFieldExpression   class="java.lang.String"><![CDATA[$F{det_ftpart_no}]]></textFieldExpression>
				</textField>
			</band>
		</detail>
		<columnFooter>
			<band height="0"  isSplitAllowed="true" >
			</band>
		</columnFooter>
		<pageFooter>
			<band height="90"  isSplitAllowed="true" >
				<textField isStretchWithOverflow="false" pattern="EEE, d MMM yyyy HH:mm:ss" isBlankWhenNull="false" evaluationTime="Report" hyperlinkType="None"  hyperlinkTarget="Self" >
					<reportElement
						x="380"
						y="71"
						width="119"
						height="13"
						key="textField-13"/>
					<box></box>
					<textElement>
						<font fontName="Verdana" pdfFontName="Helvetica-Oblique" size="8" isItalic="true" isUnderline="false"/>
					</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="15"
						y="23"
						width="134"
						height="44"
						key="textField-14"/>
					<box></box>
					<textElement>
						<font fontName="Verdana" size="10"/>
					</textElement>
				<textFieldExpression   class="java.lang.String"><![CDATA[$F{hdr_ftnotes}]]></textFieldExpression>
				</textField>
				<staticText>
					<reportElement
						x="15"
						y="5"
						width="134"
						height="13"
						key="staticText-20"/>
					<box></box>
					<textElement textAlignment="Left">
						<font fontName="Verdana" pdfFontName="Helvetica" size="10" isBold="false"/>
					</textElement>
				<text><![CDATA[Keterangan  :]]></text>
				</staticText>
				<staticText>
					<reportElement
						x="157"
						y="55"
						width="90"
						height="13"
						key="staticText-21"/>
					<box></box>
					<textElement textAlignment="Center">
						<font fontName="Verdana" pdfFontName="Helvetica" size="10" isBold="false"/>
					</textElement>
				<text><![CDATA[SEKSI GUDANG]]></text>
				</staticText>
				<staticText>
					<reportElement
						x="157"
						y="42"
						width="90"
						height="13"
						key="staticText-22"/>
					<box></box>
					<textElement textAlignment="Center">
						<font fontName="Verdana" pdfFontName="Helvetica-Bold" size="10" isBold="true"/>
					</textElement>
				<text><![CDATA[______________]]></text>
				</staticText>
				<staticText>
					<reportElement
						x="274"
						y="55"
						width="100"
						height="13"
						key="staticText-23"/>
					<box></box>
					<textElement textAlignment="Center">
						<font fontName="Verdana" pdfFontName="Helvetica" size="10" isBold="false"/>
					</textElement>
				<text><![CDATA[KABAG GUDANG]]></text>
				</staticText>
				<staticText>
					<reportElement
						x="274"
						y="42"
						width="100"
						height="13"
						key="staticText-24"/>
					<box></box>
					<textElement textAlignment="Center">
						<font fontName="Verdana" pdfFontName="Helvetica-Bold" size="10" isBold="true"/>
					</textElement>
				<text><![CDATA[______________]]></text>
				</staticText>
				<staticText>
					<reportElement
						x="395"
						y="55"
						width="100"
						height="13"
						key="staticText-25"/>
					<box></box>
					<textElement textAlignment="Center">
						<font fontName="Verdana" pdfFontName="Helvetica" size="10" isBold="false"/>
					</textElement>
				<text><![CDATA[PENGIRIM]]></text>
				</staticText>
				<staticText>
					<reportElement
						x="395"
						y="42"
						width="100"
						height="13"
						key="staticText-26"/>
					<box></box>
					<textElement textAlignment="Center">
						<font fontName="Verdana" pdfFontName="Helvetica-Bold" size="10" isBold="true"/>
					</textElement>
				<text><![CDATA[______________]]></text>
				</staticText>
				<line direction="TopDown">
					<reportElement
						x="15"
						y="2"
						width="485"
						height="1"
						key="line-1"/>
					<graphicElement stretchType="NoStretch"/>
				</line>
			</band>
		</pageFooter>
		<summary>
			<band height="0"  isSplitAllowed="true" >
			</band>
		</summary>
</jasperReport>
