<?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="report24_penjualan_detail_per_sales"
		 columnCount="1"
		 printOrder="Vertical"
		 orientation="Portrait"
		 pageWidth="1090"
		 pageHeight="1360"
		 columnWidth="1070"
		 columnSpacing="0"
		 leftMargin="10"
		 rightMargin="10"
		 topMargin="10"
		 bottomMargin="10"
		 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="sales_code" isForPrompting="true" class="java.lang.String"/>
	<parameter name="currency_code" isForPrompting="true" class="java.lang.String"/>
	<parameter name="date_from" isForPrompting="true" class="java.util.Date"/>
	<parameter name="date_end" isForPrompting="true" class="java.util.Date"/>
	<parameter name="username" isForPrompting="true" class="java.lang.String"/>
	<queryString><![CDATA[call spsreport24_penjualan_detail_per_sales($P{sales_code},$P{currency_code},$P{date_from},$P{date_end})]]></queryString>

	<field name="ftcompany_name" class="java.lang.String"/>
	<field name="ftsales_invoice_no" class="java.lang.String"/>
	<field name="ftso_no" class="java.lang.String"/>
	<field name="fdtrans_date" class="java.sql.Date"/>
	<field name="ftdo_no" class="java.lang.String"/>
	<field name="ftcustomer_name" class="java.lang.String"/>
	<field name="ftsales_code" class="java.lang.String"/>
	<field name="ftcurrency_code" class="java.lang.String"/>
	<field name="fcsub_amount" class="java.math.BigDecimal"/>
	<field name="fcdiscount" class="java.math.BigDecimal"/>
	<field name="fcother_cost" class="java.math.BigDecimal"/>
	<field name="fcvat" class="java.math.BigDecimal"/>
	<field name="fcamount" class="java.math.BigDecimal"/>
	<field name="ftterm_payment" class="java.lang.String"/>
	<field name="fcamount_adjustment" class="java.math.BigDecimal"/>
	<field name="fcamount_retur" class="java.math.BigDecimal"/>
	<field name="fnsales_type" class="java.lang.String"/>
	<field name="ftitem_code" class="java.lang.String"/>
	<field name="ftitem_name" class="java.lang.String"/>
	<field name="det_fcamount" class="java.math.BigDecimal"/>
	<field name="det_fnqty" class="java.lang.Double"/>
	<field name="det_fnindex" class="java.lang.Double"/>
	<field name="det_fctotal" class="java.math.BigDecimal"/>
	<field name="det_fcprice" class="java.math.BigDecimal"/>

	<variable name="urut" class="java.lang.Integer" resetType="Group" resetGroup="g_ftcustomer_code" calculation="Count">
		<variableExpression><![CDATA[new java.lang.Integer(0) ]]></variableExpression>
		<initialValueExpression><![CDATA[new java.lang.Integer(1) ]]></initialValueExpression>
	</variable>
	<variable name="total" class="java.math.BigDecimal" resetType="Group" resetGroup="g_ftcustomer_code" calculation="Sum">
		<variableExpression><![CDATA[$F{det_fcamount}]]></variableExpression>
	</variable>
	<variable name="total_retur" class="java.math.BigDecimal" resetType="Group" resetGroup="g_ftcustomer_code" calculation="Sum">
		<variableExpression><![CDATA[$F{fcamount_retur}]]></variableExpression>
	</variable>
	<variable name="total_adjustment" class="java.math.BigDecimal" resetType="Group" resetGroup="g_ftcustomer_code" calculation="Sum">
		<variableExpression><![CDATA[$F{fcamount_adjustment}]]></variableExpression>
	</variable>
	<variable name="total_qty" class="java.lang.Double" resetType="Group" resetGroup="g_ftcustomer_code" calculation="Sum">
		<variableExpression><![CDATA[$F{det_fnqty}]]></variableExpression>
	</variable>
	<variable name="total_amount" class="java.math.BigDecimal" resetType="Group" resetGroup="g_ftcustomer_code" calculation="Sum">
		<variableExpression><![CDATA[$F{det_fctotal}]]></variableExpression>
	</variable>
	<variable name="g_total_qty" class="java.lang.Double" resetType="Group" resetGroup="g_company" calculation="Sum">
		<variableExpression><![CDATA[$F{det_fnqty}]]></variableExpression>
	</variable>
	<variable name="g_total" class="java.math.BigDecimal" resetType="Group" resetGroup="g_company" calculation="Sum">
		<variableExpression><![CDATA[$F{det_fcamount}]]></variableExpression>
	</variable>
	<variable name="g_total_adjustment" class="java.math.BigDecimal" resetType="Group" resetGroup="g_company" calculation="Sum">
		<variableExpression><![CDATA[$F{fcamount_adjustment}]]></variableExpression>
	</variable>
	<variable name="g_total_retur" class="java.math.BigDecimal" resetType="Group" resetGroup="g_company" calculation="Sum">
		<variableExpression><![CDATA[$F{fcamount_retur}]]></variableExpression>
	</variable>
	<variable name="g_total_amount" class="java.math.BigDecimal" resetType="Group" resetGroup="g_company" calculation="Sum">
		<variableExpression><![CDATA[$F{det_fctotal}]]></variableExpression>
	</variable>
	<variable name="total_vat" class="java.math.BigDecimal" resetType="Group" resetGroup="g_ftcustomer_code" calculation="Sum">
		<variableExpression><![CDATA[$F{fcvat}]]></variableExpression>
	</variable>
	<variable name="g_total_vat" class="java.math.BigDecimal" resetType="Group" resetGroup="g_company" calculation="Sum">
		<variableExpression><![CDATA[$F{fcvat}]]></variableExpression>
	</variable>

		<group  name="g_company" >
			<groupExpression><![CDATA[$F{ftcompany_name}]]></groupExpression>
			<groupHeader>
			<band height="0"  isSplitAllowed="true" >
			</band>
			</groupHeader>
			<groupFooter>
			<band height="30"  isSplitAllowed="true" >
				<staticText>
					<reportElement
						x="0"
						y="0"
						width="580"
						height="30"
						key="staticText-23"/>
					<box>					<topPen lineWidth="0.5" lineStyle="Solid"/>
