<?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="crprint02_stok_masuk"
		 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"/>
	<parameter name="username" isForPrompting="true" class="java.lang.String"/>
	<queryString><![CDATA[call spiprint01_stock_masuk_bahan_baku($P{trans_no})]]></queryString>

	<field name="hdr_ftcompany_name" class="java.lang.String"/>
	<field name="hdr_ftdocument_no_iso" class="java.lang.String"/>
	<field name="hdr_ftnotes" class="java.lang.String"/>
	<field name="hdr_ftstock_in_no" class="java.lang.String"/>
	<field name="hdr_ftcategory_name" class="java.lang.String"/>
	<field name="hdr_ftstock_in_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_ftdelivery_no" class="java.lang.String"/>
	<field name="hdr_ftchecked_user" class="java.lang.String"/>
	<field name="hdr_fntotal_qty" class="java.lang.Double"/>
	<field name="hdr_fttrans_status_name" class="java.lang.String"/>
	<field name="hrd_ftreff_no" class="java.lang.String"/>
	<field name="det_fnindex" class="java.lang.Integer"/>
	<field name="det_ftitem_code" 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_ftpart_no" 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="det_fnqty_x" class="java.lang.Double"/>
	<field name="det_fcprice_x" class="java.math.BigDecimal"/>
	<field name="det_fcamount_x" class="java.math.BigDecimal"/>
	<field name="det_fcamount" class="java.lang.Double"/>
	<field name="hdr_ffdiscount" class="java.lang.Double"/>
	<field name="hdr_ffvat" class="java.lang.Double"/>

	<variable name="urut" class="java.lang.Integer" resetType="Group" resetGroup="g_ftlocation_code" 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_in_no}]]></groupExpression>
			<groupHeader>
			<band height="0"  isSplitAllowed="true" >
			</band>
			</groupHeader>
			<groupFooter>
			<band height="1"  isSplitAllowed="true" >
			</band>
			</groupFooter>
		</group>
		<group  name="g_ftlocation_code" isStartNewColumn="true" isStartNewPage="true" isReprintHeaderOnEachPage="true" >
			<groupExpression><![CDATA[$F{det_ftlocation_code}]]></groupExpression>
			<groupHeader>
			<band height="100"  isSplitAllowed="true" >
				<staticText>
					<reportElement
						x="15"
						y="8"
						width="485"
						height="23"
						key="staticText-69"/>
					<box></box>
					<textElement textAlignment="Center" verticalAlignment="Middle">
						<font fontName="Verdana" pdfFontName="Helvetica-Bold" size="14" isBold="true"/>
					</textElement>
				<text><![CDATA[BUKTI PENERIMAAN BARANG]]></text>
				</staticText>
				<staticText>
					<reportElement
						x="15"
						y="38"
						width="60"
						height="15"
						key="staticText-70"/>
					<box></box>
					<textElement textAlignment="Left">
						<font fontName="Verdana" size="10"/>
					</textElement>
				<text><![CDATA[Kepada]]></text>
				</staticText>
				<textField isStretchWithOverflow="false" isBlankWhenNull="false" evaluationTime="Now" hyperlinkType="None"  hyperlinkTarget="Self" >
					<reportElement
						x="85"
						y="38"
						width="180"
						height="15"
						key="textField-15"/>
					<box></box>
					<textElement>
						<font fontName="Verdana" size="10"/>
					</textElement>
				<textFieldExpression   class="java.lang.String"><![CDATA[$F{hdr_ftstock_in_company}]]></textFieldExpression>
				</textField>
				<staticText>
					<reportElement
						x="15"
						y="64"
						width="60"
						height="13"
						key="staticText-71"/>
					<box></box>
					<textElement textAlignment="Left">
						<font fontName="Verdana" size="10"/>
					</textElement>
				<text><![CDATA[Halaman]]></text>
				</staticText>
				<textField isStretchWithOverflow="false" isBlankWhenNull="false" evaluationTime="Now" hyperlinkType="None"  hyperlinkTarget="Self" >
					<reportElement
						x="85"
						y="64"
						width="100"
						height="13"
						key="textField-16"/>
					<box></box>
					<textElement>
						<font fontName="Verdana" size="10"/>
					</textElement>
				<textFieldExpression   class="java.lang.Integer"><![CDATA[$V{PAGE_NUMBER}]]></textFieldExpression>
				</textField>
				<staticText>
					<reportElement
						x="75"
						y="64"
						width="10"
						height="13"
						key="staticText-72"/>
					<box></box>
					<textElement textAlignment="Left" verticalAlignment="Top">
						<font fontName="Verdana" size="10"/>
					</textElement>
				<text><![CDATA[:]]></text>
				</staticText>
				<staticText>
					<reportElement
						x="290"
						y="38"
						width="100"
						height="13"
						key="staticText-73"/>
					<box></box>
					<textElement textAlignment="Left">
						<font fontName="Verdana" size="10"/>
					</textElement>
				<text><![CDATA[No. BPB]]></text>
				</staticText>
				<staticText>
					<reportElement
						x="290"
						y="51"
						width="100"
						height="13"
						key="staticText-74"/>
					<box></box>
					<textElement textAlignment="Left">
						<font fontName="Verdana" size="10"/>
					</textElement>
				<text><![CDATA[Tanggal]]></text>
				</staticText>
				<textField isStretchWithOverflow="false" isBlankWhenNull="false" evaluationTime="Now" hyperlinkType="None"  hyperlinkTarget="Self" >
					<reportElement
						x="400"
						y="38"
						width="100"
						height="13"
						key="textField-17"/>
					<box></box>
					<textElement>
						<font fontName="Verdana" size="10"/>
					</textElement>
				<textFieldExpression   class="java.lang.String"><![CDATA[$F{hdr_ftstock_in_no}]]></textFieldExpression>
				</textField>
				<textField isStretchWithOverflow="false" pattern="dd/MM/yyyy" isBlankWhenNull="false" evaluationTime="Now" hyperlinkType="None"  hyperlinkTarget="Self" >
					<reportElement
						x="400"
						y="51"
						width="100"
						height="13"
						key="textField-18"/>
					<box></box>
					<textElement>
						<font fontName="Verdana" size="10"/>
					</textElement>
				<textFieldExpression   class="java.util.Date"><![CDATA[$F{hdr_fdtrans_date}]]></textFieldExpression>
				</textField>
				<staticText>
					<reportElement
						x="390"
						y="38"
						width="10"
						height="13"
						key="staticText-75"/>
					<box></box>
					<textElement textAlignment="Left" verticalAlignment="Top">
						<font fontName="Verdana" size="10"/>
					</textElement>
				<text><![CDATA[:]]></text>
				</staticText>
				<staticText>
					<reportElement
						x="390"
						y="51"
						width="10"
						height="13"
						key="staticText-76"/>
					<box></box>
					<textElement textAlignment="Left" verticalAlignment="Top">
						<font fontName="Verdana" size="10"/>
					</textElement>
				<text><![CDATA[:]]></text>
				</staticText>
				<staticText>
					<reportElement
						x="290"
						y="64"
						width="100"
						height="13"
						key="staticText-77"/>
					<box></box>
					<textElement textAlignment="Left">
						<font fontName="Verdana" size="10"/>
					</textElement>
				<text><![CDATA[No. PO]]></text>
				</staticText>
				<textField isStretchWithOverflow="false" isBlankWhenNull="false" evaluationTime="Now" hyperlinkType="None"  hyperlinkTarget="Self" >
					<reportElement
						x="400"
						y="64"
						width="100"
						height="13"
						key="textField-19"/>
					<box></box>
					<textElement>
						<font fontName="Verdana" size="10"/>
					</textElement>
				<textFieldExpression   class="java.lang.String"><![CDATA[$F{hdr_ftdocument_no}]]></textFieldExpression>
				</textField>
				<staticText>
					<reportElement
						x="390"
						y="64"
						width="10"
						height="13"
						key="staticText-78"/>
					<box></box>
					<textElement textAlignment="Left" verticalAlignment="Top">
						<font fontName="Verdana" size="10"/>
					</textElement>
				<text><![CDATA[:]]></text>
				</staticText>
				<line direction="TopDown">
					<reportElement
						x="15"
						y="98"
						width="485"
						height="0"
						key="line-11"/>
					<graphicElement stretchType="NoStretch"/>
				</line>
				<staticText>
					<reportElement
						x="15"
						y="84"
						width="20"
						height="13"
						key="staticText-79"/>
					<box></box>
					<textElement textAlignment="Left">
						<font fontName="Verdana" pdfFontName="Helvetica-Bold" size="10" isBold="true" isItalic="false"/>
					</textElement>
				<text><![CDATA[No.]]></text>
				</staticText>
				<staticText>
					<reportElement
						x="100"
						y="84"
						width="270"
						height="13"
						key="staticText-80"/>
					<box></box>
					<textElement textAlignment="Left">
						<font fontName="Verdana" pdfFontName="Helvetica-Bold" size="10" isBold="true" isItalic="false"/>
					</textElement>
				<text><![CDATA[Nama Barang]]></text>
				</staticText>
				<staticText>
					<reportElement
						x="370"
						y="84"
						width="40"
						height="13"
						key="staticText-81"/>
					<box></box>
					<textElement textAlignment="Right">
						<font fontName="Verdana" pdfFontName="Helvetica-Bold" size="10" isBold="true" isItalic="false"/>
					</textElement>
				<text><![CDATA[LOC]]></text>
				</staticText>
				<staticText>
					<reportElement
						x="410"
						y="84"
						width="90"
						height="13"
						key="staticText-82"/>
					<box></box>
					<textElement textAlignment="Right">
						<font fontName="Verdana" pdfFontName="Helvetica-Bold" size="10" isBold="true" isItalic="false"/>
					</textElement>
				<text><![CDATA[Jumlah]]></text>
				</staticText>
				<line direction="TopDown">
					<reportElement
						x="15"
						y="82"
						width="485"
						height="0"
						key="line-12"/>
					<graphicElement stretchType="NoStretch"/>
				</line>
				<staticText>
					<reportElement
						x="35"
						y="84"
						width="65"
						height="13"
						key="staticText-83"/>
					<box></box>
					<textElement textAlignment="Left">
						<font fontName="Verdana" pdfFontName="Helvetica-Bold" size="10" isBold="true" isItalic="false"/>
					</textElement>
				<text><![CDATA[Kode]]></text>
				</staticText>
				<staticText>
					<reportElement
						x="75"
						y="38"
						width="10"
						height="15"
						key="staticText-84"/>
					<box></box>
					<textElement textAlignment="Left" verticalAlignment="Top">
						<font fontName="Verdana" size="10"/>
					</textElement>
				<text><![CDATA[:]]></text>
				</staticText>
			</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="0"  isSplitAllowed="true" >
			</band>
		</pageHeader>
		<columnHeader>
			<band height="0"  isSplitAllowed="true" >
			</band>
		</columnHeader>
		<detail>
			<band height="27"  isSplitAllowed="true" >
				<textField isStretchWithOverflow="false" isBlankWhenNull="false" evaluationTime="Now" hyperlinkType="None"  hyperlinkTarget="Self" >
					<reportElement
						x="15"
						y="1"
						width="20"
						height="13"
						key="textField-8"/>
					<box></box>
					<textElement>
						<font fontName="Verdana" size="10"/>
					</textElement>
				<textFieldExpression   class="java.lang.Integer"><![CDATA[$V{urut}]]></textFieldExpression>
				</textField>
				<textField isStretchWithOverflow="true" isBlankWhenNull="true" evaluationTime="Now" hyperlinkType="None"  hyperlinkTarget="Self" >
					<reportElement
						x="100"
						y="1"
						width="270"
						height="13"
						key="textField-9"
						stretchType="RelativeToTallestObject"/>
					<box></box>
					<textElement>
						<font fontName="Verdana" size="10"/>
					</textElement>
				<textFieldExpression   class="java.lang.String"><![CDATA[$F{det_ftitem_name}]]></textFieldExpression>
				</textField>
				<textField isStretchWithOverflow="false" pattern="#,##0" isBlankWhenNull="false" evaluationTime="Now" hyperlinkType="None"  hyperlinkTarget="Self" >
					<reportElement
						x="370"
						y="1"
						width="40"
						height="13"
						key="textField-11"/>
					<box></box>
					<textElement textAlignment="Right">
						<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="1"
						width="90"
						height="13"
						key="textField-12"/>
					<box></box>
					<textElement textAlignment="Right">
						<font fontName="Verdana" size="10"/>
					</textElement>
				<textFieldExpression   class="java.lang.Double"><![CDATA[$F{det_fnqty}]]></textFieldExpression>
				</textField>
				<textField isStretchWithOverflow="false" isBlankWhenNull="false" evaluationTime="Now" hyperlinkType="None"  hyperlinkTarget="Self" >
					<reportElement
						x="35"
						y="1"
						width="65"
						height="13"
						key="textField-13"/>
					<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="true" evaluationTime="Now" hyperlinkType="None"  hyperlinkTarget="Self" >
					<reportElement
						x="160"
						y="14"
						width="210"
						height="13"
						key="textField-20"
						stretchType="RelativeToTallestObject"/>
					<box></box>
					<textElement>
						<font fontName="Verdana" size="10"/>
					</textElement>
				<textFieldExpression   class="java.lang.String"><![CDATA[$F{det_ftpart_no}]]></textFieldExpression>
				</textField>
				<staticText>
					<reportElement
						x="100"
						y="14"
						width="60"
						height="13"
						key="staticText-85"/>
					<box></box>
					<textElement textAlignment="Left">
						<font fontName="Verdana" size="10"/>
					</textElement>
				<text><![CDATA[PART NO:]]></text>
				</staticText>
			</band>
		</detail>
		<columnFooter>
			<band height="0"  isSplitAllowed="true" >
			</band>
		</columnFooter>
		<pageFooter>
			<band height="100"  isSplitAllowed="true" >
				<staticText>
					<reportElement
						x="15"
						y="65"
						width="100"
						height="13"
						key="staticText-58"/>
					<box></box>
					<textElement textAlignment="Center">
						<font fontName="Verdana" pdfFontName="Helvetica" size="10" isBold="false"/>
					</textElement>
				<text><![CDATA[DIBUKUKAN OLEH]]></text>
				</staticText>
				<textField isStretchWithOverflow="false" pattern="EEE, d MMM yyyy HH:mm:ss" isBlankWhenNull="false" evaluationTime="Report" hyperlinkType="None"  hyperlinkTarget="Self" >
					<reportElement
						x="381"
						y="84"
						width="119"
						height="13"
						key="textField-14"/>
					<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>
				<staticText>
					<reportElement
						x="15"
						y="52"
						width="100"
						height="13"
						key="staticText-59"/>
					<box></box>
					<textElement textAlignment="Center">
						<font fontName="Verdana" pdfFontName="Helvetica-Bold" size="10" isBold="true"/>
					</textElement>
				<text><![CDATA[______________]]></text>
				</staticText>
				<staticText>
					<reportElement
						x="139"
						y="65"
						width="100"
						height="13"
						key="staticText-62"/>
					<box></box>
					<textElement textAlignment="Center">
						<font fontName="Verdana" pdfFontName="Helvetica" size="10" isBold="false"/>
					</textElement>
				<text><![CDATA[SEKSI GUDANG]]></text>
				</staticText>
				<staticText>
					<reportElement
						x="139"
						y="52"
						width="100"
						height="13"
						key="staticText-63"/>
					<box></box>
					<textElement textAlignment="Center">
						<font fontName="Verdana" pdfFontName="Helvetica-Bold" size="10" isBold="true"/>
					</textElement>
				<text><![CDATA[______________]]></text>
				</staticText>
				<staticText>
					<reportElement
						x="269"
						y="65"
						width="100"
						height="13"
						key="staticText-64"/>
					<box></box>
					<textElement textAlignment="Center">
						<font fontName="Verdana" pdfFontName="Helvetica" size="10" isBold="false"/>
					</textElement>
				<text><![CDATA[KABAG GUDANG]]></text>
				</staticText>
				<staticText>
					<reportElement
						x="269"
						y="52"
						width="100"
						height="13"
						key="staticText-65"/>
					<box></box>
					<textElement textAlignment="Center">
						<font fontName="Verdana" pdfFontName="Helvetica-Bold" size="10" isBold="true"/>
					</textElement>
				<text><![CDATA[______________]]></text>
				</staticText>
				<staticText>
					<reportElement
						x="399"
						y="65"
						width="100"
						height="13"
						key="staticText-66"/>
					<box></box>
					<textElement textAlignment="Center">
						<font fontName="Verdana" pdfFontName="Helvetica" size="10" isBold="false"/>
					</textElement>
				<text><![CDATA[PENGIRIM]]></text>
				</staticText>
				<staticText>
					<reportElement
						x="399"
						y="52"
						width="100"
						height="13"
						key="staticText-67"/>
					<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="3"
						width="485"
						height="0"
						key="line-10"/>
					<graphicElement stretchType="NoStretch"/>
				</line>
			</band>
		</pageFooter>
		<summary>
			<band height="0"  isSplitAllowed="true" >
			</band>
		</summary>
</jasperReport>
