<?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="crprint03_qc_produksi"
		 columnCount="1"
		 printOrder="Vertical"
		 orientation="Landscape"
		 pageWidth="963"
		 pageHeight="340"
		 columnWidth="963"
		 columnSpacing="0"
		 leftMargin="0"
		 rightMargin="0"
		 topMargin="0"
		 bottomMargin="0"
		 whenNoDataType="NoPages"
		 isTitleNewPage="false"
		 isSummaryNewPage="false"
		 whenResourceMissingType="Empty">
	<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.*" />

	<style 
		name="m"
		isDefault="false"
		fontSize="12"
	>
	</style>

	<parameter name="trans_no" isForPrompting="true" class="java.lang.String"/>
	<parameter name="username" isForPrompting="true" class="java.lang.String"/>
	<queryString><![CDATA[call spproduksiprint03_qc_produksi($P{trans_no})]]></queryString>

	<field name="hdr_ftcompany_name" class="java.lang.String"/>
	<field name="ftdocument_no" class="java.lang.String"/>
	<field name="hdr_ftqc_no" class="java.lang.String"/>
	<field name="hdr_fdtrans_date" class="java.sql.Date"/>
	<field name="hdr_ftstock_in_no" class="java.lang.String"/>
	<field name="hdr_ftprocess_name" class="java.lang.String"/>
	<field name="hdr_ftmechine_code" class="java.lang.String"/>
	<field name="hdr_ftnotes" class="java.lang.String"/>
	<field name="hdr_ftmechine_name" class="java.lang.String"/>
	<field name="hdr_ftoperator_code" class="java.lang.String"/>
	<field name="hdr_ftoperator_name" class="java.lang.String"/>
	<field name="hdr_ftsection_code_from" class="java.lang.String"/>
	<field name="hdr_ftsection_code_to" class="java.lang.String"/>
	<field name="hdr_ftpos_no" class="java.lang.String"/>
	<field name="hdr_ftspk_no" class="java.lang.String"/>
	<field name="hdr_ftconclusion" 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_ftuom_code" class="java.lang.String"/>
	<field name="det_fnqty_in" class="java.lang.Double"/>
	<field name="det_fnqty_avail" class="java.lang.Double"/>
	<field name="det_fnqty" class="java.lang.Double"/>
	<field name="det_ftdescription" class="java.lang.String"/>

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

		<group  name="hdr_ftcompany_name" >
			<groupExpression><![CDATA[$F{hdr_ftcompany_name}]]></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="107"  isSplitAllowed="true" >
				<textField isStretchWithOverflow="false" isBlankWhenNull="false" evaluationTime="Now" hyperlinkType="None"  hyperlinkTarget="Self" >
					<reportElement
						x="2"
						y="2"
						width="549"
						height="14"
						key="textField-4"/>
					<box></box>
					<textElement markup="html">
						<font fontName="Arial" pdfFontName="Times-Roman" size="11" isBold="false" isPdfEmbedded ="false"/>
					</textElement>
				<textFieldExpression   class="java.lang.String"><![CDATA[$F{hdr_ftcompany_name}]]></textFieldExpression>
				</textField>
				<staticText>
					<reportElement
						x="10"
						y="91"
						width="35"
						height="15"
						key="staticText-1"/>
					<box></box>
					<textElement textAlignment="Right">
						<font fontName="Arial" pdfFontName="Helvetica" size="11" isBold="false"/>
					</textElement>
				<text><![CDATA[NO.]]></text>
				</staticText>
				<line direction="TopDown">
					<reportElement
						x="1"
						y="89"
						width="955"
						height="2"
						key="line-1"/>
					<graphicElement stretchType="NoStretch"/>
				</line>
				<line direction="TopDown">
					<reportElement
						x="0"
						y="106"
						width="955"
						height="1"
						key="line-2"/>
					<graphicElement stretchType="NoStretch"/>
				</line>
				<staticText>
					<reportElement
						x="55"
						y="91"
						width="511"
						height="15"
						key="staticText-4"/>
					<box></box>
					<textElement>
						<font fontName="Arial" pdfFontName="Helvetica" size="11" isBold="false"/>
					</textElement>
				<text><![CDATA[NAMA BARANG]]></text>
				</staticText>
				<staticText>
					<reportElement
						x="306"
						y="23"
						width="415"
						height="16"
						key="staticText-41"/>
					<box></box>
					<textElement textAlignment="Center">
						<font fontName="Arial" pdfFontName="Helvetica-Bold" size="12" isBold="true"/>
					</textElement>
				<text><![CDATA[LAPORAN BARANG REJECT]]></text>
				</staticText>
				<staticText>
					<reportElement
						x="654"
						y="91"
						width="67"
						height="13"
						key="staticText-42"/>
					<box></box>
					<textElement textAlignment="Left">
						<font fontName="Arial" pdfFontName="Helvetica" size="11" isBold="false"/>
					</textElement>
				<text><![CDATA[SATUAN]]></text>
				</staticText>
				<staticText>
					<reportElement
						x="579"
						y="91"
						width="71"
						height="13"
						key="staticText-43"/>
					<box></box>
					<textElement textAlignment="Right">
						<font fontName="Arial" pdfFontName="Helvetica" size="11" isBold="false"/>
					</textElement>
				<text><![CDATA[QTY REJECT]]></text>
				</staticText>
				<staticText>
					<reportElement
						x="730"
						y="91"
						width="220"
						height="13"
						key="staticText-44"/>
					<box></box>
					<textElement textAlignment="Left">
						<font fontName="Arial" pdfFontName="Helvetica" size="11" isBold="false"/>
					</textElement>
				<text><![CDATA[KETERANGAN]]></text>
				</staticText>
				<staticText>
					<reportElement
						x="2"
						y="43"
						width="123"
						height="13"
						key="staticText-46"/>
					<box></box>
					<textElement textAlignment="Right">
						<font fontName="Arial" pdfFontName="Helvetica" size="11" isBold="false"/>
					</textElement>
				<text><![CDATA[No. Reject :]]></text>
				</staticText>
				<staticText>
					<reportElement
						x="665"
						y="43"
						width="123"
						height="13"
						key="staticText-47"/>
					<box></box>
					<textElement textAlignment="Right">
						<font fontName="Arial" pdfFontName="Helvetica" size="11" isBold="false"/>
					</textElement>
				<text><![CDATA[Tanggal :]]></text>
				</staticText>
				<textField isStretchWithOverflow="false" isBlankWhenNull="false" evaluationTime="Now" hyperlinkType="None"  hyperlinkTarget="Self" >
					<reportElement
						x="128"
						y="43"
						width="163"
						height="13"
						key="textField"/>
					<box></box>
					<textElement>
						<font fontName="Arial" size="11"/>
					</textElement>
				<textFieldExpression   class="java.lang.String"><![CDATA[$F{hdr_ftqc_no}]]></textFieldExpression>
				</textField>
				<staticText>
					<reportElement
						x="2"
						y="56"
						width="123"
						height="13"
						key="staticText-48"/>
					<box></box>
					<textElement textAlignment="Right">
						<font fontName="Arial" pdfFontName="Helvetica" size="11" isBold="false"/>
					</textElement>
				<text><![CDATA[Dari :]]></text>
				</staticText>
				<staticText>
					<reportElement
						x="291"
						y="56"
						width="123"
						height="13"
						key="staticText-49"/>
					<box></box>
					<textElement textAlignment="Right">
						<font fontName="Arial" pdfFontName="Helvetica" size="11" isBold="false"/>
					</textElement>
				<text><![CDATA[Ke :]]></text>
				</staticText>
				<textField isStretchWithOverflow="false" isBlankWhenNull="false" evaluationTime="Now" hyperlinkType="None"  hyperlinkTarget="Self" >
					<reportElement
						x="2"
						y="16"
						width="297"
						height="18"
						key="textField"/>
					<box></box>
					<textElement>
						<font fontName="Arial" size="11"/>
					</textElement>
				<textFieldExpression   class="java.lang.String"><![CDATA[$F{ftdocument_no}]]></textFieldExpression>
				</textField>
				<staticText>
					<reportElement
						x="2"
						y="72"
						width="123"
						height="13"
						key="staticText-50"/>
					<box></box>
					<textElement textAlignment="Right">
						<font fontName="Arial" pdfFontName="Helvetica" size="11" isBold="false"/>
					</textElement>
				<text><![CDATA[No. POS :]]></text>
				</staticText>
				<staticText>
					<reportElement
						x="327"
						y="72"
						width="123"
						height="13"
						key="staticText-51"/>
					<box></box>
					<textElement textAlignment="Right">
						<font fontName="Arial" pdfFontName="Helvetica" size="11" isBold="false"/>
					</textElement>
				<text><![CDATA[No. SPK :]]></text>
				</staticText>
				<textField isStretchWithOverflow="false" pattern="dd-MMM-yy" isBlankWhenNull="false" evaluationTime="Now" hyperlinkType="None"  hyperlinkTarget="Self" >
					<reportElement
						x="794"
						y="43"
						width="100"
						height="18"
						key="textField"/>
					<box></box>
					<textElement>
						<font fontName="Arial" size="11"/>
					</textElement>
				<textFieldExpression   class="java.util.Date"><![CDATA[$F{hdr_fdtrans_date}]]></textFieldExpression>
				</textField>
				<textField isStretchWithOverflow="false" isBlankWhenNull="false" evaluationTime="Now" hyperlinkType="None"  hyperlinkTarget="Self" >
					<reportElement
						x="128"
						y="56"
						width="163"
						height="13"
						key="textField"/>
					<box></box>
					<textElement>
						<font fontName="Arial" size="11"/>
					</textElement>
				<textFieldExpression   class="java.lang.String"><![CDATA[$F{hdr_ftprocess_name}]]></textFieldExpression>
				</textField>
				<textField isStretchWithOverflow="false" isBlankWhenNull="false" evaluationTime="Now" hyperlinkType="None"  hyperlinkTarget="Self" >
					<reportElement
						x="420"
						y="56"
						width="163"
						height="13"
						key="textField-5"/>
					<box></box>
					<textElement>
						<font fontName="Arial" size="11"/>
					</textElement>
				<textFieldExpression   class="java.lang.String"><![CDATA[$F{hdr_ftsection_code_to}]]></textFieldExpression>
				</textField>
				<textField isStretchWithOverflow="false" isBlankWhenNull="false" evaluationTime="Now" hyperlinkType="None"  hyperlinkTarget="Self" >
					<reportElement
						x="128"
						y="71"
						width="163"
						height="13"
						key="textField-6"/>
					<box></box>
					<textElement>
						<font fontName="Arial" size="11"/>
					</textElement>
				<textFieldExpression   class="java.lang.String"><![CDATA[$F{hdr_ftpos_no}]]></textFieldExpression>
				</textField>
				<textField isStretchWithOverflow="false" isBlankWhenNull="false" evaluationTime="Now" hyperlinkType="None"  hyperlinkTarget="Self" >
					<reportElement
						x="456"
						y="72"
						width="163"
						height="13"
						key="textField-7"/>
					<box></box>
					<textElement>
						<font fontName="Arial" size="11"/>
					</textElement>
				<textFieldExpression   class="java.lang.String"><![CDATA[$F{hdr_ftspk_no}]]></textFieldExpression>
				</textField>
			</band>
		</pageHeader>
		<columnHeader>
			<band height="0"  isSplitAllowed="true" >
			</band>
		</columnHeader>
		<detail>
			<band height="15"  isSplitAllowed="true" >
				<textField isStretchWithOverflow="false" isBlankWhenNull="false" evaluationTime="Now" hyperlinkType="None"  hyperlinkTarget="Self" >
					<reportElement
						x="0"
						y="0"
						width="35"
						height="15"
						key="textField"/>
					<box></box>
					<textElement textAlignment="Right">
						<font fontName="Arial" pdfFontName="Helvetica" size="10" isBold="false"/>
					</textElement>
				<textFieldExpression   class="java.lang.Integer"><![CDATA[$V{urut}]]></textFieldExpression>
				</textField>
				<textField isStretchWithOverflow="false" isBlankWhenNull="false" evaluationTime="Now" hyperlinkType="None"  hyperlinkTarget="Self" >
					<reportElement
						x="55"
						y="0"
						width="506"
						height="15"
						key="textField"/>
					<box></box>
					<textElement verticalAlignment="Middle">
						<font fontName="Arial" 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="654"
						y="0"
						width="67"
						height="15"
						key="textField"/>
					<box></box>
					<textElement textAlignment="Left" verticalAlignment="Middle">
						<font fontName="Arial" size="9"/>
					</textElement>
				<textFieldExpression   class="java.lang.String"><![CDATA[$F{det_ftuom_code}]]></textFieldExpression>
				</textField>
				<textField isStretchWithOverflow="false" pattern="#,##0" isBlankWhenNull="false" evaluationTime="Now" hyperlinkType="None"  hyperlinkTarget="Self" >
					<reportElement
						x="579"
						y="0"
						width="71"
						height="15"
						key="textField"/>
					<box></box>
					<textElement textAlignment="Right" verticalAlignment="Middle">
						<font fontName="Arial" size="9"/>
					</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="730"
						y="0"
						width="220"
						height="15"
						key="textField"/>
					<box></box>
					<textElement verticalAlignment="Middle">
						<font fontName="Arial" size="9"/>
					</textElement>
				<textFieldExpression   class="java.lang.String"><![CDATA[$F{det_ftdescription}]]></textFieldExpression>
				</textField>
			</band>
		</detail>
		<columnFooter>
			<band height="0"  isSplitAllowed="true" >
			</band>
		</columnFooter>
		<pageFooter>
			<band height="143"  isSplitAllowed="true" >
				<line direction="TopDown">
					<reportElement
						x="0"
						y="4"
						width="956"
						height="0"
						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="404"
						y="124"
						width="243"
						height="17"
						key="textField"/>
					<box></box>
					<textElement>
						<font/>
					</textElement>
				<textFieldExpression   class="java.util.Date"><![CDATA[new java.util.Date()]]></textFieldExpression>
				</textField>
				<staticText>
					<reportElement
						x="362"
						y="9"
						width="123"
						height="13"
						key="staticText-45"/>
					<box></box>
					<textElement textAlignment="Right">
						<font fontName="Arial" pdfFontName="Helvetica" size="11" isBold="false"/>
					</textElement>
				<text><![CDATA[Catatan / Alasan :]]></text>
				</staticText>
				<textField isStretchWithOverflow="false" isBlankWhenNull="false" evaluationTime="Now" hyperlinkType="None"  hyperlinkTarget="Self" >
					<reportElement
						x="649"
						y="124"
						width="243"
						height="17"
						key="textField"/>
					<box></box>
					<textElement>
						<font fontName="Arial" size="10"/>
					</textElement>
				<textFieldExpression   class="java.lang.String"><![CDATA[$P{username}]]></textFieldExpression>
				</textField>
				<textField isStretchWithOverflow="false" isBlankWhenNull="false" evaluationTime="Now" hyperlinkType="None"  hyperlinkTarget="Self" >
					<reportElement
						x="494"
						y="9"
						width="341"
						height="35"
						key="textField"/>
					<box></box>
					<textElement>
						<font fontName="Arial" size="11"/>
					</textElement>
				<textFieldExpression   class="java.lang.String"><![CDATA[$F{hdr_ftnotes}]]></textFieldExpression>
				</textField>
				<staticText>
					<reportElement
						x="10"
						y="9"
						width="336"
						height="13"
						key="staticText-53"/>
					<box></box>
					<textElement textAlignment="Left">
						<font fontName="Arial" pdfFontName="Helvetica" size="11" isBold="false"/>
					</textElement>
				<text><![CDATA[dan ditentukan oleh departement/Bagian tertentu]]></text>
				</staticText>
				<staticText>
					<reportElement
						x="10"
						y="22"
						width="106"
						height="13"
						key="staticText-54"/>
					<box></box>
					<textElement textAlignment="Right">
						<font fontName="Arial" pdfFontName="Helvetica" size="11" isBold="false"/>
					</textElement>
				<text><![CDATA[Kesimpulan :]]></text>
				</staticText>
				<textField isStretchWithOverflow="false" isBlankWhenNull="false" evaluationTime="Now" hyperlinkType="None"  hyperlinkTarget="Self" >
					<reportElement
						x="125"
						y="22"
						width="237"
						height="22"
						key="textField"/>
					<box></box>
					<textElement>
						<font fontName="Arial" size="11"/>
					</textElement>
				<textFieldExpression   class="java.lang.String"><![CDATA[$F{hdr_ftconclusion}]]></textFieldExpression>
				</textField>
				<staticText>
					<reportElement
						x="19"
						y="51"
						width="222"
						height="14"
						key="staticText-55"/>
					<box></box>
					<textElement textAlignment="Center">
						<font fontName="Arial" pdfFontName="Helvetica" size="11" isBold="false"/>
					</textElement>
				<text><![CDATA[Diterima Oleh,]]></text>
				</staticText>
				<staticText>
					<reportElement
						x="15"
						y="99"
						width="226"
						height="19"
						key="staticText-56"/>
					<box></box>
					<textElement textAlignment="Center">
						<font fontName="Arial" pdfFontName="Helvetica" size="12" isBold="false"/>
					</textElement>
				<text><![CDATA[(. . . . . . . . . . . . .  . . . . .)]]></text>
				</staticText>
				<staticText>
					<reportElement
						x="261"
						y="99"
						width="234"
						height="19"
						key="staticText-57"/>
					<box></box>
					<textElement textAlignment="Center">
						<font fontName="Arial" pdfFontName="Helvetica" size="12" isBold="false"/>
					</textElement>
				<text><![CDATA[(. . . . . . . . . . . . .  . . . . .)]]></text>
				</staticText>
				<staticText>
					<reportElement
						x="263"
						y="51"
						width="232"
						height="14"
						key="staticText-58"/>
					<box></box>
					<textElement textAlignment="Center">
						<font fontName="Arial" pdfFontName="Helvetica" size="11" isBold="false"/>
					</textElement>
				<text><![CDATA[Disetujui Oleh,]]></text>
				</staticText>
				<staticText>
					<reportElement
						x="520"
						y="51"
						width="190"
						height="14"
						key="staticText-59"/>
					<box></box>
					<textElement textAlignment="Center">
						<font fontName="Arial" pdfFontName="Helvetica" size="11" isBold="false"/>
					</textElement>
				<text><![CDATA[Diketahui Oleh,]]></text>
				</staticText>
				<staticText>
					<reportElement
						x="528"
						y="99"
						width="183"
						height="19"
						key="staticText-60"/>
					<box></box>
					<textElement textAlignment="Center">
						<font fontName="Arial" pdfFontName="Helvetica" size="12" isBold="false"/>
					</textElement>
				<text><![CDATA[(. . . . . . . . . . . . .  . . . . .)]]></text>
				</staticText>
				<staticText>
					<reportElement
						x="751"
						y="51"
						width="189"
						height="14"
						key="staticText-61"/>
					<box></box>
					<textElement textAlignment="Center">
						<font fontName="Arial" pdfFontName="Helvetica" size="11" isBold="false"/>
					</textElement>
				<text><![CDATA[Dibuat Oleh,]]></text>
				</staticText>
				<staticText>
					<reportElement
						x="758"
						y="99"
						width="183"
						height="19"
						key="staticText-62"/>
					<box></box>
					<textElement textAlignment="Center">
						<font fontName="Arial" pdfFontName="Helvetica" size="12" isBold="false"/>
					</textElement>
				<text><![CDATA[(. . . . . . . . . . . . .  . . . . .)]]></text>
				</staticText>
			</band>
		</pageFooter>
		<summary>
			<band height="0"  isSplitAllowed="true" >
			</band>
		</summary>
</jasperReport>