</box>
					<textElement textAlignment="Right" verticalAlignment="Middle">
						<font fontName="Arial" pdfFontName="Helvetica-Bold" size="10" isBold="true" isItalic="false"/>
					</textElement>
				<text><![CDATA[GRAND TOTAL : ]]></text>
				</staticText>
				<textField isStretchWithOverflow="false" pattern="#,##0.00" isBlankWhenNull="true" evaluationTime="Now" hyperlinkType="None"  hyperlinkTarget="Self" >
					<reportElement
						x="580"
						y="0"
						width="50"
						height="30"
						key="textField-21"/>
					<box>					<topPen lineWidth="0.5" lineStyle="Solid"/>
</box>
					<textElement textAlignment="Right" verticalAlignment="Middle">
						<font fontName="Arial" pdfFontName="Helvetica-Bold" size="10" isBold="true" isItalic="false"/>
					</textElement>
				<textFieldExpression   class="java.lang.Double"><![CDATA[$V{g_total_qty}]]></textFieldExpression>
				</textField>
				<textField isStretchWithOverflow="false" pattern="#,##0.00" isBlankWhenNull="true" evaluationTime="Now" hyperlinkType="None"  hyperlinkTarget="Self" >
					<reportElement
						x="630"
						y="0"
						width="140"
						height="30"
						key="textField-22"/>
					<box>					<topPen lineWidth="0.5" lineStyle="Solid"/>
</box>
					<textElement textAlignment="Right" verticalAlignment="Middle">
						<font fontName="Arial" pdfFontName="Helvetica-Bold" size="10" isBold="true" isItalic="false"/>
					</textElement>
				<textFieldExpression   class="java.math.BigDecimal"><![CDATA[$V{g_total}]]></textFieldExpression>
				</textField>
				<textField isStretchWithOverflow="false" pattern="#,##0.00" isBlankWhenNull="true" evaluationTime="Now" hyperlinkType="None"  hyperlinkTarget="Self" >
					<reportElement
						x="770"
						y="0"
						width="80"
						height="30"
						key="textField-23"/>
					<box>					<topPen lineWidth="0.5" lineStyle="Solid"/>
</box>
					<textElement textAlignment="Right" verticalAlignment="Middle">
						<font fontName="Arial" pdfFontName="Helvetica-Bold" size="10" isBold="true" isItalic="false"/>
					</textElement>
				<textFieldExpression   class="java.math.BigDecimal"><![CDATA[$V{g_total_adjustment}]]></textFieldExpression>
				</textField>
				<textField isStretchWithOverflow="false" pattern="#,##0.00" isBlankWhenNull="true" evaluationTime="Now" hyperlinkType="None"  hyperlinkTarget="Self" >
					<reportElement
						x="850"
						y="0"
						width="80"
						height="30"
						key="textField-24"/>
					<box>					<topPen lineWidth="0.5" lineStyle="Solid"/>
</box>
					<textElement textAlignment="Right" verticalAlignment="Middle">
						<font fontName="Arial" pdfFontName="Helvetica-Bold" size="10" isBold="true" isItalic="false"/>
					</textElement>
				<textFieldExpression   class="java.math.BigDecimal"><![CDATA[$V{g_total_retur}]]></textFieldExpression>
				</textField>
				<textField isStretchWithOverflow="false" pattern="#,##0.00" isBlankWhenNull="true" evaluationTime="Now" hyperlinkType="None"  hyperlinkTarget="Self" >
					<reportElement
						x="930"
						y="0"
						width="80"
						height="30"
						key="textField-25"/>
					<box>					<topPen lineWidth="0.5" lineStyle="Solid"/>
