<?xml version="1.0" encoding="UTF-8" ?> <!-- Created with iReport - A designer for JasperReports --> <!DOCTYPE jasperReport PUBLIC "//JasperReports//DTD Report Design//EN" "http://jasperreports.sourceforge.net/dtds/jasperreport.dtd"> <jasperReport name="WELR032_NSTDA" columnCount="1" printOrder="Vertical" orientation="Portrait" pageWidth="595" pageHeight="842" columnWidth="535" columnSpacing="0" leftMargin="30" rightMargin="30" topMargin="20" bottomMargin="20" whenNoDataType="NoPages" isTitleNewPage="false" isSummaryNewPage="false"> <property name="ireport.scriptlethandling" value="0" /> <property name="ireport.encoding" value="UTF-8" /> <import value="java.util.*" /> <import value="net.sf.jasperreports.engine.*" /> <import value="net.sf.jasperreports.engine.data.*" /> <parameter name="REPORTHEADER" isForPrompting="true" class="java.lang.String"> <parameterDescription><![CDATA[component]]></parameterDescription> <defaultValueExpression ><![CDATA[""]]></defaultValueExpression> </parameter> <parameter name="AMOUNT__T4" isForPrompting="true" class="java.lang.String"> <parameterDescription><![CDATA[label]]></parameterDescription> <defaultValueExpression ><![CDATA["AMOUNT"]]></defaultValueExpression> </parameter> <parameter name="BAHT" isForPrompting="true" class="java.lang.String"> <parameterDescription><![CDATA[label]]></parameterDescription> <defaultValueExpression ><![CDATA["BAHT"]]></defaultValueExpression> </parameter> <parameter name="BUSINESS_UNIT__T1" isForPrompting="true" class="java.lang.String"> <parameterDescription><![CDATA[label]]></parameterDescription> <defaultValueExpression ><![CDATA["BUSINESS_UNIT"]]></defaultValueExpression> </parameter> <parameter name="CCP" isForPrompting="true" class="java.lang.String"> <parameterDescription><![CDATA[component]]></parameterDescription> <defaultValueExpression ><![CDATA[""]]></defaultValueExpression> </parameter> <parameter name="DECC" isForPrompting="true" class="java.lang.String"> <parameterDescription><![CDATA[component]]></parameterDescription> <defaultValueExpression ><![CDATA[""]]></defaultValueExpression> </parameter> <parameter name="SWP" isForPrompting="true" class="java.lang.String"> <parameterDescription><![CDATA[component]]></parameterDescription> <defaultValueExpression ><![CDATA[""]]></defaultValueExpression> </parameter> <parameter name="TOTALALL" isForPrompting="true" class="java.lang.String"> <parameterDescription><![CDATA[label]]></parameterDescription> <defaultValueExpression ><![CDATA["TOTALALL"]]></defaultValueExpression> </parameter> <parameter name="cash" isForPrompting="true" class="java.lang.String"> <parameterDescription><![CDATA[label]]></parameterDescription> <defaultValueExpression ><![CDATA["CASH"]]></defaultValueExpression> </parameter> <parameter name="DATE__T1" isForPrompting="true" class="java.lang.String"> <parameterDescription><![CDATA[label]]></parameterDescription> <defaultValueExpression ><![CDATA["DATE"]]></defaultValueExpression> </parameter> <field name="mcomplain__complainid" class="java.lang.String"> <fieldDescription><![CDATA[Field returned by mcomplain__complainid]]></fieldDescription> </field> <field name="mcomplain__caseid" class="java.lang.String"> <fieldDescription><![CDATA[Field returned by mcomplain__caseid]]></fieldDescription> </field> <field name="mcomplain__welid" class="java.lang.String"> <fieldDescription><![CDATA[Field returned by mcomplain__welid]]></fieldDescription> </field> <field name="mcomplain__disid" class="java.lang.String"> <fieldDescription><![CDATA[Field returned by mcomplain__disid]]></fieldDescription> </field> <field name="mcomplain__casedesc" class="java.lang.String"> <fieldDescription><![CDATA[Field returned by mcomplain__casedesc]]></fieldDescription> </field> <field name="mcomplain__employeeid" class="java.lang.String"> <fieldDescription><![CDATA[Field returned by mcomplain__employeeid]]></fieldDescription> </field> <field name="mcomplain__refno" class="java.lang.String"> <fieldDescription><![CDATA[Field returned by mcomplain__refno]]></fieldDescription> </field> <field name="mcomplain__gainerid" class="java.lang.String"> <fieldDescription><![CDATA[Field returned by mcomplain__gainerid]]></fieldDescription> </field> <field name="mcomplain__cost" class="java.lang.String"> <fieldDescription><![CDATA[Field returned by mcomplain__cost]]></fieldDescription> </field> <field name="mcomplain__reqcost" class="java.lang.String"> <fieldDescription><![CDATA[Field returned by mcomplain__reqcost]]></fieldDescription> </field> <field name="mcomplain__status" class="java.lang.String"> <fieldDescription><![CDATA[Field returned by mcomplain__status]]></fieldDescription> </field> <field name="mcomplain__approvestatus" class="java.lang.String"> <fieldDescription><![CDATA[Field returned by mcomplain__approvestatus]]></fieldDescription> </field> <field name="mcomplain__approvedate" class="java.lang.String"> <fieldDescription><![CDATA[Field returned by mcomplain__approvedate]]></fieldDescription> </field> <field name="mcomplain__occurdate" class="java.lang.String"> <fieldDescription><![CDATA[Field returned by mcomplain__occurdate]]></fieldDescription> </field> <field name="mcomplain__complaindate" class="java.lang.String"> <fieldDescription><![CDATA[Field returned by mcomplain__complaindate]]></fieldDescription> </field> <field name="mcomplain__companyid" class="java.lang.String"> <fieldDescription><![CDATA[Field returned by mcomplain__companyid]]></fieldDescription> </field> <field name="mcomplain__bu1" class="java.lang.String"> <fieldDescription><![CDATA[Field returned by mcomplain__bu1]]></fieldDescription> </field> <field name="mcomplain__bu2" class="java.lang.String"> <fieldDescription><![CDATA[Field returned by mcomplain__bu2]]></fieldDescription> </field> <field name="mcomplain__bu3" class="java.lang.String"> <fieldDescription><![CDATA[Field returned by mcomplain__bu3]]></fieldDescription> </field> <field name="mcomplain__bu4" class="java.lang.String"> <fieldDescription><![CDATA[Field returned by mcomplain__bu4]]></fieldDescription> </field> <field name="mcomplain__emp_type" class="java.lang.String"> <fieldDescription><![CDATA[Field returned by mcomplain__emp_type]]></fieldDescription> </field> <field name="mbu2__bu2id" class="java.lang.String"> <fieldDescription><![CDATA[Field returned by mbu2__bu2id]]></fieldDescription> </field> <field name="mbu2__active" class="java.lang.String"> <fieldDescription><![CDATA[Field returned by mbu2__active]]></fieldDescription> </field> <field name="mbu2__tdesc" class="java.lang.String"> <fieldDescription><![CDATA[Field returned by mbu2__tdesc]]></fieldDescription> </field> <field name="mbu2__edesc" class="java.lang.String"> <fieldDescription><![CDATA[Field returned by mbu2__edesc]]></fieldDescription> </field> <field name="mbu2__consolidate" class="java.lang.String"> <fieldDescription><![CDATA[Field returned by mbu2__consolidate]]></fieldDescription> </field> <field name="mbu2__companyid" class="java.lang.String"> <fieldDescription><![CDATA[Field returned by mbu2__companyid]]></fieldDescription> </field> <field name="mbu3__bu3id" class="java.lang.String"> <fieldDescription><![CDATA[Field returned by mbu3__bu3id]]></fieldDescription> </field> <field name="mbu3__active" class="java.lang.String"> <fieldDescription><![CDATA[Field returned by mbu3__active]]></fieldDescription> </field> <field name="mbu3__tdesc" class="java.lang.String"> <fieldDescription><![CDATA[Field returned by mbu3__tdesc]]></fieldDescription> </field> <field name="mbu3__edesc" class="java.lang.String"> <fieldDescription><![CDATA[Field returned by mbu3__edesc]]></fieldDescription> </field> <field name="mbu3__consolidate" class="java.lang.String"> <fieldDescription><![CDATA[Field returned by mbu3__consolidate]]></fieldDescription> </field> <field name="mbu3__companyid" class="java.lang.String"> <fieldDescription><![CDATA[Field returned by mbu3__companyid]]></fieldDescription> </field> <field name="mbu4__bu4id" class="java.lang.String"> <fieldDescription><![CDATA[Field returned by mbu4__bu4id]]></fieldDescription> </field> <field name="mbu4__active" class="java.lang.String"> <fieldDescription><![CDATA[Field returned by mbu4__active]]></fieldDescription> </field> <field name="mbu4__tdesc" class="java.lang.String"> <fieldDescription><![CDATA[Field returned by mbu4__tdesc]]></fieldDescription> </field> <field name="mbu4__edesc" class="java.lang.String"> <fieldDescription><![CDATA[Field returned by mbu4__edesc]]></fieldDescription> </field> <field name="mbu4__consolidate" class="java.lang.String"> <fieldDescription><![CDATA[Field returned by mbu4__consolidate]]></fieldDescription> </field> <field name="mbu4__companyid" class="java.lang.String"> <fieldDescription><![CDATA[Field returned by mbu4__companyid]]></fieldDescription> </field> <variable name="CCPNAME" class="java.lang.String" resetType="Report" calculation="Nothing"> <variableExpression><![CDATA[($F{mcomplain__bu4}.equals("01H2"))?$F{mbu4__tdesc}:$P{CCP}]]></variableExpression> <initialValueExpression><![CDATA[$P{CCP}]]></initialValueExpression> </variable> <variable name="DECCNAME" class="java.lang.String" resetType="Report" calculation="Nothing"> <variableExpression><![CDATA[($F{mcomplain__bu4}.equals("01H5"))?$F{mbu4__tdesc}:$P{DECC}]]></variableExpression> <initialValueExpression><![CDATA[$P{DECC}]]></initialValueExpression> </variable> <variable name="SWPNAME" class="java.lang.String" resetType="Report" calculation="Nothing"> <variableExpression><![CDATA[($F{mcomplain__bu3}.equals("06B2"))?$F{mbu3__tdesc}:$P{SWP}]]></variableExpression> <initialValueExpression><![CDATA[$P{SWP}]]></initialValueExpression> </variable> <variable name="sum01" class="java.lang.Double" resetType="Group" resetGroup="bu2grp" calculation="Sum"> <variableExpression><![CDATA[($F{mcomplain__bu2}.equals("01")&&!$F{mcomplain__bu4}.equals("01H2")&&!$F{mcomplain__bu4}.equals("01H5"))?new Double($F{mcomplain__cost}):new Double(0)]]></variableExpression> </variable> <variable name="sum06" class="java.lang.Double" resetType="Group" resetGroup="bu2grp" calculation="Sum"> <variableExpression><![CDATA[($F{mcomplain__bu2}.equals("06")&&!$F{mcomplain__bu3}.equals("06B2")&&!$F{mcomplain__bu3}.equals("06B3")&&!$F{mcomplain__bu3}.equals("06B4"))?new Double($F{mcomplain__cost}):new Double(0)]]></variableExpression> </variable> <variable name="sumbu2" class="java.lang.Double" resetType="Group" resetGroup="bu2grp" calculation="Sum"> <variableExpression><![CDATA[new Double($F{mcomplain__cost})]]></variableExpression> </variable> <variable name="sumccp" class="java.lang.Double" resetType="Group" resetGroup="bu2grp" calculation="Sum"> <variableExpression><![CDATA[($F{mcomplain__bu1}.equals("01")&&$F{mcomplain__bu4}.equals("01H2"))?new Double($F{mcomplain__cost}):new Double(0)]]></variableExpression> </variable> <variable name="sumdecc" class="java.lang.Double" resetType="Group" resetGroup="bu2grp" calculation="Sum"> <variableExpression><![CDATA[($F{mcomplain__bu2}.equals("01")&&$F{mcomplain__bu4}.equals("01H5"))?new Double($F{mcomplain__cost}):new Double(0)]]></variableExpression> </variable> <variable name="sumswp" class="java.lang.Double" resetType="Group" resetGroup="bu2grp" calculation="Sum"> <variableExpression><![CDATA[($F{mcomplain__bu2}.equals("06")&&$F{mcomplain__bu3}.equals("06B2")&&$F{mcomplain__bu3}.equals("06B3")&&$F{mcomplain__bu3}.equals("06B4"))?new Double($F{mcomplain__cost}):new Double(0)]]></variableExpression> </variable> <variable name="sumall" class="java.lang.Double" resetType="Group" resetGroup="appdgrp" calculation="Sum"> <variableExpression><![CDATA[new Double($F{mcomplain__cost})]]></variableExpression> </variable> <group name="appdgrp" isStartNewColumn="true" > <groupExpression><![CDATA[$F{mcomplain__approvedate}]]></groupExpression> <groupHeader> <band height="117" isSplitAllowed="true" > <textField isStretchWithOverflow="false" pattern="" isBlankWhenNull="false" evaluationTime="Now" hyperlinkType="None" hyperlinkTarget="Self" > <reportElement mode="Transparent" x="0" y="2" width="535" height="25" forecolor="#000000" backcolor="#FFFFFF" key="textField-1"/> <box topBorder="None" topBorderColor="#000000" leftBorder="None" leftBorderColor="#000000" rightBorder="None" rightBorderColor="#000000" bottomBorder="None" bottomBorderColor="#000000"/> <textElement textAlignment="Center" verticalAlignment="Middle" lineSpacing="Single"> <font fontName="Cordia New" pdfFontName="CORDIA.TTF" size="16" isBold="true" isItalic="false" isUnderline="false" isPdfEmbedded ="true" pdfEncoding ="Identity-H" isStrikeThrough="false" /> </textElement> <textFieldExpression class="java.lang.String"><![CDATA[$P{REPORTHEADER}]]></textFieldExpression> </textField> <textField isStretchWithOverflow="true" isBlankWhenNull="true" evaluationTime="Now" hyperlinkType="None" hyperlinkTarget="Self" > <reportElement x="0" y="52" width="535" height="25" key="textField-2"/> <box topBorder="None" topBorderColor="#000000" leftBorder="None" leftBorderColor="#000000" rightBorder="None" rightBorderColor="#000000" bottomBorder="None" bottomBorderColor="#000000"/> <textElement textAlignment="Center" verticalAlignment="Middle"> <font fontName="Cordia New" pdfFontName="CORDIA.TTF" size="16" isBold="true" isPdfEmbedded ="true" pdfEncoding ="Identity-H"/> </textElement> <textFieldExpression class="java.lang.String"><![CDATA[$P{DATE__T1}+" "+new com.csc.library.utilities.CscCalendar($F{mcomplain__approvedate}).getThaiFullDDMMYYYY()]]></textFieldExpression> </textField> <textField isStretchWithOverflow="false" isBlankWhenNull="false" evaluationTime="Now" hyperlinkType="None" hyperlinkTarget="Self" > <reportElement mode="Opaque" x="33" y="99" width="356" height="18" backcolor="#CCCCCC" key="textField"/> <box topBorder="Thin" topBorderColor="#000000" leftBorder="Thin" leftBorderColor="#000000" rightBorder="Thin" rightBorderColor="#000000" bottomBorder="Thin" bottomBorderColor="#000000"/> <textElement textAlignment="Center" verticalAlignment="Middle"> <font fontName="Cordia New" pdfFontName="CORDIA.TTF" size="14" isPdfEmbedded ="true" pdfEncoding ="Identity-H"/> </textElement> <textFieldExpression class="java.lang.String"><![CDATA[$P{BUSINESS_UNIT__T1}]]></textFieldExpression> </textField> <textField isStretchWithOverflow="false" isBlankWhenNull="false" evaluationTime="Now" hyperlinkType="None" hyperlinkTarget="Self" > <reportElement mode="Opaque" x="389" y="99" width="111" height="18" backcolor="#CCCCCC" key="textField-3"/> <box topBorder="Thin" topBorderColor="#000000" leftBorder="None" leftBorderColor="#000000" rightBorder="Thin" rightBorderColor="#000000" bottomBorder="Thin" bottomBorderColor="#000000"/> <textElement textAlignment="Center" verticalAlignment="Middle"> <font fontName="Cordia New" pdfFontName="CORDIA.TTF" size="14" isPdfEmbedded ="true" pdfEncoding ="Identity-H"/> </textElement> <textFieldExpression class="java.lang.String"><![CDATA[$P{AMOUNT__T4}+" ("+$P{BAHT}+")"]]></textFieldExpression> </textField> <textField isStretchWithOverflow="false" pattern="" isBlankWhenNull="false" evaluationTime="Now" hyperlinkType="None" hyperlinkTarget="Self" > <reportElement mode="Transparent" x="0" y="27" width="535" height="25" forecolor="#000000" backcolor="#FFFFFF" key="textField-21"/> <box topBorder="None" topBorderColor="#000000" leftBorder="None" leftBorderColor="#000000" rightBorder="None" rightBorderColor="#000000" bottomBorder="None" bottomBorderColor="#000000"/> <textElement textAlignment="Center" verticalAlignment="Middle" lineSpacing="Single"> <font fontName="Cordia New" pdfFontName="CORDIA.TTF" size="16" isBold="true" isItalic="false" isUnderline="false" isPdfEmbedded ="true" pdfEncoding ="Identity-H" isStrikeThrough="false" /> </textElement> <textFieldExpression class="java.lang.String"><![CDATA["("+$P{cash}+")"]]></textFieldExpression> </textField> </band> </groupHeader> <groupFooter> <band height="96" isSplitAllowed="true" > <textField isStretchWithOverflow="false" pattern="#,##0.00" isBlankWhenNull="false" evaluationTime="Now" hyperlinkType="None" hyperlinkTarget="Self" > <reportElement mode="Opaque" x="389" y="0" width="111" height="18" forecolor="#333333" backcolor="#FFFFFF" key="textField-17" isRemoveLineWhenBlank="true"/> <box topBorder="None" topBorderColor="#000000" leftBorder="None" leftBorderColor="#000000" rightBorder="Thin" rightBorderColor="#000000" rightPadding="10" bottomBorder="Thin" bottomBorderColor="#000000"/> <textElement textAlignment="Right" verticalAlignment="Middle"> <font fontName="Cordia New" pdfFontName="CORDIA.TTF" size="14" isPdfEmbedded ="true" pdfEncoding ="Identity-H"/> </textElement> <textFieldExpression class="java.lang.Double"><![CDATA[$V{sumall}]]></textFieldExpression> </textField> <textField isStretchWithOverflow="false" isBlankWhenNull="false" evaluationTime="Now" hyperlinkType="None" hyperlinkTarget="Self" > <reportElement mode="Opaque" x="33" y="0" width="356" height="18" forecolor="#333333" backcolor="#FFFFFF" key="textField-18"/> <box topBorder="None" topBorderColor="#000000" leftBorder="Thin" leftBorderColor="#000000" rightBorder="Thin" rightBorderColor="#000000" rightPadding="20" bottomBorder="Thin" bottomBorderColor="#000000"/> <textElement textAlignment="Right" verticalAlignment="Middle"> <font fontName="Cordia New" pdfFontName="CORDIA.TTF" size="14" isPdfEmbedded ="true" pdfEncoding ="Identity-H"/> </textElement> <textFieldExpression class="java.lang.String"><![CDATA[$P{TOTALALL}]]></textFieldExpression> </textField> <textField isStretchWithOverflow="false" isBlankWhenNull="false" evaluationTime="Now" hyperlinkType="None" hyperlinkTarget="Self" > <reportElement mode="Opaque" x="33" y="39" width="98" height="31" forecolor="#333333" backcolor="#FFFFFF" key="textField-19"/> <box topBorder="None" topBorderColor="#000000" leftBorder="None" leftBorderColor="#000000" rightBorder="None" rightBorderColor="#000000" rightPadding="20" bottomBorder="None" bottomBorderColor="#000000"/> <textElement textAlignment="Left" verticalAlignment="Top"> <font fontName="Cordia New" pdfFontName="CORDIA.TTF" size="14" isUnderline="true" isPdfEmbedded ="true" pdfEncoding ="Identity-H"/> </textElement> <textFieldExpression class="java.lang.String"><![CDATA["*หมายเหตุ"]]></textFieldExpression> </textField> <textField isStretchWithOverflow="false" isBlankWhenNull="false" evaluationTime="Now" hyperlinkType="None" hyperlinkTarget="Self" > <reportElement mode="Opaque" x="87" y="39" width="418" height="57" forecolor="#333333" backcolor="#FFFFFF" key="textField-20"/> <box topBorder="None" topBorderColor="#000000" leftBorder="None" leftBorderColor="#000000" rightBorder="None" rightBorderColor="#000000" rightPadding="20" bottomBorder="None" bottomBorderColor="#000000"/> <textElement textAlignment="Left" verticalAlignment="Top"> <font fontName="Cordia New" pdfFontName="CORDIA.TTF" size="14" isUnderline="false" isPdfEmbedded ="true" pdfEncoding ="Identity-H"/> </textElement> <textFieldExpression class="java.lang.String"><![CDATA["COST CENTER = 105051\n" +"(ยกเว้นโครงการพิเศษที่ใช้ทุนประเดิม)"]]></textFieldExpression> </textField> </band> </groupFooter> </group> <group name="bu2grp" > <groupExpression><![CDATA[$F{mcomplain__bu2}]]></groupExpression> <groupHeader> <band height="0" isSplitAllowed="true" > </band> </groupHeader> <groupFooter> <band height="72" isSplitAllowed="true" > <textField isStretchWithOverflow="false" isBlankWhenNull="false" evaluationTime="Now" hyperlinkType="None" hyperlinkTarget="Self" > <reportElement x="33" y="0" width="356" height="18" key="textField-4"/> <box topBorder="None" topBorderColor="#000000" leftBorder="Thin" leftBorderColor="#000000" leftPadding="10" rightBorder="Thin" rightBorderColor="#000000" bottomBorder="Thin" bottomBorderColor="#000000"/> <textElement textAlignment="Left" verticalAlignment="Middle"> <font fontName="Cordia New" pdfFontName="CORDIA.TTF" size="16" isBold="true" isPdfEmbedded ="true" pdfEncoding ="Identity-H"/> </textElement> <textFieldExpression class="java.lang.String"><![CDATA[$F{mbu2__tdesc}]]></textFieldExpression> </textField> <textField isStretchWithOverflow="false" pattern="#,##0.00" isBlankWhenNull="false" evaluationTime="Now" hyperlinkType="None" hyperlinkTarget="Self" > <reportElement x="389" y="0" width="111" height="18" key="textField-5"/> <box topBorder="None" topBorderColor="#000000" leftBorder="None" leftBorderColor="#000000" rightBorder="Thin" rightBorderColor="#000000" rightPadding="10" bottomBorder="Thin" bottomBorderColor="#000000"/> <textElement textAlignment="Right" verticalAlignment="Middle"> <font fontName="Cordia New" pdfFontName="CORDIA.TTF" size="14" isPdfEmbedded ="true" pdfEncoding ="Identity-H"/> </textElement> <textFieldExpression class="java.lang.String"><![CDATA[" "]]></textFieldExpression> </textField> <textField isStretchWithOverflow="false" pattern="#,##0.00" isBlankWhenNull="false" evaluationTime="Now" hyperlinkType="None" hyperlinkTarget="Self" > <reportElement mode="Opaque" x="389" y="18" width="111" height="18" forecolor="#333333" backcolor="#FFFFFF" key="textField-6" isRemoveLineWhenBlank="true"> <printWhenExpression><![CDATA[new Boolean($F{mcomplain__bu2}.equals("01"))]]></printWhenExpression> </reportElement> <box topBorder="None" topBorderColor="#000000" leftBorder="None" leftBorderColor="#000000" rightBorder="Thin" rightBorderColor="#000000" rightPadding="10" bottomBorder="Thin" bottomBorderColor="#000000"/> <textElement textAlignment="Right" verticalAlignment="Middle"> <font fontName="Cordia New" pdfFontName="CORDIA.TTF" size="14" isPdfEmbedded ="true" pdfEncoding ="Identity-H"/> </textElement> <textFieldExpression class="java.lang.Double"><![CDATA[$V{sum01}]]></textFieldExpression> </textField> <textField isStretchWithOverflow="false" isBlankWhenNull="false" evaluationTime="Now" hyperlinkType="None" hyperlinkTarget="Self" > <reportElement mode="Opaque" x="33" y="18" width="356" height="18" forecolor="#333333" backcolor="#FFFFFF" key="textField-7" isRemoveLineWhenBlank="true"> <printWhenExpression><![CDATA[new Boolean($F{mcomplain__bu2}.equals("01"))]]></printWhenExpression> </reportElement> <box topBorder="None" topBorderColor="#000000" leftBorder="Thin" leftBorderColor="#000000" leftPadding="40" rightBorder="Thin" rightBorderColor="#000000" bottomBorder="Thin" bottomBorderColor="#000000"/> <textElement textAlignment="Left" verticalAlignment="Middle"> <font fontName="Cordia New" pdfFontName="CORDIA.TTF" size="14" isPdfEmbedded ="true" pdfEncoding ="Identity-H"/> </textElement> <textFieldExpression class="java.lang.String"><![CDATA["-"+$F{mbu2__tdesc}]]></textFieldExpression> </textField> <textField isStretchWithOverflow="false" pattern="#,##0.00" isBlankWhenNull="false" evaluationTime="Now" hyperlinkType="None" hyperlinkTarget="Self" > <reportElement mode="Opaque" x="389" y="18" width="111" height="18" forecolor="#333333" backcolor="#FFFFFF" key="textField-8" isRemoveLineWhenBlank="true"> <printWhenExpression><![CDATA[new Boolean($F{mcomplain__bu2}.equals("06"))]]></printWhenExpression> </reportElement> <box topBorder="None" topBorderColor="#000000" leftBorder="None" leftBorderColor="#000000" rightBorder="Thin" rightBorderColor="#000000" rightPadding="10" bottomBorder="Thin" bottomBorderColor="#000000"/> <textElement textAlignment="Right" verticalAlignment="Middle"> <font fontName="Cordia New" pdfFontName="CORDIA.TTF" size="14" isPdfEmbedded ="true" pdfEncoding ="Identity-H"/> </textElement> <textFieldExpression class="java.lang.Double"><![CDATA[$V{sum06}]]></textFieldExpression> </textField> <textField isStretchWithOverflow="false" isBlankWhenNull="false" evaluationTime="Now" hyperlinkType="None" hyperlinkTarget="Self" > <reportElement mode="Opaque" x="33" y="18" width="356" height="18" forecolor="#333333" backcolor="#FFFFFF" key="textField-9" isRemoveLineWhenBlank="true"> <printWhenExpression><![CDATA[new Boolean($F{mcomplain__bu2}.equals("06"))]]></printWhenExpression> </reportElement> <box topBorder="None" topBorderColor="#000000" leftBorder="Thin" leftBorderColor="#000000" leftPadding="40" rightBorder="Thin" rightBorderColor="#000000" bottomBorder="Thin" bottomBorderColor="#000000"/> <textElement textAlignment="Left" verticalAlignment="Middle"> <font fontName="Cordia New" pdfFontName="CORDIA.TTF" size="14" isPdfEmbedded ="true" pdfEncoding ="Identity-H"/> </textElement> <textFieldExpression class="java.lang.String"><![CDATA["-"+$F{mbu2__tdesc}]]></textFieldExpression> </textField> <textField isStretchWithOverflow="false" pattern="#,##0.00" isBlankWhenNull="false" evaluationTime="Now" hyperlinkType="None" hyperlinkTarget="Self" > <reportElement mode="Opaque" x="389" y="36" width="111" height="18" forecolor="#333333" backcolor="#FFFFFF" key="textField-10" isRemoveLineWhenBlank="true"> <printWhenExpression><![CDATA[new Boolean($F{mcomplain__bu2}.equals("06"))]]></printWhenExpression> </reportElement> <box topBorder="None" topBorderColor="#000000" leftBorder="None" leftBorderColor="#000000" rightBorder="Thin" rightBorderColor="#000000" rightPadding="10" bottomBorder="Thin" bottomBorderColor="#000000"/> <textElement textAlignment="Right" verticalAlignment="Middle"> <font fontName="Cordia New" pdfFontName="CORDIA.TTF" size="14" isPdfEmbedded ="true" pdfEncoding ="Identity-H"/> </textElement> <textFieldExpression class="java.lang.Double"><![CDATA[$V{sumswp}]]></textFieldExpression> </textField> <textField isStretchWithOverflow="false" isBlankWhenNull="false" evaluationTime="Now" hyperlinkType="None" hyperlinkTarget="Self" > <reportElement mode="Opaque" x="33" y="36" width="356" height="18" forecolor="#333333" backcolor="#FFFFFF" key="textField-11" isRemoveLineWhenBlank="true"> <printWhenExpression><![CDATA[new Boolean($F{mcomplain__bu2}.equals("06"))]]></printWhenExpression> </reportElement> <box topBorder="None" topBorderColor="#000000" leftBorder="Thin" leftBorderColor="#000000" leftPadding="40" rightBorder="Thin" rightBorderColor="#000000" bottomBorder="Thin" bottomBorderColor="#000000"/> <textElement textAlignment="Left" verticalAlignment="Middle"> <font fontName="Cordia New" pdfFontName="CORDIA.TTF" size="14" isPdfEmbedded ="true" pdfEncoding ="Identity-H"/> </textElement> <textFieldExpression class="java.lang.String"><![CDATA["-"+$V{SWPNAME}]]></textFieldExpression> </textField> <textField isStretchWithOverflow="false" pattern="#,##0.00" isBlankWhenNull="false" evaluationTime="Now" hyperlinkType="None" hyperlinkTarget="Self" > <reportElement mode="Opaque" x="389" y="36" width="111" height="18" forecolor="#333333" backcolor="#FFFFFF" key="textField-12" isRemoveLineWhenBlank="true"> <printWhenExpression><![CDATA[new Boolean($F{mcomplain__bu2}.equals("01"))]]></printWhenExpression> </reportElement> <box topBorder="None" topBorderColor="#000000" leftBorder="None" leftBorderColor="#000000" rightBorder="Thin" rightBorderColor="#000000" rightPadding="10" bottomBorder="Thin" bottomBorderColor="#000000"/> <textElement textAlignment="Right" verticalAlignment="Middle"> <font fontName="Cordia New" pdfFontName="CORDIA.TTF" size="14" isPdfEmbedded ="true" pdfEncoding ="Identity-H"/> </textElement> <textFieldExpression class="java.lang.Double"><![CDATA[$V{sumccp}]]></textFieldExpression> </textField> <textField isStretchWithOverflow="false" isBlankWhenNull="false" evaluationTime="Now" hyperlinkType="None" hyperlinkTarget="Self" > <reportElement mode="Opaque" x="33" y="36" width="356" height="18" forecolor="#333333" backcolor="#FFFFFF" key="textField-13" isRemoveLineWhenBlank="true"> <printWhenExpression><![CDATA[new Boolean($F{mcomplain__bu2}.equals("01"))]]></printWhenExpression> </reportElement> <box topBorder="None" topBorderColor="#000000" leftBorder="Thin" leftBorderColor="#000000" leftPadding="40" rightBorder="Thin" rightBorderColor="#000000" bottomBorder="Thin" bottomBorderColor="#000000"/> <textElement textAlignment="Left" verticalAlignment="Middle"> <font fontName="Cordia New" pdfFontName="CORDIA.TTF" size="14" isPdfEmbedded ="true" pdfEncoding ="Identity-H"/> </textElement> <textFieldExpression class="java.lang.String"><![CDATA["-"+$V{CCPNAME}]]></textFieldExpression> </textField> <textField isStretchWithOverflow="false" pattern="#,##0.00" isBlankWhenNull="false" evaluationTime="Now" hyperlinkType="None" hyperlinkTarget="Self" > <reportElement mode="Opaque" x="389" y="54" width="111" height="18" forecolor="#333333" backcolor="#FFFFFF" key="textField-14" isRemoveLineWhenBlank="true"> <printWhenExpression><![CDATA[new Boolean($F{mcomplain__bu2}.equals("01"))]]></printWhenExpression> </reportElement> <box topBorder="None" topBorderColor="#000000" leftBorder="None" leftBorderColor="#000000" rightBorder="Thin" rightBorderColor="#000000" rightPadding="10" bottomBorder="Thin" bottomBorderColor="#000000"/> <textElement textAlignment="Right" verticalAlignment="Middle"> <font fontName="Cordia New" pdfFontName="CORDIA.TTF" size="14" isPdfEmbedded ="true" pdfEncoding ="Identity-H"/> </textElement> <textFieldExpression class="java.lang.Double"><![CDATA[$V{sumdecc}]]></textFieldExpression> </textField> <textField isStretchWithOverflow="false" isBlankWhenNull="false" evaluationTime="Now" hyperlinkType="None" hyperlinkTarget="Self" > <reportElement mode="Opaque" x="33" y="54" width="356" height="18" forecolor="#333333" backcolor="#FFFFFF" key="textField-15" isRemoveLineWhenBlank="true"> <printWhenExpression><![CDATA[new Boolean($F{mcomplain__bu2}.equals("01"))]]></printWhenExpression> </reportElement> <box topBorder="None" topBorderColor="#000000" leftBorder="Thin" leftBorderColor="#000000" leftPadding="40" rightBorder="Thin" rightBorderColor="#000000" bottomBorder="Thin" bottomBorderColor="#000000"/> <textElement textAlignment="Left" verticalAlignment="Middle"> <font fontName="Cordia New" pdfFontName="CORDIA.TTF" size="14" isPdfEmbedded ="true" pdfEncoding ="Identity-H"/> </textElement> <textFieldExpression class="java.lang.String"><![CDATA["-"+$V{DECCNAME}]]></textFieldExpression> </textField> <textField isStretchWithOverflow="false" pattern="#,##0.00" isBlankWhenNull="false" evaluationTime="Now" hyperlinkType="None" hyperlinkTarget="Self" > <reportElement x="389" y="0" width="111" height="18" key="textField-16" isRemoveLineWhenBlank="true"> <printWhenExpression><![CDATA[new Boolean((!$F{mcomplain__bu2}.equals("01")&&!$F{mcomplain__bu2}.equals("06")))]]></printWhenExpression> </reportElement> <box topBorder="None" topBorderColor="#000000" leftBorder="None" leftBorderColor="#000000" rightBorder="Thin" rightBorderColor="#000000" rightPadding="10" bottomBorder="Thin" bottomBorderColor="#000000"/> <textElement textAlignment="Right" verticalAlignment="Middle"> <font fontName="Cordia New" pdfFontName="CORDIA.TTF" size="14" isPdfEmbedded ="true" pdfEncoding ="Identity-H"/> </textElement> <textFieldExpression class="java.lang.Double"><![CDATA[$V{sumbu2}]]></textFieldExpression> </textField> </band> </groupFooter> </group> <background> <band height="0" isSplitAllowed="true" > </band> </background> <title> <band height="0" isSplitAllowed="true" > </band> </title> <pageHeader> <band height="0" isSplitAllowed="true" > </band> </pageHeader> <columnHeader> <band height="0" isSplitAllowed="true" > </band> </columnHeader> <detail> <band height="0" isSplitAllowed="true" > </band> </detail> <columnFooter> <band height="0" isSplitAllowed="true" > </band> </columnFooter> <pageFooter> <band height="0" isSplitAllowed="true" > </band> </pageFooter> <summary> <band height="0" isSplitAllowed="true" > </band> </summary> </jasperReport>