<?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_sj_internal"
		 columnCount="1"
		 printOrder="Vertical"
		 orientation="Landscape"
		 pageWidth="963"
		 pageHeight="368"
		 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"/>
	<parameter name="revisi_ke" isForPrompting="true" class="java.lang.String"/>
	<queryString><![CDATA[call spiprint05_sj_internal($P{trans_no})]]></queryString>

	<field name="hdr_ftcompany_name" class="java.lang.String"/>
	<field name="hdr_ftcompany_add1" class="java.lang.String"/>
	<field name="hdr_ftcompany_ftcity" class="java.lang.String"/>
	<field name="hdr_ftcompany_ftstate" class="java.lang.String"/>
	<field name="hdr_ftcompany_fttelephone" class="java.lang.String"/>
	<field name="hdr_ftcompany_ftfax" class="java.lang.String"/>
	<field name="hdr_ftdo_no" class="java.lang.String"/>
	<field name="hdr_fdtrans_date" class="java.sql.Date"/>
	<field name="hdr_ftsppn_no" class="java.lang.String"/>
	<field name="hdr_ftpo_no" class="java.lang.String"/>
	<field name="hdr_ftspb_no" class="java.lang.String"/>
	<field name="hdr_ftsection" class="java.lang.String"/>
	<field name="hdr_ftpos_no" class="java.lang.String"/>
	<field name="hdr_ftmodel" class="java.lang.String"/>
	<field name="hdr_ftkendaraan" class="java.lang.String"/>
	<field name="hdr_ftiso" 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_ftprint_name" class="java.lang.String"/>
	<field name="det_fnqty" class="java.lang.Double"/>
	<field name="det_ftuom_code" class="java.lang.String"/>
	<field name="c_telp" class="java.lang.String"/>
	<field name="c_surat_jalan" class="java.lang.String"/>
	<field name="hdr_ftnotes" class="java.lang.String"/>
	<field name="det_ftdescription" class="java.lang.String"/>

	<variable name="city" class="java.lang.String" resetType="Report" calculation="Nothing">
		<variableExpression><![CDATA[$F{hdr_ftcompany_ftcity}+"-"+$F{hdr_ftcompany_ftstate}]]></variableExpression>
	</variable>
	<variable name="telp" class="java.lang.String" resetType="Report" calculation="Nothing">
		<variableExpression><![CDATA[$F{hdr_ftcompany_fttelephone}+"-"+$F{hdr_ftcompany_ftfax}]]></variableExpression>
	</variable>
	<variable name="urut" class="java.lang.Integer" resetType="Group" resetGroup="g_hdr_ftdo_no" calculation="Count">
		<variableExpression><![CDATA[new java.lang.Integer(0) ]]></variableExpression>
		<initialValueExpression><![CDATA[new java.lang.Integer(1) ]]></initialValueExpression>
	</variable>
	<variable name="qty" class="java.lang.Double" resetType="Group" resetGroup="g_hdr_ftdo_no" calculation="Sum">
		<variableExpression><![CDATA[$F{det_fnqty}]]></variableExpression>
	</variable>
	<variable name="c_telp" class="java.lang.String" resetType="Report" calculation="Nothing">
	</variable>
	<variable name="c_surat_jalan" class="java.lang.String" resetType="Report" calculation="Nothing">
		<variableExpression><![CDATA["SURAT JALAN No. "+$F{hdr_ftdo_no}]]></variableExpression>
	</variable>

		<group  name="g_hdr_ftdo_no" >
			<groupExpression><![CDATA[$F{hdr_ftdo_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="82"  isSplitAllowed="true" >
				<textField isStretchWithOverflow="false" isBlankWhenNull="false" evaluationTime="Now" hyperlinkType="None"  hyperlinkTarget="Self" >
					<reportElement
						x="2"
						y="0"
						width="212"
						height="14"
						key="textField-4"/>
					<box></box>
					<textElement markup="html">
						<font fontName="Tahoma" pdfFontName="Times-Bold" size="7" isBold="true" isPdfEmbedded ="false"/>
					</textElement>
				<textFieldExpression   class="java.lang.String"><![CDATA[$F{hdr_ftcompany_name}]]></textFieldExpression>
				</textField>
				<textField isStretchWithOverflow="false" isBlankWhenNull="false" evaluationTime="Now" hyperlinkType="None"  hyperlinkTarget="Self" >
					<reportElement
						x="234"
						y="0"
						width="100"
						height="14"
						key="textField"/>
					<box></box>
					<textElement textAlignment="Right">
						<font fontName="Tahoma" size="7"/>
					</textElement>
				<textFieldExpression   class="java.lang.String"><![CDATA[$F{hdr_ftcompany_ftcity}]]></textFieldExpression>
				</textField>
				<textField isStretchWithOverflow="false" pattern="dd-MMM-yyyy" isBlankWhenNull="false" evaluationTime="Now" hyperlinkType="None"  hyperlinkTarget="Self" >
					<reportElement
						x="343"
						y="0"
						width="86"
						height="14"
						key="textField"/>
					<box></box>
					<textElement>
						<font fontName="Tahoma" size="7"/>
					</textElement>
				<textFieldExpression   class="java.util.Date"><![CDATA[$F{hdr_fdtrans_date}]]></textFieldExpression>
				</textField>
				<staticText>
					<reportElement
						x="2"
						y="63"
						width="25"
						height="15"
						key="staticText-1"/>
					<box></box>
					<textElement textAlignment="Right">
						<font fontName="Tahoma" pdfFontName="Helvetica" size="7" isBold="false"/>
					</textElement>
				<text><![CDATA[NO.]]></text>
				</staticText>
				<line direction="TopDown">
					<reportElement
						x="1"
						y="61"
						width="428"
						height="2"
						key="line-1"/>
					<graphicElement stretchType="NoStretch"/>
				</line>
				<line direction="TopDown">
					<reportElement
						x="0"
						y="79"
						width="428"
						height="1"
						key="line-2"/>
					<graphicElement stretchType="NoStretch"/>
				</line>
				<staticText>
					<reportElement
						x="323"
						y="64"
						width="49"
						height="13"
						key="staticText-2"/>
					<box></box>
					<textElement textAlignment="Left" verticalAlignment="Top">
						<font fontName="Tahoma" pdfFontName="Helvetica" size="7" isBold="false"/>
					</textElement>
				<text><![CDATA[Satuan]]></text>
				</staticText>
				<staticText>
					<reportElement
						x="33"
						y="63"
						width="181"
						height="15"
						key="staticText-4"/>
					<box></box>
					<textElement>
						<font fontName="Tahoma" pdfFontName="Helvetica" size="7" isBold="false"/>
					</textElement>
				<text><![CDATA[Nama Barang]]></text>
				</staticText>
				<textField isStretchWithOverflow="true" isBlankWhenNull="false" evaluationTime="Now" hyperlinkType="None"  hyperlinkTarget="Self" >
					<reportElement
						x="2"
						y="17"
						width="430"
						height="16"
						key="textField"/>
					<box></box>
					<textElement verticalAlignment="Middle">
						<font fontName="Tahoma" pdfFontName="Helvetica-Bold" size="7" isBold="true"/>
					</textElement>
				<textFieldExpression   class="java.lang.String"><![CDATA[$F{c_surat_jalan}]]></textFieldExpression>
				</textField>
				<staticText>
					<reportElement
						x="382"
						y="64"
						width="40"
						height="13"
						key="staticText-41"/>
					<box></box>
					<textElement textAlignment="Right">
						<font fontName="Tahoma" pdfFontName="Helvetica" size="7" isBold="false"/>
					</textElement>
				<text><![CDATA[Qty]]></text>
				</staticText>
				<staticText>
					<reportElement
						x="4"
						y="36"
						width="73"
						height="11"
						key="staticText-42"/>
					<box></box>
					<textElement textAlignment="Left">
						<font fontName="Tahoma" size="7"/>
					</textElement>
				<text><![CDATA[No. SPB ]]></text>
				</staticText>
				<staticText>
					<reportElement
						x="4"
						y="48"
						width="73"
						height="11"
						key="staticText-43"/>
					<box></box>
					<textElement textAlignment="Left">
						<font fontName="Tahoma" size="7"/>
					</textElement>
				<text><![CDATA[Departement ]]></text>
				</staticText>
				<staticText>
					<reportElement
						x="224"
						y="36"
						width="79"
						height="11"
						key="staticText-44"/>
					<box></box>
					<textElement textAlignment="Left">
						<font fontName="Tahoma" size="7"/>
					</textElement>
				<text><![CDATA[No. POS/SPK ]]></text>
				</staticText>
				<staticText>
					<reportElement
						x="224"
						y="48"
						width="79"
						height="11"
						key="staticText-45"/>
					<box></box>
					<textElement textAlignment="Left">
						<font fontName="Tahoma" size="7"/>
					</textElement>
				<text><![CDATA[Model]]></text>
				</staticText>
				<textField isStretchWithOverflow="false" isBlankWhenNull="false" evaluationTime="Now" hyperlinkType="None"  hyperlinkTarget="Self" >
					<reportElement
						x="78"
						y="36"
						width="123"
						height="11"
						key="textField"/>
					<box></box>
					<textElement>
						<font fontName="Tahoma" size="7"/>
					</textElement>
				<textFieldExpression   class="java.lang.String"><![CDATA[": "+$F{hdr_ftspb_no}]]></textFieldExpression>
				</textField>
				<textField isStretchWithOverflow="false" isBlankWhenNull="false" evaluationTime="Now" hyperlinkType="None"  hyperlinkTarget="Self" >
					<reportElement
						x="78"
						y="48"
						width="123"
						height="11"
						key="textField-5"/>
					<box></box>
					<textElement>
						<font fontName="Tahoma" size="7"/>
					</textElement>
				<textFieldExpression   class="java.lang.String"><![CDATA[": "+$F{hdr_ftsection}]]></textFieldExpression>
				</textField>
				<textField isStretchWithOverflow="false" isBlankWhenNull="false" evaluationTime="Now" hyperlinkType="None"  hyperlinkTarget="Self" >
					<reportElement
						x="305"
						y="36"
						width="122"
						height="11"
						key="textField-6"/>
					<box></box>
					<textElement>
						<font fontName="Tahoma" size="7"/>
					</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="306"
						y="48"
						width="122"
						height="11"
						key="textField-7"/>
					<box></box>
					<textElement>
						<font fontName="Tahoma" size="7"/>
					</textElement>
				<textFieldExpression   class="java.lang.String"><![CDATA[": "+ $F{hdr_ftmodel}]]></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="27"
						height="15"
						key="textField"/>
					<box></box>
					<textElement textAlignment="Right" verticalAlignment="Middle">
						<font fontName="Tahoma" pdfFontName="Helvetica" size="7" 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="34"
						y="0"
						width="289"
						height="15"
						key="textField"/>
					<box></box>
					<textElement verticalAlignment="Middle">
						<font fontName="Tahoma" pdfFontName="Helvetica" size="7" isBold="false"/>
					</textElement>
				<textFieldExpression   class="java.lang.String"><![CDATA[$F{det_ftprint_name}]]></textFieldExpression>
				</textField>
				<textField isStretchWithOverflow="false" isBlankWhenNull="false" evaluationTime="Now" hyperlinkType="None"  hyperlinkTarget="Self" >
					<reportElement
						x="323"
						y="0"
						width="52"
						height="15"
						key="textField"/>
					<box></box>
					<textElement textAlignment="Left">
						<font fontName="Tahoma" size="7"/>
					</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="382"
						y="0"
						width="38"
						height="15"
						key="textField"/>
					<box></box>
					<textElement textAlignment="Right">
						<font fontName="Tahoma" size="7"/>
					</textElement>
				<textFieldExpression   class="java.lang.Double"><![CDATA[$F{det_fnqty}]]></textFieldExpression>
				</textField>
			</band>
		</detail>
		<columnFooter>
			<band height="0"  isSplitAllowed="true" >
			</band>
		</columnFooter>
		<pageFooter>
			<band height="86"  isSplitAllowed="true" >
				<staticText>
					<reportElement
						x="5"
						y="9"
						width="98"
						height="14"
						key="staticText-12"/>
					<box></box>
					<textElement textAlignment="Center">
						<font fontName="Arial" pdfFontName="Helvetica" size="7" isBold="false"/>
					</textElement>
				<text><![CDATA[Dibuat Oleh,]]></text>
				</staticText>
				<staticText>
					<reportElement
						x="157"
						y="9"
						width="107"
						height="14"
						key="staticText-13"/>
					<box></box>
					<textElement textAlignment="Center">
						<font fontName="Arial" pdfFontName="Helvetica" size="7" isBold="false"/>
					</textElement>
				<text><![CDATA[Disetujui,]]></text>
				</staticText>
				<staticText>
					<reportElement
						x="305"
						y="9"
						width="119"
						height="14"
						key="staticText-14"/>
					<box></box>
					<textElement textAlignment="Center">
						<font fontName="Arial" pdfFontName="Helvetica" size="7" isBold="false"/>
					</textElement>
				<text><![CDATA[Diterima Oleh,]]></text>
				</staticText>
				<staticText>
					<reportElement
						x="5"
						y="47"
						width="98"
						height="19"
						key="staticText-19"/>
					<box></box>
					<textElement textAlignment="Center">
						<font fontName="Arial" pdfFontName="Helvetica" size="7" isBold="false"/>
					</textElement>
				<text><![CDATA[(. . . . . . . . . . . . .  . . . . .)]]></text>
				</staticText>
				<line direction="TopDown">
					<reportElement
						x="0"
						y="4"
						width="429"
						height="0"
						key="line-4"/>
					<graphicElement stretchType="NoStretch"/>
				</line>
				<staticText>
					<reportElement
						x="157"
						y="47"
						width="107"
						height="19"
						key="staticText-31"/>
					<box></box>
					<textElement textAlignment="Center">
						<font fontName="Arial" pdfFontName="Helvetica" size="7" isBold="false"/>
					</textElement>
				<text><![CDATA[(. . . . . . . . . . . . .  . . . . .)]]></text>
				</staticText>
				<staticText>
					<reportElement
						x="305"
						y="47"
						width="119"
						height="19"
						key="staticText-32"/>
					<box></box>
					<textElement textAlignment="Center">
						<font fontName="Arial" pdfFontName="Helvetica" size="7" isBold="false"/>
					</textElement>
				<text><![CDATA[(. . . . . . . . . . . . .  . . . . .)]]></text>
				</staticText>
				<textField isStretchWithOverflow="false" pattern="EEE, d MMM yyyy HH:mm:ss" isBlankWhenNull="false" evaluationTime="Report" hyperlinkType="None"  hyperlinkTarget="Self" >
					<reportElement
						x="5"
						y="71"
						width="147"
						height="13"
						key="textField"/>
					<box></box>
					<textElement>
						<font fontName="Tahoma" size="7"/>
					</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="315"
						y="71"
						width="113"
						height="13"
						key="textField"/>
					<box></box>
					<textElement>
						<font fontName="Tahoma" size="7"/>
					</textElement>
				<textFieldExpression   class="java.lang.String"><![CDATA[$P{revisi_ke}]]></textFieldExpression>
				</textField>
				<textField isStretchWithOverflow="false" isBlankWhenNull="false" evaluationTime="Now" hyperlinkType="None"  hyperlinkTarget="Self" >
					<reportElement
						x="163"
						y="71"
						width="146"
						height="12"
						key="textField"/>
					<box></box>
					<textElement>
						<font fontName="Tahoma" size="7"/>
					</textElement>
				<textFieldExpression   class="java.lang.String"><![CDATA[$P{username}]]></textFieldExpression>
				</textField>
			</band>
		</pageFooter>
		<summary>
			<band height="0"  isSplitAllowed="true" >
			</band>
		</summary>
</jasperReport>