</box>
					<textElement textAlignment="Right" verticalAlignment="Middle">
						<font fontName="Arial" pdfFontName="Helvetica-Bold" size="10" isBold="true" isItalic="false"/>
					</textElement>
				<textFieldExpression   class="java.math.BigDecimal"><![CDATA[$V{g_total_amount}]]></textFieldExpression>
				</textField>
				<textField isStretchWithOverflow="false" pattern="#,##0.00" isBlankWhenNull="true" evaluationTime="Now" hyperlinkType="None"  hyperlinkTarget="Self" >
					<reportElement
						x="1010"
						y="0"
						width="60"
						height="30"
						key="textField-26"/>
					<box>					<topPen lineWidth="0.5" lineStyle="Solid"/>
</box>
					<textElement textAlignment="Right" verticalAlignment="Middle">
						<font fontName="Arial" pdfFontName="Helvetica-Bold" size="10" isBold="true" isItalic="false"/>
					</textElement>
				<textFieldExpression   class="java.math.BigDecimal"><![CDATA[$V{g_total_vat}]]></textFieldExpression>
				</textField>
			</band>
			</groupFooter>
		</group>
		<group  name="g_ftcustomer_code" >
			<groupExpression><![CDATA[$F{ftsales_code}]]></groupExpression>
			<groupHeader>
			<band height="30"  isSplitAllowed="true" >
				<textField isStretchWithOverflow="true" isBlankWhenNull="true" evaluationTime="Now" hyperlinkType="None"  hyperlinkTarget="Self" >
					<reportElement
						x="0"
						y="0"
						width="1070"
						height="30"
						key="textField-15"
						stretchType="RelativeToBandHeight"
						isPrintWhenDetailOverflows="true"/>
					<box></box>
					<textElement verticalAlignment="Middle">
						<font fontName="Arial" pdfFontName="Helvetica-Bold" size="10" isBold="true"/>
					</textElement>
				<textFieldExpression   class="java.lang.String"><![CDATA[$F{ftsales_code}]]></textFieldExpression>
				</textField>
			</band>
			</groupHeader>
			<groupFooter>
			<band height="30"  isSplitAllowed="true" >
				<staticText>
					<reportElement
						x="0"
						y="0"
						width="580"
						height="30"
						key="staticText-14"/>
					<box>					<topPen lineWidth="0.5" lineStyle="Solid"/>
</box>
					<textElement textAlignment="Right" verticalAlignment="Middle">
						<font fontName="Arial" pdfFontName="Helvetica-Bold" size="10" isBold="true" isItalic="false"/>
					</textElement>
				<text><![CDATA[Total : ]]></text>
				</staticText>
				<textField isStretchWithOverflow="false" pattern="#,##0.00" isBlankWhenNull="false" evaluationTime="Now" hyperlinkType="None"  hyperlinkTarget="Self" >
					<reportElement
						x="630"
						y="0"
						width="140"
						height="30"
						key="textField-11"/>
					<box>					<topPen lineWidth="0.5" lineStyle="Solid"/>
</box>
					<textElement textAlignment="Right" verticalAlignment="Middle">
						<font fontName="Arial" pdfFontName="Helvetica-Bold" size="10" isBold="true" isItalic="false"/>
					</textElement>
				<textFieldExpression   class="java.math.BigDecimal"><![CDATA[$V{total}]]></textFieldExpression>
				</textField>
				<textField isStretchWithOverflow="false" pattern="#,##0.00" isBlankWhenNull="false" evaluationTime="Now" hyperlinkType="None"  hyperlinkTarget="Self" >
					<reportElement
						x="770"
						y="0"
						width="80"
						height="30"
						key="textField-12"/>
					<box>					<topPen lineWidth="0.5" lineStyle="Solid"/>
</box>
					<textElement textAlignment="Right" verticalAlignment="Middle">
						<font fontName="Arial" pdfFontName="Helvetica-Bold" size="10" isBold="true" isItalic="false"/>
					</textElement>
				<textFieldExpression   class="java.math.BigDecimal"><![CDATA[$V{total_adjustment}]]></textFieldExpression>
				</textField>
				<textField isStretchWithOverflow="false" pattern="#,##0.00" isBlankWhenNull="false" evaluationTime="Now" hyperlinkType="None"  hyperlinkTarget="Self" >
					<reportElement
						x="850"
						y="0"
						width="80"
						height="30"
						key="textField-14"/>
					<box>					<topPen lineWidth="0.5" lineStyle="Solid"/>
</box>
					<textElement textAlignment="Right" verticalAlignment="Middle">
						<font fontName="Arial" pdfFontName="Helvetica-Bold" size="10" isBold="true" isItalic="false"/>
					</textElement>
				<textFieldExpression   class="java.math.BigDecimal"><![CDATA[$V{total_retur}]]></textFieldExpression>
				</textField>
				<textField isStretchWithOverflow="false" pattern="#,##0.00" isBlankWhenNull="true" evaluationTime="Now" hyperlinkType="None"  hyperlinkTarget="Self" >
					<reportElement
						x="580"
						y="0"
						width="50"
						height="30"
						key="textField-17"/>
					<box>					<topPen lineWidth="0.5" lineStyle="Solid"/>
</box>
					<textElement textAlignment="Right" verticalAlignment="Middle">
						<font fontName="Arial" pdfFontName="Helvetica-Bold" size="10" isBold="true" isItalic="false"/>
					</textElement>
				<textFieldExpression   class="java.lang.Double"><![CDATA[$V{total_qty}]]></textFieldExpression>
				</textField>
				<textField isStretchWithOverflow="false" pattern="#,##0.00" isBlankWhenNull="true" evaluationTime="Now" hyperlinkType="None"  hyperlinkTarget="Self" >
					<reportElement
						x="930"
						y="0"
						width="80"
						height="30"
						key="textField-20"/>
					<box>					<topPen lineWidth="0.5" lineStyle="Solid"/>
</box>
					<textElement textAlignment="Right" verticalAlignment="Middle">
						<font fontName="Arial" pdfFontName="Helvetica-Bold" size="10" isBold="true" isItalic="false"/>
					</textElement>
				<textFieldExpression   class="java.math.BigDecimal"><![CDATA[$V{total_amount}]]></textFieldExpression>
				</textField>
				<textField isStretchWithOverflow="false" pattern="#,##0.00" isBlankWhenNull="true" evaluationTime="Now" hyperlinkType="None"  hyperlinkTarget="Self" >
					<reportElement
						x="1010"
						y="0"
						width="60"
						height="30"
						key="textField-27"/>
					<box>					<topPen lineWidth="0.5" lineStyle="Solid"/>
</box>
					<textElement textAlignment="Right" verticalAlignment="Middle">
						<font fontName="Arial" pdfFontName="Helvetica-Bold" size="10" isBold="true" isItalic="false"/>
					</textElement>
				<textFieldExpression   class="java.math.BigDecimal"><![CDATA[$V{total_vat}]]></textFieldExpression>
				</textField>
			</band>
			</groupFooter>
		</group>
		<background>
			<band height="0"  isSplitAllowed="true" >
			</band>
		</background>
		<title>
			<band height="0"  isSplitAllowed="true" >
			</band>
		</title>
		<pageHeader>
			<band height="81"  isSplitAllowed="true" >
				<textField isStretchWithOverflow="false" isBlankWhenNull="false" evaluationTime="Now" hyperlinkType="None"  hyperlinkTarget="Self" >
					<reportElement
						x="0"
						y="0"
						width="850"
						height="20"
						key="textField"/>
					<box></box>
					<textElement>
						<font fontName="Arial" size="10"/>
					</textElement>
				<textFieldExpression   class="java.lang.String"><![CDATA[$F{ftcompany_name}]]></textFieldExpression>
				</textField>
				<staticText>
					<reportElement
						x="0"
						y="20"
						width="1070"
						height="25"
						key="staticText-1"/>
					<box></box>
					<textElement textAlignment="Center" verticalAlignment="Middle">
						<font fontName="Arial" pdfFontName="Helvetica-Bold" size="12" isBold="true"/>
					</textElement>
				<text><![CDATA[LAPORAN PENJUALAN DETAIL PER SALESMAN]]></text>
				</staticText>
				<staticText>
					<reportElement
						x="0"
						y="45"
						width="115"
						height="18"
						key="staticText-2"/>
					<box></box>
					<textElement textAlignment="Right">
						<font fontName="Arial" size="10"/>
					</textElement>
				<text><![CDATA[Periode : ]]></text>
				</staticText>
				<textField isStretchWithOverflow="false" pattern="dd-MMM-yyyy" isBlankWhenNull="false" evaluationTime="Now" hyperlinkType="None"  hyperlinkTarget="Self" >
					<reportElement
						x="115"
						y="45"
						width="55"
						height="18"
						key="textField-1"/>
					<box></box>
					<textElement textAlignment="Right">
						<font fontName="Arial" pdfFontName="Helvetica" size="10" isBold="false" isStrikeThrough="false" />
					</textElement>
				<textFieldExpression   class="java.util.Date"><![CDATA[$P{date_from}]]></textFieldExpression>
				</textField>
				<textField isStretchWithOverflow="false" pattern="dd-MMM-yyyy" isBlankWhenNull="false" evaluationTime="Now" hyperlinkType="None"  hyperlinkTarget="Self" >
					<reportElement
						x="170"
						y="45"
						width="410"
						height="18"
						key="textField-2"/>
					<box></box>
					<textElement textAlignment="Left">
						<font fontName="Arial" size="10"/>
					</textElement>
				<textFieldExpression   class="java.lang.String"><![CDATA[" s/d " + new SimpleDateFormat("dd-MMM-yyyy").format($P{date_end})]]></textFieldExpression>
				</textField>
				<textField isStretchWithOverflow="false" isBlankWhenNull="false" evaluationTime="Now" hyperlinkType="None"  hyperlinkTarget="Self" >
					<reportElement
						x="850"
						y="0"
						width="80"
						height="20"
						key="textField"/>
					<box></box>
					<textElement textAlignment="Right">
						<font fontName="Arial" size="10"/>
					</textElement>
				<textFieldExpression   class="java.lang.String"><![CDATA["Page " + $V{PAGE_NUMBER} + " of "]]></textFieldExpression>
				</textField>
				<textField isStretchWithOverflow="false" isBlankWhenNull="false" evaluationTime="Report" hyperlinkType="None"  hyperlinkTarget="Self" >
					<reportElement
						x="930"
						y="0"
						width="140"
						height="20"
						key="textField"/>
					<box></box>
					<textElement>
						<font fontName="Arial" size="10"/>
					</textElement>
				<textFieldExpression   class="java.lang.String"><![CDATA[" " + $V{PAGE_NUMBER} + ""]]></textFieldExpression>
				</textField>
				<staticText>
					<reportElement
						x="0"
						y="63"
						width="25"
						height="18"
						key="staticText-4"/>
					<box>					<topPen lineWidth="0.5" lineStyle="Solid"/>
					<bottomPen lineWidth="0.5" lineStyle="Solid"/>
</box>
					<textElement verticalAlignment="Middle">
						<font fontName="Arial" pdfFontName="Helvetica-Bold" size="10" isBold="true"/>
					</textElement>
				<text><![CDATA[No.]]></text>
				</staticText>
				<staticText>
					<reportElement
						x="25"
						y="63"
						width="90"
						height="18"
						key="staticText-5"/>
					<box>					<topPen lineWidth="0.5" lineStyle="Solid"/>
					<bottomPen lineWidth="0.5" lineStyle="Solid"/>
</box>
					<textElement verticalAlignment="Middle">
						<font fontName="Arial" pdfFontName="Helvetica-Bold" size="10" isBold="true"/>
					</textElement>
				<text><![CDATA[No. Invoice]]></text>
				</staticText>
				<staticText>
					<reportElement
						x="115"
						y="63"
						width="55"
						height="18"
						key="staticText-6"/>
					<box>					<topPen lineWidth="0.5" lineStyle="Solid"/>
					<bottomPen lineWidth="0.5" lineStyle="Solid"/>
</box>
					<textElement verticalAlignment="Middle">
						<font fontName="Arial" pdfFontName="Helvetica-Bold" size="10" isBold="true"/>
					</textElement>
				<text><![CDATA[Tanggal]]></text>
				</staticText>
				<staticText>
					<reportElement
						x="260"
						y="63"
						width="120"
						height="18"
						key="staticText-7"/>
					<box>					<topPen lineWidth="0.5" lineStyle="Solid"/>
					<bottomPen lineWidth="0.5" lineStyle="Solid"/>
</box>
					<textElement verticalAlignment="Middle">
						<font fontName="Arial" pdfFontName="Helvetica-Bold" size="10" isBold="true"/>
					</textElement>
				<text><![CDATA[Customer]]></text>
				</staticText>
				<staticText>
					<reportElement
						x="850"
						y="63"
						width="80"
						height="18"
						key="staticText-15"/>
					<box>					<topPen lineWidth="0.5" lineStyle="Solid"/>
					<bottomPen lineWidth="0.5" lineStyle="Solid"/>
</box>
					<textElement textAlignment="Right" verticalAlignment="Middle">
						<font fontName="Arial" pdfFontName="Helvetica-Bold" size="10" isBold="true"/>
					</textElement>
				<text><![CDATA[Retur]]></text>
				</staticText>
				<staticText>
					<reportElement
						x="690"
						y="63"
						width="80"
						height="18"
						key="staticText-16"/>
					<box>					<topPen lineWidth="0.5" lineStyle="Solid"/>
					<bottomPen lineWidth="0.5" lineStyle="Solid"/>
</box>
					<textElement textAlignment="Right" verticalAlignment="Middle">
						<font fontName="Arial" pdfFontName="Helvetica-Bold" size="10" isBold="true"/>
					</textElement>
				<text><![CDATA[Jumlah]]></text>
				</staticText>
				<staticText>
					<reportElement
						x="170"
						y="63"
						width="90"
						height="18"
						key="staticText-18"/>
					<box>					<topPen lineWidth="0.5" lineStyle="Solid"/>
					<bottomPen lineWidth="0.5" lineStyle="Solid"/>
