Commit 5c5e8a6f authored by piyush's avatar piyush

Merged WMS reports modified/developed at client place by Piyush Team


git-svn-id: http://15.206.35.175/svn/proteus/business-java/trunk@92169 ce508802-f39f-4f6c-b175-0d175dae99d5
parent 6f900a56
<?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="Backorder Report - Summary" pageWidth="792" pageHeight="612" orientation="Landscape" columnWidth="752" leftMargin="20" rightMargin="20" topMargin="20" bottomMargin="20">
<property name="ireport.zoom" value="1.0"/>
<property name="ireport.x" value="273"/>
<property name="ireport.y" value="0"/>
<parameter name="as_site_code" class="java.lang.String"/>
<parameter name="frm_order_date" class="java.util.Date"/>
<parameter name="to_order_date" class="java.util.Date"/>
<queryString>
<![CDATA[select ITEM_CODE,
ITEM_DESCR,
CUST_CODE,
CUST_NAME,
SUM(ORD_QTY) AS ORD_QTY,
SUM(ORD_VALUE) AS ORD_VALUE,
SUM(SHIP_QTY) AS SHIP_QTY,
SUM(SHIP_VALUE) AS SHIP_VALUE,
SUM(ORD_QTY-SHIP_QTY) AS BACKORDER_QTY,
SUM(ORD_VALUE-SHIP_VALUE) AS BACKORDER_VALUE,
SUM(STOCK_QTY) AS INV_QTY,
SITE_DESCR
from
(
select sorder.site_code, sorder.sale_order,sorddet.line_no,sorder.order_date,sorder.due_date,sorder.status_date,sorder.cust_code,customer.cust_name,sorddet.quantity as ord_qty,(sorddet.quantity*sorddet.rate) as ord_value,0 as ship_qty,0 as ship_value,sorddet.item_code,item.descr as item_descr,ddf_get_stock(sorder.site_code,sorddet.item_code) as stock_qty,ddf_get_site_descr(sorder.site_code) as site_descr
from
sorder,sorddet,customer,item
where sorder.order_date between $P{frm_order_date} AND $P{to_order_date}
and sorder.site_code = '$P!{as_site_code}'
and sorder.confirmed = 'Y' and sorder.status = 'P' and sorddet.sale_order = sorder.sale_order and customer.cust_code = sorder.cust_code and item.item_code = sorddet.item_code
union all
select sorder.site_code,sorder.sale_order,sorditem.line_no,sorder.order_date,sorditem.due_date,sorder.status_date,sorder.cust_code,customer.cust_name,0 as ord_qty,0 as ord_value,sum(sorditem.qty_desp) as ship_qty,sum(sorditem.qty_desp*sorditem.rate) as ship_value,sorditem.item_code,item.descr as item_descr,0 as stock_qty,ddf_get_site_descr(sorder.site_code) as site_descr
from sorder,sorditem,customer,item
where sorder.order_date between $P{frm_order_date} AND $P{to_order_date}
and sorder.site_code = '$P!{as_site_code}'
and sorder.confirmed = 'Y' and sorder.status = 'P' and sorditem.sale_order = sorder.sale_order and customer.cust_code = sorder.cust_code and item.item_code = sorditem.item_code
group by sorder.site_code,sorder.sale_order,sorditem.line_no,sorder.order_date,sorditem.due_date,sorder.status_date,sorder.cust_code,customer.cust_name,sorditem.item_code,item.descr)
group by item_code,item_descr,cust_code,cust_name,site_descr having sum(ord_qty-ship_qty) > 0]]>
</queryString>
<field name="ITEM_CODE" class="java.lang.String"/>
<field name="ITEM_DESCR" class="java.lang.String"/>
<field name="ORD_QTY" class="java.lang.Double"/>
<field name="ORD_VALUE" class="java.lang.Double"/>
<field name="SHIP_QTY" class="java.lang.Double"/>
<field name="SHIP_VALUE" class="java.lang.Double"/>
<field name="BACKORDER_QTY" class="java.lang.Double"/>
<field name="BACKORDER_VALUE" class="java.lang.Double"/>
<field name="INV_QTY" class="java.lang.Double"/>
<field name="SITE_DESCR" class="java.lang.String"/>
<field name="CUST_CODE" class="java.lang.String"/>
<field name="CUST_NAME" class="java.lang.String"/>
<sortField name="CUST_CODE"/>
<variable name="variable1" class="java.util.Date" resetType="None">
<variableExpression><![CDATA[new java.util.Date()]]></variableExpression>
</variable>
<variable name="ord_tot" class="java.lang.Double" resetType="Group" resetGroup="CUSTOMER" calculation="Sum">
<variableExpression><![CDATA[$F{ORD_VALUE}]]></variableExpression>
</variable>
<variable name="ship_tot" class="java.lang.Double" resetType="Group" resetGroup="CUSTOMER" calculation="Sum">
<variableExpression><![CDATA[$F{SHIP_VALUE}]]></variableExpression>
</variable>
<variable name="backord_tot" class="java.lang.Double" resetType="Group" resetGroup="CUSTOMER" calculation="Sum">
<variableExpression><![CDATA[$F{BACKORDER_VALUE}]]></variableExpression>
</variable>
<variable name="ord_grand" class="java.lang.Double" calculation="Sum">
<variableExpression><![CDATA[$F{ORD_VALUE}]]></variableExpression>
</variable>
<variable name="ship_grand" class="java.lang.Double" calculation="Sum">
<variableExpression><![CDATA[$F{SHIP_VALUE}]]></variableExpression>
</variable>
<variable name="backord_grand" class="java.lang.Double" calculation="Sum">
<variableExpression><![CDATA[$F{BACKORDER_VALUE}]]></variableExpression>
</variable>
<group name="CUSTOMER" isReprintHeaderOnEachPage="true">
<groupExpression><![CDATA[$F{CUST_CODE}]]></groupExpression>
<groupHeader>
<band height="18">
<textField>
<reportElement x="93" y="2" width="174" height="16"/>
<textElement textAlignment="Left">
<font fontName="Times New Roman" isBold="true"/>
</textElement>
<textFieldExpression class="java.lang.String"><![CDATA[$F{CUST_NAME}]]></textFieldExpression>
</textField>
<staticText>
<reportElement x="17" y="0" width="76" height="18"/>
<textElement textAlignment="Left" verticalAlignment="Middle">
<font fontName="Times New Roman" isBold="true"/>
</textElement>
<text><![CDATA[Customer Name : ]]></text>
</staticText>
<line>
<reportElement x="0" y="17" width="750" height="1"/>
</line>
</band>
</groupHeader>
<groupFooter>
<band height="20">
<staticText>
<reportElement x="185" y="1" width="159" height="18"/>
<textElement textAlignment="Left" verticalAlignment="Middle">
<font fontName="Times New Roman" isBold="true"/>
</textElement>
<text><![CDATA[Customer Code Wise Total]]></text>
</staticText>
<textField pattern="0.00">
<reportElement x="329" y="1" width="87" height="18"/>
<textElement textAlignment="Right" verticalAlignment="Middle">
<font fontName="Times New Roman"/>
</textElement>
<textFieldExpression class="java.lang.Double"><![CDATA[$V{ord_tot}]]></textFieldExpression>
</textField>
<textField pattern="0.00">
<reportElement x="482" y="1" width="85" height="18"/>
<textElement textAlignment="Right" verticalAlignment="Middle">
<font fontName="Times New Roman"/>
</textElement>
<textFieldExpression class="java.lang.Double"><![CDATA[$V{ship_tot}]]></textFieldExpression>
</textField>
<textField pattern="0.00">
<reportElement x="636" y="1" width="100" height="18"/>
<textElement textAlignment="Right" verticalAlignment="Middle">
<font fontName="Times New Roman"/>
</textElement>
<textFieldExpression class="java.lang.Double"><![CDATA[$V{backord_tot}]]></textFieldExpression>
</textField>
<line>
<reportElement x="0" y="0" width="750" height="1"/>
</line>
<line>
<reportElement x="0" y="19" width="750" height="1"/>
</line>
</band>
</groupFooter>
</group>
<background>
<band splitType="Stretch"/>
</background>
<pageHeader>
<band height="79" splitType="Stretch">
<textField>
<reportElement x="2" y="10" width="748" height="17"/>
<textElement textAlignment="Center">
<font fontName="Times New Roman" size="12" isBold="true"/>
</textElement>
<textFieldExpression class="java.lang.String"><![CDATA[$F{SITE_DESCR}]]></textFieldExpression>
</textField>
<line>
<reportElement x="0" y="56" width="750" height="1"/>
</line>
<staticText>
<reportElement x="0" y="29" width="752" height="18"/>
<textElement textAlignment="Center">
<font fontName="Times New Roman" size="14" isBold="true"/>
</textElement>
<text><![CDATA[Backorder Report - Summary]]></text>
</staticText>
<textField pattern="MM/dd/yy">
<reportElement x="36" y="10" width="133" height="17"/>
<textElement>
<font fontName="Times New Roman"/>
</textElement>
<textFieldExpression class="java.util.Date"><![CDATA[$V{variable1}]]></textFieldExpression>
</textField>
<staticText>
<reportElement x="4" y="10" width="28" height="17"/>
<textElement>
<font fontName="Times New Roman" isBold="true"/>
</textElement>
<text><![CDATA[Date:]]></text>
</staticText>
<staticText>
<reportElement x="675" y="9" width="20" height="20"/>
<textElement>
<font fontName="Times New Roman" isBold="false"/>
</textElement>
<text><![CDATA[Page]]></text>
</staticText>
<staticText>
<reportElement x="709" y="9" width="10" height="14"/>
<textElement>
<font fontName="Times New Roman" isBold="false"/>
</textElement>
<text><![CDATA[of]]></text>
</staticText>
<textField evaluationTime="Page">
<reportElement x="697" y="9" width="13" height="20"/>
<textElement>
<font fontName="Times New Roman"/>
</textElement>
<textFieldExpression class="java.lang.Integer"><![CDATA[$V{PAGE_NUMBER}]]></textFieldExpression>
</textField>
<staticText>
<reportElement x="17" y="58" width="70" height="18"/>
<textElement textAlignment="Left" verticalAlignment="Middle">
<font fontName="Times New Roman" isBold="true"/>
</textElement>
<text><![CDATA[Item]]></text>
</staticText>
<textField evaluationTime="Report">
<reportElement x="722" y="9" width="15" height="20"/>
<textElement>
<font fontName="Times New Roman"/>
</textElement>
<textFieldExpression class="java.lang.Integer"><![CDATA[$V{PAGE_NUMBER}]]></textFieldExpression>
</textField>
<staticText>
<reportElement x="88" y="58" width="165" height="18"/>
<textElement textAlignment="Left" verticalAlignment="Middle">
<font fontName="Times New Roman" isBold="true"/>
</textElement>
<text><![CDATA[Item Description]]></text>
</staticText>
<staticText>
<reportElement x="267" y="58" width="77" height="18"/>
<textElement textAlignment="Right" verticalAlignment="Middle">
<font fontName="Times New Roman" isBold="true"/>
</textElement>
<text><![CDATA[Order Qty]]></text>
</staticText>
<staticText>
<reportElement x="344" y="58" width="74" height="18"/>
<textElement textAlignment="Right" verticalAlignment="Middle">
<font fontName="Times New Roman" isBold="true"/>
</textElement>
<text><![CDATA[Order Value]]></text>
</staticText>
<staticText>
<reportElement x="417" y="58" width="77" height="18"/>
<textElement textAlignment="Right" verticalAlignment="Middle">
<font fontName="Times New Roman" isBold="true"/>
</textElement>
<text><![CDATA[Ship Qty]]></text>
</staticText>
<staticText>
<reportElement x="494" y="58" width="72" height="18"/>
<textElement textAlignment="Right" verticalAlignment="Middle">
<font fontName="Times New Roman" isBold="true"/>
</textElement>
<text><![CDATA[Ship Value]]></text>
</staticText>
<staticText>
<reportElement x="569" y="58" width="77" height="18"/>
<textElement textAlignment="Right" verticalAlignment="Middle">
<font fontName="Times New Roman" isBold="true"/>
</textElement>
<text><![CDATA[BackOrder Qty]]></text>
</staticText>
<staticText>
<reportElement x="650" y="58" width="84" height="18"/>
<textElement textAlignment="Right" verticalAlignment="Middle">
<font fontName="Times New Roman" isBold="true"/>
</textElement>
<text><![CDATA[BackOrder Value]]></text>
</staticText>
<line>
<reportElement x="0" y="78" width="750" height="1"/>
</line>
</band>
</pageHeader>
<detail>
<band height="18" splitType="Stretch">
<textField>
<reportElement x="88" y="0" width="174" height="18"/>
<textElement textAlignment="Left">
<font fontName="Times New Roman"/>
</textElement>
<textFieldExpression class="java.lang.String"><![CDATA[$F{ITEM_DESCR}]]></textFieldExpression>
</textField>
<textField pattern="0.00">
<reportElement x="267" y="0" width="77" height="18"/>
<textElement textAlignment="Right">
<font fontName="Times New Roman"/>
</textElement>
<textFieldExpression class="java.lang.Double"><![CDATA[$F{ORD_QTY}]]></textFieldExpression>
</textField>
<textField pattern="0.00">
<reportElement x="344" y="0" width="74" height="18"/>
<textElement textAlignment="Right">
<font fontName="Times New Roman"/>
</textElement>
<textFieldExpression class="java.lang.Double"><![CDATA[$F{ORD_VALUE}]]></textFieldExpression>
</textField>
<textField pattern="0.00">
<reportElement x="17" y="0" width="70" height="18"/>
<textElement textAlignment="Left">
<font fontName="Times New Roman"/>
</textElement>
<textFieldExpression class="java.lang.String"><![CDATA[$F{ITEM_CODE}]]></textFieldExpression>
</textField>
<textField pattern="0.00">
<reportElement x="417" y="0" width="77" height="18"/>
<textElement textAlignment="Right">
<font fontName="Times New Roman"/>
</textElement>
<textFieldExpression class="java.lang.Double"><![CDATA[$F{SHIP_QTY}]]></textFieldExpression>
</textField>
<textField pattern="0.00">
<reportElement x="494" y="0" width="73" height="18"/>
<textElement textAlignment="Right">
<font fontName="Times New Roman"/>
</textElement>
<textFieldExpression class="java.lang.Double"><![CDATA[$F{SHIP_VALUE}]]></textFieldExpression>
</textField>
<textField pattern="0.00">
<reportElement x="569" y="0" width="77" height="18"/>
<textElement textAlignment="Right">
<font fontName="Times New Roman"/>
</textElement>
<textFieldExpression class="java.lang.Double"><![CDATA[$F{BACKORDER_QTY}]]></textFieldExpression>
</textField>
<textField pattern="0.00">
<reportElement x="650" y="0" width="84" height="18"/>
<textElement textAlignment="Right">
<font fontName="Times New Roman"/>
</textElement>
<textFieldExpression class="java.lang.Double"><![CDATA[$F{BACKORDER_VALUE}]]></textFieldExpression>
</textField>
</band>
</detail>
<pageFooter>
<band splitType="Stretch"/>
</pageFooter>
<summary>
<band height="19" splitType="Stretch">
<textField pattern="0.00">
<reportElement x="637" y="1" width="100" height="18"/>
<textElement textAlignment="Right" verticalAlignment="Middle">
<font fontName="Times New Roman"/>
</textElement>
<textFieldExpression class="java.lang.Double"><![CDATA[$V{backord_grand}]]></textFieldExpression>
</textField>
<textField pattern="0.00">
<reportElement x="481" y="1" width="85" height="18"/>
<textElement textAlignment="Right" verticalAlignment="Middle">
<font fontName="Times New Roman"/>
</textElement>
<textFieldExpression class="java.lang.Double"><![CDATA[$V{ship_grand}]]></textFieldExpression>
</textField>
<textField pattern="0.00">
<reportElement x="330" y="1" width="87" height="18"/>
<textElement textAlignment="Right" verticalAlignment="Middle">
<font fontName="Times New Roman"/>
</textElement>
<textFieldExpression class="java.lang.Double"><![CDATA[$V{ord_grand}]]></textFieldExpression>
</textField>
<staticText>
<reportElement x="185" y="1" width="158" height="18"/>
<textElement textAlignment="Left" verticalAlignment="Middle">
<font fontName="Times New Roman" isBold="true"/>
</textElement>
<text><![CDATA[Grand Total]]></text>
</staticText>
</band>
</summary>
</jasperReport>
<?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="BOL_Manual_subreport1" pageWidth="612" pageHeight="792" columnWidth="555" leftMargin="0" rightMargin="0" topMargin="0" bottomMargin="0">
<property name="ireport.zoom" value="1.0000000000000062"/>
<property name="ireport.x" value="0"/>
<property name="ireport.y" value="0"/>
<parameter name="DESP_DESP_ID" class="java.lang.String"/>
<queryString>
<![CDATA[select shipment_id,
CASE WHEN NO_ART IS NULL OR LENGTH(TRIM(NO_ART)) = 0 OR NO_ART = 0 THEN 'N' ELSE 'Y' END AS CARTON,
CASE WHEN NO_PALLET IS NULL OR LENGTH(TRIM(NO_PALLET)) = 0 OR NO_PALLET = 0 THEN 'N' ELSE 'Y' END AS PALLET
,CUST_PORD,
NO_PALLET,NO_ART,
GROSS_WEIGHT, SORD_NO, PTCN
from table (BOLTYPEMANUALTBL('$P!{DESP_DESP_ID}','SUB1'))]]>
</queryString>
<field name="CUST_PORD" class="java.lang.String"/>
<field name="NO_ART" class="java.lang.Double"/>
<field name="GROSS_WEIGHT" class="java.lang.Double"/>
<field name="SORD_NO" class="java.lang.String"/>
<field name="PTCN" class="java.lang.String"/>
<field name="shipment_id" class="java.lang.String"/>
<field name="NO_PALLET" class="java.lang.Double"/>
<field name="CARTON" class="java.lang.String"/>
<field name="PALLET" class="java.lang.String"/>
<variable name="NO_ART_1" class="java.lang.Double" calculation="Sum">
<variableExpression><![CDATA[new java.lang.Double($F{NO_ART}.doubleValue())]]></variableExpression>
</variable>
<variable name="NETT_WEIGHT_1" class="java.lang.Double" calculation="Sum">
<variableExpression><![CDATA[new java.lang.Double($F{GROSS_WEIGHT}.doubleValue())]]></variableExpression>
</variable>
<variable name="NO_PALLET_1" class="java.lang.Double" calculation="Sum">
<variableExpression><![CDATA[new java.lang.Double($F{NO_PALLET}.doubleValue())]]></variableExpression>
</variable>
<group name="GRAND_TOTAL">
<groupExpression><![CDATA[$F{SORD_NO}]]></groupExpression>
<groupFooter>
<band/>
</groupFooter>
</group>
<background>
<band splitType="Stretch"/>
</background>
<title>
<band splitType="Stretch"/>
</title>
<pageHeader>
<band height="36" splitType="Stretch">
<staticText>
<reportElement x="218" y="17" width="50" height="11"/>
<textElement textAlignment="Center">
<font fontName="Arial" size="9" isBold="true"/>
</textElement>
<text><![CDATA[WEIGHT]]></text>
</staticText>
<staticText>
<reportElement mode="Opaque" x="5" y="1" width="560" height="15" forecolor="#FEFEFE" backcolor="#010101"/>
<textElement textAlignment="Center" verticalAlignment="Middle">
<font fontName="Arial" size="8" isBold="true"/>
</textElement>
<text><![CDATA[CUSTOMER ORDER INFORMATION]]></text>
</staticText>
<staticText>
<reportElement x="169" y="17" width="35" height="11"/>
<textElement textAlignment="Center">
<font fontName="Arial" size="9" isBold="true"/>
</textElement>
<text><![CDATA[# PKGS]]></text>
</staticText>
<staticText>
<reportElement x="377" y="17" width="150" height="11"/>
<textElement textAlignment="Center">
<font fontName="Arial" size="9" isBold="true"/>
</textElement>
<text><![CDATA[ADDITIONAL SHIPPER INFO]]></text>
</staticText>
<line direction="BottomUp">
<reportElement x="207" y="16" width="1" height="20"/>
</line>
<staticText>
<reportElement x="10" y="17" width="150" height="11"/>
<textElement textAlignment="Center">
<font fontName="Arial" size="9" isBold="true"/>
</textElement>
<text><![CDATA[CUSTOMER ORDER NUMBER]]></text>
</staticText>
<line direction="BottomUp">
<reportElement x="274" y="16" width="1" height="20"/>
</line>
<line direction="BottomUp">
<reportElement x="5" y="16" width="1" height="20"/>
</line>
<line direction="BottomUp">
<reportElement x="166" y="16" width="1" height="20"/>
</line>
<staticText>
<reportElement x="275" y="17" width="92" height="11"/>
<textElement textAlignment="Center">
<font fontName="Arial" size="9" isBold="true"/>
</textElement>
<text><![CDATA[PALLET/CARRTON]]></text>
</staticText>
<line direction="BottomUp">
<reportElement x="564" y="16" width="1" height="20"/>
</line>
<staticText>
<reportElement x="296" y="27" width="50" height="9"/>
<textElement textAlignment="Center">
<font fontName="Arial" size="6" isBold="false"/>
</textElement>
<text><![CDATA[(CIRCLE ONE)]]></text>
</staticText>
<line direction="BottomUp">
<reportElement x="366" y="16" width="1" height="20"/>
</line>
</band>
</pageHeader>
<columnHeader>
<band splitType="Stretch"/>
</columnHeader>
<detail>
<band height="15" splitType="Stretch">
<rectangle>
<reportElement mode="Transparent" x="5" y="0" width="559" height="15"/>
</rectangle>
<textField isBlankWhenNull="true">
<reportElement x="214" y="1" width="56" height="12">
<printWhenExpression><![CDATA[new Boolean($F{NO_ART}.doubleValue() > 0 || $F{NO_PALLET}.doubleValue() > 0)]]></printWhenExpression>
</reportElement>
<textElement textAlignment="Right">
<font fontName="Arial"/>
</textElement>
<textFieldExpression class="java.lang.Double"><![CDATA[$F{GROSS_WEIGHT}]]></textFieldExpression>
</textField>
<staticText>
<reportElement x="354" y="2" width="8" height="10">
<printWhenExpression><![CDATA[new Boolean(false)]]></printWhenExpression>
</reportElement>
<textElement>
<font fontName="Arial" size="8" isBold="true"/>
</textElement>
<text><![CDATA[N]]></text>
</staticText>
<staticText>
<reportElement x="308" y="1" width="12" height="10">
<printWhenExpression><![CDATA[new Boolean(false)]]></printWhenExpression>
</reportElement>
<textElement textAlignment="Center">
<font fontName="Arial" size="8" isBold="true"/>
</textElement>
<text><![CDATA[(Y)]]></text>
</staticText>
<textField pattern="0" isBlankWhenNull="true">
<reportElement x="168" y="2" width="35" height="12">
<printWhenExpression><![CDATA[new Boolean($F{NO_ART}.doubleValue() > 0)]]></printWhenExpression>
</reportElement>
<textElement textAlignment="Right">
<font fontName="Arial"/>
</textElement>
<textFieldExpression class="java.lang.Double"><![CDATA[$F{NO_ART}]]></textFieldExpression>
</textField>
<textField>
<reportElement x="10" y="1" width="142" height="12"/>
<textElement textAlignment="Center">
<font fontName="Arial"/>
</textElement>
<textFieldExpression class="java.lang.String"><![CDATA[$F{CUST_PORD}]]></textFieldExpression>
</textField>
<line>
<reportElement x="207" y="0" width="1" height="15"/>
</line>
<line>
<reportElement x="166" y="0" width="1" height="15"/>
</line>
<line>
<reportElement x="366" y="0" width="1" height="15"/>
</line>
<line>
<reportElement x="274" y="0" width="1" height="15"/>
</line>
<line>
<reportElement x="321" y="0" width="1" height="15"/>
</line>
<staticText>
<reportElement x="310" y="3" width="8" height="10" isRemoveLineWhenBlank="true">
<printWhenExpression><![CDATA[new Boolean(false)]]></printWhenExpression>
</reportElement>
<textElement>
<font fontName="Arial" size="8" isBold="true"/>
</textElement>
<text><![CDATA[Y]]></text>
</staticText>
<textField isBlankWhenNull="true">
<reportElement x="322" y="2" width="44" height="12"/>
<textElement textAlignment="Center">
<font fontName="Arial"/>
</textElement>
<textFieldExpression class="java.lang.String"><![CDATA[$F{CARTON}]]></textFieldExpression>
</textField>
<textField isBlankWhenNull="true">
<reportElement x="275" y="2" width="45" height="12"/>
<textElement textAlignment="Center">
<font fontName="Arial"/>
</textElement>
<textFieldExpression class="java.lang.String"><![CDATA[$F{PALLET}]]></textFieldExpression>
</textField>
<textField pattern="0" isBlankWhenNull="true">
<reportElement x="169" y="2" width="35" height="12">
<printWhenExpression><![CDATA[new Boolean($F{NO_PALLET}.doubleValue() > 0)]]></printWhenExpression>
</reportElement>
<textElement textAlignment="Right">
<font fontName="Arial"/>
</textElement>
<textFieldExpression class="java.lang.Double"><![CDATA[$F{NO_PALLET}]]></textFieldExpression>
</textField>
</band>
</detail>
<summary>
<band height="22" splitType="Stretch">
<line direction="BottomUp">
<reportElement x="166" y="0" width="1" height="16"/>
</line>
<rectangle>
<reportElement x="274" y="0" width="290" height="15" backcolor="#AD9CA4"/>
</rectangle>
<textField isBlankWhenNull="true">
<reportElement x="210" y="0" width="60" height="12"/>
<textElement textAlignment="Right">
<font fontName="Arial"/>
</textElement>
<textFieldExpression class="java.lang.Double"><![CDATA[$V{NETT_WEIGHT_1}]]></textFieldExpression>
</textField>
<textField pattern="0" isBlankWhenNull="true">
<reportElement x="165" y="1" width="40" height="12">
<printWhenExpression><![CDATA[new Boolean($V{NO_ART_1}.doubleValue() > 0)]]></printWhenExpression>
</reportElement>
<textElement textAlignment="Right">
<font fontName="Arial"/>
</textElement>
<textFieldExpression class="java.lang.Double"><![CDATA[$V{NO_ART_1}]]></textFieldExpression>
</textField>
<staticText>
<reportElement x="25" y="0" width="100" height="15"/>
<textElement>
<font fontName="Arial" size="10" isBold="true"/>
</textElement>
<text><![CDATA[GRAND TOTAL]]></text>
</staticText>
<line direction="BottomUp">
<reportElement x="207" y="0" width="1" height="16"/>
</line>
<line direction="BottomUp">
<reportElement x="5" y="0" width="1" height="16"/>
</line>
<line>
<reportElement x="5" y="15" width="269" height="1"/>
</line>
<textField pattern="0" isBlankWhenNull="true">
<reportElement x="166" y="1" width="40" height="12">
<printWhenExpression><![CDATA[new Boolean($V{NO_PALLET_1}.doubleValue() > 0)]]></printWhenExpression>
</reportElement>
<textElement textAlignment="Right">
<font fontName="Arial"/>
</textElement>
<textFieldExpression class="java.lang.Double"><![CDATA[$V{NO_PALLET_1}]]></textFieldExpression>
</textField>
</band>
</summary>
</jasperReport>
<?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="BOL_Manual_subreport2" pageWidth="612" pageHeight="792" columnWidth="555" leftMargin="0" rightMargin="0" topMargin="0" bottomMargin="0">
<property name="ireport.zoom" value="1.0"/>
<property name="ireport.x" value="177"/>
<property name="ireport.y" value="0"/>
<parameter name="DESP_DESP_ID" class="java.lang.String"/>
<queryString>
<![CDATA[select count1, shipment_id, case when no_pallet > 0 then 'P' else 'M' end pick_type, tot_pkt, gross_weigh, NMFC_NO, NMFC_DESCR, FRT_CLASS from table (BOLTYPEMANUALTBL('$P!{DESP_DESP_ID}','SUB2'))]]>
</queryString>
<field name="COUNT1" class="java.lang.Integer"/>
<field name="PICK_TYPE" class="java.lang.String"/>
<field name="TOT_PKT" class="java.lang.Double"/>
<field name="GROSS_WEIGH" class="java.lang.Double"/>
<field name="NMFC_NO" class="java.lang.String"/>
<field name="NMFC_DESCR" class="java.lang.String"/>
<field name="FRT_CLASS" class="java.lang.String"/>
<field name="shipment_id" class="java.lang.String"/>
<variable name="TOT_PKT_3" class="java.lang.Double" calculation="Sum">
<variableExpression><![CDATA[new java.lang.Double($F{TOT_PKT}.doubleValue())]]></variableExpression>
</variable>
<variable name="COUNT_3" class="java.lang.Double" calculation="Sum">
<variableExpression><![CDATA[new java.lang.Double($F{COUNT1}.doubleValue())]]></variableExpression>
</variable>
<variable name="GROSS_WEIGH_2" class="java.lang.Double" calculation="Sum">
<variableExpression><![CDATA[new java.lang.Double($F{GROSS_WEIGH}.doubleValue())]]></variableExpression>
</variable>
<variable name="Pick_type" class="java.lang.String">
<variableExpression><![CDATA[new java.lang.String($F{PICK_TYPE}.equals("M")?"CTN":"PLT")]]></variableExpression>
</variable>
<group name="GRAND_TOTAL">
<groupExpression><![CDATA[$V{GROSS_WEIGH_2}]]></groupExpression>
<groupFooter>
<band/>
</groupFooter>
</group>
<background>
<band splitType="Stretch"/>
</background>
<title>
<band splitType="Stretch"/>
</title>
<pageHeader>
<band height="48" splitType="Stretch">
<staticText>
<reportElement x="13" y="33" width="20" height="15"/>
<textElement textAlignment="Center">
<font fontName="Arial" size="9" isBold="true"/>
</textElement>
<text><![CDATA[QTY]]></text>
</staticText>
<staticText>
<reportElement x="6" y="18" width="65" height="11"/>
<textElement textAlignment="Center">
<font fontName="Arial" size="8" isBold="true"/>
</textElement>
<text><![CDATA[HANDLING UNIT]]></text>
</staticText>
<line>
<reportElement x="479" y="27" width="84" height="1"/>
</line>
<line>
<reportElement x="71" y="13" width="1" height="35"/>
</line>
<line>
<reportElement x="522" y="27" width="1" height="20"/>
</line>
<line>
<reportElement x="38" y="31" width="1" height="17"/>
</line>
<staticText>
<reportElement x="497" y="15" width="50" height="14"/>
<textElement textAlignment="Center">
<font fontName="Arial" size="10" isBold="true"/>
</textElement>
<text><![CDATA[LTL ONLY]]></text>
</staticText>
<staticText>
<reportElement x="190" y="29" width="272" height="17"/>
<textElement textAlignment="Center">
<font fontName="Arial" size="6" isBold="true"/>
</textElement>
<text><![CDATA[Commodities requiring special or additional care or attention in handling or stowing must be so marked and packaged as to ensure safe transportation with ordinary care.]]></text>
</staticText>
<line>
<reportElement x="175" y="14" width="1" height="34"/>
</line>
<staticText>
<reportElement x="73" y="27" width="63" height="15"/>
<textElement textAlignment="Center">
<font fontName="Arial" size="10" isBold="true"/>
</textElement>
<text><![CDATA[WEIGHT]]></text>
</staticText>
<line direction="BottomUp">
<reportElement x="5" y="13" width="1" height="35"/>
</line>
<line>
<reportElement x="478" y="13" width="1" height="35"/>
</line>
<staticText>
<reportElement x="143" y="23" width="27" height="25"/>
<textElement textAlignment="Center">
<font fontName="Arial" size="9" isBold="true"/>
</textElement>
<text><![CDATA[H.M. (X)]]></text>
</staticText>
<line>
<reportElement x="5" y="30" width="65" height="1"/>
</line>
<staticText>
<reportElement x="523" y="30" width="35" height="15"/>
<textElement textAlignment="Center">
<font fontName="Arial" size="9" isBold="true"/>
</textElement>
<text><![CDATA[CLASS]]></text>
</staticText>
<staticText>
<reportElement x="483" y="30" width="35" height="15"/>
<textElement textAlignment="Center">
<font fontName="Arial" size="9" isBold="true"/>
</textElement>
<text><![CDATA[NMFC #]]></text>
</staticText>
<line>
<reportElement x="563" y="13" width="1" height="35"/>
</line>
<staticText>
<reportElement x="216" y="17" width="225" height="13"/>
<textElement textAlignment="Center">
<font fontName="Arial" size="9" isBold="true"/>
</textElement>
<text><![CDATA[COMMODITY DESCRIPTION]]></text>
</staticText>
<line>
<reportElement x="136" y="13" width="1" height="35"/>
</line>
<staticText>
<reportElement x="42" y="33" width="25" height="15"/>
<textElement textAlignment="Center">
<font fontName="Arial" size="9" isBold="true"/>
</textElement>
<text><![CDATA[TYPE]]></text>
</staticText>
<staticText>
<reportElement x="257" y="1" width="100" height="20"/>
<textElement/>
<text><![CDATA[NMFC_DESCR]]></text>
</staticText>
<staticText>
<reportElement mode="Opaque" x="5" y="0" width="559" height="15" forecolor="#FEFEFE" backcolor="#010101"/>
<textElement textAlignment="Center" verticalAlignment="Middle">
<font fontName="Arial" size="8" isBold="true"/>
</textElement>
<text><![CDATA[CARRIER INFORMATION]]></text>
</staticText>
</band>
</pageHeader>
<columnHeader>
<band splitType="Stretch"/>
</columnHeader>
<detail>
<band height="16" splitType="Stretch">
<line>
<reportElement x="5" y="15" width="559" height="1"/>
</line>
<line>
<reportElement x="5" y="0" width="1" height="15"/>
</line>
<line>
<reportElement x="38" y="0" width="1" height="15"/>
</line>
<line>
<reportElement x="71" y="0" width="1" height="15"/>
</line>
<line>
<reportElement x="136" y="0" width="1" height="15"/>
</line>
<line>
<reportElement x="175" y="0" width="1" height="15"/>
</line>
<line>
<reportElement x="478" y="0" width="1" height="15"/>
</line>
<line>
<reportElement x="522" y="0" width="1" height="15"/>
</line>
<line>
<reportElement x="563" y="0" width="1" height="15"/>
</line>
<textField pattern="0">
<reportElement x="5" y="3" width="30" height="12">
<printWhenExpression><![CDATA[new Boolean($F{COUNT1}.intValue()>0)]]></printWhenExpression>
</reportElement>
<textElement textAlignment="Right">
<font fontName="Arial"/>
</textElement>
<textFieldExpression class="java.lang.Integer"><![CDATA[$F{COUNT1}]]></textFieldExpression>
</textField>
<textField>
<reportElement x="40" y="3" width="30" height="12">
<printWhenExpression><![CDATA[new Boolean($F{COUNT1}.intValue()>0)]]></printWhenExpression>
</reportElement>
<textElement textAlignment="Center">
<font fontName="Arial"/>
</textElement>
<textFieldExpression class="java.lang.String"><![CDATA[$V{Pick_type}]]></textFieldExpression>
</textField>
<textField isBlankWhenNull="true">
<reportElement x="524" y="3" width="39" height="12">
<printWhenExpression><![CDATA[new Boolean(false)]]></printWhenExpression>
</reportElement>
<textElement textAlignment="Center">
<font fontName="Arial" size="9"/>
</textElement>
<textFieldExpression class="java.lang.String"><![CDATA[$F{FRT_CLASS}]]></textFieldExpression>
</textField>
<textField isBlankWhenNull="true">
<reportElement x="72" y="2" width="60" height="12">
<printWhenExpression><![CDATA[new Boolean($F{COUNT1}.intValue()>0)]]></printWhenExpression>
</reportElement>
<textElement textAlignment="Right" verticalAlignment="Middle">
<font fontName="Arial"/>
</textElement>
<textFieldExpression class="java.lang.Double"><![CDATA[$F{GROSS_WEIGH}]]></textFieldExpression>
</textField>
<textField isBlankWhenNull="true">
<reportElement x="179" y="2" width="299" height="12">
<printWhenExpression><![CDATA[new Boolean($F{COUNT1}.intValue()>0)]]></printWhenExpression>
</reportElement>
<textElement textAlignment="Left">
<font fontName="Arial"/>
</textElement>
<textFieldExpression class="java.lang.String"><![CDATA[$F{NMFC_DESCR}]]></textFieldExpression>
</textField>
<line>
<reportElement x="5" y="-1" width="559" height="1"/>
</line>
<textField isBlankWhenNull="true">
<reportElement x="479" y="2" width="43" height="12">
<printWhenExpression><![CDATA[new Boolean($F{COUNT1}.intValue()>0)]]></printWhenExpression>
</reportElement>
<textElement textAlignment="Left">
<font fontName="Arial" size="8"/>
</textElement>
<textFieldExpression class="java.lang.String"><![CDATA[$F{NMFC_NO}]]></textFieldExpression>
</textField>
</band>
</detail>
<columnFooter>
<band splitType="Stretch"/>
</columnFooter>
<pageFooter>
<band splitType="Stretch"/>
</pageFooter>
<summary>
<band height="15" splitType="Stretch">
<line>
<reportElement x="5" y="0" width="1" height="15"/>
</line>
<rectangle>
<reportElement x="38" y="0" width="33" height="15" backcolor="#AD9CA4"/>
</rectangle>
<rectangle>
<reportElement x="478" y="0" width="44" height="15" backcolor="#AD9CA4"/>
</rectangle>
<rectangle>
<reportElement x="522" y="0" width="41" height="15" backcolor="#AD9CA4"/>
</rectangle>
<staticText>
<reportElement x="378" y="3" width="100" height="12"/>
<textElement>
<font fontName="Arial" size="10" isBold="true"/>
</textElement>
<text><![CDATA[GRAND TOTAL]]></text>
</staticText>
<rectangle>
<reportElement x="136" y="0" width="40" height="15" backcolor="#AD9CA4"/>
</rectangle>
<textField pattern="0" isBlankWhenNull="true">
<reportElement x="5" y="3" width="30" height="12"/>
<textElement textAlignment="Right">
<font fontName="Arial"/>
</textElement>
<textFieldExpression class="java.lang.Double"><![CDATA[$V{COUNT_3}]]></textFieldExpression>
</textField>
<textField isBlankWhenNull="true">
<reportElement x="73" y="3" width="60" height="12"/>
<textElement textAlignment="Right">
<font fontName="Arial"/>
</textElement>
<textFieldExpression class="java.lang.Double"><![CDATA[$V{GROSS_WEIGH_2}]]></textFieldExpression>
</textField>
</band>
</summary>
</jasperReport>
<?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="bill_of_lading_manual" pageWidth="612" pageHeight="792" columnWidth="555" leftMargin="20" rightMargin="20" topMargin="10" bottomMargin="10">
<property name="ireport.zoom" value="1.0"/>
<property name="ireport.x" value="0"/>
<property name="ireport.y" value="131"/>
<parameter name="DESP_ID_FIRST" class="java.lang.String"/>
<parameter name="DESP_ID_LAST" class="java.lang.String"/>
<queryString>
<![CDATA[SELECT distinct
SHP.SHIPMENT_DATE AS SHIP_DATE,
CASE WHEN SHP.SHIPMENT_ID IS NULL THEN ' ' ELSE SHP.SHIPMENT_ID END AS SHIPMENT_ID,
CASE WHEN SHP.LR_NO IS NULL THEN ' ' ELSE SHP.LR_NO END AS SHIPMENT_LR_NO,
CASE WHEN S.SITE_CODE IS NULL THEN ' ' ELSE S.descr END AS SITE_CODE,
CASE WHEN S.ADD1 IS NULL THEN ' ' ELSE S.ADD1 END AS ADD1,
CASE WHEN S.ADD2 IS NULL THEN ' ' ELSE S.ADD2 END AS ADD2,
CASE WHEN S.ADD3 IS NULL THEN ' ' ELSE S.ADD2 END AS ADD3,
CASE WHEN S.CITY IS NULL THEN ' ' ELSE S.CITY END AS CITY,
CASE WHEN S.STATE_CODE IS NULL THEN ' ' ELSE S.STATE_CODE END AS STATE_CODE,
CASE WHEN S.PIN IS NULL THEN ' ' ELSE S.PIN END AS PIN,
SHP.CONSIGNEE_NAME AS CUST_NAME_DLV,
CASE WHEN SHP.ADDR1 IS NULL THEN ' ' ELSE SHP.ADDR1 END AS DLV_ADD1,
CASE WHEN SHP.ADDR2 IS NULL THEN ' ' ELSE SHP.ADDR2 END AS DLV_ADD2,
CASE WHEN SHP.ADDR3 IS NULL THEN ' ' ELSE SHP.ADDR3 END AS DLV_ADD3,
CASE WHEN SHP.CITY IS NULL THEN ' ' ELSE SHP.CITY END AS DLV_CITY,
CASE WHEN SHP.PIN IS NULL THEN ' ' ELSE SHP.PIN END AS DLV_PIN,
CASE WHEN T.TRAN_NAME IS NULL THEN ' ' ELSE T.TRAN_NAME END AS TRAN_NAME,
CASE WHEN T.SUFFIX IS NULL THEN ' ' ELSE T.SUFFIX END AS SUFFIX,
CASE WHEN T.PREFIX IS NULL THEN ' ' ELSE T.PREFIX END AS PREFIX,
CASE WHEN t.SCAC_code IS NULL THEN ' ' ELSE T.SCAC_code END AS SCAC,
CASE WHEN SHP.PRO_NO IS NULL THEN ' ' ELSE SHP.PRO_NO END AS PRO_NO,
CASE WHEN SHP.REMARKS IS NULL THEN ' ' ELSE SHP.REMARKS END AS SHIPMENT_REMARKS
FROM
SHIPMENT SHP,
SITE S,
TRANSPORTER T
WHERE
(shp.shipment_id between '$P!{DESP_ID_FIRST}' and '$P!{DESP_ID_LAST}')
AND SHP.SITE_CODE = S.SITE_CODE
AND SHP.TRAN_CODE = T.TRAN_CODE
AND SHP.CONFIRMED = 'Y']]>
</queryString>
<field name="SITE_CODE" class="java.lang.String"/>
<field name="ADD1" class="java.lang.String"/>
<field name="ADD2" class="java.lang.String"/>
<field name="CITY" class="java.lang.String"/>
<field name="STATE_CODE" class="java.lang.String"/>
<field name="PIN" class="java.lang.String"/>
<field name="DLV_ADD1" class="java.lang.String"/>
<field name="DLV_ADD2" class="java.lang.String"/>
<field name="DLV_ADD3" class="java.lang.String"/>
<field name="DLV_CITY" class="java.lang.String"/>
<field name="DLV_PIN" class="java.lang.String"/>
<field name="TRAN_NAME" class="java.lang.String"/>
<field name="SCAC" class="java.lang.String"/>
<field name="PRO_NO" class="java.lang.String"/>
<field name="SHIP_DATE" class="java.util.Date"/>
<field name="CUST_NAME_DLV" class="java.lang.String"/>
<field name="SHIPMENT_ID" class="java.lang.String"/>
<field name="SHIPMENT_LR_NO" class="java.lang.String"/>
<field name="PREFIX" class="java.lang.String"/>
<field name="SUFFIX" class="java.lang.String"/>
<field name="ADD3" class="java.lang.String"/>
<field name="SHIPMENT_REMARKS" class="java.lang.String"/>
<variable name="compute_1" class="java.lang.String" resetType="None">
<variableExpression><![CDATA[new java.lang.String(ibase.webitm.reports.sun.BaseReportGFMethods.gf_bar_code("9012k"+ibase.webitm.reports.utility.BaseReportMethods.trim( $F{SCAC}) +""+ibase.webitm.reports.utility.BaseReportMethods.trim( $F{PREFIX})+ibase.webitm.reports.utility.BaseReportMethods.trim( $F{PRO_NO})+ibase.webitm.reports.utility.BaseReportMethods.trim( $F{SUFFIX}) ) )]]></variableExpression>
</variable>
<variable name="compute_2" class="java.lang.String" resetType="None">
<variableExpression><![CDATA[new java.lang.String($F{CITY}.trim()+" / "+$F{STATE_CODE}.trim()+" / "+$F{PIN}.trim())]]></variableExpression>
</variable>
<variable name="compute_3" class="java.lang.String" resetType="None">
<variableExpression><![CDATA[new java.lang.String($F{DLV_CITY}.trim()+" / "+$F{DLV_PIN}.trim())]]></variableExpression>
</variable>
<variable name="compute_4" class="java.lang.String" resetType="None">
<variableExpression><![CDATA[new java.lang.String(ibase.webitm.reports.sun.BaseReportGFMethods.gf_bar_code("402"+ibase.webitm.reports.utility.BaseReportMethods.trim($F{SHIPMENT_LR_NO})))]]></variableExpression>
</variable>
<variable name="compute_4_1" class="java.lang.String" resetType="None">
<variableExpression><![CDATA[new java.lang.String("(402) "+(ibase.webitm.reports.utility.BaseReportMethods.trim($F{SHIPMENT_LR_NO})))]]></variableExpression>
</variable>
<variable name="compute_1_1" class="java.lang.String" resetType="None">
<variableExpression><![CDATA[new java.lang.String(ibase.webitm.reports.utility.BaseReportMethods.trim( $F{PRO_NO}))]]></variableExpression>
</variable>
<variable name="variable1" class="java.lang.String" resetType="None">
<variableExpression><![CDATA[new java.lang.String((ibase.webitm.reports.utility.BaseReportMethods.isNull($F{SITE_CODE}) ?" " : ibase.webitm.reports.utility.BaseReportMethods.trim($F{SITE_CODE}))
+(ibase.webitm.reports.utility.BaseReportMethods.isNull($F{ADD1}) ? "" : "\n"+ibase.webitm.reports.utility.BaseReportMethods.trim($F{ADD1}))
+(ibase.webitm.reports.utility.BaseReportMethods.isNull($F{ADD2}) ? "" : "\n"+ibase.webitm.reports.utility.BaseReportMethods.trim($F{ADD2}))
+(ibase.webitm.reports.utility.BaseReportMethods.isNull($F{ADD3}) ? "" : "\n"+ibase.webitm.reports.utility.BaseReportMethods.trim($F{ADD3}))
+"\n"+(ibase.webitm.reports.utility.BaseReportMethods.isNull($F{CITY}) ? " " : ibase.webitm.reports.utility.BaseReportMethods.trim($F{CITY})+" /")+(ibase.webitm.reports.utility.BaseReportMethods.isNull($F{STATE_CODE}) ? " " :ibase.webitm.reports.utility.BaseReportMethods.trim($F{STATE_CODE}))+(ibase.webitm.reports.utility.BaseReportMethods.isNull($F{PIN}) ? " " :" /"+ibase.webitm.reports.utility.BaseReportMethods.trim($F{PIN})))]]></variableExpression>
</variable>
<variable name="variable2" class="java.lang.String" resetType="None">
<variableExpression><![CDATA[new java.lang.String((ibase.webitm.reports.utility.BaseReportMethods.isNull($F{CUST_NAME_DLV}) ?" " : ibase.webitm.reports.utility.BaseReportMethods.trim($F{CUST_NAME_DLV}))
+(ibase.webitm.reports.utility.BaseReportMethods.isNull($F{DLV_ADD1}) ? "" : "\n"+ibase.webitm.reports.utility.BaseReportMethods.trim($F{DLV_ADD1}))
+(ibase.webitm.reports.utility.BaseReportMethods.isNull($F{DLV_ADD2}) ? "" : "\n"+ibase.webitm.reports.utility.BaseReportMethods.trim($F{DLV_ADD2}))
+(ibase.webitm.reports.utility.BaseReportMethods.isNull($F{DLV_ADD3}) ? "" : "\n"+ibase.webitm.reports.utility.BaseReportMethods.trim($F{DLV_ADD3}))
+"\n"+(ibase.webitm.reports.utility.BaseReportMethods.isNull($F{DLV_CITY}) ? " " : ibase.webitm.reports.utility.BaseReportMethods.trim($F{DLV_CITY}))+" "+(ibase.webitm.reports.utility.BaseReportMethods.isNull($F{DLV_PIN}) ? " " :ibase.webitm.reports.utility.BaseReportMethods.trim($F{DLV_PIN})))]]></variableExpression>
</variable>
<group name="shipment_id" isStartNewPage="true" isResetPageNumber="true">
<groupExpression><![CDATA[$F{SHIPMENT_ID}]]></groupExpression>
<groupHeader>
<band height="504">
<staticText>
<reportElement x="411" y="265" width="73" height="15"/>
<textElement>
<font fontName="Courier New" isBold="true"/>
</textElement>
<text><![CDATA[Collect ______]]></text>
</staticText>
<staticText>
<reportElement x="334" y="239" width="227" height="23"/>
<textElement>
<font fontName="Courier New" size="8" isBold="true"/>
</textElement>
<text><![CDATA[Freight Charge Terms: (freight charges are prepaid unless marked otherwise)]]></text>
</staticText>
<textField isBlankWhenNull="true">
<reportElement x="398" y="179" width="148" height="13"/>
<textElement>
<font fontName="Courier New"/>
</textElement>
<textFieldExpression class="java.lang.String"><![CDATA[$F{PRO_NO}]]></textFieldExpression>
</textField>
<line>
<reportElement x="6" y="273" width="320" height="1"/>
</line>
<line direction="BottomUp">
<reportElement x="565" y="20" width="1" height="292"/>
</line>
<line>
<reportElement x="6" y="25" width="1" height="286"/>
</line>
<staticText>
<reportElement x="482" y="264" width="80" height="15"/>
<textElement>
<font fontName="Courier New" isBold="true"/>
</textElement>
<text><![CDATA[3rd Party ______]]></text>
</staticText>
<staticText>
<reportElement x="507" y="1" width="30" height="15"/>
<textElement>
<font fontName="Courier New" size="12" isBold="true"/>
</textElement>
<text><![CDATA[Page]]></text>
</staticText>
<staticText>
<reportElement mode="Opaque" x="6" y="19" width="320" height="15" forecolor="#FEFEFE" backcolor="#010101"/>
<textElement textAlignment="Center" verticalAlignment="Middle">
<font fontName="Courier New" size="8" isBold="true"/>
</textElement>
<text><![CDATA[SHIP FORM]]></text>
</staticText>
<staticText>
<reportElement x="334" y="20" width="111" height="15"/>
<textElement>
<font fontName="Courier New" isBold="true"/>
</textElement>
<text><![CDATA[Bill of Lading Number:]]></text>
</staticText>
<textField isBlankWhenNull="true">
<reportElement x="537" y="1" width="30" height="15"/>
<textElement>
<font fontName="Courier New" size="12"/>
</textElement>
<textFieldExpression class="java.lang.Integer"><![CDATA[$V{PAGE_NUMBER}]]></textFieldExpression>
</textField>
<textField isBlankWhenNull="true">
<reportElement x="372" y="165" width="174" height="13"/>
<textElement>
<font fontName="Courier New"/>
</textElement>
<textFieldExpression class="java.lang.String"><![CDATA[$F{SCAC}]]></textFieldExpression>
</textField>
<rectangle>
<reportElement x="293" y="183" width="15" height="12"/>
<graphicElement>
<pen lineWidth="2.0"/>
</graphicElement>
</rectangle>
<staticText>
<reportElement x="391" y="281" width="170" height="30"/>
<textElement>
<font fontName="Courier New"/>
</textElement>
<text><![CDATA[Master Bill of Lading: with attached underlying Bills of Lading]]></text>
</staticText>
<line>
<reportElement x="326" y="279" width="239" height="1"/>
</line>
<staticText>
<reportElement x="263" y="183" width="40" height="12"/>
<textElement>
<font fontName="Courier New"/>
</textElement>
<text><![CDATA[FOB:]]></text>
</staticText>
<textField pattern="">
<reportElement x="7" y="3" width="150" height="15"/>
<textElement>
<font fontName="Courier New"/>
</textElement>
<textFieldExpression class="java.lang.String"><![CDATA[$F{SHIP_DATE}.equals(null)?"":(new SimpleDateFormat("MM/dd/yy").format($F{SHIP_DATE}))]]></textFieldExpression>
</textField>
<textField isBlankWhenNull="true">
<reportElement x="21" y="289" width="305" height="22"/>
<textElement verticalAlignment="Middle">
<font fontName="Courier New"/>
</textElement>
<textFieldExpression class="java.lang.String"><![CDATA[$F{SHIPMENT_REMARKS}]]></textFieldExpression>
</textField>
<staticText>
<reportElement x="334" y="166" width="50" height="15"/>
<textElement>
<font fontName="Courier New" isBold="true"/>
</textElement>
<text><![CDATA[SCAC:]]></text>
</staticText>
<line>
<reportElement x="327" y="164" width="239" height="1"/>
</line>
<staticText>
<reportElement x="334" y="265" width="80" height="15"/>
<textElement>
<font fontName="Courier New" isBold="true"/>
</textElement>
<text><![CDATA[Prepaid ______]]></text>
</staticText>
<textField isBlankWhenNull="true">
<reportElement x="445" y="20" width="113" height="12"/>
<textElement textAlignment="Left">
<font fontName="Courier New" size="10" isUnderline="true"/>
</textElement>
<textFieldExpression class="java.lang.String"><![CDATA[$F{SHIPMENT_LR_NO}.trim()]]></textFieldExpression>
</textField>
<staticText>
<reportElement x="263" y="94" width="40" height="12"/>
<textElement>
<font fontName="Courier New"/>
</textElement>
<text><![CDATA[FOB:]]></text>
</staticText>
<rectangle>
<reportElement x="350" y="283" width="15" height="12"/>
<graphicElement>
<pen lineWidth="2.0"/>
</graphicElement>
</rectangle>
<staticText>
<reportElement mode="Opaque" x="6" y="107" width="320" height="15" forecolor="#FEFEFE" backcolor="#010101"/>
<textElement textAlignment="Center" verticalAlignment="Middle">
<font fontName="Courier New" size="8" isBold="true"/>
</textElement>
<text><![CDATA[SHIP TO]]></text>
</staticText>
<staticText>
<reportElement x="334" y="110" width="100" height="17"/>
<textElement>
<font fontName="Courier New" isBold="true"/>
</textElement>
<text><![CDATA[CARRIER NAME:]]></text>
</staticText>
<line direction="BottomUp">
<reportElement x="326" y="20" width="1" height="291"/>
</line>
<staticText>
<reportElement x="334" y="130" width="80" height="15"/>
<textElement>
<font fontName="Courier New"/>
</textElement>
<text><![CDATA[Trailer Number:]]></text>
</staticText>
<line>
<reportElement x="326" y="19" width="239" height="1"/>
</line>
<staticText>
<reportElement x="334" y="179" width="70" height="15"/>
<textElement>
<font fontName="Courier New" isBold="true"/>
</textElement>
<text><![CDATA[Pro number:]]></text>
</staticText>
<rectangle>
<reportElement x="293" y="93" width="15" height="12"/>
<graphicElement>
<pen lineWidth="2.0"/>
</graphicElement>
</rectangle>
<staticText>
<reportElement x="7" y="0" width="558" height="20"/>
<textElement textAlignment="Center">
<font fontName="Courier New" size="16" isBold="true"/>
</textElement>
<text><![CDATA[BILL OF LADING (MANUAL)]]></text>
</staticText>
<staticText>
<reportElement x="11" y="94" width="45" height="12"/>
<textElement>
<font fontName="Courier New"/>
</textElement>
<text><![CDATA[SID#:]]></text>
</staticText>
<staticText>
<reportElement x="8" y="274" width="130" height="15"/>
<textElement>
<font fontName="Courier New"/>
</textElement>
<text><![CDATA[SPECIAL INSTRUCTIONS:]]></text>
</staticText>
<staticText>
<reportElement x="8" y="183" width="45" height="12">
<printWhenExpression><![CDATA[new Boolean(false)]]></printWhenExpression>
</reportElement>
<textElement>
<font fontName="Courier New"/>
</textElement>
<text><![CDATA[CID#:]]></text>
</staticText>
<staticText>
<reportElement x="334" y="144" width="90" height="15"/>
<textElement>
<font fontName="Courier New"/>
</textElement>
<text><![CDATA[Seal Number (s):]]></text>
</staticText>
<textField isBlankWhenNull="true">
<reportElement x="420" y="110" width="133" height="15"/>
<textElement>
<font fontName="Courier New" isUnderline="true"/>
</textElement>
<textFieldExpression class="java.lang.String"><![CDATA[$F{TRAN_NAME}.trim()]]></textFieldExpression>
</textField>
<staticText>
<reportElement mode="Opaque" x="6" y="198" width="320" height="15" forecolor="#FEFEFE" backcolor="#010101"/>
<textElement textAlignment="Center" verticalAlignment="Middle">
<font fontName="Courier New" size="8" isBold="true"/>
</textElement>
<text><![CDATA[THIRD PARTY FREIGHT CHARGES BILL TO:]]></text>
</staticText>
<line>
<reportElement x="326" y="108" width="239" height="1"/>
</line>
<line>
<reportElement x="326" y="236" width="239" height="1"/>
</line>
<textField isBlankWhenNull="true">
<reportElement x="334" y="197" width="203" height="31"/>
<textElement>
<font fontName="Code 128AB" size="40"/>
</textElement>
<textFieldExpression class="java.lang.String"><![CDATA[$V{compute_1}]]></textFieldExpression>
</textField>
<textField isBlankWhenNull="true">
<reportElement x="355" y="46" width="203" height="38"/>
<textElement>
<font fontName="Code 128AB" size="40"/>
</textElement>
<textFieldExpression class="java.lang.String"><![CDATA[$V{compute_4}]]></textFieldExpression>
</textField>
<textField isBlankWhenNull="true">
<reportElement x="355" y="83" width="179" height="16"/>
<textElement/>
<textFieldExpression class="java.lang.String"><![CDATA[$V{compute_4_1}]]></textFieldExpression>
</textField>
<textField isBlankWhenNull="true">
<reportElement x="334" y="223" width="179" height="16"/>
<textElement/>
<textFieldExpression class="java.lang.String"><![CDATA[$V{compute_1_1}]]></textFieldExpression>
</textField>
<staticText>
<reportElement x="340" y="299" width="51" height="12"/>
<textElement>
<font fontName="Courier New" size="8" isBold="true"/>
</textElement>
<text><![CDATA[(check box)]]></text>
</staticText>
<staticText>
<reportElement x="10" y="213" width="33" height="15">
<printWhenExpression><![CDATA[new Boolean(false)]]></printWhenExpression>
</reportElement>
<textElement>
<font fontName="Courier New"/>
</textElement>
<text><![CDATA[Name:]]></text>
</staticText>
<staticText>
<reportElement x="10" y="228" width="40" height="15">
<printWhenExpression><![CDATA[new Boolean(false)]]></printWhenExpression>
</reportElement>
<textElement>
<font fontName="Courier New"/>
</textElement>
<text><![CDATA[Address:]]></text>
</staticText>
<staticText>
<reportElement x="8" y="254" width="69" height="15">
<printWhenExpression><![CDATA[new Boolean(false)]]></printWhenExpression>
</reportElement>
<textElement>
<font fontName="Courier New"/>
</textElement>
<text><![CDATA[City/State/Zip:]]></text>
</staticText>
<subreport>
<reportElement positionType="Float" isPrintRepeatedValues="false" x="0" y="412" width="572" height="92" isRemoveLineWhenBlank="true">
<printWhenExpression><![CDATA[new Boolean(true)]]></printWhenExpression>
</reportElement>
<parametersMapExpression><![CDATA[$P{REPORT_PARAMETERS_MAP}]]></parametersMapExpression>
<subreportParameter name="DESP_DESP_ID">
<subreportParameterExpression><![CDATA[$F{SHIPMENT_ID}]]></subreportParameterExpression>
</subreportParameter>
<connectionExpression><![CDATA[$P{REPORT_CONNECTION}]]></connectionExpression>
<subreportExpression class="java.io.InputStream"><![CDATA[new FileInputStream("/data/jboss-5.1.0.GA/server/default/deploy/ibase.ear/ibase.war/webitm/reports/jrxml/bill_of_lading_man_subreport2.jasper")]]></subreportExpression>
</subreport>
<subreport>
<reportElement positionType="Float" isPrintRepeatedValues="false" x="0" y="311" width="572" height="101" isRemoveLineWhenBlank="true">
<printWhenExpression><![CDATA[new Boolean(true)]]></printWhenExpression>
</reportElement>
<parametersMapExpression><![CDATA[$P{REPORT_PARAMETERS_MAP}]]></parametersMapExpression>
<subreportParameter name="DESP_DESP_ID">
<subreportParameterExpression><![CDATA[$F{SHIPMENT_ID}]]></subreportParameterExpression>
</subreportParameter>
<connectionExpression><![CDATA[$P{REPORT_CONNECTION}]]></connectionExpression>
<subreportExpression class="java.io.InputStream"><![CDATA[new FileInputStream("/data/jboss-5.1.0.GA/server/default/deploy/ibase.ear/ibase.war/webitm/reports/jrxml/bill_of_lading_man_subreport1.jasper")]]></subreportExpression>
</subreport>
<textField isBlankWhenNull="true">
<reportElement x="58" y="94" width="159" height="12"/>
<textElement>
<font fontName="Courier New"/>
</textElement>
<textFieldExpression class="java.lang.String"><![CDATA[$F{SHIPMENT_ID}]]></textFieldExpression>
</textField>
<textField>
<reportElement x="9" y="35" width="301" height="59"/>
<textElement>
<font fontName="Courier New"/>
</textElement>
<textFieldExpression class="java.lang.String"><![CDATA[$V{variable1}]]></textFieldExpression>
</textField>
<textField>
<reportElement x="9" y="122" width="301" height="59"/>
<textElement>
<font fontName="Courier New"/>
</textElement>
<textFieldExpression class="java.lang.String"><![CDATA[$V{variable2}]]></textFieldExpression>
</textField>
</band>
</groupHeader>
<groupFooter>
<band height="148">
<staticText>
<reportElement x="10" y="95" width="134" height="11"/>
<textElement textAlignment="Left">
<font fontName="Courier New" size="9" isBold="true"/>
</textElement>
<text><![CDATA[SHIPPER SIGNATURE / DATE]]></text>
</staticText>
<line>
<reportElement x="6" y="36" width="558" height="1"/>
</line>
<staticText>
<reportElement x="361" y="95" width="179" height="11"/>
<textElement textAlignment="Left">
<font fontName="Courier New" size="9" isBold="true"/>
</textElement>
<text><![CDATA[CARRIER SIGNATURE / PICKUP DATE]]></text>
</staticText>
<rectangle>
<reportElement x="278" y="137" width="8" height="8"/>
</rectangle>
<staticText>
<reportElement x="11" y="28" width="149" height="10"/>
<textElement>
<font fontName="Courier New" size="6"/>
</textElement>
<text><![CDATA[Shipper:________________ By: _________________]]></text>
</staticText>
<staticText>
<reportElement x="289" y="117" width="55" height="17"/>
<textElement>
<font fontName="Courier New" size="7"/>
</textElement>
<text><![CDATA[By Driver/Pallets said to contain]]></text>
</staticText>
<staticText>
<reportElement x="317" y="57" width="240" height="15"/>
<textElement>
<font fontName="Courier New" size="6"/>
</textElement>
<text><![CDATA[The carrier shall not make delivery of this shipment without payment of freight and all other lawful charges.]]></text>
</staticText>
<staticText>
<reportElement x="215" y="94" width="60" height="10"/>
<textElement>
<font fontName="Courier New" size="8" isUnderline="true"/>
</textElement>
<text><![CDATA[Trailer Loaded:]]></text>
</staticText>
<staticText>
<reportElement x="167" y="15" width="130" height="15"/>
<textElement>
<font fontName="Courier New" size="6"/>
</textElement>
<text><![CDATA[$ ________________ per lb
$ ________________ per shipment (truckload)]]></text>
</staticText>
<staticText>
<reportElement x="10" y="56" width="300" height="30"/>
<textElement>
<font fontName="Courier New" size="6"/>
</textElement>
<text><![CDATA[RECEIVED, subject to the written transportation contract between shipper and carrier, if applicable, otherwise
subject to the terms and conditions of the shipper's standard transportation contract in the effect on the date of
shipment, which is available to the carrier on request. This shipment is not subject to any classification or
tariffs which may be established by the carrier.]]></text>
</staticText>
<staticText>
<reportElement mode="Transparent" x="321" y="69" width="240" height="20" forecolor="#000000" backcolor="#010101"/>
<textElement textAlignment="Left" verticalAlignment="Middle">
<font fontName="Courier New" size="8" isBold="false"/>
</textElement>
<text><![CDATA[_______________________________________Shipper Signature]]></text>
</staticText>
<line>
<reportElement x="352" y="91" width="1" height="57"/>
</line>
<staticText>
<reportElement x="227" y="108" width="35" height="10"/>
<textElement>
<font fontName="Courier New" size="7"/>
</textElement>
<text><![CDATA[By Shipper]]></text>
</staticText>
<line>
<reportElement x="563" y="91" width="1" height="57"/>
</line>
<staticText>
<reportElement x="289" y="136" width="55" height="10"/>
<textElement>
<font fontName="Courier New" size="7"/>
</textElement>
<text><![CDATA[By Driver/Pieces]]></text>
</staticText>
<staticText>
<reportElement x="361" y="107" width="190" height="30"/>
<textElement textAlignment="Left">
<font fontName="Courier New" size="6"/>
</textElement>
<text><![CDATA[Carrier acknowledges receipt of packages and required placards. Carrier certifies emergency response information was made available and/or carrier has the DOT emergency response guidebook or equivalent documentation in the vehicle.]]></text>
</staticText>
<rectangle>
<reportElement x="491" y="23" width="8" height="8"/>
</rectangle>
<staticText>
<reportElement x="10" y="3" width="300" height="10"/>
<textElement>
<font fontName="Courier New" size="6"/>
</textElement>
<text><![CDATA[Carriers liability for loss, damage or delay is limited to:]]></text>
</staticText>
<line>
<reportElement x="312" y="54" width="1" height="38"/>
</line>
<rectangle>
<reportElement x="502" y="12" width="8" height="8"/>
</rectangle>
<rectangle>
<reportElement x="278" y="107" width="8" height="8"/>
</rectangle>
<staticText>
<reportElement x="10" y="107" width="190" height="25"/>
<textElement textAlignment="Left">
<font fontName="Courier New" size="6"/>
</textElement>
<text><![CDATA[This is to certify that the above named materials are properly classified, packaged, marked and labeled, and are in proper condition for transportation according to the applicable regulations of the DOT.]]></text>
</staticText>
<rectangle>
<reportElement x="217" y="121" width="8" height="8"/>
</rectangle>
<staticText>
<reportElement x="227" y="120" width="35" height="10"/>
<textElement>
<font fontName="Courier New" size="7"/>
</textElement>
<text><![CDATA[By Driver]]></text>
</staticText>
<line>
<reportElement x="205" y="91" width="1" height="56"/>
</line>
<line>
<reportElement x="5" y="91" width="559" height="1"/>
</line>
<line>
<reportElement x="6" y="54" width="558" height="1"/>
</line>
<line>
<reportElement x="6" y="147" width="558" height="1"/>
</line>
<line>
<reportElement x="5" y="91" width="1" height="57"/>
</line>
<staticText>
<reportElement mode="Transparent" x="11" y="38" width="560" height="15" forecolor="#000000" backcolor="#010101"/>
<textElement textAlignment="Left" verticalAlignment="Middle">
<font fontName="Courier New" size="9" isBold="true"/>
</textElement>
<text><![CDATA[NOTE Carrier's liability is for the actual loss unless otherwise agreed in contract, or stated above and signed by Shipper.]]></text>
</staticText>
<staticText>
<reportElement x="281" y="94" width="60" height="10"/>
<textElement>
<font fontName="Courier New" size="8" isUnderline="true"/>
</textElement>
<text><![CDATA[Freight Counted:]]></text>
</staticText>
<line>
<reportElement x="5" y="0" width="1" height="92"/>
</line>
<staticText>
<reportElement x="289" y="107" width="35" height="10"/>
<textElement>
<font fontName="Courier New" size="7"/>
</textElement>
<text><![CDATA[By Shipper]]></text>
</staticText>
<rectangle>
<reportElement x="278" y="117" width="8" height="8"/>
</rectangle>
<rectangle>
<reportElement x="217" y="109" width="8" height="8"/>
</rectangle>
<line>
<reportElement x="563" y="0" width="1" height="92"/>
</line>
<break>
<reportElement x="0" y="147" width="1" height="1"/>
</break>
<line>
<reportElement x="312" y="-1" width="1" height="38"/>
</line>
<line>
<reportElement x="5" y="0" width="560" height="1"/>
</line>
<rectangle>
<reportElement x="434" y="12" width="8" height="8"/>
</rectangle>
<staticText>
<reportElement mode="Transparent" x="313" y="1" width="217" height="35" forecolor="#000000" backcolor="#010101"/>
<textElement textAlignment="Center" verticalAlignment="Top">
<font fontName="Courier New" size="9" isBold="true"/>
</textElement>
<text><![CDATA[COD Amount: $ ________________
Fee Terms: Collect: Prepaid: Customer check acceptable:]]></text>
</staticText>
</band>
</groupFooter>
</group>
<background>
<band splitType="Stretch"/>
</background>
<title>
<band splitType="Stretch"/>
</title>
<pageHeader>
<band splitType="Stretch"/>
</pageHeader>
<columnHeader>
<band splitType="Stretch"/>
</columnHeader>
<columnFooter>
<band splitType="Stretch"/>
</columnFooter>
<pageFooter>
<band splitType="Stretch"/>
</pageFooter>
<summary>
<band splitType="Stretch"/>
</summary>
</jasperReport>
<?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="Cut Report" pageWidth="792" pageHeight="612" orientation="Landscape" columnWidth="752" leftMargin="20" rightMargin="20" topMargin="20" bottomMargin="20">
<property name="ireport.zoom" value="1.0"/>
<property name="ireport.x" value="0"/>
<property name="ireport.y" value="0"/>
<parameter name="as_site_code" class="java.lang.String"/>
<parameter name="frm_order_date" class="java.util.Date"/>
<parameter name="to_order_date" class="java.util.Date"/>
<queryString>
<![CDATA[select sale_order,
line_no,
order_date,
due_date,
status_date,
cust_code,
cust_name,
sum(ord_qty) as ord_qty,
sum(ship_qty) as ship_qty,
sum(ord_qty - ship_qty) as cancel_qty,
item_code,
item_descr,
site_descr
from
(select sorder.sale_order,sorddet.line_no,sorder.order_date,sorder.due_date,sorder.status_date,sorder.cust_code,customer.cust_name,sorddet.quantity as ord_qty,
0 as ship_qty,sorddet.item_code,item.descr as item_descr,ddf_get_site_descr(sorder.site_code) as site_descr
from sorder,sorddet,customer,item
where sorder.order_date between $P{frm_order_date} AND $P{to_order_date}
and sorder.site_code = '$P!{as_site_code}'
and sorder.confirmed = 'Y'
and sorder.status = 'C'
and sorddet.sale_order = sorder.sale_order
and customer.cust_code = sorder.cust_code
and item.item_code = sorddet.item_code
union all
select sorder.sale_order,sorditem.line_no,sorder.order_date,sorditem.due_date,sorder.status_date,sorder.cust_code,customer.cust_name,0 as ord_qty,
sum(sorditem.qty_desp) as ship_qty,sorditem.item_code,item.descr as item_descr,ddf_get_site_descr(sorder.site_code) as site_descr
from sorder,sorditem,customer,item
where sorder.order_date between $P{frm_order_date} AND $P{to_order_date}
and sorder.site_code = '$P!{as_site_code}'
and sorder.confirmed = 'Y'
and sorder.status = 'C'
and sorditem.sale_order = sorder.sale_order
and customer.cust_code = sorder.cust_code
and item.item_code = sorditem.item_code
group by sorder.sale_order,sorditem.line_no,sorder.order_date,sorditem.due_date,sorder.status_date,sorder.cust_code,customer.cust_name,sorditem.item_code,item.descr,ddf_get_site_descr(sorder.site_code))
group by sale_order,line_no,order_date,due_date,status_date,cust_code,cust_name,item_code,item_descr,site_descr
having sum(ord_qty - ship_qty) > 0]]>
</queryString>
<field name="sale_order" class="java.lang.String"/>
<field name="line_no" class="java.lang.Double"/>
<field name="order_date" class="java.util.Date"/>
<field name="due_date" class="java.util.Date"/>
<field name="status_date" class="java.util.Date"/>
<field name="cust_code" class="java.lang.String"/>
<field name="cust_name" class="java.lang.String"/>
<field name="ord_qty" class="java.lang.Double"/>
<field name="ship_qty" class="java.lang.Double"/>
<field name="cancel_qty" class="java.lang.Double"/>
<field name="item_code" class="java.lang.String"/>
<field name="item_descr" class="java.lang.String"/>
<field name="site_descr" class="java.lang.String"/>
<sortField name="cust_code"/>
<variable name="variable1" class="java.util.Date" resetType="None">
<variableExpression><![CDATA[new java.util.Date()]]></variableExpression>
</variable>
<variable name="ord_tot" class="java.lang.Double" resetType="Group" resetGroup="CUSTOMER" calculation="Sum">
<variableExpression><![CDATA[$F{ord_qty}]]></variableExpression>
</variable>
<variable name="ship_tot" class="java.lang.Double" resetType="Group" resetGroup="CUSTOMER" calculation="Sum">
<variableExpression><![CDATA[$F{ship_qty}]]></variableExpression>
</variable>
<variable name="pending_tot" class="java.lang.Double" resetType="Group" resetGroup="CUSTOMER" calculation="Sum">
<variableExpression><![CDATA[$F{cancel_qty}]]></variableExpression>
</variable>
<variable name="ord_grand" class="java.lang.Double" calculation="Sum">
<variableExpression><![CDATA[$F{ord_qty}]]></variableExpression>
</variable>
<variable name="ship_grand" class="java.lang.Double" calculation="Sum">
<variableExpression><![CDATA[$F{ship_qty}]]></variableExpression>
</variable>
<variable name="pending_grand" class="java.lang.Double" calculation="Sum">
<variableExpression><![CDATA[$F{cancel_qty}]]></variableExpression>
</variable>
<group name="CUSTOMER" isReprintHeaderOnEachPage="true">
<groupExpression><![CDATA[$F{cust_code}]]></groupExpression>
<groupHeader>
<band height="18">
<textField>
<reportElement x="79" y="1" width="174" height="16"/>
<textElement textAlignment="Left" verticalAlignment="Middle">
<font fontName="Times New Roman" isBold="true"/>
</textElement>
<textFieldExpression class="java.lang.String"><![CDATA[$F{cust_name}]]></textFieldExpression>
</textField>
<line>
<reportElement x="0" y="17" width="750" height="1"/>
</line>
<staticText>
<reportElement x="3" y="0" width="76" height="18"/>
<textElement textAlignment="Left" verticalAlignment="Middle">
<font fontName="Times New Roman" isBold="true"/>
</textElement>
<text><![CDATA[Customer Name : ]]></text>
</staticText>
</band>
</groupHeader>
<groupFooter>
<band height="19">
<textField pattern="###0.00">
<reportElement x="561" y="0" width="84" height="18"/>
<textElement textAlignment="Right" verticalAlignment="Middle">
<font fontName="Times New Roman"/>
</textElement>
<textFieldExpression class="java.lang.Double"><![CDATA[$V{ship_tot}]]></textFieldExpression>
</textField>
<line>
<reportElement x="0" y="0" width="750" height="1"/>
</line>
<staticText>
<reportElement x="296" y="1" width="146" height="18"/>
<textElement textAlignment="Left" verticalAlignment="Middle">
<font fontName="Times New Roman" isBold="true"/>
</textElement>
<text><![CDATA[Customer Code Wise Total]]></text>
</staticText>
<textField pattern="###0.00">
<reportElement x="647" y="0" width="99" height="18"/>
<textElement textAlignment="Right" verticalAlignment="Middle">
<font fontName="Times New Roman"/>
</textElement>
<textFieldExpression class="java.lang.Double"><![CDATA[$V{pending_tot}]]></textFieldExpression>
</textField>
<textField pattern="###0.00">
<reportElement x="472" y="0" width="88" height="18"/>
<textElement textAlignment="Right" verticalAlignment="Middle">
<font fontName="Times New Roman"/>
</textElement>
<textFieldExpression class="java.lang.Double"><![CDATA[$V{ord_tot}]]></textFieldExpression>
</textField>
<line>
<reportElement x="0" y="18" width="750" height="1"/>
</line>
</band>
</groupFooter>
</group>
<background>
<band splitType="Stretch"/>
</background>
<pageHeader>
<band height="73" splitType="Stretch">
<staticText>
<reportElement x="326" y="50" width="146" height="21"/>
<textElement textAlignment="Left" verticalAlignment="Middle">
<font fontName="Times New Roman" isBold="true"/>
</textElement>
<text><![CDATA[Item Description]]></text>
</staticText>
<textField evaluationTime="Report">
<reportElement x="731" y="7" width="15" height="20"/>
<textElement>
<font fontName="Times New Roman"/>
</textElement>
<textFieldExpression class="java.lang.Integer"><![CDATA[$V{PAGE_NUMBER}]]></textFieldExpression>
</textField>
<staticText>
<reportElement x="684" y="7" width="20" height="20"/>
<textElement>
<font fontName="Times New Roman" isBold="false"/>
</textElement>
<text><![CDATA[Page]]></text>
</staticText>
<staticText>
<reportElement x="39" y="50" width="55" height="21"/>
<textElement textAlignment="Left" verticalAlignment="Middle">
<font fontName="Times New Roman" isBold="true"/>
</textElement>
<text><![CDATA[Sale Order]]></text>
</staticText>
<staticText>
<reportElement x="17" y="8" width="28" height="17"/>
<textElement>
<font fontName="Times New Roman" isBold="true"/>
</textElement>
<text><![CDATA[Date:]]></text>
</staticText>
<staticText>
<reportElement x="718" y="7" width="10" height="14"/>
<textElement>
<font fontName="Times New Roman" isBold="false"/>
</textElement>
<text><![CDATA[of]]></text>
</staticText>
<staticText>
<reportElement x="265" y="49" width="60" height="22"/>
<textElement textAlignment="Left" verticalAlignment="Middle">
<font fontName="Times New Roman" isBold="true"/>
</textElement>
<text><![CDATA[Item]]></text>
</staticText>
<staticText>
<reportElement x="214" y="49" width="50" height="22"/>
<textElement textAlignment="Left" verticalAlignment="Middle">
<font fontName="Times New Roman" isBold="true"/>
</textElement>
<text><![CDATA[Due Date]]></text>
</staticText>
<staticText>
<reportElement x="3" y="50" width="36" height="21"/>
<textElement textAlignment="Left" verticalAlignment="Middle">
<font fontName="Times New Roman" isBold="true"/>
</textElement>
<text><![CDATA[Sr No]]></text>
</staticText>
<textField pattern="MM/dd/yy">
<reportElement x="49" y="8" width="133" height="17"/>
<textElement>
<font fontName="Times New Roman"/>
</textElement>
<textFieldExpression class="java.util.Date"><![CDATA[$V{variable1}]]></textFieldExpression>
</textField>
<staticText>
<reportElement x="647" y="49" width="99" height="22"/>
<textElement textAlignment="Right" verticalAlignment="Middle">
<font fontName="Times New Roman" isBold="true"/>
</textElement>
<text><![CDATA[Pending Qty]]></text>
</staticText>
<staticText>
<reportElement x="100" y="50" width="53" height="21"/>
<textElement textAlignment="Left" verticalAlignment="Middle">
<font fontName="Times New Roman" isBold="true"/>
</textElement>
<text><![CDATA[Order Date]]></text>
</staticText>
<line>
<reportElement x="0" y="72" width="750" height="1"/>
</line>
<textField evaluationTime="Page">
<reportElement x="706" y="7" width="13" height="20"/>
<textElement>
<font fontName="Times New Roman"/>
</textElement>
<textFieldExpression class="java.lang.Integer"><![CDATA[$V{PAGE_NUMBER}]]></textFieldExpression>
</textField>
<staticText>
<reportElement x="561" y="49" width="84" height="22"/>
<textElement textAlignment="Right" verticalAlignment="Middle">
<font fontName="Times New Roman" isBold="true"/>
</textElement>
<text><![CDATA[Ship Qty]]></text>
</staticText>
<staticText>
<reportElement x="154" y="49" width="66" height="22"/>
<textElement textAlignment="Left" verticalAlignment="Middle">
<font fontName="Times New Roman" isBold="true"/>
</textElement>
<text><![CDATA[Status Date]]></text>
</staticText>
<textField>
<reportElement x="15" y="8" width="735" height="17"/>
<textElement textAlignment="Center">
<font fontName="Times New Roman" size="12" isBold="true"/>
</textElement>
<textFieldExpression class="java.lang.String"><![CDATA[$F{site_descr}]]></textFieldExpression>
</textField>
<line>
<reportElement x="0" y="47" width="750" height="1"/>
</line>
<staticText>
<reportElement x="17" y="26" width="733" height="18"/>
<textElement textAlignment="Center">
<font fontName="Times New Roman" size="14" isBold="true"/>
</textElement>
<text><![CDATA[Cut Report]]></text>
</staticText>
<staticText>
<reportElement x="473" y="49" width="87" height="22"/>
<textElement textAlignment="Right" verticalAlignment="Middle">
<font fontName="Times New Roman" isBold="true"/>
</textElement>
<text><![CDATA[Order Qty]]></text>
</staticText>
</band>
</pageHeader>
<detail>
<band height="19" splitType="Stretch">
<textField>
<reportElement x="264" y="0" width="57" height="18"/>
<textElement verticalAlignment="Middle">
<font fontName="Times New Roman"/>
</textElement>
<textFieldExpression class="java.lang.String"><![CDATA[$F{item_code}]]></textFieldExpression>
</textField>
<textField pattern="MM/dd/yy">
<reportElement x="100" y="0" width="53" height="18"/>
<textElement verticalAlignment="Middle">
<font fontName="Times New Roman"/>
</textElement>
<textFieldExpression class="java.util.Date"><![CDATA[$F{order_date}]]></textFieldExpression>
</textField>
<textField pattern="###0">
<reportElement x="3" y="0" width="24" height="18"/>
<textElement textAlignment="Right" verticalAlignment="Middle">
<font fontName="Times New Roman"/>
</textElement>
<textFieldExpression class="java.lang.Double"><![CDATA[$F{line_no}]]></textFieldExpression>
</textField>
<textField>
<reportElement x="326" y="0" width="146" height="18"/>
<textElement verticalAlignment="Middle">
<font fontName="Times New Roman"/>
</textElement>
<textFieldExpression class="java.lang.String"><![CDATA[$F{item_descr}]]></textFieldExpression>
</textField>
<textField pattern="MM/dd/yy">
<reportElement x="214" y="0" width="50" height="18"/>
<textElement verticalAlignment="Middle">
<font fontName="Times New Roman"/>
</textElement>
<textFieldExpression class="java.util.Date"><![CDATA[$F{due_date}]]></textFieldExpression>
</textField>
<textField pattern="###0.00">
<reportElement x="647" y="1" width="99" height="18"/>
<textElement textAlignment="Right" verticalAlignment="Middle">
<font fontName="Times New Roman"/>
</textElement>
<textFieldExpression class="java.lang.Double"><![CDATA[$F{cancel_qty}]]></textFieldExpression>
</textField>
<textField pattern="MM/dd/yy">
<reportElement x="154" y="0" width="65" height="18"/>
<textElement verticalAlignment="Middle">
<font fontName="Times New Roman"/>
</textElement>
<textFieldExpression class="java.util.Date"><![CDATA[$F{status_date}]]></textFieldExpression>
</textField>
<textField>
<reportElement x="39" y="0" width="53" height="18"/>
<textElement verticalAlignment="Middle">
<font fontName="Times New Roman"/>
</textElement>
<textFieldExpression class="java.lang.String"><![CDATA[$F{sale_order}]]></textFieldExpression>
</textField>
<textField pattern="###0.00">
<reportElement x="473" y="0" width="87" height="18"/>
<textElement textAlignment="Right" verticalAlignment="Middle">
<font fontName="Times New Roman"/>
</textElement>
<textFieldExpression class="java.lang.Double"><![CDATA[$F{ord_qty}]]></textFieldExpression>
</textField>
<textField pattern="###0.00">
<reportElement x="561" y="0" width="84" height="18"/>
<textElement textAlignment="Right" verticalAlignment="Middle">
<font fontName="Times New Roman"/>
</textElement>
<textFieldExpression class="java.lang.Double"><![CDATA[$F{ship_qty}]]></textFieldExpression>
</textField>
</band>
</detail>
<pageFooter>
<band splitType="Stretch"/>
</pageFooter>
<summary>
<band height="19" splitType="Stretch">
<staticText>
<reportElement x="296" y="1" width="146" height="18"/>
<textElement textAlignment="Left" verticalAlignment="Middle">
<font fontName="Times New Roman" isBold="true"/>
</textElement>
<text><![CDATA[Grand Total]]></text>
</staticText>
<textField pattern="###0.00">
<reportElement x="561" y="1" width="84" height="18"/>
<textElement textAlignment="Right" verticalAlignment="Middle">
<font fontName="Times New Roman"/>
</textElement>
<textFieldExpression class="java.lang.Double"><![CDATA[$V{ship_grand}]]></textFieldExpression>
</textField>
<textField pattern="###0.00">
<reportElement x="473" y="1" width="87" height="18"/>
<textElement textAlignment="Right" verticalAlignment="Middle">
<font fontName="Times New Roman"/>
</textElement>
<textFieldExpression class="java.lang.Double"><![CDATA[$V{ord_grand}]]></textFieldExpression>
</textField>
<textField pattern="###0.00">
<reportElement x="647" y="1" width="99" height="18"/>
<textElement textAlignment="Right" verticalAlignment="Middle">
<font fontName="Times New Roman"/>
</textElement>
<textFieldExpression class="java.lang.Double"><![CDATA[$V{pending_grand}]]></textFieldExpression>
</textField>
</band>
</summary>
</jasperReport>
<?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="Molecule Sales" pageWidth="612" pageHeight="792" columnWidth="555" leftMargin="20" rightMargin="20" topMargin="20" bottomMargin="20">
<property name="ireport.zoom" value="1.0"/>
<property name="ireport.x" value="0"/>
<property name="ireport.y" value="0"/>
<parameter name="as_sitecode" class="java.lang.String"/>
<queryString>
<![CDATA[SELECT INVOICE.SITE_CODE as site_code,ddf_get_site_descr(INVOICE.SITE_CODE) as site_descr, GENCODES.DESCR,SUM(INVOICE_TRACE.NET_AMT) AS NET_AMT
FROM INVOICE, ITEM, GENCODES,INVOICE_TRACE
WHERE
INVOICE.SITE_CODE IN ('$P!{as_sitecode}')
AND INVOICE.TRAN_DATE = TRUNC(SYSDATE) - 1
AND
INVOICE.CONFIRMED = 'Y'
AND INVOICE_TRACE.INVOICE_ID = INVOICE.INVOICE_ID
AND ITEM.ITEM_CODE = INVOICE_TRACE.ITEM_CODE
AND GENCODES.FLD_NAME = 'SGRP_CODE'
AND RTRIM(GENCODES.FLD_VALUE) = ITEM.SGRP_CODE
AND MOD_NAME = 'W_ITEM' GROUP BY INVOICE.SITE_CODE,GENCODES.DESCR]]>
</queryString>
<field name="site_code" class="java.lang.String"/>
<field name="site_descr" class="java.lang.String"/>
<field name="NET_AMT" class="java.lang.Double"/>
<field name="DESCR" class="java.lang.String"/>
<sortField name="site_code"/>
<variable name="variable1" class="java.util.Date" resetType="None">
<variableExpression><![CDATA[new java.util.Date()]]></variableExpression>
</variable>
<variable name="site_var" class="java.lang.String" resetType="None">
<variableExpression><![CDATA[new java.lang.String("Site Code : "+$F{site_code} + " "+ $F{site_descr})]]></variableExpression>
</variable>
<variable name="variable2" class="java.lang.Double" calculation="Sum">
<variableExpression><![CDATA[new java.lang.Double($F{NET_AMT}.doubleValue())]]></variableExpression>
</variable>
<group name="SITE_GROUP" isStartNewPage="true" isResetPageNumber="true">
<groupExpression><![CDATA[$F{site_code}]]></groupExpression>
<groupHeader>
<band/>
</groupHeader>
<groupFooter>
<band/>
</groupFooter>
</group>
<background>
<band splitType="Stretch"/>
</background>
<pageHeader>
<band height="79" splitType="Stretch">
<staticText>
<reportElement x="18" y="58" width="427" height="18"/>
<textElement>
<font fontName="Times New Roman" isBold="true"/>
</textElement>
<text><![CDATA[Description]]></text>
</staticText>
<staticText>
<reportElement x="455" y="58" width="100" height="18"/>
<textElement textAlignment="Right">
<font fontName="Times New Roman" isBold="true"/>
</textElement>
<text><![CDATA[Net Amount]]></text>
</staticText>
<line>
<reportElement x="0" y="77" width="570" height="1"/>
</line>
<line>
<reportElement x="0" y="55" width="570" height="1"/>
</line>
<staticText>
<reportElement x="14" y="26" width="540" height="18"/>
<textElement textAlignment="Center">
<font fontName="Times New Roman" size="12" isBold="true"/>
</textElement>
<text><![CDATA[Molecule Sales]]></text>
</staticText>
<textField pattern="MM/dd/yy">
<reportElement x="40" y="3" width="133" height="14"/>
<textElement>
<font fontName="Times New Roman"/>
</textElement>
<textFieldExpression class="java.util.Date"><![CDATA[$V{variable1}]]></textFieldExpression>
</textField>
<staticText>
<reportElement x="10" y="3" width="28" height="14"/>
<textElement>
<font fontName="Times New Roman" isBold="true"/>
</textElement>
<text><![CDATA[Date:]]></text>
</staticText>
<staticText>
<reportElement x="504" y="3" width="20" height="14"/>
<textElement>
<font fontName="Times New Roman" isBold="false"/>
</textElement>
<text><![CDATA[Page]]></text>
</staticText>
<staticText>
<reportElement x="538" y="3" width="10" height="14"/>
<textElement>
<font fontName="Times New Roman" isBold="false"/>
</textElement>
<text><![CDATA[of]]></text>
</staticText>
<textField evaluationTime="Page">
<reportElement x="526" y="3" width="13" height="14"/>
<textElement>
<font fontName="Times New Roman"/>
</textElement>
<textFieldExpression class="java.lang.Integer"><![CDATA[$V{PAGE_NUMBER}]]></textFieldExpression>
</textField>
<textField evaluationTime="Report">
<reportElement x="551" y="3" width="15" height="14"/>
<textElement>
<font fontName="Times New Roman"/>
</textElement>
<textFieldExpression class="java.lang.Integer"><![CDATA[$V{PAGE_NUMBER}]]></textFieldExpression>
</textField>
<textField>
<reportElement x="14" y="3" width="540" height="18"/>
<textElement textAlignment="Center">
<font fontName="Times New Roman" size="12" isBold="true"/>
</textElement>
<textFieldExpression class="java.lang.String"><![CDATA[$F{site_descr}]]></textFieldExpression>
</textField>
</band>
</pageHeader>
<detail>
<band height="18" splitType="Stretch">
<textField>
<reportElement x="18" y="0" width="366" height="18"/>
<textElement>
<font fontName="Times New Roman"/>
</textElement>
<textFieldExpression class="java.lang.String"><![CDATA[$F{DESCR}]]></textFieldExpression>
</textField>
<textField pattern="0.00">
<reportElement x="394" y="0" width="160" height="18"/>
<textElement textAlignment="Right">
<font fontName="Times New Roman"/>
</textElement>
<textFieldExpression class="java.lang.Double"><![CDATA[$F{NET_AMT}]]></textFieldExpression>
</textField>
</band>
</detail>
<pageFooter>
<band splitType="Stretch"/>
</pageFooter>
<summary>
<band height="20" splitType="Stretch">
<textField pattern="0.00">
<reportElement x="455" y="2" width="100" height="18"/>
<textElement textAlignment="Right">
<font fontName="Times New Roman"/>
</textElement>
<textFieldExpression class="java.lang.Double"><![CDATA[$V{variable2}]]></textFieldExpression>
</textField>
<staticText>
<reportElement x="349" y="2" width="96" height="18"/>
<textElement>
<font fontName="Times New Roman" isBold="true"/>
</textElement>
<text><![CDATA[Grand Total]]></text>
</staticText>
<line>
<reportElement x="0" y="0" width="570" height="1"/>
</line>
</band>
</summary>
</jasperReport>
<?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="Pending Orders" pageWidth="792" pageHeight="612" orientation="Landscape" columnWidth="752" leftMargin="20" rightMargin="20" topMargin="20" bottomMargin="20">
<property name="ireport.zoom" value="1.0"/>
<property name="ireport.x" value="0"/>
<property name="ireport.y" value="0"/>
<parameter name="as_site_code" class="java.lang.String"/>
<parameter name="frm_order_date" class="java.util.Date"/>
<parameter name="to_order_date" class="java.util.Date"/>
<queryString>
<![CDATA[SELECT SORDER.SALE_ORDER,
SORDER.ORDER_DATE,
CUSTOMER.CUST_NAME,
CUSTOMER.CUST_CODE,
SORDER.CUST_PORD,
SORDDET.ITEM_CODE,
ITEM.DESCR AS ITEM_DESCR,
SORDER.STATUS,
SORDDET.QUANTITY,
SORDDET.RATE,
(SORDDET.QUANTITY*SORDDET.RATE) AS ORDER_VALUE,
DDF_GET_STOCK(SORDER.SITE_CODE,SORDDET.ITEM_CODE) AS STOCK_QTY,
DDF_GET_SITE_DESCR(SORDER.SITE_CODE) AS SITE_DESCR
FROM SORDER,SORDDET,ITEM,CUSTOMER
WHERE SORDER.SITE_CODE = '$P!{as_site_code}'
AND SORDER.CONFIRMED = 'Y'
AND SORDER.STATUS = 'P'
AND SORDER.ORDER_DATE BETWEEN $P{frm_order_date} AND $P{to_order_date}
AND SORDDET.SALE_ORDER = SORDER.SALE_ORDER
AND ITEM.ITEM_CODE = SORDDET.ITEM_CODE
AND CUSTOMER.CUST_CODE = SORDER.CUST_CODE]]>
</queryString>
<field name="SALE_ORDER" class="java.lang.String"/>
<field name="ORDER_DATE" class="java.util.Date"/>
<field name="CUST_NAME" class="java.lang.String"/>
<field name="CUST_PORD" class="java.lang.String"/>
<field name="ITEM_CODE" class="java.lang.String"/>
<field name="ITEM_DESCR" class="java.lang.String"/>
<field name="SITE_DESCR" class="java.lang.String"/>
<field name="STATUS" class="java.lang.String"/>
<field name="QUANTITY" class="java.lang.Double"/>
<field name="RATE" class="java.lang.Double"/>
<field name="ORDER_VALUE" class="java.lang.Double"/>
<field name="STOCK_QTY" class="java.lang.Double"/>
<field name="CUST_CODE" class="java.lang.String"/>
<sortField name="CUST_NAME"/>
<variable name="variable1" class="java.util.Date" resetType="None">
<variableExpression><![CDATA[new java.util.Date()]]></variableExpression>
</variable>
<variable name="order_val_grp" class="java.lang.Double" resetType="Group" resetGroup="CUSTOMER" calculation="Sum">
<variableExpression><![CDATA[new java.lang.Double($F{ORDER_VALUE}.doubleValue())]]></variableExpression>
</variable>
<variable name="order_val_grand" class="java.lang.Double" calculation="Sum">
<variableExpression><![CDATA[new java.lang.Double($F{ORDER_VALUE}.doubleValue())]]></variableExpression>
</variable>
<group name="CUSTOMER" isReprintHeaderOnEachPage="true">
<groupExpression><![CDATA[$F{CUST_CODE}]]></groupExpression>
<groupHeader>
<band height="19">
<line>
<reportElement x="0" y="0" width="750" height="1"/>
</line>
<textField isBlankWhenNull="true">
<reportElement x="78" y="1" width="498" height="18"/>
<textElement>
<font fontName="Times New Roman" isBold="true"/>
</textElement>
<textFieldExpression class="java.lang.String"><![CDATA[$F{CUST_NAME}]]></textFieldExpression>
</textField>
<staticText>
<reportElement x="0" y="1" width="78" height="18"/>
<textElement>
<font fontName="Times New Roman" isBold="true"/>
</textElement>
<text><![CDATA[Customer Name : ]]></text>
</staticText>
<line>
<reportElement x="0" y="17" width="750" height="1"/>
</line>
</band>
</groupHeader>
<groupFooter>
<band height="19">
<textField pattern="0.00">
<reportElement x="604" y="0" width="68" height="18" printWhenGroupChanges="CUSTOMER"/>
<textElement textAlignment="Right">
<font fontName="Times New Roman"/>
</textElement>
<textFieldExpression class="java.lang.Double"><![CDATA[$V{order_val_grp}]]></textFieldExpression>
</textField>
<staticText>
<reportElement x="475" y="1" width="126" height="18"/>
<textElement textAlignment="Left">
<font fontName="Times New Roman" isBold="true"/>
</textElement>
<text><![CDATA[Customer Code Wise Total]]></text>
</staticText>
<line>
<reportElement x="0" y="0" width="750" height="1"/>
</line>
</band>
</groupFooter>
</group>
<background>
<band splitType="Stretch"/>
</background>
<pageHeader>
<band height="79" splitType="Stretch">
<staticText>
<reportElement x="0" y="58" width="52" height="18"/>
<textElement>
<font fontName="Times New Roman" isBold="true"/>
</textElement>
<text><![CDATA[Sale Order]]></text>
</staticText>
<staticText>
<reportElement x="529" y="58" width="68" height="18"/>
<textElement textAlignment="Right">
<font fontName="Times New Roman" isBold="true"/>
</textElement>
<text><![CDATA[Rate]]></text>
</staticText>
<line>
<reportElement x="0" y="55" width="750" height="1"/>
</line>
<staticText>
<reportElement x="14" y="26" width="711" height="18"/>
<textElement textAlignment="Center">
<font fontName="Times New Roman" size="12" isBold="true"/>
</textElement>
<text><![CDATA[Pending Order]]></text>
</staticText>
<textField pattern="MM/dd/yy">
<reportElement x="40" y="3" width="133" height="14"/>
<textElement>
<font fontName="Times New Roman"/>
</textElement>
<textFieldExpression class="java.util.Date"><![CDATA[$V{variable1}]]></textFieldExpression>
</textField>
<staticText>
<reportElement x="10" y="3" width="28" height="14"/>
<textElement>
<font fontName="Times New Roman" isBold="true"/>
</textElement>
<text><![CDATA[Date:]]></text>
</staticText>
<staticText>
<reportElement x="678" y="3" width="20" height="14"/>
<textElement>
<font fontName="Times New Roman" isBold="false"/>
</textElement>
<text><![CDATA[Page]]></text>
</staticText>
<staticText>
<reportElement x="712" y="3" width="10" height="14"/>
<textElement>
<font fontName="Times New Roman" isBold="false"/>
</textElement>
<text><![CDATA[of]]></text>
</staticText>
<textField evaluationTime="Page">
<reportElement x="700" y="3" width="13" height="14"/>
<textElement>
<font fontName="Times New Roman"/>
</textElement>
<textFieldExpression class="java.lang.Integer"><![CDATA[$V{PAGE_NUMBER}]]></textFieldExpression>
</textField>
<textField evaluationTime="Report">
<reportElement x="725" y="3" width="15" height="14"/>
<textElement>
<font fontName="Times New Roman"/>
</textElement>
<textFieldExpression class="java.lang.Integer"><![CDATA[$V{PAGE_NUMBER}]]></textFieldExpression>
</textField>
<textField>
<reportElement x="14" y="3" width="711" height="18"/>
<textElement textAlignment="Center">
<font fontName="Times New Roman" size="12" isBold="true"/>
</textElement>
<textFieldExpression class="java.lang.String"><![CDATA[$F{SITE_DESCR}]]></textFieldExpression>
</textField>
<staticText>
<reportElement x="115" y="58" width="52" height="18"/>
<textElement>
<font fontName="Times New Roman" isBold="true"/>
</textElement>
<text><![CDATA[Order No.]]></text>
</staticText>
<staticText>
<reportElement x="173" y="58" width="52" height="18"/>
<textElement>
<font fontName="Times New Roman" isBold="true"/>
</textElement>
<text><![CDATA[Item Code]]></text>
</staticText>
<staticText>
<reportElement x="235" y="58" width="183" height="18"/>
<textElement>
<font fontName="Times New Roman" isBold="true"/>
</textElement>
<text><![CDATA[Item Description]]></text>
</staticText>
<staticText>
<reportElement x="420" y="58" width="30" height="18"/>
<textElement>
<font fontName="Times New Roman" isBold="true"/>
</textElement>
<text><![CDATA[Status]]></text>
</staticText>
<staticText>
<reportElement x="451" y="58" width="70" height="18"/>
<textElement textAlignment="Right">
<font fontName="Times New Roman" isBold="true"/>
</textElement>
<text><![CDATA[Quantity]]></text>
</staticText>
<staticText>
<reportElement x="604" y="58" width="68" height="18"/>
<textElement textAlignment="Right">
<font fontName="Times New Roman" isBold="true"/>
</textElement>
<text><![CDATA[Order Value]]></text>
</staticText>
<staticText>
<reportElement x="680" y="58" width="68" height="18"/>
<textElement textAlignment="Right">
<font fontName="Times New Roman" isBold="true"/>
</textElement>
<text><![CDATA[Stock Quantity]]></text>
</staticText>
<staticText>
<reportElement x="57" y="58" width="52" height="18"/>
<textElement>
<font fontName="Times New Roman" isBold="true"/>
</textElement>
<text><![CDATA[Order Date]]></text>
</staticText>
</band>
</pageHeader>
<detail>
<band height="18" splitType="Stretch">
<textField>
<reportElement x="0" y="0" width="52" height="18"/>
<textElement>
<font fontName="Times New Roman"/>
</textElement>
<textFieldExpression class="java.lang.String"><![CDATA[$F{SALE_ORDER}]]></textFieldExpression>
</textField>
<textField pattern="0.00">
<reportElement x="529" y="0" width="68" height="18"/>
<textElement textAlignment="Right">
<font fontName="Times New Roman"/>
</textElement>
<textFieldExpression class="java.lang.Double"><![CDATA[$F{RATE}]]></textFieldExpression>
</textField>
<textField pattern="MM/dd/yy">
<reportElement x="57" y="0" width="52" height="18"/>
<textElement>
<font fontName="Times New Roman"/>
</textElement>
<textFieldExpression class="java.util.Date"><![CDATA[$F{ORDER_DATE}]]></textFieldExpression>
</textField>
<textField pattern="0.00">
<reportElement x="680" y="0" width="68" height="18"/>
<textElement textAlignment="Right">
<font fontName="Times New Roman"/>
</textElement>
<textFieldExpression class="java.lang.Double"><![CDATA[$F{ORDER_VALUE}]]></textFieldExpression>
</textField>
<textField isBlankWhenNull="true">
<reportElement x="115" y="0" width="52" height="18"/>
<textElement>
<font fontName="Times New Roman"/>
</textElement>
<textFieldExpression class="java.lang.String"><![CDATA[$F{CUST_PORD}]]></textFieldExpression>
</textField>
<textField isBlankWhenNull="true">
<reportElement x="173" y="0" width="52" height="18"/>
<textElement>
<font fontName="Times New Roman"/>
</textElement>
<textFieldExpression class="java.lang.String"><![CDATA[$F{ITEM_CODE}]]></textFieldExpression>
</textField>
<textField isStretchWithOverflow="true" isBlankWhenNull="true">
<reportElement x="235" y="0" width="183" height="18"/>
<textElement>
<font fontName="Times New Roman" size="10"/>
</textElement>
<textFieldExpression class="java.lang.String"><![CDATA[$F{ITEM_DESCR}]]></textFieldExpression>
</textField>
<textField isStretchWithOverflow="true" isBlankWhenNull="true">
<reportElement x="420" y="0" width="30" height="18"/>
<textElement>
<font fontName="Times New Roman" size="9"/>
</textElement>
<textFieldExpression class="java.lang.String"><![CDATA[$F{STATUS}]]></textFieldExpression>
</textField>
<textField pattern="0.00">
<reportElement x="451" y="0" width="70" height="18"/>
<textElement textAlignment="Right">
<font fontName="Times New Roman"/>
</textElement>
<textFieldExpression class="java.lang.Double"><![CDATA[$F{QUANTITY}]]></textFieldExpression>
</textField>
<textField pattern="0.00">
<reportElement x="604" y="0" width="68" height="18"/>
<textElement textAlignment="Right">
<font fontName="Times New Roman"/>
</textElement>
<textFieldExpression class="java.lang.Double"><![CDATA[$F{ORDER_VALUE}]]></textFieldExpression>
</textField>
</band>
</detail>
<pageFooter>
<band splitType="Stretch"/>
</pageFooter>
<summary>
<band height="22" splitType="Stretch">
<staticText>
<reportElement x="475" y="3" width="126" height="18"/>
<textElement textAlignment="Left">
<font fontName="Times New Roman" isBold="true"/>
</textElement>
<text><![CDATA[Grand Total]]></text>
</staticText>
<textField pattern="0.00">
<reportElement x="604" y="2" width="68" height="18"/>
<textElement textAlignment="Right">
<font fontName="Times New Roman"/>
</textElement>
<textFieldExpression class="java.lang.Double"><![CDATA[$V{order_val_grand}]]></textFieldExpression>
</textField>
<line>
<reportElement x="0" y="0" width="750" height="1"/>
</line>
<line>
<reportElement x="0" y="19" width="750" height="1"/>
</line>
</band>
</summary>
</jasperReport>
<?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="Standard Back Order Report" pageWidth="792" pageHeight="612" orientation="Landscape" columnWidth="752" leftMargin="20" rightMargin="20" topMargin="20" bottomMargin="20">
<property name="ireport.zoom" value="1.0"/>
<property name="ireport.x" value="231"/>
<property name="ireport.y" value="0"/>
<parameter name="as_site_code" class="java.lang.String"/>
<parameter name="frm_order_date" class="java.util.Date"/>
<parameter name="to_order_date" class="java.util.Date"/>
<queryString>
<![CDATA[select SALE_ORDER,
LINE_NO,
ORDER_DATE,
DUE_DATE,
STATUS_DATE,
CUST_CODE,
CUST_NAME,
SUM(ORD_QTY) AS ORD_QTY,
SUM(SHIP_QTY) AS SHIP_QTY,
SUM(ORD_QTY-SHIP_QTY) AS BACKORDER_QTY,
SUM(ORD_VALUE-SHIP_VALUE) AS BACKORDER_VALUE,
SUM(ORD_VALUE) AS ORD_VALUE,
SUM(SHIP_VALUE) AS SHIP_VALUE,
ITEM_CODE,
ITEM_DESCR,
SITE_DESCR from
(
select sorder.sale_order,sorddet.line_no,sorder.order_date,sorder.due_date,sorder.status_date,sorder.cust_code,customer.cust_name,sorddet.quantity as ord_qty,(sorddet.quantity*sorddet.rate) as ord_value,0 as ship_qty,0 as ship_value,sorddet.item_code,item.descr as item_descr,ddf_get_site_descr(sorder.site_code) as site_descr
from sorder,sorddet,customer,item
where sorder.order_date between $P{frm_order_date} AND $P{to_order_date}
and sorder.site_code = '$P!{as_site_code}'
and sorder.confirmed = 'Y' and sorder.status = 'C' and sorddet.sale_order = sorder.sale_order and customer.cust_code = sorder.cust_code and item.item_code = sorddet.item_code
union all
select sorder.sale_order,sorditem.line_no,sorder.order_date,sorditem.due_date,sorder.status_date,sorder.cust_code,customer.cust_name,0 as ord_qty,0 as ord_value,sum(sorditem.qty_desp) as ship_qty,sum(sorditem.qty_desp*sorditem.rate) as ship_value,sorditem.item_code,item.descr as item_descr, ddf_get_site_descr(sorder.site_code) as site_descr
from sorder,sorditem,customer,item
where sorder.order_date between $P{frm_order_date} AND $P{to_order_date}
and sorder.site_code = '$P!{as_site_code}'
and sorder.confirmed = 'Y' and sorder.status = 'C' and sorditem.sale_order = sorder.sale_order and customer.cust_code = sorder.cust_code and item.item_code = sorditem.item_code
group by sorder.sale_order,sorditem.line_no,sorder.order_date,sorditem.due_date,sorder.status_date,sorder.cust_code,customer.cust_name,sorditem.item_code,item.descr,ddf_get_site_descr(sorder.site_code))
group by sale_order,line_no,order_date,due_date,status_date,cust_code,cust_name,item_code,item_descr,site_descr having sum(ord_qty-ship_qty) > 0]]>
</queryString>
<field name="SALE_ORDER" class="java.lang.String"/>
<field name="LINE_NO" class="java.lang.Double"/>
<field name="ORDER_DATE" class="java.util.Date"/>
<field name="DUE_DATE" class="java.util.Date"/>
<field name="STATUS_DATE" class="java.util.Date"/>
<field name="CUST_CODE" class="java.lang.String"/>
<field name="CUST_NAME" class="java.lang.String"/>
<field name="ORD_QTY" class="java.lang.Double"/>
<field name="SHIP_QTY" class="java.lang.Double"/>
<field name="BACKORDER_QTY" class="java.lang.Double"/>
<field name="BACKORDER_VALUE" class="java.lang.Double"/>
<field name="ITEM_CODE" class="java.lang.String"/>
<field name="ITEM_DESCR" class="java.lang.String"/>
<field name="SITE_DESCR" class="java.lang.String"/>
<field name="ORD_VALUE" class="java.lang.Double"/>
<field name="SHIP_VALUE" class="java.lang.Double"/>
<sortField name="CUST_CODE"/>
<variable name="variable1" class="java.util.Date" resetType="None">
<variableExpression><![CDATA[new java.util.Date()]]></variableExpression>
</variable>
<variable name="ord_tot" class="java.lang.Double" resetType="Group" resetGroup="customer" calculation="Sum">
<variableExpression><![CDATA[$F{ORD_VALUE}]]></variableExpression>
</variable>
<variable name="backord_grand" class="java.lang.Double" calculation="Sum">
<variableExpression><![CDATA[$F{BACKORDER_VALUE}]]></variableExpression>
</variable>
<variable name="back_ord_tot" class="java.lang.Double" resetType="Group" resetGroup="customer" calculation="Sum">
<variableExpression><![CDATA[$F{BACKORDER_VALUE}]]></variableExpression>
</variable>
<variable name="ord_grand" class="java.lang.Double" calculation="Sum">
<variableExpression><![CDATA[$F{ORD_VALUE}]]></variableExpression>
</variable>
<variable name="ship_tot" class="java.lang.Double" resetType="Group" resetGroup="customer" calculation="Sum">
<variableExpression><![CDATA[$F{SHIP_VALUE}]]></variableExpression>
</variable>
<variable name="ship_grand" class="java.lang.Double" calculation="Sum">
<variableExpression><![CDATA[$F{SHIP_VALUE}]]></variableExpression>
</variable>
<group name="customer" isReprintHeaderOnEachPage="true">
<groupExpression><![CDATA[$F{CUST_CODE}]]></groupExpression>
<groupHeader>
<band height="18">
<textField>
<reportElement x="78" y="2" width="174" height="16"/>
<textElement textAlignment="Left" verticalAlignment="Middle">
<font fontName="Times New Roman" isBold="true"/>
</textElement>
<textFieldExpression class="java.lang.String"><![CDATA[$F{CUST_NAME}]]></textFieldExpression>
</textField>
<staticText>
<reportElement x="2" y="0" width="76" height="18"/>
<textElement textAlignment="Left" verticalAlignment="Middle">
<font fontName="Times New Roman" isBold="true"/>
</textElement>
<text><![CDATA[Customer Name : ]]></text>
</staticText>
<line>
<reportElement x="0" y="17" width="752" height="1"/>
</line>
</band>
</groupHeader>
<groupFooter>
<band height="20">
<textField pattern="###0.00">
<reportElement x="686" y="0" width="52" height="18"/>
<textElement textAlignment="Right" verticalAlignment="Middle">
<font fontName="Times New Roman"/>
</textElement>
<textFieldExpression class="java.lang.Double"><![CDATA[$V{back_ord_tot}]]></textFieldExpression>
</textField>
<line>
<reportElement x="0" y="0" width="752" height="1"/>
</line>
<line>
<reportElement x="0" y="19" width="752" height="1"/>
</line>
<staticText>
<reportElement x="293" y="1" width="146" height="18"/>
<textElement textAlignment="Left" verticalAlignment="Middle">
<font fontName="Times New Roman" isBold="true"/>
</textElement>
<text><![CDATA[Customer Code Wise Total]]></text>
</staticText>
<textField pattern="###0.00">
<reportElement x="484" y="0" width="52" height="18"/>
<textElement textAlignment="Right" verticalAlignment="Middle">
<font fontName="Times New Roman"/>
</textElement>
<textFieldExpression class="java.lang.Double"><![CDATA[$V{ord_tot}]]></textFieldExpression>
</textField>
<textField pattern="###0.00">
<reportElement x="581" y="0" width="52" height="18"/>
<textElement textAlignment="Right" verticalAlignment="Middle">
<font fontName="Times New Roman"/>
</textElement>
<textFieldExpression class="java.lang.Double"><![CDATA[$V{ship_tot}]]></textFieldExpression>
</textField>
</band>
</groupFooter>
</group>
<background>
<band splitType="Stretch"/>
</background>
<pageHeader>
<band height="88" splitType="Stretch">
<textField>
<reportElement x="12" y="11" width="735" height="17"/>
<textElement textAlignment="Center">
<font fontName="Times New Roman" size="12" isBold="true"/>
</textElement>
<textFieldExpression class="java.lang.String"><![CDATA[$F{SITE_DESCR}]]></textFieldExpression>
</textField>
<textField evaluationTime="Report">
<reportElement x="732" y="10" width="15" height="20"/>
<textElement>
<font fontName="Times New Roman"/>
</textElement>
<textFieldExpression class="java.lang.Integer"><![CDATA[$V{PAGE_NUMBER}]]></textFieldExpression>
</textField>
<staticText>
<reportElement x="14" y="11" width="28" height="17"/>
<textElement>
<font fontName="Times New Roman" isBold="true"/>
</textElement>
<text><![CDATA[Date:]]></text>
</staticText>
<staticText>
<reportElement x="549" y="50" width="29" height="37"/>
<textElement textAlignment="Right" verticalAlignment="Middle">
<font fontName="Times New Roman" isBold="true"/>
</textElement>
<text><![CDATA[Ship Qty]]></text>
</staticText>
<line>
<reportElement x="0" y="87" width="752" height="1"/>
</line>
<staticText>
<reportElement x="685" y="10" width="20" height="20"/>
<textElement>
<font fontName="Times New Roman" isBold="false"/>
</textElement>
<text><![CDATA[Page]]></text>
</staticText>
<textField evaluationTime="Page">
<reportElement x="707" y="10" width="13" height="20"/>
<textElement>
<font fontName="Times New Roman"/>
</textElement>
<textFieldExpression class="java.lang.Integer"><![CDATA[$V{PAGE_NUMBER}]]></textFieldExpression>
</textField>
<staticText>
<reportElement x="439" y="50" width="45" height="38"/>
<textElement textAlignment="Right" verticalAlignment="Middle">
<font fontName="Times New Roman" isBold="true"/>
</textElement>
<text><![CDATA[Order Qty]]></text>
</staticText>
<staticText>
<reportElement x="293" y="51" width="65" height="36"/>
<textElement textAlignment="Left" verticalAlignment="Middle">
<font fontName="Times New Roman" isBold="true"/>
</textElement>
<text><![CDATA[Item Description]]></text>
</staticText>
<staticText>
<reportElement x="686" y="50" width="56" height="38"/>
<textElement textAlignment="Right" verticalAlignment="Middle">
<font fontName="Times New Roman" isBold="true"/>
</textElement>
<text><![CDATA[BackOrder Value]]></text>
</staticText>
<staticText>
<reportElement x="237" y="50" width="57" height="37"/>
<textElement textAlignment="Left" verticalAlignment="Middle">
<font fontName="Times New Roman" isBold="true"/>
</textElement>
<text><![CDATA[Item]]></text>
</staticText>
<staticText>
<reportElement x="14" y="29" width="733" height="18"/>
<textElement textAlignment="Center">
<font fontName="Times New Roman" size="14" isBold="true"/>
</textElement>
<text><![CDATA[Standard Backorder Report]]></text>
</staticText>
<line>
<reportElement x="0" y="50" width="752" height="1"/>
</line>
<staticText>
<reportElement x="719" y="10" width="10" height="14"/>
<textElement>
<font fontName="Times New Roman" isBold="false"/>
</textElement>
<text><![CDATA[of]]></text>
</staticText>
<staticText>
<reportElement x="634" y="50" width="51" height="38"/>
<textElement textAlignment="Right" verticalAlignment="Middle">
<font fontName="Times New Roman" isBold="true"/>
</textElement>
<text><![CDATA[BackOrder Qty]]></text>
</staticText>
<textField pattern="MM/dd/yy">
<reportElement x="46" y="11" width="133" height="17"/>
<textElement>
<font fontName="Times New Roman"/>
</textElement>
<textFieldExpression class="java.util.Date"><![CDATA[$V{variable1}]]></textFieldExpression>
</textField>
<staticText>
<reportElement x="2" y="50" width="14" height="37"/>
<textElement textAlignment="Left" verticalAlignment="Middle">
<font fontName="Times New Roman" isBold="true"/>
</textElement>
<text><![CDATA[Sr No]]></text>
</staticText>
<staticText>
<reportElement x="21" y="51" width="41" height="36"/>
<textElement textAlignment="Left" verticalAlignment="Middle">
<font fontName="Times New Roman" isBold="true"/>
</textElement>
<text><![CDATA[Sale Order]]></text>
</staticText>
<staticText>
<reportElement x="79" y="51" width="40" height="36"/>
<textElement textAlignment="Left" verticalAlignment="Middle">
<font fontName="Times New Roman" isBold="true"/>
</textElement>
<text><![CDATA[Order Date]]></text>
</staticText>
<staticText>
<reportElement x="484" y="50" width="52" height="38"/>
<textElement textAlignment="Right" verticalAlignment="Middle">
<font fontName="Times New Roman" isBold="true"/>
</textElement>
<text><![CDATA[Order Value]]></text>
</staticText>
<staticText>
<reportElement x="593" y="49" width="37" height="38"/>
<textElement textAlignment="Right" verticalAlignment="Middle">
<font fontName="Times New Roman" isBold="true"/>
</textElement>
<text><![CDATA[Ship Value]]></text>
</staticText>
<staticText>
<reportElement x="131" y="50" width="48" height="37"/>
<textElement textAlignment="Left" verticalAlignment="Middle">
<font fontName="Times New Roman" isBold="true"/>
</textElement>
<text><![CDATA[Status Date]]></text>
</staticText>
<staticText>
<reportElement x="183" y="50" width="38" height="37"/>
<textElement textAlignment="Left" verticalAlignment="Middle">
<font fontName="Times New Roman" isBold="true"/>
</textElement>
<text><![CDATA[Due Date]]></text>
</staticText>
</band>
</pageHeader>
<detail>
<band height="18" splitType="Stretch">
<textField pattern="###0">
<reportElement x="2" y="0" width="14" height="18"/>
<textElement textAlignment="Right" verticalAlignment="Middle">
<font fontName="Times New Roman"/>
</textElement>
<textFieldExpression class="java.lang.Double"><![CDATA[$F{LINE_NO}]]></textFieldExpression>
</textField>
<textField>
<reportElement x="293" y="0" width="146" height="18"/>
<textElement verticalAlignment="Middle">
<font fontName="Times New Roman"/>
</textElement>
<textFieldExpression class="java.lang.String"><![CDATA[$F{ITEM_DESCR}]]></textFieldExpression>
</textField>
<textField pattern="###0.00">
<reportElement x="439" y="0" width="45" height="18"/>
<textElement textAlignment="Right" verticalAlignment="Middle">
<font fontName="Times New Roman"/>
</textElement>
<textFieldExpression class="java.lang.Double"><![CDATA[$F{ORD_QTY}]]></textFieldExpression>
</textField>
<textField pattern="###0.00">
<reportElement x="686" y="0" width="50" height="18"/>
<textElement textAlignment="Right" verticalAlignment="Middle">
<font fontName="Times New Roman"/>
</textElement>
<textFieldExpression class="java.lang.Double"><![CDATA[$F{BACKORDER_VALUE}]]></textFieldExpression>
</textField>
<textField>
<reportElement x="237" y="0" width="57" height="18"/>
<textElement verticalAlignment="Middle">
<font fontName="Times New Roman"/>
</textElement>
<textFieldExpression class="java.lang.String"><![CDATA[$F{ITEM_CODE}]]></textFieldExpression>
</textField>
<textField>
<reportElement x="21" y="0" width="53" height="18"/>
<textElement verticalAlignment="Middle">
<font fontName="Times New Roman"/>
</textElement>
<textFieldExpression class="java.lang.String"><![CDATA[$F{SALE_ORDER}]]></textFieldExpression>
</textField>
<textField pattern="MM/dd/yy">
<reportElement x="79" y="0" width="57" height="18"/>
<textElement verticalAlignment="Middle">
<font fontName="Times New Roman"/>
</textElement>
<textFieldExpression class="java.util.Date"><![CDATA[$F{ORDER_DATE}]]></textFieldExpression>
</textField>
<textField pattern="MM/dd/yy">
<reportElement x="131" y="0" width="52" height="18"/>
<textElement verticalAlignment="Middle">
<font fontName="Times New Roman"/>
</textElement>
<textFieldExpression class="java.util.Date"><![CDATA[$F{ORDER_DATE}]]></textFieldExpression>
</textField>
<textField pattern="MM/dd/yy">
<reportElement x="183" y="0" width="52" height="18"/>
<textElement verticalAlignment="Middle">
<font fontName="Times New Roman"/>
</textElement>
<textFieldExpression class="java.util.Date"><![CDATA[$F{ORDER_DATE}]]></textFieldExpression>
</textField>
<textField pattern="###0.00">
<reportElement x="536" y="0" width="45" height="18"/>
<textElement textAlignment="Right" verticalAlignment="Middle">
<font fontName="Times New Roman"/>
</textElement>
<textFieldExpression class="java.lang.Double"><![CDATA[$F{SHIP_QTY}]]></textFieldExpression>
</textField>
<textField pattern="###0.00">
<reportElement x="635" y="0" width="50" height="18"/>
<textElement textAlignment="Right" verticalAlignment="Middle">
<font fontName="Times New Roman"/>
</textElement>
<textFieldExpression class="java.lang.Double"><![CDATA[$F{BACKORDER_QTY}]]></textFieldExpression>
</textField>
<textField pattern="###0.00">
<reportElement x="484" y="0" width="51" height="18"/>
<textElement textAlignment="Right" verticalAlignment="Middle">
<font fontName="Times New Roman"/>
</textElement>
<textFieldExpression class="java.lang.Double"><![CDATA[$F{ORD_VALUE}]]></textFieldExpression>
</textField>
<textField pattern="###0.00">
<reportElement x="582" y="0" width="50" height="18"/>
<textElement textAlignment="Right" verticalAlignment="Middle">
<font fontName="Times New Roman"/>
</textElement>
<textFieldExpression class="java.lang.Double"><![CDATA[$F{SHIP_VALUE}]]></textFieldExpression>
</textField>
</band>
</detail>
<pageFooter>
<band splitType="Stretch"/>
</pageFooter>
<summary>
<band height="18" splitType="Stretch">
<textField pattern="###0.00">
<reportElement x="686" y="0" width="51" height="18"/>
<textElement textAlignment="Right" verticalAlignment="Middle">
<font fontName="Times New Roman"/>
</textElement>
<textFieldExpression class="java.lang.Double"><![CDATA[$V{backord_grand}]]></textFieldExpression>
</textField>
<staticText>
<reportElement x="293" y="0" width="146" height="18"/>
<textElement textAlignment="Left" verticalAlignment="Middle">
<font fontName="Times New Roman" isBold="true"/>
</textElement>
<text><![CDATA[Grand Total]]></text>
</staticText>
<textField pattern="###0.00">
<reportElement x="484" y="0" width="51" height="18"/>
<textElement textAlignment="Right" verticalAlignment="Middle">
<font fontName="Times New Roman"/>
</textElement>
<textFieldExpression class="java.lang.Double"><![CDATA[$V{ord_grand}]]></textFieldExpression>
</textField>
<textField pattern="###0.00">
<reportElement x="581" y="0" width="51" height="18"/>
<textElement textAlignment="Right" verticalAlignment="Middle">
<font fontName="Times New Roman"/>
</textElement>
<textFieldExpression class="java.lang.Double"><![CDATA[$V{ship_grand}]]></textFieldExpression>
</textField>
</band>
</summary>
</jasperReport>
<?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="Today Sales Order Type" pageWidth="612" pageHeight="792" columnWidth="555" leftMargin="20" rightMargin="20" topMargin="20" bottomMargin="20">
<property name="ireport.zoom" value="1.0"/>
<property name="ireport.x" value="0"/>
<property name="ireport.y" value="0"/>
<queryString language="SQL">
<![CDATA[SELECT SORDER.ORDER_TYPE, CUSTOMER.CUST_NAME, SUM(INVOICE_TRACE.NET_AMT) AS NET_AMT,DDF_GET_SITE_DESCR(INVOICE.SITE_CODE) AS SITE_DESCR FROM SORDER, INVOICE, INVOICE_TRACE, CUSTOMER WHERE INVOICE.TRAN_DATE = TRUNC(SYSDATE) AND INVOICE.CONFIRMED = 'Y' AND INVOICE_TRACE.INVOICE_ID = INVOICE.INVOICE_ID AND SORDER.SALE_ORDER = INVOICE_TRACE.SORD_NO AND CUSTOMER.CUST_CODE = INVOICE.CUST_CODE GROUP BY INVOICE.SITE_CODE, SORDER.ORDER_TYPE, CUSTOMER.CUST_NAME]]>
</queryString>
<field name="ORDER_TYPE" class="java.lang.String"/>
<field name="CUST_NAME" class="java.lang.String"/>
<field name="NET_AMT" class="java.lang.Double"/>
<field name="SITE_DESCR" class="java.lang.String"/>
<variable name="variable1" class="java.util.Date" resetType="None">
<variableExpression><![CDATA[new java.util.Date()]]></variableExpression>
</variable>
<variable name="variable2" class="java.lang.Double" calculation="Sum">
<variableExpression><![CDATA[new java.lang.Double($F{NET_AMT}.doubleValue())]]></variableExpression>
</variable>
<background>
<band splitType="Stretch"/>
</background>
<pageHeader>
<band height="79" splitType="Stretch">
<staticText>
<reportElement x="14" y="58" width="62" height="18"/>
<textElement>
<font fontName="Times New Roman" isBold="true"/>
</textElement>
<text><![CDATA[Order Type]]></text>
</staticText>
<staticText>
<reportElement x="79" y="58" width="366" height="18"/>
<textElement>
<font fontName="Times New Roman" isBold="true"/>
</textElement>
<text><![CDATA[Customer Name]]></text>
</staticText>
<staticText>
<reportElement x="455" y="58" width="100" height="18"/>
<textElement textAlignment="Right">
<font fontName="Times New Roman" isBold="true"/>
</textElement>
<text><![CDATA[Net Amount]]></text>
</staticText>
<line>
<reportElement x="0" y="77" width="570" height="1"/>
</line>
<line>
<reportElement x="0" y="55" width="570" height="1"/>
</line>
<staticText>
<reportElement x="14" y="26" width="540" height="18"/>
<textElement textAlignment="Center">
<font fontName="Times New Roman" size="12" isBold="true"/>
</textElement>
<text><![CDATA[Today Sales Order Type]]></text>
</staticText>
<textField pattern="MM/dd/yy">
<reportElement x="40" y="3" width="133" height="14"/>
<textElement>
<font fontName="Times New Roman"/>
</textElement>
<textFieldExpression class="java.util.Date"><![CDATA[$V{variable1}]]></textFieldExpression>
</textField>
<staticText>
<reportElement x="10" y="3" width="28" height="14"/>
<textElement>
<font fontName="Times New Roman" isBold="true"/>
</textElement>
<text><![CDATA[Date:]]></text>
</staticText>
<staticText>
<reportElement x="504" y="3" width="20" height="14"/>
<textElement>
<font fontName="Times New Roman" isBold="false"/>
</textElement>
<text><![CDATA[Page]]></text>
</staticText>
<staticText>
<reportElement x="538" y="3" width="10" height="14"/>
<textElement>
<font fontName="Times New Roman" isBold="false"/>
</textElement>
<text><![CDATA[of]]></text>
</staticText>
<textField evaluationTime="Page">
<reportElement x="526" y="3" width="13" height="14"/>
<textElement>
<font fontName="Times New Roman"/>
</textElement>
<textFieldExpression class="java.lang.Integer"><![CDATA[$V{PAGE_NUMBER}]]></textFieldExpression>
</textField>
<textField evaluationTime="Report">
<reportElement x="551" y="3" width="15" height="14"/>
<textElement>
<font fontName="Times New Roman"/>
</textElement>
<textFieldExpression class="java.lang.Integer"><![CDATA[$V{PAGE_NUMBER}]]></textFieldExpression>
</textField>
<textField>
<reportElement x="14" y="3" width="540" height="18"/>
<textElement textAlignment="Center">
<font fontName="Times New Roman" size="12" isBold="true"/>
</textElement>
<textFieldExpression class="java.lang.String"><![CDATA[$F{SITE_DESCR}]]></textFieldExpression>
</textField>
</band>
</pageHeader>
<detail>
<band height="18" splitType="Stretch">
<textField>
<reportElement x="14" y="0" width="62" height="18"/>
<textElement>
<font fontName="Times New Roman"/>
</textElement>
<textFieldExpression class="java.lang.String"><![CDATA[$F{ORDER_TYPE}]]></textFieldExpression>
</textField>
<textField>
<reportElement x="79" y="0" width="366" height="18"/>
<textElement>
<font fontName="Times New Roman"/>
</textElement>
<textFieldExpression class="java.lang.String"><![CDATA[$F{CUST_NAME}]]></textFieldExpression>
</textField>
<textField pattern="0.00">
<reportElement x="455" y="0" width="100" height="18"/>
<textElement textAlignment="Right">
<font fontName="Times New Roman"/>
</textElement>
<textFieldExpression class="java.lang.Double"><![CDATA[$F{NET_AMT}]]></textFieldExpression>
</textField>
</band>
</detail>
<pageFooter>
<band splitType="Stretch"/>
</pageFooter>
<summary>
<band height="20" splitType="Stretch">
<textField pattern="0.00">
<reportElement x="455" y="2" width="100" height="18"/>
<textElement textAlignment="Right">
<font fontName="Times New Roman"/>
</textElement>
<textFieldExpression class="java.lang.Double"><![CDATA[$V{variable2}]]></textFieldExpression>
</textField>
<staticText>
<reportElement x="349" y="2" width="96" height="18"/>
<textElement>
<font fontName="Times New Roman" isBold="true"/>
</textElement>
<text><![CDATA[Grand Total]]></text>
</staticText>
<line>
<reportElement x="0" y="0" width="570" height="1"/>
</line>
</band>
</summary>
</jasperReport>
<?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="Backorder Report - Summary" pageWidth="792" pageHeight="612" orientation="Landscape" columnWidth="752" leftMargin="20" rightMargin="20" topMargin="20" bottomMargin="20">
<property name="ireport.zoom" value="1.0"/>
<property name="ireport.x" value="273"/>
<property name="ireport.y" value="0"/>
<parameter name="as_site_code" class="java.lang.String"/>
<parameter name="frm_order_date" class="java.util.Date"/>
<parameter name="to_order_date" class="java.util.Date"/>
<queryString>
<![CDATA[select ITEM_CODE,
ITEM_DESCR,
CUST_CODE,
CUST_NAME,
SUM(ORD_QTY) AS ORD_QTY,
SUM(ORD_VALUE) AS ORD_VALUE,
SUM(SHIP_QTY) AS SHIP_QTY,
SUM(SHIP_VALUE) AS SHIP_VALUE,
SUM(ORD_QTY-SHIP_QTY) AS BACKORDER_QTY,
SUM(ORD_VALUE-SHIP_VALUE) AS BACKORDER_VALUE,
SUM(STOCK_QTY) AS INV_QTY,
SITE_DESCR
from
(
select sorder.site_code, sorder.sale_order,sorddet.line_no,sorder.order_date,sorder.due_date,sorder.status_date,sorder.cust_code,customer.cust_name,sorddet.quantity as ord_qty,(sorddet.quantity*sorddet.rate) as ord_value,0 as ship_qty,0 as ship_value,sorddet.item_code,item.descr as item_descr,ddf_get_stock(sorder.site_code,sorddet.item_code) as stock_qty,ddf_get_site_descr(sorder.site_code) as site_descr
from
sorder,sorddet,customer,item
where sorder.order_date between $P{frm_order_date} AND $P{to_order_date}
and sorder.site_code = '$P!{as_site_code}'
and sorder.confirmed = 'Y' and sorder.status = 'P' and sorddet.sale_order = sorder.sale_order and customer.cust_code = sorder.cust_code and item.item_code = sorddet.item_code
union all
select sorder.site_code,sorder.sale_order,sorditem.line_no,sorder.order_date,sorditem.due_date,sorder.status_date,sorder.cust_code,customer.cust_name,0 as ord_qty,0 as ord_value,sum(sorditem.qty_desp) as ship_qty,sum(sorditem.qty_desp*sorditem.rate) as ship_value,sorditem.item_code,item.descr as item_descr,0 as stock_qty,ddf_get_site_descr(sorder.site_code) as site_descr
from sorder,sorditem,customer,item
where sorder.order_date between $P{frm_order_date} AND $P{to_order_date}
and sorder.site_code = '$P!{as_site_code}'
and sorder.confirmed = 'Y' and sorder.status = 'P' and sorditem.sale_order = sorder.sale_order and customer.cust_code = sorder.cust_code and item.item_code = sorditem.item_code
group by sorder.site_code,sorder.sale_order,sorditem.line_no,sorder.order_date,sorditem.due_date,sorder.status_date,sorder.cust_code,customer.cust_name,sorditem.item_code,item.descr)
group by item_code,item_descr,cust_code,cust_name,site_descr having sum(ord_qty-ship_qty) > 0]]>
</queryString>
<field name="ITEM_CODE" class="java.lang.String"/>
<field name="ITEM_DESCR" class="java.lang.String"/>
<field name="ORD_QTY" class="java.lang.Double"/>
<field name="ORD_VALUE" class="java.lang.Double"/>
<field name="SHIP_QTY" class="java.lang.Double"/>
<field name="SHIP_VALUE" class="java.lang.Double"/>
<field name="BACKORDER_QTY" class="java.lang.Double"/>
<field name="BACKORDER_VALUE" class="java.lang.Double"/>
<field name="INV_QTY" class="java.lang.Double"/>
<field name="SITE_DESCR" class="java.lang.String"/>
<field name="CUST_CODE" class="java.lang.String"/>
<field name="CUST_NAME" class="java.lang.String"/>
<sortField name="CUST_CODE"/>
<variable name="variable1" class="java.util.Date" resetType="None">
<variableExpression><![CDATA[new java.util.Date()]]></variableExpression>
</variable>
<variable name="ord_tot" class="java.lang.Double" resetType="Group" resetGroup="CUSTOMER" calculation="Sum">
<variableExpression><![CDATA[$F{ORD_VALUE}]]></variableExpression>
</variable>
<variable name="ship_tot" class="java.lang.Double" resetType="Group" resetGroup="CUSTOMER" calculation="Sum">
<variableExpression><![CDATA[$F{SHIP_VALUE}]]></variableExpression>
</variable>
<variable name="backord_tot" class="java.lang.Double" resetType="Group" resetGroup="CUSTOMER" calculation="Sum">
<variableExpression><![CDATA[$F{BACKORDER_VALUE}]]></variableExpression>
</variable>
<variable name="ord_grand" class="java.lang.Double" calculation="Sum">
<variableExpression><![CDATA[$F{ORD_VALUE}]]></variableExpression>
</variable>
<variable name="ship_grand" class="java.lang.Double" calculation="Sum">
<variableExpression><![CDATA[$F{SHIP_VALUE}]]></variableExpression>
</variable>
<variable name="backord_grand" class="java.lang.Double" calculation="Sum">
<variableExpression><![CDATA[$F{BACKORDER_VALUE}]]></variableExpression>
</variable>
<group name="CUSTOMER" isReprintHeaderOnEachPage="true">
<groupExpression><![CDATA[$F{CUST_CODE}]]></groupExpression>
<groupHeader>
<band height="18">
<textField>
<reportElement x="93" y="2" width="174" height="16"/>
<textElement textAlignment="Left">
<font fontName="Times New Roman" isBold="true"/>
</textElement>
<textFieldExpression class="java.lang.String"><![CDATA[$F{CUST_NAME}]]></textFieldExpression>
</textField>
<staticText>
<reportElement x="17" y="0" width="76" height="18"/>
<textElement textAlignment="Left" verticalAlignment="Middle">
<font fontName="Times New Roman" isBold="true"/>
</textElement>
<text><![CDATA[Customer Name : ]]></text>
</staticText>
<line>
<reportElement x="0" y="17" width="750" height="1"/>
</line>
</band>
</groupHeader>
<groupFooter>
<band height="20">
<staticText>
<reportElement x="185" y="1" width="159" height="18"/>
<textElement textAlignment="Left" verticalAlignment="Middle">
<font fontName="Times New Roman" isBold="true"/>
</textElement>
<text><![CDATA[Customer Code Wise Total]]></text>
</staticText>
<textField pattern="0.00">
<reportElement x="329" y="1" width="87" height="18"/>
<textElement textAlignment="Right" verticalAlignment="Middle">
<font fontName="Times New Roman"/>
</textElement>
<textFieldExpression class="java.lang.Double"><![CDATA[$V{ord_tot}]]></textFieldExpression>
</textField>
<textField pattern="0.00">
<reportElement x="482" y="1" width="85" height="18"/>
<textElement textAlignment="Right" verticalAlignment="Middle">
<font fontName="Times New Roman"/>
</textElement>
<textFieldExpression class="java.lang.Double"><![CDATA[$V{ship_tot}]]></textFieldExpression>
</textField>
<textField pattern="0.00">
<reportElement x="636" y="1" width="100" height="18"/>
<textElement textAlignment="Right" verticalAlignment="Middle">
<font fontName="Times New Roman"/>
</textElement>
<textFieldExpression class="java.lang.Double"><![CDATA[$V{backord_tot}]]></textFieldExpression>
</textField>
<line>
<reportElement x="0" y="0" width="750" height="1"/>
</line>
<line>
<reportElement x="0" y="19" width="750" height="1"/>
</line>
</band>
</groupFooter>
</group>
<background>
<band splitType="Stretch"/>
</background>
<pageHeader>
<band height="79" splitType="Stretch">
<textField>
<reportElement x="2" y="10" width="748" height="17"/>
<textElement textAlignment="Center">
<font fontName="Times New Roman" size="12" isBold="true"/>
</textElement>
<textFieldExpression class="java.lang.String"><![CDATA[$F{SITE_DESCR}]]></textFieldExpression>
</textField>
<line>
<reportElement x="0" y="56" width="750" height="1"/>
</line>
<staticText>
<reportElement x="0" y="29" width="752" height="18"/>
<textElement textAlignment="Center">
<font fontName="Times New Roman" size="14" isBold="true"/>
</textElement>
<text><![CDATA[Backorder Report - Summary]]></text>
</staticText>
<textField pattern="MM/dd/yy">
<reportElement x="36" y="10" width="133" height="17"/>
<textElement>
<font fontName="Times New Roman"/>
</textElement>
<textFieldExpression class="java.util.Date"><![CDATA[$V{variable1}]]></textFieldExpression>
</textField>
<staticText>
<reportElement x="4" y="10" width="28" height="17"/>
<textElement>
<font fontName="Times New Roman" isBold="true"/>
</textElement>
<text><![CDATA[Date:]]></text>
</staticText>
<staticText>
<reportElement x="675" y="9" width="20" height="20"/>
<textElement>
<font fontName="Times New Roman" isBold="false"/>
</textElement>
<text><![CDATA[Page]]></text>
</staticText>
<staticText>
<reportElement x="709" y="9" width="10" height="14"/>
<textElement>
<font fontName="Times New Roman" isBold="false"/>
</textElement>
<text><![CDATA[of]]></text>
</staticText>
<textField evaluationTime="Page">
<reportElement x="697" y="9" width="13" height="20"/>
<textElement>
<font fontName="Times New Roman"/>
</textElement>
<textFieldExpression class="java.lang.Integer"><![CDATA[$V{PAGE_NUMBER}]]></textFieldExpression>
</textField>
<staticText>
<reportElement x="17" y="58" width="70" height="18"/>
<textElement textAlignment="Left" verticalAlignment="Middle">
<font fontName="Times New Roman" isBold="true"/>
</textElement>
<text><![CDATA[Item]]></text>
</staticText>
<textField evaluationTime="Report">
<reportElement x="722" y="9" width="15" height="20"/>
<textElement>
<font fontName="Times New Roman"/>
</textElement>
<textFieldExpression class="java.lang.Integer"><![CDATA[$V{PAGE_NUMBER}]]></textFieldExpression>
</textField>
<staticText>
<reportElement x="88" y="58" width="165" height="18"/>
<textElement textAlignment="Left" verticalAlignment="Middle">
<font fontName="Times New Roman" isBold="true"/>
</textElement>
<text><![CDATA[Item Description]]></text>
</staticText>
<staticText>
<reportElement x="267" y="58" width="77" height="18"/>
<textElement textAlignment="Right" verticalAlignment="Middle">
<font fontName="Times New Roman" isBold="true"/>
</textElement>
<text><![CDATA[Order Qty]]></text>
</staticText>
<staticText>
<reportElement x="344" y="58" width="74" height="18"/>
<textElement textAlignment="Right" verticalAlignment="Middle">
<font fontName="Times New Roman" isBold="true"/>
</textElement>
<text><![CDATA[Order Value]]></text>
</staticText>
<staticText>
<reportElement x="417" y="58" width="77" height="18"/>
<textElement textAlignment="Right" verticalAlignment="Middle">
<font fontName="Times New Roman" isBold="true"/>
</textElement>
<text><![CDATA[Ship Qty]]></text>
</staticText>
<staticText>
<reportElement x="494" y="58" width="72" height="18"/>
<textElement textAlignment="Right" verticalAlignment="Middle">
<font fontName="Times New Roman" isBold="true"/>
</textElement>
<text><![CDATA[Ship Value]]></text>
</staticText>
<staticText>
<reportElement x="569" y="58" width="77" height="18"/>
<textElement textAlignment="Right" verticalAlignment="Middle">
<font fontName="Times New Roman" isBold="true"/>
</textElement>
<text><![CDATA[BackOrder Qty]]></text>
</staticText>
<staticText>
<reportElement x="650" y="58" width="84" height="18"/>
<textElement textAlignment="Right" verticalAlignment="Middle">
<font fontName="Times New Roman" isBold="true"/>
</textElement>
<text><![CDATA[BackOrder Value]]></text>
</staticText>
<line>
<reportElement x="0" y="78" width="750" height="1"/>
</line>
</band>
</pageHeader>
<detail>
<band height="18" splitType="Stretch">
<textField>
<reportElement x="88" y="0" width="174" height="18"/>
<textElement textAlignment="Left">
<font fontName="Times New Roman"/>
</textElement>
<textFieldExpression class="java.lang.String"><![CDATA[$F{ITEM_DESCR}]]></textFieldExpression>
</textField>
<textField pattern="0.00">
<reportElement x="267" y="0" width="77" height="18"/>
<textElement textAlignment="Right">
<font fontName="Times New Roman"/>
</textElement>
<textFieldExpression class="java.lang.Double"><![CDATA[$F{ORD_QTY}]]></textFieldExpression>
</textField>
<textField pattern="0.00">
<reportElement x="344" y="0" width="74" height="18"/>
<textElement textAlignment="Right">
<font fontName="Times New Roman"/>
</textElement>
<textFieldExpression class="java.lang.Double"><![CDATA[$F{ORD_VALUE}]]></textFieldExpression>
</textField>
<textField pattern="0.00">
<reportElement x="17" y="0" width="70" height="18"/>
<textElement textAlignment="Left">
<font fontName="Times New Roman"/>
</textElement>
<textFieldExpression class="java.lang.String"><![CDATA[$F{ITEM_CODE}]]></textFieldExpression>
</textField>
<textField pattern="0.00">
<reportElement x="417" y="0" width="77" height="18"/>
<textElement textAlignment="Right">
<font fontName="Times New Roman"/>
</textElement>
<textFieldExpression class="java.lang.Double"><![CDATA[$F{SHIP_QTY}]]></textFieldExpression>
</textField>
<textField pattern="0.00">
<reportElement x="494" y="0" width="73" height="18"/>
<textElement textAlignment="Right">
<font fontName="Times New Roman"/>
</textElement>
<textFieldExpression class="java.lang.Double"><![CDATA[$F{SHIP_VALUE}]]></textFieldExpression>
</textField>
<textField pattern="0.00">
<reportElement x="569" y="0" width="77" height="18"/>
<textElement textAlignment="Right">
<font fontName="Times New Roman"/>
</textElement>
<textFieldExpression class="java.lang.Double"><![CDATA[$F{BACKORDER_QTY}]]></textFieldExpression>
</textField>
<textField pattern="0.00">
<reportElement x="650" y="0" width="84" height="18"/>
<textElement textAlignment="Right">
<font fontName="Times New Roman"/>
</textElement>
<textFieldExpression class="java.lang.Double"><![CDATA[$F{BACKORDER_VALUE}]]></textFieldExpression>
</textField>
</band>
</detail>
<pageFooter>
<band splitType="Stretch"/>
</pageFooter>
<summary>
<band height="19" splitType="Stretch">
<textField pattern="0.00">
<reportElement x="637" y="1" width="100" height="18"/>
<textElement textAlignment="Right" verticalAlignment="Middle">
<font fontName="Times New Roman"/>
</textElement>
<textFieldExpression class="java.lang.Double"><![CDATA[$V{backord_grand}]]></textFieldExpression>
</textField>
<textField pattern="0.00">
<reportElement x="481" y="1" width="85" height="18"/>
<textElement textAlignment="Right" verticalAlignment="Middle">
<font fontName="Times New Roman"/>
</textElement>
<textFieldExpression class="java.lang.Double"><![CDATA[$V{ship_grand}]]></textFieldExpression>
</textField>
<textField pattern="0.00">
<reportElement x="330" y="1" width="87" height="18"/>
<textElement textAlignment="Right" verticalAlignment="Middle">
<font fontName="Times New Roman"/>
</textElement>
<textFieldExpression class="java.lang.Double"><![CDATA[$V{ord_grand}]]></textFieldExpression>
</textField>
<staticText>
<reportElement x="185" y="1" width="158" height="18"/>
<textElement textAlignment="Left" verticalAlignment="Middle">
<font fontName="Times New Roman" isBold="true"/>
</textElement>
<text><![CDATA[Grand Total]]></text>
</staticText>
</band>
</summary>
</jasperReport>
<?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="BOL_Manual_subreport1" pageWidth="612" pageHeight="792" columnWidth="555" leftMargin="0" rightMargin="0" topMargin="0" bottomMargin="0">
<property name="ireport.zoom" value="1.0000000000000062"/>
<property name="ireport.x" value="0"/>
<property name="ireport.y" value="0"/>
<parameter name="DESP_DESP_ID" class="java.lang.String"/>
<queryString>
<![CDATA[select shipment_id,
CASE WHEN NO_ART IS NULL OR LENGTH(TRIM(NO_ART)) = 0 OR NO_ART = 0 THEN 'N' ELSE 'Y' END AS CARTON,
CASE WHEN NO_PALLET IS NULL OR LENGTH(TRIM(NO_PALLET)) = 0 OR NO_PALLET = 0 THEN 'N' ELSE 'Y' END AS PALLET
,CUST_PORD,
NO_PALLET,NO_ART,
GROSS_WEIGHT, SORD_NO, PTCN
from table (BOLTYPEMANUALTBL('$P!{DESP_DESP_ID}','SUB1'))]]>
</queryString>
<field name="CUST_PORD" class="java.lang.String"/>
<field name="NO_ART" class="java.lang.Double"/>
<field name="GROSS_WEIGHT" class="java.lang.Double"/>
<field name="SORD_NO" class="java.lang.String"/>
<field name="PTCN" class="java.lang.String"/>
<field name="shipment_id" class="java.lang.String"/>
<field name="NO_PALLET" class="java.lang.Double"/>
<field name="CARTON" class="java.lang.String"/>
<field name="PALLET" class="java.lang.String"/>
<variable name="NO_ART_1" class="java.lang.Double" calculation="Sum">
<variableExpression><![CDATA[new java.lang.Double($F{NO_ART}.doubleValue())]]></variableExpression>
</variable>
<variable name="NETT_WEIGHT_1" class="java.lang.Double" calculation="Sum">
<variableExpression><![CDATA[new java.lang.Double($F{GROSS_WEIGHT}.doubleValue())]]></variableExpression>
</variable>
<variable name="NO_PALLET_1" class="java.lang.Double" calculation="Sum">
<variableExpression><![CDATA[new java.lang.Double($F{NO_PALLET}.doubleValue())]]></variableExpression>
</variable>
<group name="GRAND_TOTAL">
<groupExpression><![CDATA[$F{SORD_NO}]]></groupExpression>
<groupFooter>
<band/>
</groupFooter>
</group>
<background>
<band splitType="Stretch"/>
</background>
<title>
<band splitType="Stretch"/>
</title>
<pageHeader>
<band height="36" splitType="Stretch">
<staticText>
<reportElement x="218" y="17" width="50" height="11"/>
<textElement textAlignment="Center">
<font fontName="Arial" size="9" isBold="true"/>
</textElement>
<text><![CDATA[WEIGHT]]></text>
</staticText>
<staticText>
<reportElement mode="Opaque" x="5" y="1" width="560" height="15" forecolor="#FEFEFE" backcolor="#010101"/>
<textElement textAlignment="Center" verticalAlignment="Middle">
<font fontName="Arial" size="8" isBold="true"/>
</textElement>
<text><![CDATA[CUSTOMER ORDER INFORMATION]]></text>
</staticText>
<staticText>
<reportElement x="169" y="17" width="35" height="11"/>
<textElement textAlignment="Center">
<font fontName="Arial" size="9" isBold="true"/>
</textElement>
<text><![CDATA[# PKGS]]></text>
</staticText>
<staticText>
<reportElement x="377" y="17" width="150" height="11"/>
<textElement textAlignment="Center">
<font fontName="Arial" size="9" isBold="true"/>
</textElement>
<text><![CDATA[ADDITIONAL SHIPPER INFO]]></text>
</staticText>
<line direction="BottomUp">
<reportElement x="207" y="16" width="1" height="20"/>
</line>
<staticText>
<reportElement x="10" y="17" width="150" height="11"/>
<textElement textAlignment="Center">
<font fontName="Arial" size="9" isBold="true"/>
</textElement>
<text><![CDATA[CUSTOMER ORDER NUMBER]]></text>
</staticText>
<line direction="BottomUp">
<reportElement x="274" y="16" width="1" height="20"/>
</line>
<line direction="BottomUp">
<reportElement x="5" y="16" width="1" height="20"/>
</line>
<line direction="BottomUp">
<reportElement x="166" y="16" width="1" height="20"/>
</line>
<staticText>
<reportElement x="275" y="17" width="92" height="11"/>
<textElement textAlignment="Center">
<font fontName="Arial" size="9" isBold="true"/>
</textElement>
<text><![CDATA[PALLET/CARRTON]]></text>
</staticText>
<line direction="BottomUp">
<reportElement x="564" y="16" width="1" height="20"/>
</line>
<staticText>
<reportElement x="296" y="27" width="50" height="9"/>
<textElement textAlignment="Center">
<font fontName="Arial" size="6" isBold="false"/>
</textElement>
<text><![CDATA[(CIRCLE ONE)]]></text>
</staticText>
<line direction="BottomUp">
<reportElement x="366" y="16" width="1" height="20"/>
</line>
</band>
</pageHeader>
<columnHeader>
<band splitType="Stretch"/>
</columnHeader>
<detail>
<band height="15" splitType="Stretch">
<rectangle>
<reportElement mode="Transparent" x="5" y="0" width="559" height="15"/>
</rectangle>
<textField isBlankWhenNull="true">
<reportElement x="214" y="1" width="56" height="12">
<printWhenExpression><![CDATA[new Boolean($F{NO_ART}.doubleValue() > 0 || $F{NO_PALLET}.doubleValue() > 0)]]></printWhenExpression>
</reportElement>
<textElement textAlignment="Right">
<font fontName="Arial"/>
</textElement>
<textFieldExpression class="java.lang.Double"><![CDATA[$F{GROSS_WEIGHT}]]></textFieldExpression>
</textField>
<staticText>
<reportElement x="354" y="2" width="8" height="10">
<printWhenExpression><![CDATA[new Boolean(false)]]></printWhenExpression>
</reportElement>
<textElement>
<font fontName="Arial" size="8" isBold="true"/>
</textElement>
<text><![CDATA[N]]></text>
</staticText>
<staticText>
<reportElement x="308" y="1" width="12" height="10">
<printWhenExpression><![CDATA[new Boolean(false)]]></printWhenExpression>
</reportElement>
<textElement textAlignment="Center">
<font fontName="Arial" size="8" isBold="true"/>
</textElement>
<text><![CDATA[(Y)]]></text>
</staticText>
<textField pattern="0" isBlankWhenNull="true">
<reportElement x="168" y="2" width="35" height="12">
<printWhenExpression><![CDATA[new Boolean($F{NO_ART}.doubleValue() > 0)]]></printWhenExpression>
</reportElement>
<textElement textAlignment="Right">
<font fontName="Arial"/>
</textElement>
<textFieldExpression class="java.lang.Double"><![CDATA[$F{NO_ART}]]></textFieldExpression>
</textField>
<textField>
<reportElement x="10" y="1" width="142" height="12"/>
<textElement textAlignment="Center">
<font fontName="Arial"/>
</textElement>
<textFieldExpression class="java.lang.String"><![CDATA[$F{CUST_PORD}]]></textFieldExpression>
</textField>
<line>
<reportElement x="207" y="0" width="1" height="15"/>
</line>
<line>
<reportElement x="166" y="0" width="1" height="15"/>
</line>
<line>
<reportElement x="366" y="0" width="1" height="15"/>
</line>
<line>
<reportElement x="274" y="0" width="1" height="15"/>
</line>
<line>
<reportElement x="321" y="0" width="1" height="15"/>
</line>
<staticText>
<reportElement x="310" y="3" width="8" height="10" isRemoveLineWhenBlank="true">
<printWhenExpression><![CDATA[new Boolean(false)]]></printWhenExpression>
</reportElement>
<textElement>
<font fontName="Arial" size="8" isBold="true"/>
</textElement>
<text><![CDATA[Y]]></text>
</staticText>
<textField isBlankWhenNull="true">
<reportElement x="322" y="2" width="44" height="12"/>
<textElement textAlignment="Center">
<font fontName="Arial"/>
</textElement>
<textFieldExpression class="java.lang.String"><![CDATA[$F{CARTON}]]></textFieldExpression>
</textField>
<textField isBlankWhenNull="true">
<reportElement x="275" y="2" width="45" height="12"/>
<textElement textAlignment="Center">
<font fontName="Arial"/>
</textElement>
<textFieldExpression class="java.lang.String"><![CDATA[$F{PALLET}]]></textFieldExpression>
</textField>
<textField pattern="0" isBlankWhenNull="true">
<reportElement x="169" y="2" width="35" height="12">
<printWhenExpression><![CDATA[new Boolean($F{NO_PALLET}.doubleValue() > 0)]]></printWhenExpression>
</reportElement>
<textElement textAlignment="Right">
<font fontName="Arial"/>
</textElement>
<textFieldExpression class="java.lang.Double"><![CDATA[$F{NO_PALLET}]]></textFieldExpression>
</textField>
</band>
</detail>
<summary>
<band height="22" splitType="Stretch">
<line direction="BottomUp">
<reportElement x="166" y="0" width="1" height="16"/>
</line>
<rectangle>
<reportElement x="274" y="0" width="290" height="15" backcolor="#AD9CA4"/>
</rectangle>
<textField isBlankWhenNull="true">
<reportElement x="210" y="0" width="60" height="12"/>
<textElement textAlignment="Right">
<font fontName="Arial"/>
</textElement>
<textFieldExpression class="java.lang.Double"><![CDATA[$V{NETT_WEIGHT_1}]]></textFieldExpression>
</textField>
<textField pattern="0" isBlankWhenNull="true">
<reportElement x="165" y="1" width="40" height="12">
<printWhenExpression><![CDATA[new Boolean($V{NO_ART_1}.doubleValue() > 0)]]></printWhenExpression>
</reportElement>
<textElement textAlignment="Right">
<font fontName="Arial"/>
</textElement>
<textFieldExpression class="java.lang.Double"><![CDATA[$V{NO_ART_1}]]></textFieldExpression>
</textField>
<staticText>
<reportElement x="25" y="0" width="100" height="15"/>
<textElement>
<font fontName="Arial" size="10" isBold="true"/>
</textElement>
<text><![CDATA[GRAND TOTAL]]></text>
</staticText>
<line direction="BottomUp">
<reportElement x="207" y="0" width="1" height="16"/>
</line>
<line direction="BottomUp">
<reportElement x="5" y="0" width="1" height="16"/>
</line>
<line>
<reportElement x="5" y="15" width="269" height="1"/>
</line>
<textField pattern="0" isBlankWhenNull="true">
<reportElement x="166" y="1" width="40" height="12">
<printWhenExpression><![CDATA[new Boolean($V{NO_PALLET_1}.doubleValue() > 0)]]></printWhenExpression>
</reportElement>
<textElement textAlignment="Right">
<font fontName="Arial"/>
</textElement>
<textFieldExpression class="java.lang.Double"><![CDATA[$V{NO_PALLET_1}]]></textFieldExpression>
</textField>
</band>
</summary>
</jasperReport>
<?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="BOL_Manual_subreport2" pageWidth="612" pageHeight="792" columnWidth="555" leftMargin="0" rightMargin="0" topMargin="0" bottomMargin="0">
<property name="ireport.zoom" value="1.0"/>
<property name="ireport.x" value="177"/>
<property name="ireport.y" value="0"/>
<parameter name="DESP_DESP_ID" class="java.lang.String"/>
<queryString>
<![CDATA[select count1, shipment_id, case when no_pallet > 0 then 'P' else 'M' end pick_type, tot_pkt, gross_weigh, NMFC_NO, NMFC_DESCR, FRT_CLASS from table (BOLTYPEMANUALTBL('$P!{DESP_DESP_ID}','SUB2'))]]>
</queryString>
<field name="COUNT1" class="java.lang.Integer"/>
<field name="PICK_TYPE" class="java.lang.String"/>
<field name="TOT_PKT" class="java.lang.Double"/>
<field name="GROSS_WEIGH" class="java.lang.Double"/>
<field name="NMFC_NO" class="java.lang.String"/>
<field name="NMFC_DESCR" class="java.lang.String"/>
<field name="FRT_CLASS" class="java.lang.String"/>
<field name="shipment_id" class="java.lang.String"/>
<variable name="TOT_PKT_3" class="java.lang.Double" calculation="Sum">
<variableExpression><![CDATA[new java.lang.Double($F{TOT_PKT}.doubleValue())]]></variableExpression>
</variable>
<variable name="COUNT_3" class="java.lang.Double" calculation="Sum">
<variableExpression><![CDATA[new java.lang.Double($F{COUNT1}.doubleValue())]]></variableExpression>
</variable>
<variable name="GROSS_WEIGH_2" class="java.lang.Double" calculation="Sum">
<variableExpression><![CDATA[new java.lang.Double($F{GROSS_WEIGH}.doubleValue())]]></variableExpression>
</variable>
<variable name="Pick_type" class="java.lang.String">
<variableExpression><![CDATA[new java.lang.String($F{PICK_TYPE}.equals("M")?"CTN":"PLT")]]></variableExpression>
</variable>
<group name="GRAND_TOTAL">
<groupExpression><![CDATA[$V{GROSS_WEIGH_2}]]></groupExpression>
<groupFooter>
<band/>
</groupFooter>
</group>
<background>
<band splitType="Stretch"/>
</background>
<title>
<band splitType="Stretch"/>
</title>
<pageHeader>
<band height="48" splitType="Stretch">
<staticText>
<reportElement x="13" y="33" width="20" height="15"/>
<textElement textAlignment="Center">
<font fontName="Arial" size="9" isBold="true"/>
</textElement>
<text><![CDATA[QTY]]></text>
</staticText>
<staticText>
<reportElement x="6" y="18" width="65" height="11"/>
<textElement textAlignment="Center">
<font fontName="Arial" size="8" isBold="true"/>
</textElement>
<text><![CDATA[HANDLING UNIT]]></text>
</staticText>
<line>
<reportElement x="479" y="27" width="84" height="1"/>
</line>
<line>
<reportElement x="71" y="13" width="1" height="35"/>
</line>
<line>
<reportElement x="522" y="27" width="1" height="20"/>
</line>
<line>
<reportElement x="38" y="31" width="1" height="17"/>
</line>
<staticText>
<reportElement x="497" y="15" width="50" height="14"/>
<textElement textAlignment="Center">
<font fontName="Arial" size="10" isBold="true"/>
</textElement>
<text><![CDATA[LTL ONLY]]></text>
</staticText>
<staticText>
<reportElement x="190" y="29" width="272" height="17"/>
<textElement textAlignment="Center">
<font fontName="Arial" size="6" isBold="true"/>
</textElement>
<text><![CDATA[Commodities requiring special or additional care or attention in handling or stowing must be so marked and packaged as to ensure safe transportation with ordinary care.]]></text>
</staticText>
<line>
<reportElement x="175" y="14" width="1" height="34"/>
</line>
<staticText>
<reportElement x="73" y="27" width="63" height="15"/>
<textElement textAlignment="Center">
<font fontName="Arial" size="10" isBold="true"/>
</textElement>
<text><![CDATA[WEIGHT]]></text>
</staticText>
<line direction="BottomUp">
<reportElement x="5" y="13" width="1" height="35"/>
</line>
<line>
<reportElement x="478" y="13" width="1" height="35"/>
</line>
<staticText>
<reportElement x="143" y="23" width="27" height="25"/>
<textElement textAlignment="Center">
<font fontName="Arial" size="9" isBold="true"/>
</textElement>
<text><![CDATA[H.M. (X)]]></text>
</staticText>
<line>
<reportElement x="5" y="30" width="65" height="1"/>
</line>
<staticText>
<reportElement x="523" y="30" width="35" height="15"/>
<textElement textAlignment="Center">
<font fontName="Arial" size="9" isBold="true"/>
</textElement>
<text><![CDATA[CLASS]]></text>
</staticText>
<staticText>
<reportElement x="483" y="30" width="35" height="15"/>
<textElement textAlignment="Center">
<font fontName="Arial" size="9" isBold="true"/>
</textElement>
<text><![CDATA[NMFC #]]></text>
</staticText>
<line>
<reportElement x="563" y="13" width="1" height="35"/>
</line>
<staticText>
<reportElement x="216" y="17" width="225" height="13"/>
<textElement textAlignment="Center">
<font fontName="Arial" size="9" isBold="true"/>
</textElement>
<text><![CDATA[COMMODITY DESCRIPTION]]></text>
</staticText>
<line>
<reportElement x="136" y="13" width="1" height="35"/>
</line>
<staticText>
<reportElement x="42" y="33" width="25" height="15"/>
<textElement textAlignment="Center">
<font fontName="Arial" size="9" isBold="true"/>
</textElement>
<text><![CDATA[TYPE]]></text>
</staticText>
<staticText>
<reportElement x="257" y="1" width="100" height="20"/>
<textElement/>
<text><![CDATA[NMFC_DESCR]]></text>
</staticText>
<staticText>
<reportElement mode="Opaque" x="5" y="0" width="559" height="15" forecolor="#FEFEFE" backcolor="#010101"/>
<textElement textAlignment="Center" verticalAlignment="Middle">
<font fontName="Arial" size="8" isBold="true"/>
</textElement>
<text><![CDATA[CARRIER INFORMATION]]></text>
</staticText>
</band>
</pageHeader>
<columnHeader>
<band splitType="Stretch"/>
</columnHeader>
<detail>
<band height="16" splitType="Stretch">
<line>
<reportElement x="5" y="15" width="559" height="1"/>
</line>
<line>
<reportElement x="5" y="0" width="1" height="15"/>
</line>
<line>
<reportElement x="38" y="0" width="1" height="15"/>
</line>
<line>
<reportElement x="71" y="0" width="1" height="15"/>
</line>
<line>
<reportElement x="136" y="0" width="1" height="15"/>
</line>
<line>
<reportElement x="175" y="0" width="1" height="15"/>
</line>
<line>
<reportElement x="478" y="0" width="1" height="15"/>
</line>
<line>
<reportElement x="522" y="0" width="1" height="15"/>
</line>
<line>
<reportElement x="563" y="0" width="1" height="15"/>
</line>
<textField pattern="0">
<reportElement x="5" y="3" width="30" height="12">
<printWhenExpression><![CDATA[new Boolean($F{COUNT1}.intValue()>0)]]></printWhenExpression>
</reportElement>
<textElement textAlignment="Right">
<font fontName="Arial"/>
</textElement>
<textFieldExpression class="java.lang.Integer"><![CDATA[$F{COUNT1}]]></textFieldExpression>
</textField>
<textField>
<reportElement x="40" y="3" width="30" height="12">
<printWhenExpression><![CDATA[new Boolean($F{COUNT1}.intValue()>0)]]></printWhenExpression>
</reportElement>
<textElement textAlignment="Center">
<font fontName="Arial"/>
</textElement>
<textFieldExpression class="java.lang.String"><![CDATA[$V{Pick_type}]]></textFieldExpression>
</textField>
<textField isBlankWhenNull="true">
<reportElement x="524" y="3" width="39" height="12">
<printWhenExpression><![CDATA[new Boolean(false)]]></printWhenExpression>
</reportElement>
<textElement textAlignment="Center">
<font fontName="Arial" size="9"/>
</textElement>
<textFieldExpression class="java.lang.String"><![CDATA[$F{FRT_CLASS}]]></textFieldExpression>
</textField>
<textField isBlankWhenNull="true">
<reportElement x="72" y="2" width="60" height="12">
<printWhenExpression><![CDATA[new Boolean($F{COUNT1}.intValue()>0)]]></printWhenExpression>
</reportElement>
<textElement textAlignment="Right" verticalAlignment="Middle">
<font fontName="Arial"/>
</textElement>
<textFieldExpression class="java.lang.Double"><![CDATA[$F{GROSS_WEIGH}]]></textFieldExpression>
</textField>
<textField isBlankWhenNull="true">
<reportElement x="179" y="2" width="299" height="12">
<printWhenExpression><![CDATA[new Boolean($F{COUNT1}.intValue()>0)]]></printWhenExpression>
</reportElement>
<textElement textAlignment="Left">
<font fontName="Arial"/>
</textElement>
<textFieldExpression class="java.lang.String"><![CDATA[$F{NMFC_DESCR}]]></textFieldExpression>
</textField>
<line>
<reportElement x="5" y="-1" width="559" height="1"/>
</line>
<textField isBlankWhenNull="true">
<reportElement x="479" y="2" width="43" height="12">
<printWhenExpression><![CDATA[new Boolean($F{COUNT1}.intValue()>0)]]></printWhenExpression>
</reportElement>
<textElement textAlignment="Left">
<font fontName="Arial" size="8"/>
</textElement>
<textFieldExpression class="java.lang.String"><![CDATA[$F{NMFC_NO}]]></textFieldExpression>
</textField>
</band>
</detail>
<columnFooter>
<band splitType="Stretch"/>
</columnFooter>
<pageFooter>
<band splitType="Stretch"/>
</pageFooter>
<summary>
<band height="15" splitType="Stretch">
<line>
<reportElement x="5" y="0" width="1" height="15"/>
</line>
<rectangle>
<reportElement x="38" y="0" width="33" height="15" backcolor="#AD9CA4"/>
</rectangle>
<rectangle>
<reportElement x="478" y="0" width="44" height="15" backcolor="#AD9CA4"/>
</rectangle>
<rectangle>
<reportElement x="522" y="0" width="41" height="15" backcolor="#AD9CA4"/>
</rectangle>
<staticText>
<reportElement x="378" y="3" width="100" height="12"/>
<textElement>
<font fontName="Arial" size="10" isBold="true"/>
</textElement>
<text><![CDATA[GRAND TOTAL]]></text>
</staticText>
<rectangle>
<reportElement x="136" y="0" width="40" height="15" backcolor="#AD9CA4"/>
</rectangle>
<textField pattern="0" isBlankWhenNull="true">
<reportElement x="5" y="3" width="30" height="12"/>
<textElement textAlignment="Right">
<font fontName="Arial"/>
</textElement>
<textFieldExpression class="java.lang.Double"><![CDATA[$V{COUNT_3}]]></textFieldExpression>
</textField>
<textField isBlankWhenNull="true">
<reportElement x="73" y="3" width="60" height="12"/>
<textElement textAlignment="Right">
<font fontName="Arial"/>
</textElement>
<textFieldExpression class="java.lang.Double"><![CDATA[$V{GROSS_WEIGH_2}]]></textFieldExpression>
</textField>
</band>
</summary>
</jasperReport>
<?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="bill_of_lading_manual" pageWidth="612" pageHeight="792" columnWidth="555" leftMargin="20" rightMargin="20" topMargin="10" bottomMargin="10">
<property name="ireport.zoom" value="1.0"/>
<property name="ireport.x" value="0"/>
<property name="ireport.y" value="131"/>
<parameter name="DESP_ID_FIRST" class="java.lang.String"/>
<parameter name="DESP_ID_LAST" class="java.lang.String"/>
<queryString>
<![CDATA[SELECT distinct
SHP.SHIPMENT_DATE AS SHIP_DATE,
CASE WHEN SHP.SHIPMENT_ID IS NULL THEN ' ' ELSE SHP.SHIPMENT_ID END AS SHIPMENT_ID,
CASE WHEN SHP.LR_NO IS NULL THEN ' ' ELSE SHP.LR_NO END AS SHIPMENT_LR_NO,
CASE WHEN S.SITE_CODE IS NULL THEN ' ' ELSE S.descr END AS SITE_CODE,
CASE WHEN S.ADD1 IS NULL THEN ' ' ELSE S.ADD1 END AS ADD1,
CASE WHEN S.ADD2 IS NULL THEN ' ' ELSE S.ADD2 END AS ADD2,
CASE WHEN S.ADD3 IS NULL THEN ' ' ELSE S.ADD2 END AS ADD3,
CASE WHEN S.CITY IS NULL THEN ' ' ELSE S.CITY END AS CITY,
CASE WHEN S.STATE_CODE IS NULL THEN ' ' ELSE S.STATE_CODE END AS STATE_CODE,
CASE WHEN S.PIN IS NULL THEN ' ' ELSE S.PIN END AS PIN,
SHP.CONSIGNEE_NAME AS CUST_NAME_DLV,
CASE WHEN SHP.ADDR1 IS NULL THEN ' ' ELSE SHP.ADDR1 END AS DLV_ADD1,
CASE WHEN SHP.ADDR2 IS NULL THEN ' ' ELSE SHP.ADDR2 END AS DLV_ADD2,
CASE WHEN SHP.ADDR3 IS NULL THEN ' ' ELSE SHP.ADDR3 END AS DLV_ADD3,
CASE WHEN SHP.CITY IS NULL THEN ' ' ELSE SHP.CITY END AS DLV_CITY,
CASE WHEN SHP.PIN IS NULL THEN ' ' ELSE SHP.PIN END AS DLV_PIN,
CASE WHEN T.TRAN_NAME IS NULL THEN ' ' ELSE T.TRAN_NAME END AS TRAN_NAME,
CASE WHEN T.SUFFIX IS NULL THEN ' ' ELSE T.SUFFIX END AS SUFFIX,
CASE WHEN T.PREFIX IS NULL THEN ' ' ELSE T.PREFIX END AS PREFIX,
CASE WHEN t.SCAC_code IS NULL THEN ' ' ELSE T.SCAC_code END AS SCAC,
CASE WHEN SHP.PRO_NO IS NULL THEN ' ' ELSE SHP.PRO_NO END AS PRO_NO,
CASE WHEN SHP.REMARKS IS NULL THEN ' ' ELSE SHP.REMARKS END AS SHIPMENT_REMARKS
FROM
SHIPMENT SHP,
SITE S,
TRANSPORTER T
WHERE
(shp.shipment_id between '$P!{DESP_ID_FIRST}' and '$P!{DESP_ID_LAST}')
AND SHP.SITE_CODE = S.SITE_CODE
AND SHP.TRAN_CODE = T.TRAN_CODE
AND SHP.CONFIRMED = 'Y']]>
</queryString>
<field name="SITE_CODE" class="java.lang.String"/>
<field name="ADD1" class="java.lang.String"/>
<field name="ADD2" class="java.lang.String"/>
<field name="CITY" class="java.lang.String"/>
<field name="STATE_CODE" class="java.lang.String"/>
<field name="PIN" class="java.lang.String"/>
<field name="DLV_ADD1" class="java.lang.String"/>
<field name="DLV_ADD2" class="java.lang.String"/>
<field name="DLV_ADD3" class="java.lang.String"/>
<field name="DLV_CITY" class="java.lang.String"/>
<field name="DLV_PIN" class="java.lang.String"/>
<field name="TRAN_NAME" class="java.lang.String"/>
<field name="SCAC" class="java.lang.String"/>
<field name="PRO_NO" class="java.lang.String"/>
<field name="SHIP_DATE" class="java.util.Date"/>
<field name="CUST_NAME_DLV" class="java.lang.String"/>
<field name="SHIPMENT_ID" class="java.lang.String"/>
<field name="SHIPMENT_LR_NO" class="java.lang.String"/>
<field name="PREFIX" class="java.lang.String"/>
<field name="SUFFIX" class="java.lang.String"/>
<field name="ADD3" class="java.lang.String"/>
<field name="SHIPMENT_REMARKS" class="java.lang.String"/>
<variable name="compute_1" class="java.lang.String" resetType="None">
<variableExpression><![CDATA[new java.lang.String(ibase.webitm.reports.sun.BaseReportGFMethods.gf_bar_code("9012k"+ibase.webitm.reports.utility.BaseReportMethods.trim( $F{SCAC}) +""+ibase.webitm.reports.utility.BaseReportMethods.trim( $F{PREFIX})+ibase.webitm.reports.utility.BaseReportMethods.trim( $F{PRO_NO})+ibase.webitm.reports.utility.BaseReportMethods.trim( $F{SUFFIX}) ) )]]></variableExpression>
</variable>
<variable name="compute_2" class="java.lang.String" resetType="None">
<variableExpression><![CDATA[new java.lang.String($F{CITY}.trim()+" / "+$F{STATE_CODE}.trim()+" / "+$F{PIN}.trim())]]></variableExpression>
</variable>
<variable name="compute_3" class="java.lang.String" resetType="None">
<variableExpression><![CDATA[new java.lang.String($F{DLV_CITY}.trim()+" / "+$F{DLV_PIN}.trim())]]></variableExpression>
</variable>
<variable name="compute_4" class="java.lang.String" resetType="None">
<variableExpression><![CDATA[new java.lang.String(ibase.webitm.reports.sun.BaseReportGFMethods.gf_bar_code("402"+ibase.webitm.reports.utility.BaseReportMethods.trim($F{SHIPMENT_LR_NO})))]]></variableExpression>
</variable>
<variable name="compute_4_1" class="java.lang.String" resetType="None">
<variableExpression><![CDATA[new java.lang.String("(402) "+(ibase.webitm.reports.utility.BaseReportMethods.trim($F{SHIPMENT_LR_NO})))]]></variableExpression>
</variable>
<variable name="compute_1_1" class="java.lang.String" resetType="None">
<variableExpression><![CDATA[new java.lang.String(ibase.webitm.reports.utility.BaseReportMethods.trim( $F{PRO_NO}))]]></variableExpression>
</variable>
<variable name="variable1" class="java.lang.String" resetType="None">
<variableExpression><![CDATA[new java.lang.String((ibase.webitm.reports.utility.BaseReportMethods.isNull($F{SITE_CODE}) ?" " : ibase.webitm.reports.utility.BaseReportMethods.trim($F{SITE_CODE}))
+(ibase.webitm.reports.utility.BaseReportMethods.isNull($F{ADD1}) ? "" : "\n"+ibase.webitm.reports.utility.BaseReportMethods.trim($F{ADD1}))
+(ibase.webitm.reports.utility.BaseReportMethods.isNull($F{ADD2}) ? "" : "\n"+ibase.webitm.reports.utility.BaseReportMethods.trim($F{ADD2}))
+(ibase.webitm.reports.utility.BaseReportMethods.isNull($F{ADD3}) ? "" : "\n"+ibase.webitm.reports.utility.BaseReportMethods.trim($F{ADD3}))
+"\n"+(ibase.webitm.reports.utility.BaseReportMethods.isNull($F{CITY}) ? " " : ibase.webitm.reports.utility.BaseReportMethods.trim($F{CITY})+" /")+(ibase.webitm.reports.utility.BaseReportMethods.isNull($F{STATE_CODE}) ? " " :ibase.webitm.reports.utility.BaseReportMethods.trim($F{STATE_CODE}))+(ibase.webitm.reports.utility.BaseReportMethods.isNull($F{PIN}) ? " " :" /"+ibase.webitm.reports.utility.BaseReportMethods.trim($F{PIN})))]]></variableExpression>
</variable>
<variable name="variable2" class="java.lang.String" resetType="None">
<variableExpression><![CDATA[new java.lang.String((ibase.webitm.reports.utility.BaseReportMethods.isNull($F{CUST_NAME_DLV}) ?" " : ibase.webitm.reports.utility.BaseReportMethods.trim($F{CUST_NAME_DLV}))
+(ibase.webitm.reports.utility.BaseReportMethods.isNull($F{DLV_ADD1}) ? "" : "\n"+ibase.webitm.reports.utility.BaseReportMethods.trim($F{DLV_ADD1}))
+(ibase.webitm.reports.utility.BaseReportMethods.isNull($F{DLV_ADD2}) ? "" : "\n"+ibase.webitm.reports.utility.BaseReportMethods.trim($F{DLV_ADD2}))
+(ibase.webitm.reports.utility.BaseReportMethods.isNull($F{DLV_ADD3}) ? "" : "\n"+ibase.webitm.reports.utility.BaseReportMethods.trim($F{DLV_ADD3}))
+"\n"+(ibase.webitm.reports.utility.BaseReportMethods.isNull($F{DLV_CITY}) ? " " : ibase.webitm.reports.utility.BaseReportMethods.trim($F{DLV_CITY}))+" "+(ibase.webitm.reports.utility.BaseReportMethods.isNull($F{DLV_PIN}) ? " " :ibase.webitm.reports.utility.BaseReportMethods.trim($F{DLV_PIN})))]]></variableExpression>
</variable>
<group name="shipment_id" isStartNewPage="true" isResetPageNumber="true">
<groupExpression><![CDATA[$F{SHIPMENT_ID}]]></groupExpression>
<groupHeader>
<band height="504">
<staticText>
<reportElement x="411" y="265" width="73" height="15"/>
<textElement>
<font fontName="Courier New" isBold="true"/>
</textElement>
<text><![CDATA[Collect ______]]></text>
</staticText>
<staticText>
<reportElement x="334" y="239" width="227" height="23"/>
<textElement>
<font fontName="Courier New" size="8" isBold="true"/>
</textElement>
<text><![CDATA[Freight Charge Terms: (freight charges are prepaid unless marked otherwise)]]></text>
</staticText>
<textField isBlankWhenNull="true">
<reportElement x="398" y="179" width="148" height="13"/>
<textElement>
<font fontName="Courier New"/>
</textElement>
<textFieldExpression class="java.lang.String"><![CDATA[$F{PRO_NO}]]></textFieldExpression>
</textField>
<line>
<reportElement x="6" y="273" width="320" height="1"/>
</line>
<line direction="BottomUp">
<reportElement x="565" y="20" width="1" height="292"/>
</line>
<line>
<reportElement x="6" y="25" width="1" height="286"/>
</line>
<staticText>
<reportElement x="482" y="264" width="80" height="15"/>
<textElement>
<font fontName="Courier New" isBold="true"/>
</textElement>
<text><![CDATA[3rd Party ______]]></text>
</staticText>
<staticText>
<reportElement x="507" y="1" width="30" height="15"/>
<textElement>
<font fontName="Courier New" size="12" isBold="true"/>
</textElement>
<text><![CDATA[Page]]></text>
</staticText>
<staticText>
<reportElement mode="Opaque" x="6" y="19" width="320" height="15" forecolor="#FEFEFE" backcolor="#010101"/>
<textElement textAlignment="Center" verticalAlignment="Middle">
<font fontName="Courier New" size="8" isBold="true"/>
</textElement>
<text><![CDATA[SHIP FORM]]></text>
</staticText>
<staticText>
<reportElement x="334" y="20" width="111" height="15"/>
<textElement>
<font fontName="Courier New" isBold="true"/>
</textElement>
<text><![CDATA[Bill of Lading Number:]]></text>
</staticText>
<textField isBlankWhenNull="true">
<reportElement x="537" y="1" width="30" height="15"/>
<textElement>
<font fontName="Courier New" size="12"/>
</textElement>
<textFieldExpression class="java.lang.Integer"><![CDATA[$V{PAGE_NUMBER}]]></textFieldExpression>
</textField>
<textField isBlankWhenNull="true">
<reportElement x="372" y="165" width="174" height="13"/>
<textElement>
<font fontName="Courier New"/>
</textElement>
<textFieldExpression class="java.lang.String"><![CDATA[$F{SCAC}]]></textFieldExpression>
</textField>
<rectangle>
<reportElement x="293" y="183" width="15" height="12"/>
<graphicElement>
<pen lineWidth="2.0"/>
</graphicElement>
</rectangle>
<staticText>
<reportElement x="391" y="281" width="170" height="30"/>
<textElement>
<font fontName="Courier New"/>
</textElement>
<text><![CDATA[Master Bill of Lading: with attached underlying Bills of Lading]]></text>
</staticText>
<line>
<reportElement x="326" y="279" width="239" height="1"/>
</line>
<staticText>
<reportElement x="263" y="183" width="40" height="12"/>
<textElement>
<font fontName="Courier New"/>
</textElement>
<text><![CDATA[FOB:]]></text>
</staticText>
<textField pattern="">
<reportElement x="7" y="3" width="150" height="15"/>
<textElement>
<font fontName="Courier New"/>
</textElement>
<textFieldExpression class="java.lang.String"><![CDATA[$F{SHIP_DATE}.equals(null)?"":(new SimpleDateFormat("MM/dd/yy").format($F{SHIP_DATE}))]]></textFieldExpression>
</textField>
<textField isBlankWhenNull="true">
<reportElement x="21" y="289" width="305" height="22"/>
<textElement verticalAlignment="Middle">
<font fontName="Courier New"/>
</textElement>
<textFieldExpression class="java.lang.String"><![CDATA[$F{SHIPMENT_REMARKS}]]></textFieldExpression>
</textField>
<staticText>
<reportElement x="334" y="166" width="50" height="15"/>
<textElement>
<font fontName="Courier New" isBold="true"/>
</textElement>
<text><![CDATA[SCAC:]]></text>
</staticText>
<line>
<reportElement x="327" y="164" width="239" height="1"/>
</line>
<staticText>
<reportElement x="334" y="265" width="80" height="15"/>
<textElement>
<font fontName="Courier New" isBold="true"/>
</textElement>
<text><![CDATA[Prepaid ______]]></text>
</staticText>
<textField isBlankWhenNull="true">
<reportElement x="445" y="20" width="113" height="12"/>
<textElement textAlignment="Left">
<font fontName="Courier New" size="10" isUnderline="true"/>
</textElement>
<textFieldExpression class="java.lang.String"><![CDATA[$F{SHIPMENT_LR_NO}.trim()]]></textFieldExpression>
</textField>
<staticText>
<reportElement x="263" y="94" width="40" height="12"/>
<textElement>
<font fontName="Courier New"/>
</textElement>
<text><![CDATA[FOB:]]></text>
</staticText>
<rectangle>
<reportElement x="350" y="283" width="15" height="12"/>
<graphicElement>
<pen lineWidth="2.0"/>
</graphicElement>
</rectangle>
<staticText>
<reportElement mode="Opaque" x="6" y="107" width="320" height="15" forecolor="#FEFEFE" backcolor="#010101"/>
<textElement textAlignment="Center" verticalAlignment="Middle">
<font fontName="Courier New" size="8" isBold="true"/>
</textElement>
<text><![CDATA[SHIP TO]]></text>
</staticText>
<staticText>
<reportElement x="334" y="110" width="100" height="17"/>
<textElement>
<font fontName="Courier New" isBold="true"/>
</textElement>
<text><![CDATA[CARRIER NAME:]]></text>
</staticText>
<line direction="BottomUp">
<reportElement x="326" y="20" width="1" height="291"/>
</line>
<staticText>
<reportElement x="334" y="130" width="80" height="15"/>
<textElement>
<font fontName="Courier New"/>
</textElement>
<text><![CDATA[Trailer Number:]]></text>
</staticText>
<line>
<reportElement x="326" y="19" width="239" height="1"/>
</line>
<staticText>
<reportElement x="334" y="179" width="70" height="15"/>
<textElement>
<font fontName="Courier New" isBold="true"/>
</textElement>
<text><![CDATA[Pro number:]]></text>
</staticText>
<rectangle>
<reportElement x="293" y="93" width="15" height="12"/>
<graphicElement>
<pen lineWidth="2.0"/>
</graphicElement>
</rectangle>
<staticText>
<reportElement x="7" y="0" width="558" height="20"/>
<textElement textAlignment="Center">
<font fontName="Courier New" size="16" isBold="true"/>
</textElement>
<text><![CDATA[BILL OF LADING (MANUAL)]]></text>
</staticText>
<staticText>
<reportElement x="11" y="94" width="45" height="12"/>
<textElement>
<font fontName="Courier New"/>
</textElement>
<text><![CDATA[SID#:]]></text>
</staticText>
<staticText>
<reportElement x="8" y="274" width="130" height="15"/>
<textElement>
<font fontName="Courier New"/>
</textElement>
<text><![CDATA[SPECIAL INSTRUCTIONS:]]></text>
</staticText>
<staticText>
<reportElement x="8" y="183" width="45" height="12">
<printWhenExpression><![CDATA[new Boolean(false)]]></printWhenExpression>
</reportElement>
<textElement>
<font fontName="Courier New"/>
</textElement>
<text><![CDATA[CID#:]]></text>
</staticText>
<staticText>
<reportElement x="334" y="144" width="90" height="15"/>
<textElement>
<font fontName="Courier New"/>
</textElement>
<text><![CDATA[Seal Number (s):]]></text>
</staticText>
<textField isBlankWhenNull="true">
<reportElement x="420" y="110" width="133" height="15"/>
<textElement>
<font fontName="Courier New" isUnderline="true"/>
</textElement>
<textFieldExpression class="java.lang.String"><![CDATA[$F{TRAN_NAME}.trim()]]></textFieldExpression>
</textField>
<staticText>
<reportElement mode="Opaque" x="6" y="198" width="320" height="15" forecolor="#FEFEFE" backcolor="#010101"/>
<textElement textAlignment="Center" verticalAlignment="Middle">
<font fontName="Courier New" size="8" isBold="true"/>
</textElement>
<text><![CDATA[THIRD PARTY FREIGHT CHARGES BILL TO:]]></text>
</staticText>
<line>
<reportElement x="326" y="108" width="239" height="1"/>
</line>
<line>
<reportElement x="326" y="236" width="239" height="1"/>
</line>
<textField isBlankWhenNull="true">
<reportElement x="334" y="197" width="203" height="31"/>
<textElement>
<font fontName="Code 128AB" size="40"/>
</textElement>
<textFieldExpression class="java.lang.String"><![CDATA[$V{compute_1}]]></textFieldExpression>
</textField>
<textField isBlankWhenNull="true">
<reportElement x="355" y="46" width="203" height="38"/>
<textElement>
<font fontName="Code 128AB" size="40"/>
</textElement>
<textFieldExpression class="java.lang.String"><![CDATA[$V{compute_4}]]></textFieldExpression>
</textField>
<textField isBlankWhenNull="true">
<reportElement x="355" y="83" width="179" height="16"/>
<textElement/>
<textFieldExpression class="java.lang.String"><![CDATA[$V{compute_4_1}]]></textFieldExpression>
</textField>
<textField isBlankWhenNull="true">
<reportElement x="334" y="223" width="179" height="16"/>
<textElement/>
<textFieldExpression class="java.lang.String"><![CDATA[$V{compute_1_1}]]></textFieldExpression>
</textField>
<staticText>
<reportElement x="340" y="299" width="51" height="12"/>
<textElement>
<font fontName="Courier New" size="8" isBold="true"/>
</textElement>
<text><![CDATA[(check box)]]></text>
</staticText>
<staticText>
<reportElement x="10" y="213" width="33" height="15">
<printWhenExpression><![CDATA[new Boolean(false)]]></printWhenExpression>
</reportElement>
<textElement>
<font fontName="Courier New"/>
</textElement>
<text><![CDATA[Name:]]></text>
</staticText>
<staticText>
<reportElement x="10" y="228" width="40" height="15">
<printWhenExpression><![CDATA[new Boolean(false)]]></printWhenExpression>
</reportElement>
<textElement>
<font fontName="Courier New"/>
</textElement>
<text><![CDATA[Address:]]></text>
</staticText>
<staticText>
<reportElement x="8" y="254" width="69" height="15">
<printWhenExpression><![CDATA[new Boolean(false)]]></printWhenExpression>
</reportElement>
<textElement>
<font fontName="Courier New"/>
</textElement>
<text><![CDATA[City/State/Zip:]]></text>
</staticText>
<subreport>
<reportElement positionType="Float" isPrintRepeatedValues="false" x="0" y="412" width="572" height="92" isRemoveLineWhenBlank="true">
<printWhenExpression><![CDATA[new Boolean(true)]]></printWhenExpression>
</reportElement>
<parametersMapExpression><![CDATA[$P{REPORT_PARAMETERS_MAP}]]></parametersMapExpression>
<subreportParameter name="DESP_DESP_ID">
<subreportParameterExpression><![CDATA[$F{SHIPMENT_ID}]]></subreportParameterExpression>
</subreportParameter>
<connectionExpression><![CDATA[$P{REPORT_CONNECTION}]]></connectionExpression>
<subreportExpression class="java.io.InputStream"><![CDATA[new FileInputStream("C:/jboss-5.1.0.GA/server/default/deploy/ibase.ear/ibase.war/webitm/reports/jrxml/bill_of_lading_man_subreport2.jasper")]]></subreportExpression>
</subreport>
<subreport>
<reportElement positionType="Float" isPrintRepeatedValues="false" x="0" y="311" width="572" height="101" isRemoveLineWhenBlank="true">
<printWhenExpression><![CDATA[new Boolean(true)]]></printWhenExpression>
</reportElement>
<parametersMapExpression><![CDATA[$P{REPORT_PARAMETERS_MAP}]]></parametersMapExpression>
<subreportParameter name="DESP_DESP_ID">
<subreportParameterExpression><![CDATA[$F{SHIPMENT_ID}]]></subreportParameterExpression>
</subreportParameter>
<connectionExpression><![CDATA[$P{REPORT_CONNECTION}]]></connectionExpression>
<subreportExpression class="java.io.InputStream"><![CDATA[new FileInputStream("C:/jboss-5.1.0.GA/server/default/deploy/ibase.ear/ibase.war/webitm/reports/jrxml/bill_of_lading_man_subreport1.jasper")]]></subreportExpression>
</subreport>
<textField isBlankWhenNull="true">
<reportElement x="58" y="94" width="159" height="12"/>
<textElement>
<font fontName="Courier New"/>
</textElement>
<textFieldExpression class="java.lang.String"><![CDATA[$F{SHIPMENT_ID}]]></textFieldExpression>
</textField>
<textField>
<reportElement x="9" y="35" width="301" height="59"/>
<textElement>
<font fontName="Courier New"/>
</textElement>
<textFieldExpression class="java.lang.String"><![CDATA[$V{variable1}]]></textFieldExpression>
</textField>
<textField>
<reportElement x="9" y="122" width="301" height="59"/>
<textElement>
<font fontName="Courier New"/>
</textElement>
<textFieldExpression class="java.lang.String"><![CDATA[$V{variable2}]]></textFieldExpression>
</textField>
</band>
</groupHeader>
<groupFooter>
<band height="148">
<staticText>
<reportElement x="10" y="95" width="134" height="11"/>
<textElement textAlignment="Left">
<font fontName="Courier New" size="9" isBold="true"/>
</textElement>
<text><![CDATA[SHIPPER SIGNATURE / DATE]]></text>
</staticText>
<line>
<reportElement x="6" y="36" width="558" height="1"/>
</line>
<staticText>
<reportElement x="361" y="95" width="179" height="11"/>
<textElement textAlignment="Left">
<font fontName="Courier New" size="9" isBold="true"/>
</textElement>
<text><![CDATA[CARRIER SIGNATURE / PICKUP DATE]]></text>
</staticText>
<rectangle>
<reportElement x="278" y="137" width="8" height="8"/>
</rectangle>
<staticText>
<reportElement x="11" y="28" width="149" height="10"/>
<textElement>
<font fontName="Courier New" size="6"/>
</textElement>
<text><![CDATA[Shipper:________________ By: _________________]]></text>
</staticText>
<staticText>
<reportElement x="289" y="117" width="55" height="17"/>
<textElement>
<font fontName="Courier New" size="7"/>
</textElement>
<text><![CDATA[By Driver/Pallets said to contain]]></text>
</staticText>
<staticText>
<reportElement x="317" y="57" width="240" height="15"/>
<textElement>
<font fontName="Courier New" size="6"/>
</textElement>
<text><![CDATA[The carrier shall not make delivery of this shipment without payment of freight and all other lawful charges.]]></text>
</staticText>
<staticText>
<reportElement x="215" y="94" width="60" height="10"/>
<textElement>
<font fontName="Courier New" size="8" isUnderline="true"/>
</textElement>
<text><![CDATA[Trailer Loaded:]]></text>
</staticText>
<staticText>
<reportElement x="167" y="15" width="130" height="15"/>
<textElement>
<font fontName="Courier New" size="6"/>
</textElement>
<text><![CDATA[$ ________________ per lb
$ ________________ per shipment (truckload)]]></text>
</staticText>
<staticText>
<reportElement x="10" y="56" width="300" height="30"/>
<textElement>
<font fontName="Courier New" size="6"/>
</textElement>
<text><![CDATA[RECEIVED, subject to the written transportation contract between shipper and carrier, if applicable, otherwise
subject to the terms and conditions of the shipper's standard transportation contract in the effect on the date of
shipment, which is available to the carrier on request. This shipment is not subject to any classification or
tariffs which may be established by the carrier.]]></text>
</staticText>
<staticText>
<reportElement mode="Transparent" x="321" y="69" width="240" height="20" forecolor="#000000" backcolor="#010101"/>
<textElement textAlignment="Left" verticalAlignment="Middle">
<font fontName="Courier New" size="8" isBold="false"/>
</textElement>
<text><![CDATA[_______________________________________Shipper Signature]]></text>
</staticText>
<line>
<reportElement x="352" y="91" width="1" height="57"/>
</line>
<staticText>
<reportElement x="227" y="108" width="35" height="10"/>
<textElement>
<font fontName="Courier New" size="7"/>
</textElement>
<text><![CDATA[By Shipper]]></text>
</staticText>
<line>
<reportElement x="563" y="91" width="1" height="57"/>
</line>
<staticText>
<reportElement x="289" y="136" width="55" height="10"/>
<textElement>
<font fontName="Courier New" size="7"/>
</textElement>
<text><![CDATA[By Driver/Pieces]]></text>
</staticText>
<staticText>
<reportElement x="361" y="107" width="190" height="30"/>
<textElement textAlignment="Left">
<font fontName="Courier New" size="6"/>
</textElement>
<text><![CDATA[Carrier acknowledges receipt of packages and required placards. Carrier certifies emergency response information was made available and/or carrier has the DOT emergency response guidebook or equivalent documentation in the vehicle.]]></text>
</staticText>
<rectangle>
<reportElement x="491" y="23" width="8" height="8"/>
</rectangle>
<staticText>
<reportElement x="10" y="3" width="300" height="10"/>
<textElement>
<font fontName="Courier New" size="6"/>
</textElement>
<text><![CDATA[Carriers liability for loss, damage or delay is limited to:]]></text>
</staticText>
<line>
<reportElement x="312" y="54" width="1" height="38"/>
</line>
<rectangle>
<reportElement x="502" y="12" width="8" height="8"/>
</rectangle>
<rectangle>
<reportElement x="278" y="107" width="8" height="8"/>
</rectangle>
<staticText>
<reportElement x="10" y="107" width="190" height="25"/>
<textElement textAlignment="Left">
<font fontName="Courier New" size="6"/>
</textElement>
<text><![CDATA[This is to certify that the above named materials are properly classified, packaged, marked and labeled, and are in proper condition for transportation according to the applicable regulations of the DOT.]]></text>
</staticText>
<rectangle>
<reportElement x="217" y="121" width="8" height="8"/>
</rectangle>
<staticText>
<reportElement x="227" y="120" width="35" height="10"/>
<textElement>
<font fontName="Courier New" size="7"/>
</textElement>
<text><![CDATA[By Driver]]></text>
</staticText>
<line>
<reportElement x="205" y="91" width="1" height="56"/>
</line>
<line>
<reportElement x="5" y="91" width="559" height="1"/>
</line>
<line>
<reportElement x="6" y="54" width="558" height="1"/>
</line>
<line>
<reportElement x="6" y="147" width="558" height="1"/>
</line>
<line>
<reportElement x="5" y="91" width="1" height="57"/>
</line>
<staticText>
<reportElement mode="Transparent" x="11" y="38" width="560" height="15" forecolor="#000000" backcolor="#010101"/>
<textElement textAlignment="Left" verticalAlignment="Middle">
<font fontName="Courier New" size="9" isBold="true"/>
</textElement>
<text><![CDATA[NOTE Carrier's liability is for the actual loss unless otherwise agreed in contract, or stated above and signed by Shipper.]]></text>
</staticText>
<staticText>
<reportElement x="281" y="94" width="60" height="10"/>
<textElement>
<font fontName="Courier New" size="8" isUnderline="true"/>
</textElement>
<text><![CDATA[Freight Counted:]]></text>
</staticText>
<line>
<reportElement x="5" y="0" width="1" height="92"/>
</line>
<staticText>
<reportElement x="289" y="107" width="35" height="10"/>
<textElement>
<font fontName="Courier New" size="7"/>
</textElement>
<text><![CDATA[By Shipper]]></text>
</staticText>
<rectangle>
<reportElement x="278" y="117" width="8" height="8"/>
</rectangle>
<rectangle>
<reportElement x="217" y="109" width="8" height="8"/>
</rectangle>
<line>
<reportElement x="563" y="0" width="1" height="92"/>
</line>
<break>
<reportElement x="0" y="147" width="1" height="1"/>
</break>
<line>
<reportElement x="312" y="-1" width="1" height="38"/>
</line>
<line>
<reportElement x="5" y="0" width="560" height="1"/>
</line>
<rectangle>
<reportElement x="434" y="12" width="8" height="8"/>
</rectangle>
<staticText>
<reportElement mode="Transparent" x="313" y="1" width="217" height="35" forecolor="#000000" backcolor="#010101"/>
<textElement textAlignment="Center" verticalAlignment="Top">
<font fontName="Courier New" size="9" isBold="true"/>
</textElement>
<text><![CDATA[COD Amount: $ ________________
Fee Terms: Collect: Prepaid: Customer check acceptable:]]></text>
</staticText>
</band>
</groupFooter>
</group>
<background>
<band splitType="Stretch"/>
</background>
<title>
<band splitType="Stretch"/>
</title>
<pageHeader>
<band splitType="Stretch"/>
</pageHeader>
<columnHeader>
<band splitType="Stretch"/>
</columnHeader>
<columnFooter>
<band splitType="Stretch"/>
</columnFooter>
<pageFooter>
<band splitType="Stretch"/>
</pageFooter>
<summary>
<band splitType="Stretch"/>
</summary>
</jasperReport>
<?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="Cut Report" pageWidth="792" pageHeight="612" orientation="Landscape" columnWidth="752" leftMargin="20" rightMargin="20" topMargin="20" bottomMargin="20">
<property name="ireport.zoom" value="1.0"/>
<property name="ireport.x" value="0"/>
<property name="ireport.y" value="0"/>
<parameter name="as_site_code" class="java.lang.String"/>
<parameter name="frm_order_date" class="java.util.Date"/>
<parameter name="to_order_date" class="java.util.Date"/>
<queryString>
<![CDATA[select sale_order,
line_no,
order_date,
due_date,
status_date,
cust_code,
cust_name,
sum(ord_qty) as ord_qty,
sum(ship_qty) as ship_qty,
sum(ord_qty - ship_qty) as cancel_qty,
item_code,
item_descr,
site_descr
from
(select sorder.sale_order,sorddet.line_no,sorder.order_date,sorder.due_date,sorder.status_date,sorder.cust_code,customer.cust_name,sorddet.quantity as ord_qty,
0 as ship_qty,sorddet.item_code,item.descr as item_descr,ddf_get_site_descr(sorder.site_code) as site_descr
from sorder,sorddet,customer,item
where sorder.order_date between $P{frm_order_date} AND $P{to_order_date}
and sorder.site_code = '$P!{as_site_code}'
and sorder.confirmed = 'Y'
and sorder.status = 'C'
and sorddet.sale_order = sorder.sale_order
and customer.cust_code = sorder.cust_code
and item.item_code = sorddet.item_code
union all
select sorder.sale_order,sorditem.line_no,sorder.order_date,sorditem.due_date,sorder.status_date,sorder.cust_code,customer.cust_name,0 as ord_qty,
sum(sorditem.qty_desp) as ship_qty,sorditem.item_code,item.descr as item_descr,ddf_get_site_descr(sorder.site_code) as site_descr
from sorder,sorditem,customer,item
where sorder.order_date between $P{frm_order_date} AND $P{to_order_date}
and sorder.site_code = '$P!{as_site_code}'
and sorder.confirmed = 'Y'
and sorder.status = 'C'
and sorditem.sale_order = sorder.sale_order
and customer.cust_code = sorder.cust_code
and item.item_code = sorditem.item_code
group by sorder.sale_order,sorditem.line_no,sorder.order_date,sorditem.due_date,sorder.status_date,sorder.cust_code,customer.cust_name,sorditem.item_code,item.descr,ddf_get_site_descr(sorder.site_code))
group by sale_order,line_no,order_date,due_date,status_date,cust_code,cust_name,item_code,item_descr,site_descr
having sum(ord_qty - ship_qty) > 0]]>
</queryString>
<field name="sale_order" class="java.lang.String"/>
<field name="line_no" class="java.lang.Double"/>
<field name="order_date" class="java.util.Date"/>
<field name="due_date" class="java.util.Date"/>
<field name="status_date" class="java.util.Date"/>
<field name="cust_code" class="java.lang.String"/>
<field name="cust_name" class="java.lang.String"/>
<field name="ord_qty" class="java.lang.Double"/>
<field name="ship_qty" class="java.lang.Double"/>
<field name="cancel_qty" class="java.lang.Double"/>
<field name="item_code" class="java.lang.String"/>
<field name="item_descr" class="java.lang.String"/>
<field name="site_descr" class="java.lang.String"/>
<sortField name="cust_code"/>
<variable name="variable1" class="java.util.Date" resetType="None">
<variableExpression><![CDATA[new java.util.Date()]]></variableExpression>
</variable>
<variable name="ord_tot" class="java.lang.Double" resetType="Group" resetGroup="CUSTOMER" calculation="Sum">
<variableExpression><![CDATA[$F{ord_qty}]]></variableExpression>
</variable>
<variable name="ship_tot" class="java.lang.Double" resetType="Group" resetGroup="CUSTOMER" calculation="Sum">
<variableExpression><![CDATA[$F{ship_qty}]]></variableExpression>
</variable>
<variable name="pending_tot" class="java.lang.Double" resetType="Group" resetGroup="CUSTOMER" calculation="Sum">
<variableExpression><![CDATA[$F{cancel_qty}]]></variableExpression>
</variable>
<variable name="ord_grand" class="java.lang.Double" calculation="Sum">
<variableExpression><![CDATA[$F{ord_qty}]]></variableExpression>
</variable>
<variable name="ship_grand" class="java.lang.Double" calculation="Sum">
<variableExpression><![CDATA[$F{ship_qty}]]></variableExpression>
</variable>
<variable name="pending_grand" class="java.lang.Double" calculation="Sum">
<variableExpression><![CDATA[$F{cancel_qty}]]></variableExpression>
</variable>
<group name="CUSTOMER" isReprintHeaderOnEachPage="true">
<groupExpression><![CDATA[$F{cust_code}]]></groupExpression>
<groupHeader>
<band height="18">
<textField>
<reportElement x="79" y="1" width="174" height="16"/>
<textElement textAlignment="Left" verticalAlignment="Middle">
<font fontName="Times New Roman" isBold="true"/>
</textElement>
<textFieldExpression class="java.lang.String"><![CDATA[$F{cust_name}]]></textFieldExpression>
</textField>
<line>
<reportElement x="0" y="17" width="750" height="1"/>
</line>
<staticText>
<reportElement x="3" y="0" width="76" height="18"/>
<textElement textAlignment="Left" verticalAlignment="Middle">
<font fontName="Times New Roman" isBold="true"/>
</textElement>
<text><![CDATA[Customer Name : ]]></text>
</staticText>
</band>
</groupHeader>
<groupFooter>
<band height="19">
<textField pattern="###0.00">
<reportElement x="561" y="0" width="84" height="18"/>
<textElement textAlignment="Right" verticalAlignment="Middle">
<font fontName="Times New Roman"/>
</textElement>
<textFieldExpression class="java.lang.Double"><![CDATA[$V{ship_tot}]]></textFieldExpression>
</textField>
<line>
<reportElement x="0" y="0" width="750" height="1"/>
</line>
<staticText>
<reportElement x="296" y="1" width="146" height="18"/>
<textElement textAlignment="Left" verticalAlignment="Middle">
<font fontName="Times New Roman" isBold="true"/>
</textElement>
<text><![CDATA[Customer Code Wise Total]]></text>
</staticText>
<textField pattern="###0.00">
<reportElement x="647" y="0" width="99" height="18"/>
<textElement textAlignment="Right" verticalAlignment="Middle">
<font fontName="Times New Roman"/>
</textElement>
<textFieldExpression class="java.lang.Double"><![CDATA[$V{pending_tot}]]></textFieldExpression>
</textField>
<textField pattern="###0.00">
<reportElement x="472" y="0" width="88" height="18"/>
<textElement textAlignment="Right" verticalAlignment="Middle">
<font fontName="Times New Roman"/>
</textElement>
<textFieldExpression class="java.lang.Double"><![CDATA[$V{ord_tot}]]></textFieldExpression>
</textField>
<line>
<reportElement x="0" y="18" width="750" height="1"/>
</line>
</band>
</groupFooter>
</group>
<background>
<band splitType="Stretch"/>
</background>
<pageHeader>
<band height="73" splitType="Stretch">
<staticText>
<reportElement x="326" y="50" width="146" height="21"/>
<textElement textAlignment="Left" verticalAlignment="Middle">
<font fontName="Times New Roman" isBold="true"/>
</textElement>
<text><![CDATA[Item Description]]></text>
</staticText>
<textField evaluationTime="Report">
<reportElement x="731" y="7" width="15" height="20"/>
<textElement>
<font fontName="Times New Roman"/>
</textElement>
<textFieldExpression class="java.lang.Integer"><![CDATA[$V{PAGE_NUMBER}]]></textFieldExpression>
</textField>
<staticText>
<reportElement x="684" y="7" width="20" height="20"/>
<textElement>
<font fontName="Times New Roman" isBold="false"/>
</textElement>
<text><![CDATA[Page]]></text>
</staticText>
<staticText>
<reportElement x="39" y="50" width="55" height="21"/>
<textElement textAlignment="Left" verticalAlignment="Middle">
<font fontName="Times New Roman" isBold="true"/>
</textElement>
<text><![CDATA[Sale Order]]></text>
</staticText>
<staticText>
<reportElement x="17" y="8" width="28" height="17"/>
<textElement>
<font fontName="Times New Roman" isBold="true"/>
</textElement>
<text><![CDATA[Date:]]></text>
</staticText>
<staticText>
<reportElement x="718" y="7" width="10" height="14"/>
<textElement>
<font fontName="Times New Roman" isBold="false"/>
</textElement>
<text><![CDATA[of]]></text>
</staticText>
<staticText>
<reportElement x="265" y="49" width="60" height="22"/>
<textElement textAlignment="Left" verticalAlignment="Middle">
<font fontName="Times New Roman" isBold="true"/>
</textElement>
<text><![CDATA[Item]]></text>
</staticText>
<staticText>
<reportElement x="214" y="49" width="50" height="22"/>
<textElement textAlignment="Left" verticalAlignment="Middle">
<font fontName="Times New Roman" isBold="true"/>
</textElement>
<text><![CDATA[Due Date]]></text>
</staticText>
<staticText>
<reportElement x="3" y="50" width="36" height="21"/>
<textElement textAlignment="Left" verticalAlignment="Middle">
<font fontName="Times New Roman" isBold="true"/>
</textElement>
<text><![CDATA[Sr No]]></text>
</staticText>
<textField pattern="MM/dd/yy">
<reportElement x="49" y="8" width="133" height="17"/>
<textElement>
<font fontName="Times New Roman"/>
</textElement>
<textFieldExpression class="java.util.Date"><![CDATA[$V{variable1}]]></textFieldExpression>
</textField>
<staticText>
<reportElement x="647" y="49" width="99" height="22"/>
<textElement textAlignment="Right" verticalAlignment="Middle">
<font fontName="Times New Roman" isBold="true"/>
</textElement>
<text><![CDATA[Pending Qty]]></text>
</staticText>
<staticText>
<reportElement x="100" y="50" width="53" height="21"/>
<textElement textAlignment="Left" verticalAlignment="Middle">
<font fontName="Times New Roman" isBold="true"/>
</textElement>
<text><![CDATA[Order Date]]></text>
</staticText>
<line>
<reportElement x="0" y="72" width="750" height="1"/>
</line>
<textField evaluationTime="Page">
<reportElement x="706" y="7" width="13" height="20"/>
<textElement>
<font fontName="Times New Roman"/>
</textElement>
<textFieldExpression class="java.lang.Integer"><![CDATA[$V{PAGE_NUMBER}]]></textFieldExpression>
</textField>
<staticText>
<reportElement x="561" y="49" width="84" height="22"/>
<textElement textAlignment="Right" verticalAlignment="Middle">
<font fontName="Times New Roman" isBold="true"/>
</textElement>
<text><![CDATA[Ship Qty]]></text>
</staticText>
<staticText>
<reportElement x="154" y="49" width="66" height="22"/>
<textElement textAlignment="Left" verticalAlignment="Middle">
<font fontName="Times New Roman" isBold="true"/>
</textElement>
<text><![CDATA[Status Date]]></text>
</staticText>
<textField>
<reportElement x="15" y="8" width="735" height="17"/>
<textElement textAlignment="Center">
<font fontName="Times New Roman" size="12" isBold="true"/>
</textElement>
<textFieldExpression class="java.lang.String"><![CDATA[$F{site_descr}]]></textFieldExpression>
</textField>
<line>
<reportElement x="0" y="47" width="750" height="1"/>
</line>
<staticText>
<reportElement x="17" y="26" width="733" height="18"/>
<textElement textAlignment="Center">
<font fontName="Times New Roman" size="14" isBold="true"/>
</textElement>
<text><![CDATA[Cut Report]]></text>
</staticText>
<staticText>
<reportElement x="473" y="49" width="87" height="22"/>
<textElement textAlignment="Right" verticalAlignment="Middle">
<font fontName="Times New Roman" isBold="true"/>
</textElement>
<text><![CDATA[Order Qty]]></text>
</staticText>
</band>
</pageHeader>
<detail>
<band height="19" splitType="Stretch">
<textField>
<reportElement x="264" y="0" width="57" height="18"/>
<textElement verticalAlignment="Middle">
<font fontName="Times New Roman"/>
</textElement>
<textFieldExpression class="java.lang.String"><![CDATA[$F{item_code}]]></textFieldExpression>
</textField>
<textField pattern="MM/dd/yy">
<reportElement x="100" y="0" width="53" height="18"/>
<textElement verticalAlignment="Middle">
<font fontName="Times New Roman"/>
</textElement>
<textFieldExpression class="java.util.Date"><![CDATA[$F{order_date}]]></textFieldExpression>
</textField>
<textField pattern="###0">
<reportElement x="3" y="0" width="24" height="18"/>
<textElement textAlignment="Right" verticalAlignment="Middle">
<font fontName="Times New Roman"/>
</textElement>
<textFieldExpression class="java.lang.Double"><![CDATA[$F{line_no}]]></textFieldExpression>
</textField>
<textField>
<reportElement x="326" y="0" width="146" height="18"/>
<textElement verticalAlignment="Middle">
<font fontName="Times New Roman"/>
</textElement>
<textFieldExpression class="java.lang.String"><![CDATA[$F{item_descr}]]></textFieldExpression>
</textField>
<textField pattern="MM/dd/yy">
<reportElement x="214" y="0" width="50" height="18"/>
<textElement verticalAlignment="Middle">
<font fontName="Times New Roman"/>
</textElement>
<textFieldExpression class="java.util.Date"><![CDATA[$F{due_date}]]></textFieldExpression>
</textField>
<textField pattern="###0.00">
<reportElement x="647" y="1" width="99" height="18"/>
<textElement textAlignment="Right" verticalAlignment="Middle">
<font fontName="Times New Roman"/>
</textElement>
<textFieldExpression class="java.lang.Double"><![CDATA[$F{cancel_qty}]]></textFieldExpression>
</textField>
<textField pattern="MM/dd/yy">
<reportElement x="154" y="0" width="65" height="18"/>
<textElement verticalAlignment="Middle">
<font fontName="Times New Roman"/>
</textElement>
<textFieldExpression class="java.util.Date"><![CDATA[$F{status_date}]]></textFieldExpression>
</textField>
<textField>
<reportElement x="39" y="0" width="53" height="18"/>
<textElement verticalAlignment="Middle">
<font fontName="Times New Roman"/>
</textElement>
<textFieldExpression class="java.lang.String"><![CDATA[$F{sale_order}]]></textFieldExpression>
</textField>
<textField pattern="###0.00">
<reportElement x="473" y="0" width="87" height="18"/>
<textElement textAlignment="Right" verticalAlignment="Middle">
<font fontName="Times New Roman"/>
</textElement>
<textFieldExpression class="java.lang.Double"><![CDATA[$F{ord_qty}]]></textFieldExpression>
</textField>
<textField pattern="###0.00">
<reportElement x="561" y="0" width="84" height="18"/>
<textElement textAlignment="Right" verticalAlignment="Middle">
<font fontName="Times New Roman"/>
</textElement>
<textFieldExpression class="java.lang.Double"><![CDATA[$F{ship_qty}]]></textFieldExpression>
</textField>
</band>
</detail>
<pageFooter>
<band splitType="Stretch"/>
</pageFooter>
<summary>
<band height="19" splitType="Stretch">
<staticText>
<reportElement x="296" y="1" width="146" height="18"/>
<textElement textAlignment="Left" verticalAlignment="Middle">
<font fontName="Times New Roman" isBold="true"/>
</textElement>
<text><![CDATA[Grand Total]]></text>
</staticText>
<textField pattern="###0.00">
<reportElement x="561" y="1" width="84" height="18"/>
<textElement textAlignment="Right" verticalAlignment="Middle">
<font fontName="Times New Roman"/>
</textElement>
<textFieldExpression class="java.lang.Double"><![CDATA[$V{ship_grand}]]></textFieldExpression>
</textField>
<textField pattern="###0.00">
<reportElement x="473" y="1" width="87" height="18"/>
<textElement textAlignment="Right" verticalAlignment="Middle">
<font fontName="Times New Roman"/>
</textElement>
<textFieldExpression class="java.lang.Double"><![CDATA[$V{ord_grand}]]></textFieldExpression>
</textField>
<textField pattern="###0.00">
<reportElement x="647" y="1" width="99" height="18"/>
<textElement textAlignment="Right" verticalAlignment="Middle">
<font fontName="Times New Roman"/>
</textElement>
<textFieldExpression class="java.lang.Double"><![CDATA[$V{pending_grand}]]></textFieldExpression>
</textField>
</band>
</summary>
</jasperReport>
<?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="Molecule Sales" pageWidth="612" pageHeight="792" columnWidth="555" leftMargin="20" rightMargin="20" topMargin="20" bottomMargin="20">
<property name="ireport.zoom" value="1.0"/>
<property name="ireport.x" value="0"/>
<property name="ireport.y" value="0"/>
<parameter name="as_sitecode" class="java.lang.String"/>
<queryString>
<![CDATA[SELECT INVOICE.SITE_CODE as site_code,ddf_get_site_descr(INVOICE.SITE_CODE) as site_descr, GENCODES.DESCR,SUM(INVOICE_TRACE.NET_AMT) AS NET_AMT
FROM INVOICE, ITEM, GENCODES,INVOICE_TRACE
WHERE
INVOICE.SITE_CODE IN ('$P!{as_sitecode}')
AND INVOICE.TRAN_DATE = TRUNC(SYSDATE) - 1
AND
INVOICE.CONFIRMED = 'Y'
AND INVOICE_TRACE.INVOICE_ID = INVOICE.INVOICE_ID
AND ITEM.ITEM_CODE = INVOICE_TRACE.ITEM_CODE
AND GENCODES.FLD_NAME = 'SGRP_CODE'
AND RTRIM(GENCODES.FLD_VALUE) = ITEM.SGRP_CODE
AND MOD_NAME = 'W_ITEM' GROUP BY INVOICE.SITE_CODE,GENCODES.DESCR]]>
</queryString>
<field name="site_code" class="java.lang.String"/>
<field name="site_descr" class="java.lang.String"/>
<field name="NET_AMT" class="java.lang.Double"/>
<field name="DESCR" class="java.lang.String"/>
<sortField name="site_code"/>
<variable name="variable1" class="java.util.Date" resetType="None">
<variableExpression><![CDATA[new java.util.Date()]]></variableExpression>
</variable>
<variable name="site_var" class="java.lang.String" resetType="None">
<variableExpression><![CDATA[new java.lang.String("Site Code : "+$F{site_code} + " "+ $F{site_descr})]]></variableExpression>
</variable>
<variable name="variable2" class="java.lang.Double" calculation="Sum">
<variableExpression><![CDATA[new java.lang.Double($F{NET_AMT}.doubleValue())]]></variableExpression>
</variable>
<group name="SITE_GROUP" isStartNewPage="true" isResetPageNumber="true">
<groupExpression><![CDATA[$F{site_code}]]></groupExpression>
<groupHeader>
<band/>
</groupHeader>
<groupFooter>
<band/>
</groupFooter>
</group>
<background>
<band splitType="Stretch"/>
</background>
<pageHeader>
<band height="79" splitType="Stretch">
<staticText>
<reportElement x="18" y="58" width="427" height="18"/>
<textElement>
<font fontName="Times New Roman" isBold="true"/>
</textElement>
<text><![CDATA[Description]]></text>
</staticText>
<staticText>
<reportElement x="455" y="58" width="100" height="18"/>
<textElement textAlignment="Right">
<font fontName="Times New Roman" isBold="true"/>
</textElement>
<text><![CDATA[Net Amount]]></text>
</staticText>
<line>
<reportElement x="0" y="77" width="570" height="1"/>
</line>
<line>
<reportElement x="0" y="55" width="570" height="1"/>
</line>
<staticText>
<reportElement x="14" y="26" width="540" height="18"/>
<textElement textAlignment="Center">
<font fontName="Times New Roman" size="12" isBold="true"/>
</textElement>
<text><![CDATA[Molecule Sales]]></text>
</staticText>
<textField pattern="MM/dd/yy">
<reportElement x="40" y="3" width="133" height="14"/>
<textElement>
<font fontName="Times New Roman"/>
</textElement>
<textFieldExpression class="java.util.Date"><![CDATA[$V{variable1}]]></textFieldExpression>
</textField>
<staticText>
<reportElement x="10" y="3" width="28" height="14"/>
<textElement>
<font fontName="Times New Roman" isBold="true"/>
</textElement>
<text><![CDATA[Date:]]></text>
</staticText>
<staticText>
<reportElement x="504" y="3" width="20" height="14"/>
<textElement>
<font fontName="Times New Roman" isBold="false"/>
</textElement>
<text><![CDATA[Page]]></text>
</staticText>
<staticText>
<reportElement x="538" y="3" width="10" height="14"/>
<textElement>
<font fontName="Times New Roman" isBold="false"/>
</textElement>
<text><![CDATA[of]]></text>
</staticText>
<textField evaluationTime="Page">
<reportElement x="526" y="3" width="13" height="14"/>
<textElement>
<font fontName="Times New Roman"/>
</textElement>
<textFieldExpression class="java.lang.Integer"><![CDATA[$V{PAGE_NUMBER}]]></textFieldExpression>
</textField>
<textField evaluationTime="Report">
<reportElement x="551" y="3" width="15" height="14"/>
<textElement>
<font fontName="Times New Roman"/>
</textElement>
<textFieldExpression class="java.lang.Integer"><![CDATA[$V{PAGE_NUMBER}]]></textFieldExpression>
</textField>
<textField>
<reportElement x="14" y="3" width="540" height="18"/>
<textElement textAlignment="Center">
<font fontName="Times New Roman" size="12" isBold="true"/>
</textElement>
<textFieldExpression class="java.lang.String"><![CDATA[$F{site_descr}]]></textFieldExpression>
</textField>
</band>
</pageHeader>
<detail>
<band height="18" splitType="Stretch">
<textField>
<reportElement x="18" y="0" width="366" height="18"/>
<textElement>
<font fontName="Times New Roman"/>
</textElement>
<textFieldExpression class="java.lang.String"><![CDATA[$F{DESCR}]]></textFieldExpression>
</textField>
<textField pattern="0.00">
<reportElement x="394" y="0" width="160" height="18"/>
<textElement textAlignment="Right">
<font fontName="Times New Roman"/>
</textElement>
<textFieldExpression class="java.lang.Double"><![CDATA[$F{NET_AMT}]]></textFieldExpression>
</textField>
</band>
</detail>
<pageFooter>
<band splitType="Stretch"/>
</pageFooter>
<summary>
<band height="20" splitType="Stretch">
<textField pattern="0.00">
<reportElement x="455" y="2" width="100" height="18"/>
<textElement textAlignment="Right">
<font fontName="Times New Roman"/>
</textElement>
<textFieldExpression class="java.lang.Double"><![CDATA[$V{variable2}]]></textFieldExpression>
</textField>
<staticText>
<reportElement x="349" y="2" width="96" height="18"/>
<textElement>
<font fontName="Times New Roman" isBold="true"/>
</textElement>
<text><![CDATA[Grand Total]]></text>
</staticText>
<line>
<reportElement x="0" y="0" width="570" height="1"/>
</line>
</band>
</summary>
</jasperReport>
<?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="Pending Orders" pageWidth="792" pageHeight="612" orientation="Landscape" columnWidth="752" leftMargin="20" rightMargin="20" topMargin="20" bottomMargin="20">
<property name="ireport.zoom" value="1.0"/>
<property name="ireport.x" value="0"/>
<property name="ireport.y" value="0"/>
<parameter name="as_site_code" class="java.lang.String"/>
<parameter name="frm_order_date" class="java.util.Date"/>
<parameter name="to_order_date" class="java.util.Date"/>
<queryString>
<![CDATA[SELECT SORDER.SALE_ORDER,
SORDER.ORDER_DATE,
CUSTOMER.CUST_NAME,
CUSTOMER.CUST_CODE,
SORDER.CUST_PORD,
SORDDET.ITEM_CODE,
ITEM.DESCR AS ITEM_DESCR,
SORDER.STATUS,
SORDDET.QUANTITY,
SORDDET.RATE,
(SORDDET.QUANTITY*SORDDET.RATE) AS ORDER_VALUE,
DDF_GET_STOCK(SORDER.SITE_CODE,SORDDET.ITEM_CODE) AS STOCK_QTY,
DDF_GET_SITE_DESCR(SORDER.SITE_CODE) AS SITE_DESCR
FROM SORDER,SORDDET,ITEM,CUSTOMER
WHERE SORDER.SITE_CODE = '$P!{as_site_code}'
AND SORDER.CONFIRMED = 'Y'
AND SORDER.STATUS = 'P'
AND SORDER.ORDER_DATE BETWEEN $P{frm_order_date} AND $P{to_order_date}
AND SORDDET.SALE_ORDER = SORDER.SALE_ORDER
AND ITEM.ITEM_CODE = SORDDET.ITEM_CODE
AND CUSTOMER.CUST_CODE = SORDER.CUST_CODE]]>
</queryString>
<field name="SALE_ORDER" class="java.lang.String"/>
<field name="ORDER_DATE" class="java.util.Date"/>
<field name="CUST_NAME" class="java.lang.String"/>
<field name="CUST_PORD" class="java.lang.String"/>
<field name="ITEM_CODE" class="java.lang.String"/>
<field name="ITEM_DESCR" class="java.lang.String"/>
<field name="SITE_DESCR" class="java.lang.String"/>
<field name="STATUS" class="java.lang.String"/>
<field name="QUANTITY" class="java.lang.Double"/>
<field name="RATE" class="java.lang.Double"/>
<field name="ORDER_VALUE" class="java.lang.Double"/>
<field name="STOCK_QTY" class="java.lang.Double"/>
<field name="CUST_CODE" class="java.lang.String"/>
<sortField name="CUST_NAME"/>
<variable name="variable1" class="java.util.Date" resetType="None">
<variableExpression><![CDATA[new java.util.Date()]]></variableExpression>
</variable>
<variable name="order_val_grp" class="java.lang.Double" resetType="Group" resetGroup="CUSTOMER" calculation="Sum">
<variableExpression><![CDATA[new java.lang.Double($F{ORDER_VALUE}.doubleValue())]]></variableExpression>
</variable>
<variable name="order_val_grand" class="java.lang.Double" calculation="Sum">
<variableExpression><![CDATA[new java.lang.Double($F{ORDER_VALUE}.doubleValue())]]></variableExpression>
</variable>
<group name="CUSTOMER" isReprintHeaderOnEachPage="true">
<groupExpression><![CDATA[$F{CUST_CODE}]]></groupExpression>
<groupHeader>
<band height="19">
<line>
<reportElement x="0" y="0" width="750" height="1"/>
</line>
<textField isBlankWhenNull="true">
<reportElement x="78" y="1" width="498" height="18"/>
<textElement>
<font fontName="Times New Roman" isBold="true"/>
</textElement>
<textFieldExpression class="java.lang.String"><![CDATA[$F{CUST_NAME}]]></textFieldExpression>
</textField>
<staticText>
<reportElement x="0" y="1" width="78" height="18"/>
<textElement>
<font fontName="Times New Roman" isBold="true"/>
</textElement>
<text><![CDATA[Customer Name : ]]></text>
</staticText>
<line>
<reportElement x="0" y="17" width="750" height="1"/>
</line>
</band>
</groupHeader>
<groupFooter>
<band height="19">
<textField pattern="0.00">
<reportElement x="604" y="0" width="68" height="18" printWhenGroupChanges="CUSTOMER"/>
<textElement textAlignment="Right">
<font fontName="Times New Roman"/>
</textElement>
<textFieldExpression class="java.lang.Double"><![CDATA[$V{order_val_grp}]]></textFieldExpression>
</textField>
<staticText>
<reportElement x="475" y="1" width="126" height="18"/>
<textElement textAlignment="Left">
<font fontName="Times New Roman" isBold="true"/>
</textElement>
<text><![CDATA[Customer Code Wise Total]]></text>
</staticText>
<line>
<reportElement x="0" y="0" width="750" height="1"/>
</line>
</band>
</groupFooter>
</group>
<background>
<band splitType="Stretch"/>
</background>
<pageHeader>
<band height="79" splitType="Stretch">
<staticText>
<reportElement x="0" y="58" width="52" height="18"/>
<textElement>
<font fontName="Times New Roman" isBold="true"/>
</textElement>
<text><![CDATA[Sale Order]]></text>
</staticText>
<staticText>
<reportElement x="529" y="58" width="68" height="18"/>
<textElement textAlignment="Right">
<font fontName="Times New Roman" isBold="true"/>
</textElement>
<text><![CDATA[Rate]]></text>
</staticText>
<line>
<reportElement x="0" y="55" width="750" height="1"/>
</line>
<staticText>
<reportElement x="14" y="26" width="711" height="18"/>
<textElement textAlignment="Center">
<font fontName="Times New Roman" size="12" isBold="true"/>
</textElement>
<text><![CDATA[Pending Order]]></text>
</staticText>
<textField pattern="MM/dd/yy">
<reportElement x="40" y="3" width="133" height="14"/>
<textElement>
<font fontName="Times New Roman"/>
</textElement>
<textFieldExpression class="java.util.Date"><![CDATA[$V{variable1}]]></textFieldExpression>
</textField>
<staticText>
<reportElement x="10" y="3" width="28" height="14"/>
<textElement>
<font fontName="Times New Roman" isBold="true"/>
</textElement>
<text><![CDATA[Date:]]></text>
</staticText>
<staticText>
<reportElement x="678" y="3" width="20" height="14"/>
<textElement>
<font fontName="Times New Roman" isBold="false"/>
</textElement>
<text><![CDATA[Page]]></text>
</staticText>
<staticText>
<reportElement x="712" y="3" width="10" height="14"/>
<textElement>
<font fontName="Times New Roman" isBold="false"/>
</textElement>
<text><![CDATA[of]]></text>
</staticText>
<textField evaluationTime="Page">
<reportElement x="700" y="3" width="13" height="14"/>
<textElement>
<font fontName="Times New Roman"/>
</textElement>
<textFieldExpression class="java.lang.Integer"><![CDATA[$V{PAGE_NUMBER}]]></textFieldExpression>
</textField>
<textField evaluationTime="Report">
<reportElement x="725" y="3" width="15" height="14"/>
<textElement>
<font fontName="Times New Roman"/>
</textElement>
<textFieldExpression class="java.lang.Integer"><![CDATA[$V{PAGE_NUMBER}]]></textFieldExpression>
</textField>
<textField>
<reportElement x="14" y="3" width="711" height="18"/>
<textElement textAlignment="Center">
<font fontName="Times New Roman" size="12" isBold="true"/>
</textElement>
<textFieldExpression class="java.lang.String"><![CDATA[$F{SITE_DESCR}]]></textFieldExpression>
</textField>
<staticText>
<reportElement x="115" y="58" width="52" height="18"/>
<textElement>
<font fontName="Times New Roman" isBold="true"/>
</textElement>
<text><![CDATA[Order No.]]></text>
</staticText>
<staticText>
<reportElement x="173" y="58" width="52" height="18"/>
<textElement>
<font fontName="Times New Roman" isBold="true"/>
</textElement>
<text><![CDATA[Item Code]]></text>
</staticText>
<staticText>
<reportElement x="235" y="58" width="183" height="18"/>
<textElement>
<font fontName="Times New Roman" isBold="true"/>
</textElement>
<text><![CDATA[Item Description]]></text>
</staticText>
<staticText>
<reportElement x="420" y="58" width="30" height="18"/>
<textElement>
<font fontName="Times New Roman" isBold="true"/>
</textElement>
<text><![CDATA[Status]]></text>
</staticText>
<staticText>
<reportElement x="451" y="58" width="70" height="18"/>
<textElement textAlignment="Right">
<font fontName="Times New Roman" isBold="true"/>
</textElement>
<text><![CDATA[Quantity]]></text>
</staticText>
<staticText>
<reportElement x="604" y="58" width="68" height="18"/>
<textElement textAlignment="Right">
<font fontName="Times New Roman" isBold="true"/>
</textElement>
<text><![CDATA[Order Value]]></text>
</staticText>
<staticText>
<reportElement x="680" y="58" width="68" height="18"/>
<textElement textAlignment="Right">
<font fontName="Times New Roman" isBold="true"/>
</textElement>
<text><![CDATA[Stock Quantity]]></text>
</staticText>
<staticText>
<reportElement x="57" y="58" width="52" height="18"/>
<textElement>
<font fontName="Times New Roman" isBold="true"/>
</textElement>
<text><![CDATA[Order Date]]></text>
</staticText>
</band>
</pageHeader>
<detail>
<band height="18" splitType="Stretch">
<textField>
<reportElement x="0" y="0" width="52" height="18"/>
<textElement>
<font fontName="Times New Roman"/>
</textElement>
<textFieldExpression class="java.lang.String"><![CDATA[$F{SALE_ORDER}]]></textFieldExpression>
</textField>
<textField pattern="0.00">
<reportElement x="529" y="0" width="68" height="18"/>
<textElement textAlignment="Right">
<font fontName="Times New Roman"/>
</textElement>
<textFieldExpression class="java.lang.Double"><![CDATA[$F{RATE}]]></textFieldExpression>
</textField>
<textField pattern="MM/dd/yy">
<reportElement x="57" y="0" width="52" height="18"/>
<textElement>
<font fontName="Times New Roman"/>
</textElement>
<textFieldExpression class="java.util.Date"><![CDATA[$F{ORDER_DATE}]]></textFieldExpression>
</textField>
<textField pattern="0.00">
<reportElement x="680" y="0" width="68" height="18"/>
<textElement textAlignment="Right">
<font fontName="Times New Roman"/>
</textElement>
<textFieldExpression class="java.lang.Double"><![CDATA[$F{ORDER_VALUE}]]></textFieldExpression>
</textField>
<textField isBlankWhenNull="true">
<reportElement x="115" y="0" width="52" height="18"/>
<textElement>
<font fontName="Times New Roman"/>
</textElement>
<textFieldExpression class="java.lang.String"><![CDATA[$F{CUST_PORD}]]></textFieldExpression>
</textField>
<textField isBlankWhenNull="true">
<reportElement x="173" y="0" width="52" height="18"/>
<textElement>
<font fontName="Times New Roman"/>
</textElement>
<textFieldExpression class="java.lang.String"><![CDATA[$F{ITEM_CODE}]]></textFieldExpression>
</textField>
<textField isStretchWithOverflow="true" isBlankWhenNull="true">
<reportElement x="235" y="0" width="183" height="18"/>
<textElement>
<font fontName="Times New Roman" size="10"/>
</textElement>
<textFieldExpression class="java.lang.String"><![CDATA[$F{ITEM_DESCR}]]></textFieldExpression>
</textField>
<textField isStretchWithOverflow="true" isBlankWhenNull="true">
<reportElement x="420" y="0" width="30" height="18"/>
<textElement>
<font fontName="Times New Roman" size="9"/>
</textElement>
<textFieldExpression class="java.lang.String"><![CDATA[$F{STATUS}]]></textFieldExpression>
</textField>
<textField pattern="0.00">
<reportElement x="451" y="0" width="70" height="18"/>
<textElement textAlignment="Right">
<font fontName="Times New Roman"/>
</textElement>
<textFieldExpression class="java.lang.Double"><![CDATA[$F{QUANTITY}]]></textFieldExpression>
</textField>
<textField pattern="0.00">
<reportElement x="604" y="0" width="68" height="18"/>
<textElement textAlignment="Right">
<font fontName="Times New Roman"/>
</textElement>
<textFieldExpression class="java.lang.Double"><![CDATA[$F{ORDER_VALUE}]]></textFieldExpression>
</textField>
</band>
</detail>
<pageFooter>
<band splitType="Stretch"/>
</pageFooter>
<summary>
<band height="22" splitType="Stretch">
<staticText>
<reportElement x="475" y="3" width="126" height="18"/>
<textElement textAlignment="Left">
<font fontName="Times New Roman" isBold="true"/>
</textElement>
<text><![CDATA[Grand Total]]></text>
</staticText>
<textField pattern="0.00">
<reportElement x="604" y="2" width="68" height="18"/>
<textElement textAlignment="Right">
<font fontName="Times New Roman"/>
</textElement>
<textFieldExpression class="java.lang.Double"><![CDATA[$V{order_val_grand}]]></textFieldExpression>
</textField>
<line>
<reportElement x="0" y="0" width="750" height="1"/>
</line>
<line>
<reportElement x="0" y="19" width="750" height="1"/>
</line>
</band>
</summary>
</jasperReport>
<?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="Standard Back Order Report" pageWidth="792" pageHeight="612" orientation="Landscape" columnWidth="752" leftMargin="20" rightMargin="20" topMargin="20" bottomMargin="20">
<property name="ireport.zoom" value="1.0"/>
<property name="ireport.x" value="231"/>
<property name="ireport.y" value="0"/>
<parameter name="as_site_code" class="java.lang.String"/>
<parameter name="frm_order_date" class="java.util.Date"/>
<parameter name="to_order_date" class="java.util.Date"/>
<queryString>
<![CDATA[select SALE_ORDER,
LINE_NO,
ORDER_DATE,
DUE_DATE,
STATUS_DATE,
CUST_CODE,
CUST_NAME,
SUM(ORD_QTY) AS ORD_QTY,
SUM(SHIP_QTY) AS SHIP_QTY,
SUM(ORD_QTY-SHIP_QTY) AS BACKORDER_QTY,
SUM(ORD_VALUE-SHIP_VALUE) AS BACKORDER_VALUE,
SUM(ORD_VALUE) AS ORD_VALUE,
SUM(SHIP_VALUE) AS SHIP_VALUE,
ITEM_CODE,
ITEM_DESCR,
SITE_DESCR from
(
select sorder.sale_order,sorddet.line_no,sorder.order_date,sorder.due_date,sorder.status_date,sorder.cust_code,customer.cust_name,sorddet.quantity as ord_qty,(sorddet.quantity*sorddet.rate) as ord_value,0 as ship_qty,0 as ship_value,sorddet.item_code,item.descr as item_descr,ddf_get_site_descr(sorder.site_code) as site_descr
from sorder,sorddet,customer,item
where sorder.order_date between $P{frm_order_date} AND $P{to_order_date}
and sorder.site_code = '$P!{as_site_code}'
and sorder.confirmed = 'Y' and sorder.status = 'C' and sorddet.sale_order = sorder.sale_order and customer.cust_code = sorder.cust_code and item.item_code = sorddet.item_code
union all
select sorder.sale_order,sorditem.line_no,sorder.order_date,sorditem.due_date,sorder.status_date,sorder.cust_code,customer.cust_name,0 as ord_qty,0 as ord_value,sum(sorditem.qty_desp) as ship_qty,sum(sorditem.qty_desp*sorditem.rate) as ship_value,sorditem.item_code,item.descr as item_descr, ddf_get_site_descr(sorder.site_code) as site_descr
from sorder,sorditem,customer,item
where sorder.order_date between $P{frm_order_date} AND $P{to_order_date}
and sorder.site_code = '$P!{as_site_code}'
and sorder.confirmed = 'Y' and sorder.status = 'C' and sorditem.sale_order = sorder.sale_order and customer.cust_code = sorder.cust_code and item.item_code = sorditem.item_code
group by sorder.sale_order,sorditem.line_no,sorder.order_date,sorditem.due_date,sorder.status_date,sorder.cust_code,customer.cust_name,sorditem.item_code,item.descr,ddf_get_site_descr(sorder.site_code))
group by sale_order,line_no,order_date,due_date,status_date,cust_code,cust_name,item_code,item_descr,site_descr having sum(ord_qty-ship_qty) > 0]]>
</queryString>
<field name="SALE_ORDER" class="java.lang.String"/>
<field name="LINE_NO" class="java.lang.Double"/>
<field name="ORDER_DATE" class="java.util.Date"/>
<field name="DUE_DATE" class="java.util.Date"/>
<field name="STATUS_DATE" class="java.util.Date"/>
<field name="CUST_CODE" class="java.lang.String"/>
<field name="CUST_NAME" class="java.lang.String"/>
<field name="ORD_QTY" class="java.lang.Double"/>
<field name="SHIP_QTY" class="java.lang.Double"/>
<field name="BACKORDER_QTY" class="java.lang.Double"/>
<field name="BACKORDER_VALUE" class="java.lang.Double"/>
<field name="ITEM_CODE" class="java.lang.String"/>
<field name="ITEM_DESCR" class="java.lang.String"/>
<field name="SITE_DESCR" class="java.lang.String"/>
<field name="ORD_VALUE" class="java.lang.Double"/>
<field name="SHIP_VALUE" class="java.lang.Double"/>
<sortField name="CUST_CODE"/>
<variable name="variable1" class="java.util.Date" resetType="None">
<variableExpression><![CDATA[new java.util.Date()]]></variableExpression>
</variable>
<variable name="ord_tot" class="java.lang.Double" resetType="Group" resetGroup="customer" calculation="Sum">
<variableExpression><![CDATA[$F{ORD_VALUE}]]></variableExpression>
</variable>
<variable name="backord_grand" class="java.lang.Double" calculation="Sum">
<variableExpression><![CDATA[$F{BACKORDER_VALUE}]]></variableExpression>
</variable>
<variable name="back_ord_tot" class="java.lang.Double" resetType="Group" resetGroup="customer" calculation="Sum">
<variableExpression><![CDATA[$F{BACKORDER_VALUE}]]></variableExpression>
</variable>
<variable name="ord_grand" class="java.lang.Double" calculation="Sum">
<variableExpression><![CDATA[$F{ORD_VALUE}]]></variableExpression>
</variable>
<variable name="ship_tot" class="java.lang.Double" resetType="Group" resetGroup="customer" calculation="Sum">
<variableExpression><![CDATA[$F{SHIP_VALUE}]]></variableExpression>
</variable>
<variable name="ship_grand" class="java.lang.Double" calculation="Sum">
<variableExpression><![CDATA[$F{SHIP_VALUE}]]></variableExpression>
</variable>
<group name="customer" isReprintHeaderOnEachPage="true">
<groupExpression><![CDATA[$F{CUST_CODE}]]></groupExpression>
<groupHeader>
<band height="18">
<textField>
<reportElement x="78" y="2" width="174" height="16"/>
<textElement textAlignment="Left" verticalAlignment="Middle">
<font fontName="Times New Roman" isBold="true"/>
</textElement>
<textFieldExpression class="java.lang.String"><![CDATA[$F{CUST_NAME}]]></textFieldExpression>
</textField>
<staticText>
<reportElement x="2" y="0" width="76" height="18"/>
<textElement textAlignment="Left" verticalAlignment="Middle">
<font fontName="Times New Roman" isBold="true"/>
</textElement>
<text><![CDATA[Customer Name : ]]></text>
</staticText>
<line>
<reportElement x="0" y="17" width="752" height="1"/>
</line>
</band>
</groupHeader>
<groupFooter>
<band height="20">
<textField pattern="###0.00">
<reportElement x="686" y="0" width="52" height="18"/>
<textElement textAlignment="Right" verticalAlignment="Middle">
<font fontName="Times New Roman"/>
</textElement>
<textFieldExpression class="java.lang.Double"><![CDATA[$V{back_ord_tot}]]></textFieldExpression>
</textField>
<line>
<reportElement x="0" y="0" width="752" height="1"/>
</line>
<line>
<reportElement x="0" y="19" width="752" height="1"/>
</line>
<staticText>
<reportElement x="293" y="1" width="146" height="18"/>
<textElement textAlignment="Left" verticalAlignment="Middle">
<font fontName="Times New Roman" isBold="true"/>
</textElement>
<text><![CDATA[Customer Code Wise Total]]></text>
</staticText>
<textField pattern="###0.00">
<reportElement x="484" y="0" width="52" height="18"/>
<textElement textAlignment="Right" verticalAlignment="Middle">
<font fontName="Times New Roman"/>
</textElement>
<textFieldExpression class="java.lang.Double"><![CDATA[$V{ord_tot}]]></textFieldExpression>
</textField>
<textField pattern="###0.00">
<reportElement x="581" y="0" width="52" height="18"/>
<textElement textAlignment="Right" verticalAlignment="Middle">
<font fontName="Times New Roman"/>
</textElement>
<textFieldExpression class="java.lang.Double"><![CDATA[$V{ship_tot}]]></textFieldExpression>
</textField>
</band>
</groupFooter>
</group>
<background>
<band splitType="Stretch"/>
</background>
<pageHeader>
<band height="88" splitType="Stretch">
<textField>
<reportElement x="12" y="11" width="735" height="17"/>
<textElement textAlignment="Center">
<font fontName="Times New Roman" size="12" isBold="true"/>
</textElement>
<textFieldExpression class="java.lang.String"><![CDATA[$F{SITE_DESCR}]]></textFieldExpression>
</textField>
<textField evaluationTime="Report">
<reportElement x="732" y="10" width="15" height="20"/>
<textElement>
<font fontName="Times New Roman"/>
</textElement>
<textFieldExpression class="java.lang.Integer"><![CDATA[$V{PAGE_NUMBER}]]></textFieldExpression>
</textField>
<staticText>
<reportElement x="14" y="11" width="28" height="17"/>
<textElement>
<font fontName="Times New Roman" isBold="true"/>
</textElement>
<text><![CDATA[Date:]]></text>
</staticText>
<staticText>
<reportElement x="549" y="50" width="29" height="37"/>
<textElement textAlignment="Right" verticalAlignment="Middle">
<font fontName="Times New Roman" isBold="true"/>
</textElement>
<text><![CDATA[Ship Qty]]></text>
</staticText>
<line>
<reportElement x="0" y="87" width="752" height="1"/>
</line>
<staticText>
<reportElement x="685" y="10" width="20" height="20"/>
<textElement>
<font fontName="Times New Roman" isBold="false"/>
</textElement>
<text><![CDATA[Page]]></text>
</staticText>
<textField evaluationTime="Page">
<reportElement x="707" y="10" width="13" height="20"/>
<textElement>
<font fontName="Times New Roman"/>
</textElement>
<textFieldExpression class="java.lang.Integer"><![CDATA[$V{PAGE_NUMBER}]]></textFieldExpression>
</textField>
<staticText>
<reportElement x="439" y="50" width="45" height="38"/>
<textElement textAlignment="Right" verticalAlignment="Middle">
<font fontName="Times New Roman" isBold="true"/>
</textElement>
<text><![CDATA[Order Qty]]></text>
</staticText>
<staticText>
<reportElement x="293" y="51" width="65" height="36"/>
<textElement textAlignment="Left" verticalAlignment="Middle">
<font fontName="Times New Roman" isBold="true"/>
</textElement>
<text><![CDATA[Item Description]]></text>
</staticText>
<staticText>
<reportElement x="686" y="50" width="56" height="38"/>
<textElement textAlignment="Right" verticalAlignment="Middle">
<font fontName="Times New Roman" isBold="true"/>
</textElement>
<text><![CDATA[BackOrder Value]]></text>
</staticText>
<staticText>
<reportElement x="237" y="50" width="57" height="37"/>
<textElement textAlignment="Left" verticalAlignment="Middle">
<font fontName="Times New Roman" isBold="true"/>
</textElement>
<text><![CDATA[Item]]></text>
</staticText>
<staticText>
<reportElement x="14" y="29" width="733" height="18"/>
<textElement textAlignment="Center">
<font fontName="Times New Roman" size="14" isBold="true"/>
</textElement>
<text><![CDATA[Standard Backorder Report]]></text>
</staticText>
<line>
<reportElement x="0" y="50" width="752" height="1"/>
</line>
<staticText>
<reportElement x="719" y="10" width="10" height="14"/>
<textElement>
<font fontName="Times New Roman" isBold="false"/>
</textElement>
<text><![CDATA[of]]></text>
</staticText>
<staticText>
<reportElement x="634" y="50" width="51" height="38"/>
<textElement textAlignment="Right" verticalAlignment="Middle">
<font fontName="Times New Roman" isBold="true"/>
</textElement>
<text><![CDATA[BackOrder Qty]]></text>
</staticText>
<textField pattern="MM/dd/yy">
<reportElement x="46" y="11" width="133" height="17"/>
<textElement>
<font fontName="Times New Roman"/>
</textElement>
<textFieldExpression class="java.util.Date"><![CDATA[$V{variable1}]]></textFieldExpression>
</textField>
<staticText>
<reportElement x="2" y="50" width="14" height="37"/>
<textElement textAlignment="Left" verticalAlignment="Middle">
<font fontName="Times New Roman" isBold="true"/>
</textElement>
<text><![CDATA[Sr No]]></text>
</staticText>
<staticText>
<reportElement x="21" y="51" width="41" height="36"/>
<textElement textAlignment="Left" verticalAlignment="Middle">
<font fontName="Times New Roman" isBold="true"/>
</textElement>
<text><![CDATA[Sale Order]]></text>
</staticText>
<staticText>
<reportElement x="79" y="51" width="40" height="36"/>
<textElement textAlignment="Left" verticalAlignment="Middle">
<font fontName="Times New Roman" isBold="true"/>
</textElement>
<text><![CDATA[Order Date]]></text>
</staticText>
<staticText>
<reportElement x="484" y="50" width="52" height="38"/>
<textElement textAlignment="Right" verticalAlignment="Middle">
<font fontName="Times New Roman" isBold="true"/>
</textElement>
<text><![CDATA[Order Value]]></text>
</staticText>
<staticText>
<reportElement x="593" y="49" width="37" height="38"/>
<textElement textAlignment="Right" verticalAlignment="Middle">
<font fontName="Times New Roman" isBold="true"/>
</textElement>
<text><![CDATA[Ship Value]]></text>
</staticText>
<staticText>
<reportElement x="131" y="50" width="48" height="37"/>
<textElement textAlignment="Left" verticalAlignment="Middle">
<font fontName="Times New Roman" isBold="true"/>
</textElement>
<text><![CDATA[Status Date]]></text>
</staticText>
<staticText>
<reportElement x="183" y="50" width="38" height="37"/>
<textElement textAlignment="Left" verticalAlignment="Middle">
<font fontName="Times New Roman" isBold="true"/>
</textElement>
<text><![CDATA[Due Date]]></text>
</staticText>
</band>
</pageHeader>
<detail>
<band height="18" splitType="Stretch">
<textField pattern="###0">
<reportElement x="2" y="0" width="14" height="18"/>
<textElement textAlignment="Right" verticalAlignment="Middle">
<font fontName="Times New Roman"/>
</textElement>
<textFieldExpression class="java.lang.Double"><![CDATA[$F{LINE_NO}]]></textFieldExpression>
</textField>
<textField>
<reportElement x="293" y="0" width="146" height="18"/>
<textElement verticalAlignment="Middle">
<font fontName="Times New Roman"/>
</textElement>
<textFieldExpression class="java.lang.String"><![CDATA[$F{ITEM_DESCR}]]></textFieldExpression>
</textField>
<textField pattern="###0.00">
<reportElement x="439" y="0" width="45" height="18"/>
<textElement textAlignment="Right" verticalAlignment="Middle">
<font fontName="Times New Roman"/>
</textElement>
<textFieldExpression class="java.lang.Double"><![CDATA[$F{ORD_QTY}]]></textFieldExpression>
</textField>
<textField pattern="###0.00">
<reportElement x="686" y="0" width="50" height="18"/>
<textElement textAlignment="Right" verticalAlignment="Middle">
<font fontName="Times New Roman"/>
</textElement>
<textFieldExpression class="java.lang.Double"><![CDATA[$F{BACKORDER_VALUE}]]></textFieldExpression>
</textField>
<textField>
<reportElement x="237" y="0" width="57" height="18"/>
<textElement verticalAlignment="Middle">
<font fontName="Times New Roman"/>
</textElement>
<textFieldExpression class="java.lang.String"><![CDATA[$F{ITEM_CODE}]]></textFieldExpression>
</textField>
<textField>
<reportElement x="21" y="0" width="53" height="18"/>
<textElement verticalAlignment="Middle">
<font fontName="Times New Roman"/>
</textElement>
<textFieldExpression class="java.lang.String"><![CDATA[$F{SALE_ORDER}]]></textFieldExpression>
</textField>
<textField pattern="MM/dd/yy">
<reportElement x="79" y="0" width="57" height="18"/>
<textElement verticalAlignment="Middle">
<font fontName="Times New Roman"/>
</textElement>
<textFieldExpression class="java.util.Date"><![CDATA[$F{ORDER_DATE}]]></textFieldExpression>
</textField>
<textField pattern="MM/dd/yy">
<reportElement x="131" y="0" width="52" height="18"/>
<textElement verticalAlignment="Middle">
<font fontName="Times New Roman"/>
</textElement>
<textFieldExpression class="java.util.Date"><![CDATA[$F{ORDER_DATE}]]></textFieldExpression>
</textField>
<textField pattern="MM/dd/yy">
<reportElement x="183" y="0" width="52" height="18"/>
<textElement verticalAlignment="Middle">
<font fontName="Times New Roman"/>
</textElement>
<textFieldExpression class="java.util.Date"><![CDATA[$F{ORDER_DATE}]]></textFieldExpression>
</textField>
<textField pattern="###0.00">
<reportElement x="536" y="0" width="45" height="18"/>
<textElement textAlignment="Right" verticalAlignment="Middle">
<font fontName="Times New Roman"/>
</textElement>
<textFieldExpression class="java.lang.Double"><![CDATA[$F{SHIP_QTY}]]></textFieldExpression>
</textField>
<textField pattern="###0.00">
<reportElement x="635" y="0" width="50" height="18"/>
<textElement textAlignment="Right" verticalAlignment="Middle">
<font fontName="Times New Roman"/>
</textElement>
<textFieldExpression class="java.lang.Double"><![CDATA[$F{BACKORDER_QTY}]]></textFieldExpression>
</textField>
<textField pattern="###0.00">
<reportElement x="484" y="0" width="51" height="18"/>
<textElement textAlignment="Right" verticalAlignment="Middle">
<font fontName="Times New Roman"/>
</textElement>
<textFieldExpression class="java.lang.Double"><![CDATA[$F{ORD_VALUE}]]></textFieldExpression>
</textField>
<textField pattern="###0.00">
<reportElement x="582" y="0" width="50" height="18"/>
<textElement textAlignment="Right" verticalAlignment="Middle">
<font fontName="Times New Roman"/>
</textElement>
<textFieldExpression class="java.lang.Double"><![CDATA[$F{SHIP_VALUE}]]></textFieldExpression>
</textField>
</band>
</detail>
<pageFooter>
<band splitType="Stretch"/>
</pageFooter>
<summary>
<band height="18" splitType="Stretch">
<textField pattern="###0.00">
<reportElement x="686" y="0" width="51" height="18"/>
<textElement textAlignment="Right" verticalAlignment="Middle">
<font fontName="Times New Roman"/>
</textElement>
<textFieldExpression class="java.lang.Double"><![CDATA[$V{backord_grand}]]></textFieldExpression>
</textField>
<staticText>
<reportElement x="293" y="0" width="146" height="18"/>
<textElement textAlignment="Left" verticalAlignment="Middle">
<font fontName="Times New Roman" isBold="true"/>
</textElement>
<text><![CDATA[Grand Total]]></text>
</staticText>
<textField pattern="###0.00">
<reportElement x="484" y="0" width="51" height="18"/>
<textElement textAlignment="Right" verticalAlignment="Middle">
<font fontName="Times New Roman"/>
</textElement>
<textFieldExpression class="java.lang.Double"><![CDATA[$V{ord_grand}]]></textFieldExpression>
</textField>
<textField pattern="###0.00">
<reportElement x="581" y="0" width="51" height="18"/>
<textElement textAlignment="Right" verticalAlignment="Middle">
<font fontName="Times New Roman"/>
</textElement>
<textFieldExpression class="java.lang.Double"><![CDATA[$V{ship_grand}]]></textFieldExpression>
</textField>
</band>
</summary>
</jasperReport>
<?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="Today Sales Order Type" pageWidth="612" pageHeight="792" columnWidth="555" leftMargin="20" rightMargin="20" topMargin="20" bottomMargin="20">
<property name="ireport.zoom" value="1.0"/>
<property name="ireport.x" value="0"/>
<property name="ireport.y" value="0"/>
<queryString language="SQL">
<![CDATA[SELECT SORDER.ORDER_TYPE, CUSTOMER.CUST_NAME, SUM(INVOICE_TRACE.NET_AMT) AS NET_AMT,DDF_GET_SITE_DESCR(INVOICE.SITE_CODE) AS SITE_DESCR FROM SORDER, INVOICE, INVOICE_TRACE, CUSTOMER WHERE INVOICE.TRAN_DATE = TRUNC(SYSDATE) AND INVOICE.CONFIRMED = 'Y' AND INVOICE_TRACE.INVOICE_ID = INVOICE.INVOICE_ID AND SORDER.SALE_ORDER = INVOICE_TRACE.SORD_NO AND CUSTOMER.CUST_CODE = INVOICE.CUST_CODE GROUP BY INVOICE.SITE_CODE, SORDER.ORDER_TYPE, CUSTOMER.CUST_NAME]]>
</queryString>
<field name="ORDER_TYPE" class="java.lang.String"/>
<field name="CUST_NAME" class="java.lang.String"/>
<field name="NET_AMT" class="java.lang.Double"/>
<field name="SITE_DESCR" class="java.lang.String"/>
<variable name="variable1" class="java.util.Date" resetType="None">
<variableExpression><![CDATA[new java.util.Date()]]></variableExpression>
</variable>
<variable name="variable2" class="java.lang.Double" calculation="Sum">
<variableExpression><![CDATA[new java.lang.Double($F{NET_AMT}.doubleValue())]]></variableExpression>
</variable>
<background>
<band splitType="Stretch"/>
</background>
<pageHeader>
<band height="79" splitType="Stretch">
<staticText>
<reportElement x="14" y="58" width="62" height="18"/>
<textElement>
<font fontName="Times New Roman" isBold="true"/>
</textElement>
<text><![CDATA[Order Type]]></text>
</staticText>
<staticText>
<reportElement x="79" y="58" width="366" height="18"/>
<textElement>
<font fontName="Times New Roman" isBold="true"/>
</textElement>
<text><![CDATA[Customer Name]]></text>
</staticText>
<staticText>
<reportElement x="455" y="58" width="100" height="18"/>
<textElement textAlignment="Right">
<font fontName="Times New Roman" isBold="true"/>
</textElement>
<text><![CDATA[Net Amount]]></text>
</staticText>
<line>
<reportElement x="0" y="77" width="570" height="1"/>
</line>
<line>
<reportElement x="0" y="55" width="570" height="1"/>
</line>
<staticText>
<reportElement x="14" y="26" width="540" height="18"/>
<textElement textAlignment="Center">
<font fontName="Times New Roman" size="12" isBold="true"/>
</textElement>
<text><![CDATA[Today Sales Order Type]]></text>
</staticText>
<textField pattern="MM/dd/yy">
<reportElement x="40" y="3" width="133" height="14"/>
<textElement>
<font fontName="Times New Roman"/>
</textElement>
<textFieldExpression class="java.util.Date"><![CDATA[$V{variable1}]]></textFieldExpression>
</textField>
<staticText>
<reportElement x="10" y="3" width="28" height="14"/>
<textElement>
<font fontName="Times New Roman" isBold="true"/>
</textElement>
<text><![CDATA[Date:]]></text>
</staticText>
<staticText>
<reportElement x="504" y="3" width="20" height="14"/>
<textElement>
<font fontName="Times New Roman" isBold="false"/>
</textElement>
<text><![CDATA[Page]]></text>
</staticText>
<staticText>
<reportElement x="538" y="3" width="10" height="14"/>
<textElement>
<font fontName="Times New Roman" isBold="false"/>
</textElement>
<text><![CDATA[of]]></text>
</staticText>
<textField evaluationTime="Page">
<reportElement x="526" y="3" width="13" height="14"/>
<textElement>
<font fontName="Times New Roman"/>
</textElement>
<textFieldExpression class="java.lang.Integer"><![CDATA[$V{PAGE_NUMBER}]]></textFieldExpression>
</textField>
<textField evaluationTime="Report">
<reportElement x="551" y="3" width="15" height="14"/>
<textElement>
<font fontName="Times New Roman"/>
</textElement>
<textFieldExpression class="java.lang.Integer"><![CDATA[$V{PAGE_NUMBER}]]></textFieldExpression>
</textField>
<textField>
<reportElement x="14" y="3" width="540" height="18"/>
<textElement textAlignment="Center">
<font fontName="Times New Roman" size="12" isBold="true"/>
</textElement>
<textFieldExpression class="java.lang.String"><![CDATA[$F{SITE_DESCR}]]></textFieldExpression>
</textField>
</band>
</pageHeader>
<detail>
<band height="18" splitType="Stretch">
<textField>
<reportElement x="14" y="0" width="62" height="18"/>
<textElement>
<font fontName="Times New Roman"/>
</textElement>
<textFieldExpression class="java.lang.String"><![CDATA[$F{ORDER_TYPE}]]></textFieldExpression>
</textField>
<textField>
<reportElement x="79" y="0" width="366" height="18"/>
<textElement>
<font fontName="Times New Roman"/>
</textElement>
<textFieldExpression class="java.lang.String"><![CDATA[$F{CUST_NAME}]]></textFieldExpression>
</textField>
<textField pattern="0.00">
<reportElement x="455" y="0" width="100" height="18"/>
<textElement textAlignment="Right">
<font fontName="Times New Roman"/>
</textElement>
<textFieldExpression class="java.lang.Double"><![CDATA[$F{NET_AMT}]]></textFieldExpression>
</textField>
</band>
</detail>
<pageFooter>
<band splitType="Stretch"/>
</pageFooter>
<summary>
<band height="20" splitType="Stretch">
<textField pattern="0.00">
<reportElement x="455" y="2" width="100" height="18"/>
<textElement textAlignment="Right">
<font fontName="Times New Roman"/>
</textElement>
<textFieldExpression class="java.lang.Double"><![CDATA[$V{variable2}]]></textFieldExpression>
</textField>
<staticText>
<reportElement x="349" y="2" width="96" height="18"/>
<textElement>
<font fontName="Times New Roman" isBold="true"/>
</textElement>
<text><![CDATA[Grand Total]]></text>
</staticText>
<line>
<reportElement x="0" y="0" width="570" height="1"/>
</line>
</band>
</summary>
</jasperReport>
<?xml version="1.0" encoding="UTF-8" ?>
<xs:schema xmlns:xs="http://www.w3.org/2001/XMLSchema">
<arguments>
<argument name="as_site_code" type="java.lang.String" value="login_site" visible="Y" editable="Y" table="" field="" SRVCALLONCHANGE="N" label="Site Code : " inputType="text" caseType="mixed" size="50" format="string" fontSize="10" alignment="2" fontName="" id="arg8" displayType="text" reportTitle="Backorder Report - Summary " rowNo="1" colNo="1" height="15" width="70"/>
<argument name="frm_order_date" type="java.util.Date" value="" visible="Y" editable="Y" table="" field="" SRVCALLONCHANGE="N" label="Order Date From : " inputType="text" caseType="mixed" size="50" format="string" fontSize="10" alignment="2" fontName="" id="arg8" displayType="text" reportTitle="Backorder Report - Summary " rowNo="2" colNo="1" height="15" width="70"/>
<argument name="to_order_date" type="java.util.Date" value="" visible="Y" editable="Y" table="" field="" SRVCALLONCHANGE="N" label="To : " inputType="text" caseType="mixed" size="50" format="string" fontSize="10" alignment="2" fontName="" id="arg8" displayType="text" reportTitle="Backorder Report - Summary " rowNo="2" colNo="2" height="15" width="70"/>
<argument name="x_path" type="java.lang.String" value="/DocumentRoot/backord_rep_summ" visible="N" editable="N" table="" field="" SRVCALLONCHANGE="N" label="" inputType="text" caseType="mixed" size="50" format="string" fontSize="10" alignment="2" fontName="" id="arg8" displayType="text" reportTitle="Backorder Report - Summary " rowNo="2" colNo="1" height="15" width="70"/>
<argument name="design_source" type="java.lang.String" value="backord_rep_summ.jrxml" visible="N" editable="N" table="" field="" SRVCALLONCHANGE="N" label="" inputType="text" caseType="mixed" size="50" format="string" fontSize="10" alignment="2" fontName="" id="arg9" displayType="text" reportTitle="Backorder Report - Summary " rowNo="2" colNo="2" height="15" width="70"/>
<argument name="data_source" type="java.lang.String" value="SQL" visible="N" editable="N" table="" field="" SRVCALLONCHANGE="N" label="" inputType="text" caseType="mixed" size="50" format="string" fontSize="10" alignment="2" fontName="" id="arg9" displayType="text" reportTitle="Backorder Report - Summary " rowNo="2" colNo="3" height="15" width="70"/>
<argument name="bind_type" type="java.lang.Integer" value="0" visible="N" editable="N" table="" field="" SRVCALLONCHANGE="N" label="" inputType="text" caseType="mixed" size="50" format="string" fontSize="10" alignment="2" fontName="" id="arg9" displayType="text" reportTitle="Backorder Report - Summary " rowNo="2" colNo="4" height="15" width="70"/>
<argument name="report_type" type="java.lang.String" value="JASPER" visible="N" editable="N" table="" field="" SRVCALLONCHANGE="N" label="" inputType="text" caseType="mixed" size="50" format="string" fontSize="10" alignment="2" fontName="" id="arg9" displayType="text" reportTitle="Backorder Report - Summary " rowNo="2" colNo="5" height="15" width="70"/>
<argument name="report_save_type" type="java.lang.String" value="NATIVE" visible="Y" editable="Y" table="" field="" SRVCALLONCHANGE="N" label="Report Save Type " inputType="text" caseType="mixed" size="10" format="string" fontSize="10" alignment="2" fontName="" id="arg7" displayType="combo" reportTitle="Backorder Report - Summary " rowNo="2" colNo="6" height="15" width="54"/>
</arguments>
<query no="1" family="1" datasource_name="ibase.webitm.reports.utility.DBDataObject"><![CDATA[backord_rep_summ.sql]]></query>
</xs:schema>
\ No newline at end of file
<?xml version="1.0" encoding="ISO-8859-1" ?>
<xs:schema xmlns:xs="http://www.w3.org/2001/XMLSchema">
<arguments>
<argument name="DESP_ID_FIRST" type="java.lang.String" value="" visible="Y" editable="Y" table="" field="" SRVCALLONCHANGE="Y" label="Shipment ID From :" inputType="text" caseType="upper" size="5" fontSize="10" alignment="2" fontName="" id="arg1" displayType="text" reportTitle="Bill of Lading Manual" rowNo="1" colNo="1" height="15" width="70"/>
<argument name="DESP_ID_LAST" type="java.lang.String" value="" visible="Y" editable="Y" table="" field="" SRVCALLONCHANGE="Y" label="Shipment ID To :" inputType="text" caseType="upper" size="5" fontSize="10" alignment="2" fontName="" id="arg1" displayType="text" reportTitle="Bill of Lading Manual" rowNo="2" colNo="1" height="15" width="70"/>
<argument name="x_path" type="java.lang.String" value="/DocumentRoot/Bill_of_lading" visible="N" editable="N" table="" field="" SRVCALLONCHANGE="N" label="" inputType="text" caseType="mixed" size="50" format="string" fontSize="10" alignment="2" fontName="" id="arg8" displayType="text" reportTitle="Bill of Lading Manual" rowNo="5" colNo="1" height="15" width="70"/>
<argument name="design_source" type="java.lang.String" value="bill_of_lading_manual.jrxml" visible="N" editable="N" table="" field="" SRVCALLONCHANGE="N" label="" inputType="text" caseType="mixed" size="50" format="string" fontSize="10" alignment="2" fontName="" id="arg9" displayType="text" reportTitle="Bill of Lading Manual" rowNo="6" colNo="1" height="15" width="70"/>
<argument name="data_source" type="java.lang.String" value="SQL" visible="N" editable="N" table="" field="" SRVCALLONCHANGE="N" label="" inputType="text" caseType="mixed" size="50" format="string" fontSize="10" alignment="2" fontName="" id="arg9" displayType="text" reportTitle="Bill of Lading Manual" rowNo="7" colNo="1" height="15" width="70"/>
<argument name="bind_type" type="java.lang.Integer" value="0" visible="N" editable="N" table="" field="" SRVCALLONCHANGE="N" label="" inputType="text" caseType="mixed" size="50" format="string" fontSize="10" alignment="2" fontName="" id="arg9" displayType="text" reportTitle="Bill of Lading Manual" rowNo="8" colNo="1" height="15" width="70"/>
<argument name="report_type" type="java.lang.String" value="JASPER" visible="N" editable="N" table="" field="" SRVCALLONCHANGE="N" label="" inputType="text" caseType="mixed" size="50" format="string" fontSize="10" alignment="2" fontName="" id="arg9" displayType="text" reportTitle="Bill of Lading Manual" rowNo="9" colNo="1" height="15" width="70"/>
<argument name="report_save_type" type="java.lang.String" value="NATIVE" visible="Y" editable="Y" table="" field="" SRVCALLONCHANGE="N" label="Report Save Type " inputType="text" caseType="mixed" size="10" format="string" fontSize="10" alignment="2" fontName="" id="arg7" displayType="combo" reportTitle="Bill of Lading Manual" rowNo="10" colNo="1" height="15" width="54"/>
</arguments>
<!--query no="1" family="1" datasource_name="ibase.webitm.reports.sun.BillOfLading"><![CDATA[ibase.webitm.reports.sun.BillOfLading]]></query-->
</xs:schema>
<?xml version="1.0" encoding="UTF-8" ?>
<xs:schema xmlns:xs="http://www.w3.org/2001/XMLSchema">
<arguments>
<argument name="as_site_code" type="java.lang.String" value="login_site" visible="Y" editable="Y" table="" field="" SRVCALLONCHANGE="N" label="Site Code : " inputType="text" caseType="mixed" size="50" format="string" fontSize="10" alignment="2" fontName="" id="arg8" displayType="text" reportTitle="Cut Report " rowNo="1" colNo="1" height="15" width="70"/>
<argument name="frm_order_date" type="java.util.Date" value="" visible="Y" editable="Y" table="" field="" SRVCALLONCHANGE="N" label="Order Date From : " inputType="text" caseType="mixed" size="50" format="string" fontSize="10" alignment="2" fontName="" id="arg8" displayType="text" reportTitle="Cut Report " rowNo="2" colNo="1" height="15" width="70"/>
<argument name="to_order_date" type="java.util.Date" value="" visible="Y" editable="Y" table="" field="" SRVCALLONCHANGE="N" label="To : " inputType="text" caseType="mixed" size="50" format="string" fontSize="10" alignment="2" fontName="" id="arg8" displayType="text" reportTitle="Cut Report " rowNo="2" colNo="2" height="15" width="70"/>
<argument name="x_path" type="java.lang.String" value="/DocumentRoot/cut_report" visible="N" editable="N" table="" field="" SRVCALLONCHANGE="N" label="" inputType="text" caseType="mixed" size="50" format="string" fontSize="10" alignment="2" fontName="" id="arg8" displayType="text" reportTitle="Cut Report " rowNo="2" colNo="1" height="15" width="70"/>
<argument name="design_source" type="java.lang.String" value="cut_report.jrxml" visible="N" editable="N" table="" field="" SRVCALLONCHANGE="N" label="" inputType="text" caseType="mixed" size="50" format="string" fontSize="10" alignment="2" fontName="" id="arg9" displayType="text" reportTitle="Cut Report " rowNo="2" colNo="2" height="15" width="70"/>
<argument name="data_source" type="java.lang.String" value="SQL" visible="N" editable="N" table="" field="" SRVCALLONCHANGE="N" label="" inputType="text" caseType="mixed" size="50" format="string" fontSize="10" alignment="2" fontName="" id="arg9" displayType="text" reportTitle="Cut Report " rowNo="2" colNo="3" height="15" width="70"/>
<argument name="bind_type" type="java.lang.Integer" value="0" visible="N" editable="N" table="" field="" SRVCALLONCHANGE="N" label="" inputType="text" caseType="mixed" size="50" format="string" fontSize="10" alignment="2" fontName="" id="arg9" displayType="text" reportTitle="Cut Report " rowNo="2" colNo="4" height="15" width="70"/>
<argument name="report_type" type="java.lang.String" value="JASPER" visible="N" editable="N" table="" field="" SRVCALLONCHANGE="N" label="" inputType="text" caseType="mixed" size="50" format="string" fontSize="10" alignment="2" fontName="" id="arg9" displayType="text" reportTitle="Cut Report " rowNo="2" colNo="5" height="15" width="70"/>
<argument name="report_save_type" type="java.lang.String" value="NATIVE" visible="Y" editable="Y" table="" field="" SRVCALLONCHANGE="N" label="Report Save Type " inputType="text" caseType="mixed" size="10" format="string" fontSize="10" alignment="2" fontName="" id="arg7" displayType="combo" reportTitle="Cut Report " rowNo="2" colNo="6" height="15" width="54"/>
</arguments>
<query no="1" family="1" datasource_name="ibase.webitm.reports.utility.DBDataObject"><![CDATA[cut_report.sql]]></query>
</xs:schema>
\ No newline at end of file
......@@ -6,7 +6,7 @@
<argument name="item_code" type="java.lang.String" value="ZZ" visible="Y" editable="Y" table="" field="" SRVCALLONCHANGE="Y" label="To" inputType="text" caseType="upper" size="5" fontSize="10" alignment="2" fontName="" id="arg1" displayType="text" reportTitle="d_current_stock_status" rowNo="2" colNo="2" height="15" width="70"/>
<argument name="item_ser" type="java.lang.String" value="00" visible="Y" editable="Y" table="" field="" SRVCALLONCHANGE="Y" label="Item Series From" inputType="text" caseType="upper" size="5" fontSize="10" alignment="2" fontName="" id="arg1" displayType="text" reportTitle="d_current_stock_status" rowNo="3" colNo="1" height="15" width="70"/>
<argument name="item_ser" type="java.lang.String" value="ZZ" visible="Y" editable="Y" table="" field="" SRVCALLONCHANGE="Y" label="To" inputType="text" caseType="upper" size="5" fontSize="10" alignment="2" fontName="" id="arg1" displayType="text" reportTitle="d_current_stock_status" rowNo="3" colNo="2" height="15" width="70"/>
<argument name="mloc_code__frm" type="java.lang.String" value="00" visible="Y" editable="Y" table="" field="" SRVCALLONCHANGE="Y" label="Location Code From" inputType="text" caseType="upper" size="5" fontSize="10" alignment="2" fontName="" id="arg1" displayType="text" reportTitle="d_current_stock_status" rowNo="4" colNo="1" height="15" width="70"/>
<argument name="mloc_code__frm" type="java.lang.String" value="00" visible="Y" editable="Y" table="" field="" SRVCALLONCHANGE="Y" label="Location From" inputType="text" caseType="upper" size="5" fontSize="10" alignment="2" fontName="" id="arg1" displayType="text" reportTitle="d_current_stock_status" rowNo="4" colNo="1" height="15" width="70"/>
<argument name="mloc_code__to" type="java.lang.String" value="ZZ" visible="Y" editable="Y" table="" field="" SRVCALLONCHANGE="Y" label="To" inputType="text" caseType="upper" size="5" fontSize="10" alignment="2" fontName="" id="arg1" displayType="text" reportTitle="d_current_stock_status" rowNo="4" colNo="2" height="15" width="70"/>
<argument name="as_lotfr" type="java.lang.String" value="00" visible="Y" editable="Y" table="" field="" SRVCALLONCHANGE="Y" label="Lot No From " inputType="text" caseType="upper" size="5" fontSize="10" alignment="2" fontName="" id="arg1" displayType="text" reportTitle="d_current_stock_status" rowNo="5" colNo="1" height="15" width="70"/>
<argument name="as_lotto" type="java.lang.String" value="ZZ" visible="Y" editable="Y" table="" field="" SRVCALLONCHANGE="Y" label="To" inputType="text" caseType="upper" size="5" fontSize="10" alignment="2" fontName="" id="arg1" displayType="text" reportTitle="d_current_stock_status" rowNo="5" colNo="2" height="15" width="70"/>
......@@ -15,8 +15,8 @@
<argument name="as_invfr" type="java.lang.String" value="00" visible="Y" editable="Y" table="" field="" SRVCALLONCHANGE="Y" label="Location Type From" inputType="text" caseType="upper" size="5" fontSize="10" alignment="2" fontName="" id="arg1" displayType="text" reportTitle="d_current_stock_status" rowNo="7" colNo="1" height="15" width="70"/>
<argument name="as_invto" type="java.lang.String" value="ZZ" visible="Y" editable="Y" table="" field="" SRVCALLONCHANGE="Y" label="To" inputType="text" caseType="upper" size="5" fontSize="10" alignment="2" fontName="" id="arg1" displayType="text" reportTitle="d_current_stock_status" rowNo="7" colNo="2" height="15" width="70"/>
<argument name="mprice_list" type="java.lang.String" value="" visible="Y" editable="Y" table="" field="" SRVCALLONCHANGE="Y" label="Price List" inputType="text" caseType="upper" size="5" fontSize="10" alignment="2" fontName="" id="arg1" displayType="text" reportTitle="d_current_stock_status" rowNo="8" colNo="1" height="15" width="70"/>
<argument name="mavailable" type="java.lang.String" value="" visible="Y" editable="Y" table="" field="" SRVCALLONCHANGE="Y" label="Available (Yes=Y,No=N,Both=YN)" inputType="text" caseType="upper" size="5" fontSize="10" alignment="2" fontName="" id="arg1" displayType="text" reportTitle="d_current_stock_status" rowNo="9" colNo="1" height="15" width="70"/>
<argument name="as_alloc" type="java.lang.String" value="Y" visible="Y" editable="Y" table="" field="" SRVCALLONCHANGE="Y" label="Alloc Qty ((qty >0)=Y,(qty =0)=N,Both=YN)" inputType="text" caseType="upper" size="5" fontSize="10" alignment="2" fontName="" id="arg1" displayType="text" reportTitle="d_current_stock_status" rowNo="10" colNo="1" height="15" width="70"/>
<argument name="mavailable" type="java.lang.String" value="YN" visible="Y" editable="Y" table="" field="" SRVCALLONCHANGE="Y" label="Available (Yes=Y,No=N,Both=YN)" inputType="text" caseType="upper" size="5" fontSize="10" alignment="2" fontName="" id="arg1" displayType="text" reportTitle="d_current_stock_status" rowNo="9" colNo="1" height="15" width="70"/>
<argument name="as_alloc" type="java.lang.String" value="YN" visible="Y" editable="Y" table="" field="" SRVCALLONCHANGE="Y" label="Alloc Qty ((qty >0)=Y,(qty =0)=N,Both=YN)" inputType="text" caseType="upper" size="5" fontSize="10" alignment="2" fontName="" id="arg1" displayType="text" reportTitle="d_current_stock_status" rowNo="10" colNo="1" height="15" width="70"/>
<argument name="report_type" type="java.lang.String" value="PB" visible="N" editable="N" table="" field="" SRVCALLONCHANGE="N" label="" inputType="text" caseType="mixed" size="50" format="string" fontSize="10" alignment="2" fontName="" id="arg9" displayType="text" reportTitle="d_current_stock_status" rowNo="10" colNo="2" height="15" width="70"/>
<argument name="comp_type" type="java.lang.String" value="WSR" visible="N" editable="N" table="" field="" SRVCALLONCHANGE="N" label="" inputType="text" caseType="mixed" size="50" format="string" fontSize="10" alignment="2" fontName="" id="arg9" displayType="text" reportTitle="d_current_stock_status" rowNo="10" colNo="3" height="15" width="70"/>
<argument name="comp_name" type="java.lang.String" value="E12DotNetReports/E12DotNetReports.asmx" visible="N" editable="N" table="" field="" SRVCALLONCHANGE="N" label="" inputType="text" caseType="mixed" size="50" format="string" fontSize="10" alignment="2" fontName="" id="arg9" displayType="text" reportTitle="d_current_stock_status" rowNo="10" colNo="4" height="15" width="70"/>
......
......@@ -2,7 +2,8 @@
<xs:schema xmlns:xs="http://www.w3.org/2001/XMLSchema">
<arguments>
<argument name="as_date" type="java.util.Date" value="" visible="Y" editable="Y" table="" field="" SRVCALLONCHANGE="Y" label="As on Date :" inputType="text" caseType="upper" size="5" fontSize="10" alignment="2" fontName="" id="arg1" displayType="text" reportTitle="Physical Scan Report" rowNo="1" colNo="1" height="15" width="70"/>
<argument name="site_code" type="java.lang.String" value="login_site" visible="Y" editable="Y" table="" field="" SRVCALLONCHANGE="Y" label="" inputType="text" caseType="upper" size="5" fontSize="10" alignment="2" fontName="" id="arg1" displayType="text" reportTitle="Physical Scan Report" rowNo="2" colNo="1" height="0" width="0"/>
<argument name="variance_type" type="java.lang.String" value="B" visible="Y" editable="Y" table="" field="" SRVCALLONCHANGE="Y" label="Variance : V / Non-Variance : N / Both : B : " inputType="text" caseType="upper" size="5" fontSize="10" alignment="2" fontName="" id="arg1" displayType="text" reportTitle="Physical Scan Report" rowNo="2" colNo="1" height="15" width="70"/>
<argument name="site_code" type="java.lang.String" value="login_site" visible="Y" editable="Y" table="" field="" SRVCALLONCHANGE="Y" label="" inputType="text" caseType="upper" size="5" fontSize="10" alignment="2" fontName="" id="arg1" displayType="text" reportTitle="Physical Scan Report" rowNo="3" colNo="1" height="0" width="0"/>
<argument name="x_path" type="java.lang.String" value="/DocumentRoot/d_phy_scan_rep" visible="N" editable="N" table="" field="" SRVCALLONCHANGE="N" label="" inputType="text" caseType="mixed" size="50" format="string" fontSize="10" alignment="2" fontName="" id="arg8" displayType="text" reportTitle="Physical Scan Report" rowNo="5" colNo="1" height="15" width="70"/>
<argument name="design_source" type="java.lang.String" value="d_phy_scan_rep.jrxml" visible="N" editable="N" table="" field="" SRVCALLONCHANGE="N" label="" inputType="text" caseType="mixed" size="50" format="string" fontSize="10" alignment="2" fontName="" id="arg9" displayType="text" reportTitle="Physical Scan Report" rowNo="6" colNo="1" height="15" width="70"/>
<argument name="data_source" type="java.lang.String" value="SQL" visible="N" editable="N" table="" field="" SRVCALLONCHANGE="N" label="" inputType="text" caseType="mixed" size="50" format="string" fontSize="10" alignment="2" fontName="" id="arg9" displayType="text" reportTitle="Physical Scan Report" rowNo="7" colNo="1" height="15" width="70"/>
......
<?xml version="1.0" encoding="UTF-8" ?>
<xs:schema xmlns:xs="http://www.w3.org/2001/XMLSchema">
<arguments>
<argument name="as_sitecode" type="java.lang.StringArray" value="login_site" visible="Y" editable="Y" table="" field="" SRVCALLONCHANGE="N" label="Site Code : " inputType="text" caseType="mixed" size="50" format="string" fontSize="10" alignment="2" fontName="" id="arg8" displayType="text" reportTitle="Molecule Sales " rowNo="1" colNo="1" height="15" width="70"/>
<argument name="x_path" type="java.lang.String" value="/DocumentRoot/molecule_sales" visible="N" editable="N" table="" field="" SRVCALLONCHANGE="N" label="" inputType="text" caseType="mixed" size="50" format="string" fontSize="10" alignment="2" fontName="" id="arg8" displayType="text" reportTitle="Molecule Sales " rowNo="2" colNo="1" height="15" width="70"/>
<argument name="design_source" type="java.lang.String" value="molecule_sales.jrxml" visible="N" editable="N" table="" field="" SRVCALLONCHANGE="N" label="" inputType="text" caseType="mixed" size="50" format="string" fontSize="10" alignment="2" fontName="" id="arg9" displayType="text" reportTitle="Molecule Sales " rowNo="2" colNo="2" height="15" width="70"/>
<argument name="data_source" type="java.lang.String" value="SQL" visible="N" editable="N" table="" field="" SRVCALLONCHANGE="N" label="" inputType="text" caseType="mixed" size="50" format="string" fontSize="10" alignment="2" fontName="" id="arg9" displayType="text" reportTitle="Molecule Sales " rowNo="2" colNo="3" height="15" width="70"/>
<argument name="bind_type" type="java.lang.Integer" value="0" visible="N" editable="N" table="" field="" SRVCALLONCHANGE="N" label="" inputType="text" caseType="mixed" size="50" format="string" fontSize="10" alignment="2" fontName="" id="arg9" displayType="text" reportTitle="Molecule Sales " rowNo="2" colNo="4" height="15" width="70"/>
<argument name="report_type" type="java.lang.String" value="JASPER" visible="N" editable="N" table="" field="" SRVCALLONCHANGE="N" label="" inputType="text" caseType="mixed" size="50" format="string" fontSize="10" alignment="2" fontName="" id="arg9" displayType="text" reportTitle="Molecule Sales " rowNo="2" colNo="5" height="15" width="70"/>
<argument name="report_save_type" type="java.lang.String" value="NATIVE" visible="Y" editable="Y" table="" field="" SRVCALLONCHANGE="N" label="Report Save Type " inputType="text" caseType="mixed" size="10" format="string" fontSize="10" alignment="2" fontName="" id="arg7" displayType="combo" reportTitle="Molecule Sales " rowNo="2" colNo="6" height="15" width="54"/>
</arguments>
<query no="1" family="1" datasource_name="ibase.webitm.reports.utility.DBDataObject"><![CDATA[molecule_sales.sql]]></query>
</xs:schema>
\ No newline at end of file
......@@ -2,8 +2,9 @@
<xs:schema xmlns:xs="http://www.w3.org/2001/XMLSchema">
<arguments>
<argument name="pallet_no_fr" type="java.lang.String" value="" visible="Y" editable="Y" table="" field="" SRVCALLONCHANGE="Y" label="Pallet No From:" inputType="text" caseType="upper" size="5" fontSize="10" alignment="2" fontName="" id="arg1" displayType="text" reportTitle="pallet_no" rowNo="1" colNo="1" height="15" width="70"/>
<argument name="pallet_no_to" type="java.lang.String" value="" visible="Y" editable="Y" table="" field="" SRVCALLONCHANGE="Y" label="Pallet No To:" inputType="text" caseType="upper" size="5" fontSize="10" alignment="2" fontName="" id="arg1" displayType="text" reportTitle="pallet_no" rowNo="2" colNo="1" height="15" width="70"/>
<argument name="pallet_no_fr" type="java.lang.String" value="" visible="Y" editable="Y" table="" field="" SRVCALLONCHANGE="Y" label="Pallet No From:" inputType="text" caseType="upper" size="5" fontSize="10" alignment="2" fontName="" id="arg1" displayType="text" reportTitle="pallet_no" rowNo="1" colNo="1" height="15" width="120"/>
<argument name="pallet_no_to" type="java.lang.String" value="" visible="Y" editable="Y" table="" field="" SRVCALLONCHANGE="Y" label="Pallet No To:" inputType="text" caseType="upper" size="5" fontSize="10" alignment="2" fontName="" id="arg1" displayType="text" reportTitle="pallet_no" rowNo="2" colNo="1" height="15" width="120"/>
<argument name="as_status" type="java.lang.String" value="A" visible="Y" editable="Y" table="" field="" SRVCALLONCHANGE="Y" label="Assigned U / Unassigned A : " inputType="text" caseType="upper" size="5" fontSize="10" alignment="2" fontName="" id="arg1" displayType="text" reportTitle="pallet_no" rowNo="3" colNo="1" height="15" width="70"/>
<argument name="x_path" type="java.lang.String" value="/DocumentRoot/pallet_no" visible="N" editable="N" table="" field="" SRVCALLONCHANGE="N" label="" inputType="text" caseType="mixed" size="50" format="string" fontSize="10" alignment="2" fontName="" id="arg8" displayType="text" reportTitle="pallet_no" rowNo="5" colNo="1" height="15" width="70"/>
<argument name="design_source" type="java.lang.String" value="pallet_no.jrxml" visible="N" editable="N" table="" field="" SRVCALLONCHANGE="N" label="" inputType="text" caseType="mixed" size="50" format="string" fontSize="10" alignment="2" fontName="" id="arg9" displayType="text" reportTitle="pallet_no" rowNo="6" colNo="1" height="15" width="70"/>
<argument name="data_source" type="java.lang.String" value="SQL" visible="N" editable="N" table="" field="" SRVCALLONCHANGE="N" label="" inputType="text" caseType="mixed" size="50" format="string" fontSize="10" alignment="2" fontName="" id="arg9" displayType="text" reportTitle="pallet_no" rowNo="7" colNo="1" height="15" width="70"/>
......
<?xml version="1.0" encoding="UTF-8" ?>
<xs:schema xmlns:xs="http://www.w3.org/2001/XMLSchema">
<arguments>
<argument name="as_site_code" type="java.lang.String" value="login_site" visible="Y" editable="Y" table="" field="" SRVCALLONCHANGE="N" label="Site Code : " inputType="text" caseType="mixed" size="50" format="string" fontSize="10" alignment="2" fontName="" id="arg8" displayType="text" reportTitle="Pending Orders " rowNo="1" colNo="1" height="15" width="70"/>
<argument name="frm_order_date" type="java.util.Date" value="" visible="Y" editable="Y" table="" field="" SRVCALLONCHANGE="N" label="Order Date From : " inputType="text" caseType="mixed" size="50" format="string" fontSize="10" alignment="2" fontName="" id="arg8" displayType="text" reportTitle="Pending Orders " rowNo="2" colNo="1" height="15" width="70"/>
<argument name="to_order_date" type="java.util.Date" value="" visible="Y" editable="Y" table="" field="" SRVCALLONCHANGE="N" label="To : " inputType="text" caseType="mixed" size="50" format="string" fontSize="10" alignment="2" fontName="" id="arg8" displayType="text" reportTitle="Pending Orders " rowNo="2" colNo="2" height="15" width="70"/>
<argument name="x_path" type="java.lang.String" value="/DocumentRoot/pending_orders" visible="N" editable="N" table="" field="" SRVCALLONCHANGE="N" label="" inputType="text" caseType="mixed" size="50" format="string" fontSize="10" alignment="2" fontName="" id="arg8" displayType="text" reportTitle="Pending Orders " rowNo="2" colNo="1" height="15" width="70"/>
<argument name="design_source" type="java.lang.String" value="pending_orders.jrxml" visible="N" editable="N" table="" field="" SRVCALLONCHANGE="N" label="" inputType="text" caseType="mixed" size="50" format="string" fontSize="10" alignment="2" fontName="" id="arg9" displayType="text" reportTitle="Pending Orders " rowNo="2" colNo="2" height="15" width="70"/>
<argument name="data_source" type="java.lang.String" value="SQL" visible="N" editable="N" table="" field="" SRVCALLONCHANGE="N" label="" inputType="text" caseType="mixed" size="50" format="string" fontSize="10" alignment="2" fontName="" id="arg9" displayType="text" reportTitle="Pending Orders " rowNo="2" colNo="3" height="15" width="70"/>
<argument name="bind_type" type="java.lang.Integer" value="0" visible="N" editable="N" table="" field="" SRVCALLONCHANGE="N" label="" inputType="text" caseType="mixed" size="50" format="string" fontSize="10" alignment="2" fontName="" id="arg9" displayType="text" reportTitle="Pending Orders " rowNo="2" colNo="4" height="15" width="70"/>
<argument name="report_type" type="java.lang.String" value="JASPER" visible="N" editable="N" table="" field="" SRVCALLONCHANGE="N" label="" inputType="text" caseType="mixed" size="50" format="string" fontSize="10" alignment="2" fontName="" id="arg9" displayType="text" reportTitle="Pending Orders " rowNo="2" colNo="5" height="15" width="70"/>
<argument name="report_save_type" type="java.lang.String" value="NATIVE" visible="Y" editable="Y" table="" field="" SRVCALLONCHANGE="N" label="Report Save Type " inputType="text" caseType="mixed" size="10" format="string" fontSize="10" alignment="2" fontName="" id="arg7" displayType="combo" reportTitle="Pending Orders " rowNo="2" colNo="6" height="15" width="54"/>
</arguments>
<query no="1" family="1" datasource_name="ibase.webitm.reports.utility.DBDataObject"><![CDATA[pending_orders.sql]]></query>
</xs:schema>
\ No newline at end of file
<?xml version="1.0" encoding="UTF-8" ?>
<xs:schema xmlns:xs="http://www.w3.org/2001/XMLSchema">
<arguments>
<argument name="as_site_code" type="java.lang.String" value="login_site" visible="Y" editable="Y" table="" field="" SRVCALLONCHANGE="N" label="Site Code : " inputType="text" caseType="mixed" size="50" format="string" fontSize="10" alignment="2" fontName="" id="arg8" displayType="text" reportTitle="Standard Backorder Report " rowNo="1" colNo="1" height="15" width="70"/>
<argument name="frm_order_date" type="java.util.Date" value="" visible="Y" editable="Y" table="" field="" SRVCALLONCHANGE="N" label="Order Date From : " inputType="text" caseType="mixed" size="50" format="string" fontSize="10" alignment="2" fontName="" id="arg8" displayType="text" reportTitle="Standard Backorder Report " rowNo="2" colNo="1" height="15" width="70"/>
<argument name="to_order_date" type="java.util.Date" value="" visible="Y" editable="Y" table="" field="" SRVCALLONCHANGE="N" label="To : " inputType="text" caseType="mixed" size="50" format="string" fontSize="10" alignment="2" fontName="" id="arg8" displayType="text" reportTitle="Standard Backorder Report " rowNo="2" colNo="2" height="15" width="70"/>
<argument name="x_path" type="java.lang.String" value="/DocumentRoot/standared_backord_report" visible="N" editable="N" table="" field="" SRVCALLONCHANGE="N" label="" inputType="text" caseType="mixed" size="50" format="string" fontSize="10" alignment="2" fontName="" id="arg8" displayType="text" reportTitle="Standard Backorder Report " rowNo="2" colNo="1" height="15" width="70"/>
<argument name="design_source" type="java.lang.String" value="standared_backord_report.jrxml" visible="N" editable="N" table="" field="" SRVCALLONCHANGE="N" label="" inputType="text" caseType="mixed" size="50" format="string" fontSize="10" alignment="2" fontName="" id="arg9" displayType="text" reportTitle="Standard Backorder Report " rowNo="2" colNo="2" height="15" width="70"/>
<argument name="data_source" type="java.lang.String" value="SQL" visible="N" editable="N" table="" field="" SRVCALLONCHANGE="N" label="" inputType="text" caseType="mixed" size="50" format="string" fontSize="10" alignment="2" fontName="" id="arg9" displayType="text" reportTitle="Standard Backorder Report " rowNo="2" colNo="3" height="15" width="70"/>
<argument name="bind_type" type="java.lang.Integer" value="0" visible="N" editable="N" table="" field="" SRVCALLONCHANGE="N" label="" inputType="text" caseType="mixed" size="50" format="string" fontSize="10" alignment="2" fontName="" id="arg9" displayType="text" reportTitle="Standard Backorder Report " rowNo="2" colNo="4" height="15" width="70"/>
<argument name="report_type" type="java.lang.String" value="JASPER" visible="N" editable="N" table="" field="" SRVCALLONCHANGE="N" label="" inputType="text" caseType="mixed" size="50" format="string" fontSize="10" alignment="2" fontName="" id="arg9" displayType="text" reportTitle="Standard Backorder Report " rowNo="2" colNo="5" height="15" width="70"/>
<argument name="report_save_type" type="java.lang.String" value="NATIVE" visible="Y" editable="Y" table="" field="" SRVCALLONCHANGE="N" label="Report Save Type " inputType="text" caseType="mixed" size="10" format="string" fontSize="10" alignment="2" fontName="" id="arg7" displayType="combo" reportTitle="Standard Backorder Report " rowNo="2" colNo="6" height="15" width="54"/>
</arguments>
<query no="1" family="1" datasource_name="ibase.webitm.reports.utility.DBDataObject"><![CDATA[standared_backord_report.sql]]></query>
</xs:schema>
\ No newline at end of file
<?xml version="1.0" encoding="UTF-8" ?>
<xs:schema xmlns:xs="http://www.w3.org/2001/XMLSchema">
<arguments>
<argument name="x_path" type="java.lang.String" value="/DocumentRoot/today_sales_ordertype" visible="N" editable="N" table="" field="" SRVCALLONCHANGE="N" label="" inputType="text" caseType="mixed" size="50" format="string" fontSize="10" alignment="2" fontName="" id="arg8" displayType="text" reportTitle="To days sales " rowNo="1" colNo="1" height="15" width="70"/>
<argument name="design_source" type="java.lang.String" value="today_sales_ordertype.jrxml" visible="N" editable="N" table="" field="" SRVCALLONCHANGE="N" label="" inputType="text" caseType="mixed" size="50" format="string" fontSize="10" alignment="2" fontName="" id="arg9" displayType="text" reportTitle="To days sales " rowNo="2" colNo="1" height="15" width="70"/>
<argument name="data_source" type="java.lang.String" value="SQL" visible="N" editable="N" table="" field="" SRVCALLONCHANGE="N" label="" inputType="text" caseType="mixed" size="50" format="string" fontSize="10" alignment="2" fontName="" id="arg9" displayType="text" reportTitle="To days sales " rowNo="2" colNo="2" height="15" width="70"/>
<argument name="bind_type" type="java.lang.Integer" value="0" visible="N" editable="N" table="" field="" SRVCALLONCHANGE="N" label="" inputType="text" caseType="mixed" size="50" format="string" fontSize="10" alignment="2" fontName="" id="arg9" displayType="text" reportTitle="To days sales " rowNo="2" colNo="3" height="15" width="70"/>
<argument name="report_type" type="java.lang.String" value="JASPER" visible="N" editable="N" table="" field="" SRVCALLONCHANGE="N" label="" inputType="text" caseType="mixed" size="50" format="string" fontSize="10" alignment="2" fontName="" id="arg9" displayType="text" reportTitle="To days sales " rowNo="2" colNo="4" height="15" width="70"/>
<argument name="report_save_type" type="java.lang.String" value="NATIVE" visible="Y" editable="Y" table="" field="" SRVCALLONCHANGE="N" label="Report Save Type " inputType="text" caseType="mixed" size="10" format="string" fontSize="10" alignment="2" fontName="" id="arg7" displayType="combo" reportTitle="To days sales " rowNo="2" colNo="5" height="15" width="54"/>
</arguments>
<query no="1" family="1" datasource_name="ibase.webitm.reports.utility.DBDataObject"><![CDATA[today_sales_ordertype.sql]]></query>
</xs:schema>
\ No newline at end of file
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment