<?xml version="1.0" encoding="UTF-8"?>
<jasperReport xmlns="http://jasperreports.sourceforge.net/jasperreports" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://jasperreports.sourceforge.net/jasperreports http://jasperreports.sourceforge.net/xsd/jasperreport.xsd" name="wave_sale_order_item_Res_det_1" pageWidth="756" pageHeight="595" orientation="Landscape" whenNoDataType="NoDataSection" columnWidth="720" leftMargin="18" rightMargin="18" topMargin="3" bottomMargin="18">
	<property name="ireport.zoom" value="1.0"/>
	<property name="ireport.x" value="0"/>
	<property name="ireport.y" value="0"/>
	<queryString language="SQL">
		<![CDATA[select sale_order,line_no,reas_detail,part_qty from sorditem_temp
order by line_no]]>
	</queryString>
	<field name="SALE_ORDER" class="java.lang.String"/>
	<field name="LINE_NO" class="java.lang.String"/>
	<field name="REAS_DETAIL" class="java.lang.String"/>
	<field name="PART_QTY" class="java.lang.String"/>
	<background>
		<band splitType="Stretch"/>
	</background>
	<title>
		<band height="20" splitType="Stretch">
			<staticText>
				<reportElement x="29" y="0" width="385" height="20"/>
				<textElement>
					<font isBold="true"/>
				</textElement>
				<text><![CDATA[Sale order Item Reason Details]]></text>
			</staticText>
		</band>
	</title>
	<pageHeader>
		<band splitType="Stretch"/>
	</pageHeader>
	<columnHeader>
		<band height="20" splitType="Stretch">
			<staticText>
				<reportElement x="28" y="0" width="77" height="20"/>
				<textElement textAlignment="Center">
					<font isBold="true"/>
				</textElement>
				<text><![CDATA[Sale Order]]></text>
			</staticText>
			<staticText>
				<reportElement x="104" y="0" width="40" height="20"/>
				<textElement textAlignment="Center">
					<font isBold="true"/>
				</textElement>
				<text><![CDATA[Line No]]></text>
			</staticText>
			<staticText>
				<reportElement x="146" y="0" width="166" height="20"/>
				<textElement textAlignment="Center">
					<font isBold="true"/>
				</textElement>
				<text><![CDATA[Reason Detail]]></text>
			</staticText>
			<staticText>
				<reportElement x="312" y="0" width="72" height="20"/>
				<textElement textAlignment="Center">
					<font isBold="true"/>
				</textElement>
				<text><![CDATA[Part Qty]]></text>
			</staticText>
			<line>
				<reportElement x="27" y="19" width="358" height="1"/>
			</line>
			<line>
				<reportElement x="27" y="0" width="358" height="1"/>
			</line>
			<line>
				<reportElement x="384" y="0" width="1" height="20"/>
			</line>
			<line>
				<reportElement x="311" y="0" width="1" height="20"/>
			</line>
			<line>
				<reportElement x="144" y="0" width="1" height="20"/>
			</line>
			<line>
				<reportElement x="103" y="0" width="1" height="20"/>
			</line>
			<line>
				<reportElement x="27" y="0" width="1" height="20"/>
			</line>
		</band>
	</columnHeader>
	<detail>
		<band height="20" splitType="Stretch">
			<textField isBlankWhenNull="true">
				<reportElement x="29" y="0" width="73" height="20"/>
				<textElement>
					<font size="8"/>
				</textElement>
				<textFieldExpression><![CDATA[$F{SALE_ORDER}]]></textFieldExpression>
			</textField>
			<textField isBlankWhenNull="true">
				<reportElement x="312" y="0" width="73" height="20"/>
				<textElement textAlignment="Right">
					<font size="8"/>
				</textElement>
				<textFieldExpression><![CDATA[$F{PART_QTY}]]></textFieldExpression>
			</textField>
			<line>
				<reportElement x="27" y="0" width="358" height="1"/>
			</line>
			<line>
				<reportElement x="27" y="19" width="358" height="1"/>
			</line>
			<line>
				<reportElement x="27" y="0" width="1" height="19"/>
			</line>
			<line>
				<reportElement x="103" y="1" width="1" height="19"/>
			</line>
			<line>
				<reportElement x="144" y="1" width="1" height="19"/>
			</line>
			<line>
				<reportElement x="311" y="1" width="1" height="19"/>
			</line>
			<line>
				<reportElement x="384" y="0" width="1" height="19"/>
			</line>
			<textField isBlankWhenNull="true">
				<reportElement x="105" y="0" width="39" height="20"/>
				<textElement>
					<font size="8"/>
				</textElement>
				<textFieldExpression><![CDATA[$F{LINE_NO}]]></textFieldExpression>
			</textField>
			<textField isBlankWhenNull="true">
				<reportElement positionType="Float" stretchType="RelativeToBandHeight" x="146" y="0" width="166" height="20"/>
				<textElement>
					<font size="8"/>
				</textElement>
				<textFieldExpression><![CDATA[$F{REAS_DETAIL}]]></textFieldExpression>
			</textField>
		</band>
	</detail>
	<columnFooter>
		<band splitType="Stretch"/>
	</columnFooter>
	<pageFooter>
		<band splitType="Stretch"/>
	</pageFooter>
	<summary>
		<band splitType="Stretch"/>
	</summary>
	<noData>
		<band height="64">
			<staticText>
				<reportElement x="29" y="4" width="385" height="20"/>
				<textElement>
					<font isBold="true"/>
				</textElement>
				<text><![CDATA[Sale order Item Reason Details]]></text>
			</staticText>
			<line>
				<reportElement x="144" y="25" width="1" height="20"/>
			</line>
			<line>
				<reportElement x="27" y="44" width="358" height="1"/>
			</line>
			<staticText>
				<reportElement x="104" y="25" width="40" height="20"/>
				<textElement textAlignment="Center">
					<font isBold="true"/>
				</textElement>
				<text><![CDATA[Line No]]></text>
			</staticText>
			<line>
				<reportElement x="385" y="25" width="1" height="20"/>
			</line>
			<staticText>
				<reportElement x="146" y="25" width="166" height="20"/>
				<textElement textAlignment="Center">
					<font isBold="true"/>
				</textElement>
				<text><![CDATA[Reason Detail]]></text>
			</staticText>
			<line>
				<reportElement x="27" y="25" width="1" height="20"/>
			</line>
			<line>
				<reportElement x="311" y="25" width="1" height="20"/>
			</line>
			<line>
				<reportElement x="27" y="25" width="358" height="1"/>
			</line>
			<line>
				<reportElement x="103" y="25" width="1" height="20"/>
			</line>
			<staticText>
				<reportElement x="312" y="25" width="72" height="20"/>
				<textElement textAlignment="Center">
					<font isBold="true"/>
				</textElement>
				<text><![CDATA[Part Qty]]></text>
			</staticText>
			<staticText>
				<reportElement x="28" y="25" width="66" height="20"/>
				<textElement textAlignment="Center">
					<font isBold="true"/>
				</textElement>
				<text><![CDATA[Sale Order]]></text>
			</staticText>
			<line>
				<reportElement x="385" y="45" width="1" height="19"/>
			</line>
			<line>
				<reportElement x="27" y="44" width="1" height="19"/>
			</line>
			<line>
				<reportElement x="27" y="63" width="358" height="1"/>
			</line>
			<staticText>
				<reportElement x="29" y="43" width="355" height="20"/>
				<textElement textAlignment="Center"/>
				<text><![CDATA[NA]]></text>
			</staticText>
		</band>
	</noData>
</jasperReport>