</box>
					<textElement verticalAlignment="Middle">
						<font fontName="Arial" pdfFontName="Helvetica-Bold" size="10" isBold="true"/>
					</textElement>
				<text><![CDATA[No. Order]]></text>
				</staticText>
				<staticText>
					<reportElement
						x="770"
						y="63"
						width="80"
						height="18"
						key="staticText-19"/>
					<box>					<topPen lineWidth="0.5" lineStyle="Solid"/>
					<bottomPen lineWidth="0.5" lineStyle="Solid"/>
</box>
					<textElement textAlignment="Right" verticalAlignment="Middle">
						<font fontName="Arial" pdfFontName="Helvetica-Bold" size="10" isBold="true"/>
					</textElement>
				<text><![CDATA[Adjustment]]></text>
				</staticText>
				<staticText>
					<reportElement
						x="380"
						y="63"
						width="60"
						height="18"
						key="staticText-20"/>
					<box>					<topPen lineWidth="0.5" lineStyle="Solid"/>
					<bottomPen lineWidth="0.5" lineStyle="Solid"/>
</box>
					<textElement verticalAlignment="Middle">
						<font fontName="Arial" pdfFontName="Helvetica-Bold" size="10" isBold="true"/>
					</textElement>
				<text><![CDATA[Kode	]]></text>
				</staticText>
				<staticText>
					<reportElement
						x="580"
						y="63"
						width="50"
						height="18"
						key="staticText-21"/>
					<box>					<topPen lineWidth="0.5" lineStyle="Solid"/>
					<bottomPen lineWidth="0.5" lineStyle="Solid"/>
</box>
					<textElement textAlignment="Right" verticalAlignment="Middle">
						<font fontName="Arial" pdfFontName="Helvetica-Bold" size="10" isBold="true"/>
					</textElement>
				<text><![CDATA[Qty]]></text>
				</staticText>
				<staticText>
					<reportElement
						x="930"
						y="63"
						width="80"
						height="18"
						key="staticText-22"/>
					<box>					<topPen lineWidth="0.5" lineStyle="Solid"/>
					<bottomPen lineWidth="0.5" lineStyle="Solid"/>
</box>
					<textElement textAlignment="Right" verticalAlignment="Middle">
						<font fontName="Arial" pdfFontName="Helvetica-Bold" size="10" isBold="true"/>
					</textElement>
				<text><![CDATA[Total (IDR)]]></text>
				</staticText>
				<staticText>
					<reportElement
						x="1010"
						y="63"
						width="60"
						height="18"
						key="staticText-24"/>
					<box>					<topPen lineWidth="0.5" lineStyle="Solid"/>
					<bottomPen lineWidth="0.5" lineStyle="Solid"/>
</box>
					<textElement textAlignment="Right" verticalAlignment="Middle">
						<font fontName="Arial" pdfFontName="Helvetica-Bold" size="10" isBold="true"/>
					</textElement>
				<text><![CDATA[Pajak]]></text>
				</staticText>
				<staticText>
					<reportElement
						x="630"
						y="63"
						width="60"
						height="18"
						key="staticText-25"/>
					<box>					<topPen lineWidth="0.5" lineStyle="Solid"/>
					<bottomPen lineWidth="0.5" lineStyle="Solid"/>
</box>
					<textElement textAlignment="Right" verticalAlignment="Middle">
						<font fontName="Arial" pdfFontName="Helvetica-Bold" size="10" isBold="true"/>
					</textElement>
				<text><![CDATA[Harga]]></text>
				</staticText>
				<staticText>
					<reportElement
						x="440"
						y="63"
						width="140"
						height="18"
						key="staticText-26"/>
					<box>					<topPen lineWidth="0.5" lineStyle="Solid"/>
					<bottomPen lineWidth="0.5" lineStyle="Solid"/>
</box>
					<textElement verticalAlignment="Middle">
						<font fontName="Arial" pdfFontName="Helvetica-Bold" size="10" isBold="true"/>
					</textElement>
				<text><![CDATA[Nama Barang]]></text>
				</staticText>
			</band>
		</pageHeader>
		<columnHeader>
			<band height="0"  isSplitAllowed="true" >
			</band>
		</columnHeader>
		<detail>
			<band height="18"  isSplitAllowed="true" >
				<textField isStretchWithOverflow="true" isBlankWhenNull="false" evaluationTime="Now" hyperlinkType="None"  hyperlinkTarget="Self" >
					<reportElement
						x="0"
						y="0"
						width="25"
						height="18"
						key="textField"
						stretchType="RelativeToTallestObject"/>
					<box></box>
					<textElement>
						<font fontName="Arial" size="10"/>
					</textElement>
				<textFieldExpression   class="java.lang.Integer"><![CDATA[$V{urut}]]></textFieldExpression>
				</textField>
				<textField isStretchWithOverflow="true" isBlankWhenNull="false" evaluationTime="Now" hyperlinkType="None"  hyperlinkTarget="Self" >
					<reportElement
						x="25"
						y="0"
						width="90"
						height="18"
						key="textField"
						stretchType="RelativeToTallestObject"
						isPrintRepeatedValues="false"/>
					<box></box>
					<textElement>
						<font fontName="Arial" size="10"/>
					</textElement>
				<textFieldExpression   class="java.lang.String"><![CDATA[$F{ftsales_invoice_no}]]></textFieldExpression>
				</textField>
				<textField isStretchWithOverflow="true" pattern="dd-MMM-yy" isBlankWhenNull="false" evaluationTime="Now" hyperlinkType="None"  hyperlinkTarget="Self" >
					<reportElement
						x="115"
						y="0"
						width="55"
						height="18"
						key="textField"
						stretchType="RelativeToTallestObject">
							<printWhenExpression><![CDATA[$F{det_fnindex}.doubleValue() == 1 ? Boolean.TRUE : Boolean.FALSE]]></printWhenExpression>
						</reportElement>
					<box></box>
					<textElement>
						<font fontName="Arial" size="10"/>
					</textElement>
				<textFieldExpression   class="java.util.Date"><![CDATA[$F{fdtrans_date}]]></textFieldExpression>
				</textField>
				<textField isStretchWithOverflow="true" isBlankWhenNull="false" evaluationTime="Now" hyperlinkType="None"  hyperlinkTarget="Self" >
					<reportElement
						x="260"
						y="0"
						width="120"
						height="18"
						key="textField"
						stretchType="RelativeToTallestObject">
							<printWhenExpression><![CDATA[$F{det_fnindex}.doubleValue() == 1 ? Boolean.TRUE : Boolean.FALSE]]></printWhenExpression>
						</reportElement>
					<box></box>
					<textElement>
						<font fontName="Arial" size="10"/>
					</textElement>
				<textFieldExpression   class="java.lang.String"><![CDATA[$F{ftcustomer_name}]]></textFieldExpression>
				</textField>
				<textField isStretchWithOverflow="true" pattern="#,##0.00" isBlankWhenNull="false" evaluationTime="Now" hyperlinkType="None"  hyperlinkTarget="Self" >
					<reportElement
						x="850"
						y="0"
						width="80"
						height="18"
						key="textField-6"
						stretchType="RelativeToTallestObject"/>
					<box></box>
					<textElement textAlignment="Right">
						<font fontName="Arial" size="10"/>
					</textElement>
				<textFieldExpression   class="java.math.BigDecimal"><![CDATA[$F{fcamount_retur}]]></textFieldExpression>
				</textField>
				<textField isStretchWithOverflow="true" pattern="#,##0.00" isBlankWhenNull="false" evaluationTime="Now" hyperlinkType="None"  hyperlinkTarget="Self" >
					<reportElement
						x="690"
						y="0"
						width="80"
						height="18"
						key="textField-7"
						stretchType="RelativeToTallestObject"/>
					<box></box>
					<textElement textAlignment="Right">
						<font fontName="Arial" size="10"/>
					</textElement>
				<textFieldExpression   class="java.math.BigDecimal"><![CDATA[$F{det_fcamount}]]></textFieldExpression>
				</textField>
				<textField isStretchWithOverflow="true" isBlankWhenNull="false" evaluationTime="Now" hyperlinkType="None"  hyperlinkTarget="Self" >
					<reportElement
						x="170"
						y="0"
						width="90"
						height="18"
						key="textField-9"
						stretchType="RelativeToTallestObject">
							<printWhenExpression><![CDATA[$F{det_fnindex}.doubleValue() == 1 ? Boolean.TRUE : Boolean.FALSE]]></printWhenExpression>
						</reportElement>
					<box></box>
					<textElement>
						<font fontName="Arial" size="10"/>
					</textElement>
				<textFieldExpression   class="java.lang.String"><![CDATA[$F{ftso_no}]]></textFieldExpression>
				</textField>
				<textField isStretchWithOverflow="true" pattern="#,##0.00" isBlankWhenNull="false" evaluationTime="Now" hyperlinkType="None"  hyperlinkTarget="Self" >
					<reportElement
						x="770"
						y="0"
						width="80"
						height="18"
						key="textField-13"
						stretchType="RelativeToTallestObject"/>
					<box></box>
					<textElement textAlignment="Right">
						<font fontName="Arial" size="10"/>
					</textElement>
				<textFieldExpression   class="java.math.BigDecimal"><![CDATA[$F{fcamount_adjustment}]]></textFieldExpression>
				</textField>
				<textField isStretchWithOverflow="true" isBlankWhenNull="false" evaluationTime="Now" hyperlinkType="None"  hyperlinkTarget="Self" >
					<reportElement
						x="380"
						y="0"
						width="60"
						height="18"
						key="textField-16"
						stretchType="RelativeToTallestObject"
						isPrintWhenDetailOverflows="true"/>
					<box></box>
					<textElement>
						<font fontName="Arial" size="10"/>
					</textElement>
				<textFieldExpression   class="java.lang.String"><![CDATA[$F{ftitem_code}]]></textFieldExpression>
				</textField>
				<textField isStretchWithOverflow="true" pattern="#,##0.00" isBlankWhenNull="true" evaluationTime="Now" hyperlinkType="None"  hyperlinkTarget="Self" >
					<reportElement
						x="580"
						y="0"
						width="50"
						height="18"
						key="textField-18"
						stretchType="RelativeToTallestObject"/>
					<box></box>
					<textElement textAlignment="Right">
						<font fontName="Arial" size="10"/>
					</textElement>
				<textFieldExpression   class="java.lang.Double"><![CDATA[$F{det_fnqty}]]></textFieldExpression>
				</textField>
				<textField isStretchWithOverflow="true" pattern="#,##0.00" isBlankWhenNull="true" evaluationTime="Now" hyperlinkType="None"  hyperlinkTarget="Self" >
					<reportElement
						x="930"
						y="0"
						width="80"
						height="18"
						key="textField-19"
						stretchType="RelativeToTallestObject"/>
					<box></box>
					<textElement textAlignment="Right">
						<font fontName="Arial" size="10"/>
					</textElement>
				<textFieldExpression   class="java.math.BigDecimal"><![CDATA[$F{det_fctotal}]]></textFieldExpression>
				</textField>
				<textField isStretchWithOverflow="true" pattern="#,##0.00" isBlankWhenNull="true" evaluationTime="Now" hyperlinkType="None"  hyperlinkTarget="Self" >
					<reportElement
						x="1010"
						y="0"
						width="60"
						height="18"
						key="textField-28"
						stretchType="RelativeToTallestObject"/>
					<box></box>
					<textElement textAlignment="Right">
						<font fontName="Arial" size="10"/>
					</textElement>
				<textFieldExpression   class="java.math.BigDecimal"><![CDATA[$F{fcvat}]]></textFieldExpression>
				</textField>
				<textField isStretchWithOverflow="true" pattern="#,##0.00" isBlankWhenNull="true" evaluationTime="Now" hyperlinkType="None"  hyperlinkTarget="Self" >
					<reportElement
						x="630"
						y="0"
						width="60"
						height="18"
						key="textField-29"
						stretchType="RelativeToTallestObject"/>
					<box></box>
					<textElement textAlignment="Right">
						<font fontName="Arial" size="10"/>
					</textElement>
				<textFieldExpression   class="java.math.BigDecimal"><![CDATA[$F{det_fcprice}]]></textFieldExpression>
				</textField>
				<textField isStretchWithOverflow="true" isBlankWhenNull="false" evaluationTime="Now" hyperlinkType="None"  hyperlinkTarget="Self" >
					<reportElement
						x="440"
						y="0"
						width="140"
						height="18"
						key="textField-30"
						stretchType="RelativeToTallestObject"
						isPrintWhenDetailOverflows="true"/>
					<box></box>
					<textElement>
						<font fontName="Arial" size="10"/>
					</textElement>
				<textFieldExpression   class="java.lang.String"><![CDATA[$F{ftitem_name}]]></textFieldExpression>
				</textField>
			</band>
		</detail>
		<columnFooter>
			<band height="0"  isSplitAllowed="true" >
			</band>
		</columnFooter>
		<pageFooter>
			<band height="30"  isSplitAllowed="true" >
				<textField isStretchWithOverflow="false" pattern="EEE, d MMM yyyy HH:mm:ss" isBlankWhenNull="false" evaluationTime="Report" hyperlinkType="None"  hyperlinkTarget="Self" >
					<reportElement
						x="850"
						y="0"
						width="220"
						height="30"
						key="textField-4"/>
					<box></box>
					<textElement textAlignment="Right" verticalAlignment="Bottom">
						<font fontName="Arial" pdfFontName="Helvetica-Oblique" size="10" 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="0"
						y="0"
						width="850"
						height="30"
						key="textField-5"/>
					<box></box>
					<textElement textAlignment="Right" verticalAlignment="Bottom">
						<font fontName="Arial" size="10"/>
					</textElement>
				<textFieldExpression   class="java.lang.String"><![CDATA[$P{username}]]></textFieldExpression>
				</textField>
			</band>
		</pageFooter>
		<summary>
			<band height="0"  isSplitAllowed="true" >
			</band>
		</summary>
</jasperReport>
