<?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="PRR210" columnCount="1" printOrder="Vertical" orientation="Landscape" pageWidth="842" pageHeight="595" columnWidth="820" columnSpacing="0" leftMargin="11" rightMargin="11" topMargin="18" bottomMargin="19" 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.*" /> <import value="com.csc.library.report.ReportUDF" /> <import value="com.csc.library.process.RoundingTime" /> <import value="com.csc.library.utilities.*" /> <parameter name="REPORTHEADER" isForPrompting="true" class="java.lang.String"> <parameterDescription><![CDATA[component]]></parameterDescription> </parameter> <parameter name="REPORT_ID" isForPrompting="true" class="java.lang.String"> <parameterDescription><![CDATA[label]]></parameterDescription> <defaultValueExpression ><![CDATA["REPORT ID"]]></defaultValueExpression> </parameter> <parameter name="DATE__T1" isForPrompting="true" class="java.lang.String"> <parameterDescription><![CDATA[label]]></parameterDescription> <defaultValueExpression ><![CDATA["Date"]]></defaultValueExpression> </parameter> <parameter name="PAGE" isForPrompting="true" class="java.lang.String"> <parameterDescription><![CDATA[label ]]></parameterDescription> <defaultValueExpression ><![CDATA["Page"]]></defaultValueExpression> </parameter> <parameter name="COMPANY" isForPrompting="true" class="java.lang.String"> <parameterDescription><![CDATA[component]]></parameterDescription> <defaultValueExpression ><![CDATA[""]]></defaultValueExpression> </parameter> <parameter name="STARTD1" isForPrompting="true" class="java.lang.String"> <parameterDescription><![CDATA[component]]></parameterDescription> <defaultValueExpression ><![CDATA[""]]></defaultValueExpression> </parameter> <parameter name="ENDD1" isForPrompting="true" class="java.lang.String"> <parameterDescription><![CDATA[component]]></parameterDescription> <defaultValueExpression ><![CDATA[""]]></defaultValueExpression> </parameter> <parameter name="LANG" isForPrompting="true" class="java.lang.String"> <parameterDescription><![CDATA[lang]]></parameterDescription> <defaultValueExpression ><![CDATA["ENG"]]></defaultValueExpression> </parameter> <parameter name="HEAD1" isForPrompting="false" class="java.lang.String"> <parameterDescription><![CDATA[label]]></parameterDescription> <defaultValueExpression ><![CDATA["PAYROLL SYSTEM"]]></defaultValueExpression> </parameter> <parameter name="EMP_AMOUNT" isForPrompting="false" class="java.lang.String"> <parameterDescription><![CDATA[label]]></parameterDescription> <defaultValueExpression ><![CDATA["AMOUNT"]]></defaultValueExpression> </parameter> <parameter name="PERIOD_MONTH" isForPrompting="false" class="java.lang.String"> <parameterDescription><![CDATA[component]]></parameterDescription> <defaultValueExpression ><![CDATA[""]]></defaultValueExpression> </parameter> <parameter name="PERIOD_YEAR" isForPrompting="false" class="java.lang.String"> <parameterDescription><![CDATA[component]]></parameterDescription> <defaultValueExpression ><![CDATA[""]]></defaultValueExpression> </parameter> <parameter name="RUN_NO" isForPrompting="false" class="java.lang.String"> <parameterDescription><![CDATA[label]]></parameterDescription> <defaultValueExpression ><![CDATA["RPR5009"]]></defaultValueExpression> </parameter> <parameter name="DATETHAI" isForPrompting="false" class="java.lang.String"> <parameterDescription><![CDATA[component]]></parameterDescription> </parameter> <parameter name="DATEENG" isForPrompting="false" class="java.lang.String"> <parameterDescription><![CDATA[component]]></parameterDescription> </parameter> <parameter name="ACTORNAME" isForPrompting="false" class="java.lang.String"> <parameterDescription><![CDATA[component]]></parameterDescription> </parameter> <parameter name="NO" isForPrompting="false" class="java.lang.String"> <parameterDescription><![CDATA[label]]></parameterDescription> <defaultValueExpression ><![CDATA["No."]]></defaultValueExpression> </parameter> <parameter name="Emp.ID" isForPrompting="false" class="java.lang.String"> <parameterDescription><![CDATA[label]]></parameterDescription> <defaultValueExpression ><![CDATA["Employee ID"]]></defaultValueExpression> </parameter> <parameter name="NAME" isForPrompting="false" class="java.lang.String"> <parameterDescription><![CDATA[label]]></parameterDescription> <defaultValueExpression ><![CDATA["Name"]]></defaultValueExpression> </parameter> <field name="memployee__companyid" class="java.lang.String"> <fieldDescription><![CDATA[Field returned by memployee__companyid]]></fieldDescription> </field> <field name="memployee__employeeid" class="java.lang.String"> <fieldDescription><![CDATA[Field returned by memployee__employeeid]]></fieldDescription> </field> <field name="memployee__branch" class="java.lang.String"> <fieldDescription><![CDATA[Field returned by memployee__branch]]></fieldDescription> </field> <field name="memployee__salatype" class="java.lang.String"> <fieldDescription><![CDATA[Field returned by memployee__salatype]]></fieldDescription> </field> <field name="memployee__bu1" class="java.lang.String"> <fieldDescription><![CDATA[Field returned by memployee__bu1]]></fieldDescription> </field> <field name="memployee__bu2" class="java.lang.String"> <fieldDescription><![CDATA[Field returned by memployee__bu2]]></fieldDescription> </field> <field name="memployee__bu3" class="java.lang.String"> <fieldDescription><![CDATA[Field returned by memployee__bu3]]></fieldDescription> </field> <field name="memployee__emp_prefix" class="java.lang.String"> <fieldDescription><![CDATA[Field returned by memployee__emp_prefix]]></fieldDescription> </field> <field name="memployee__fname" class="java.lang.String"> <fieldDescription><![CDATA[Field returned by memployee__fname]]></fieldDescription> </field> <field name="memployee__lname" class="java.lang.String"> <fieldDescription><![CDATA[Field returned by memployee__lname]]></fieldDescription> </field> <field name="memployee__efname" class="java.lang.String"> <fieldDescription><![CDATA[Field returned by memployee__efname]]></fieldDescription> </field> <field name="memployee__elname" class="java.lang.String"> <fieldDescription><![CDATA[Field returned by memployee__elname]]></fieldDescription> </field> <field name="memployee__salary" class="java.lang.Double"> <fieldDescription><![CDATA[Field returned by memployee__salary]]></fieldDescription> </field> <field name="memployee__costcenter" class="java.lang.String"> <fieldDescription><![CDATA[Field returned by memployee__costcenter]]></fieldDescription> </field> <field name="mbu1__bu1id" class="java.lang.String"> <fieldDescription><![CDATA[Field returned by mbu1__bu1id]]></fieldDescription> </field> <field name="mbu1__tdesc" class="java.lang.String"> <fieldDescription><![CDATA[Field returned by mbu1__tdesc]]></fieldDescription> </field> <field name="mbu1__edesc" class="java.lang.String"> <fieldDescription><![CDATA[Field returned by mbu1__edesc]]></fieldDescription> </field> <field name="mbu2__bu2id" class="java.lang.String"> <fieldDescription><![CDATA[Field returned by mbu2__bu2id]]></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="mbu3__bu3id" class="java.lang.String"> <fieldDescription><![CDATA[Field returned by mbu3__bu3id]]></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="mprefix__prefixid" class="java.lang.String"> <fieldDescription><![CDATA[Field returned by mprefix__prefixid]]></fieldDescription> </field> <field name="mprefix__tdesc" class="java.lang.String"> <fieldDescription><![CDATA[Field returned by mprefix__tdesc]]></fieldDescription> </field> <field name="mprefix__edesc" class="java.lang.String"> <fieldDescription><![CDATA[Field returned by mprefix__edesc]]></fieldDescription> </field> <field name="mcostcenter0__costcenterid" class="java.lang.String"> <fieldDescription><![CDATA[Field returned by mcostcenter0__costcenterid]]></fieldDescription> </field> <field name="mcostcenter0__tdesc" class="java.lang.String"> <fieldDescription><![CDATA[Field returned by mcostcenter0__tdesc]]></fieldDescription> </field> <field name="mcostcenter0__edesc" class="java.lang.String"> <fieldDescription><![CDATA[Field returned by mcostcenter0__edesc]]></fieldDescription> </field> <field name="mbranch__branchid" class="java.lang.String"> <fieldDescription><![CDATA[Field returned by mbranch__branchid]]></fieldDescription> </field> <field name="mbranch__companyid" class="java.lang.String"> <fieldDescription><![CDATA[Field returned by mbranch__companyid]]></fieldDescription> </field> <field name="mbranch__tdesc" class="java.lang.String"> <fieldDescription><![CDATA[Field returned by mbranch__tdesc]]></fieldDescription> </field> <field name="mbranch__edesc" class="java.lang.String"> <fieldDescription><![CDATA[Field returned by mbranch__edesc]]></fieldDescription> </field> <field name="tpy_his0__employeeid" class="java.lang.String"> <fieldDescription><![CDATA[Field returned by tpy_his0__employeeid]]></fieldDescription> </field> <field name="tpy_his0__companyid" class="java.lang.String"> <fieldDescription><![CDATA[Field returned by tpy_his0__companyid]]></fieldDescription> </field> <field name="tpy_his0__gendate" class="java.lang.String"> <fieldDescription><![CDATA[Field returned by tpy_his0__gendate]]></fieldDescription> </field> <field name="tpy_his0__cal_tax" class="java.lang.Integer"> <fieldDescription><![CDATA[Field returned by tpy_his0__cal_tax]]></fieldDescription> </field> <field name="tpy_his0__cal_pvf" class="java.lang.Integer"> <fieldDescription><![CDATA[Field returned by tpy_his0__cal_pvf]]></fieldDescription> </field> <field name="tpy_his0__cal_soc" class="java.lang.Integer"> <fieldDescription><![CDATA[Field returned by tpy_his0__cal_soc]]></fieldDescription> </field> <field name="tpy_his0__xml_tax" class="java.lang.String"> <fieldDescription><![CDATA[Field returned by tpy_his0__xml_tax]]></fieldDescription> </field> <field name="tpy_his0__remark" class="java.lang.String"> <fieldDescription><![CDATA[Field returned by tpy_his0__remark]]></fieldDescription> </field> <field name="tpy_his0__formulacode" class="java.lang.String"> <fieldDescription><![CDATA[Field returned by tpy_his0__formulacode]]></fieldDescription> </field> <field name="tpy_his0__end_year" class="java.lang.Integer"> <fieldDescription><![CDATA[Field returned by tpy_his0__end_year]]></fieldDescription> </field> <field name="tpy_his0__netincome" class="java.lang.Double"> <fieldDescription><![CDATA[Field returned by tpy_his0__netincome]]></fieldDescription> </field> <field name="tpy_his2__employeeid" class="java.lang.String"> <fieldDescription><![CDATA[Field returned by tpy_his2__employeeid]]></fieldDescription> </field> <field name="tpy_his2__companyid" class="java.lang.String"> <fieldDescription><![CDATA[Field returned by tpy_his2__companyid]]></fieldDescription> </field> <field name="tpy_his2__gendate" class="java.sql.Date"> <fieldDescription><![CDATA[Field returned by tpy_his2__gendate]]></fieldDescription> </field> <field name="tpy_his2__datacode" class="java.lang.String"> <fieldDescription><![CDATA[Field returned by tpy_his2__datacode]]></fieldDescription> </field> <field name="tpy_his2__data" class="java.lang.String"> <fieldDescription><![CDATA[Field returned by tpy_his2__data]]></fieldDescription> </field> <field name="tpy_his0__caption01" class="java.lang.String"> <fieldDescription><![CDATA[Field returned by tpy_his0__caption01]]></fieldDescription> </field> <field name="tpy_his0__caption02" class="java.lang.String"> <fieldDescription><![CDATA[Field returned by tpy_his0__caption02]]></fieldDescription> </field> <field name="tpy_his0__caption03" class="java.lang.String"> <fieldDescription><![CDATA[Field returned by tpy_his0__caption03]]></fieldDescription> </field> <field name="tpy_his0__caption04" class="java.lang.String"> <fieldDescription><![CDATA[Field returned by tpy_his0__caption04]]></fieldDescription> </field> <field name="tpy_his0__caption05" class="java.lang.String"> <fieldDescription><![CDATA[Field returned by tpy_his0__caption05]]></fieldDescription> </field> <field name="tpy_his0__caption06" class="java.lang.String"> <fieldDescription><![CDATA[Field returned by tpy_his0__caption06]]></fieldDescription> </field> <field name="tpy_his0__caption07" class="java.lang.String"> <fieldDescription><![CDATA[Field returned by tpy_his0__caption07]]></fieldDescription> </field> <field name="tpy_his0__caption08" class="java.lang.String"> <fieldDescription><![CDATA[Field returned by tpy_his0__caption08]]></fieldDescription> </field> <field name="tpy_his0__caption09" class="java.lang.String"> <fieldDescription><![CDATA[Field returned by tpy_his0__caption09]]></fieldDescription> </field> <field name="tpy_his0__caption10" class="java.lang.String"> <fieldDescription><![CDATA[Field returned by tpy_his0__caption10]]></fieldDescription> </field> <field name="tpy_his0__caption11" class="java.lang.String"> <fieldDescription><![CDATA[Field returned by tpy_his0__caption11]]></fieldDescription> </field> <field name="tpy_his0__caption12" class="java.lang.String"> <fieldDescription><![CDATA[Field returned by tpy_his0__caption12]]></fieldDescription> </field> <field name="tpy_his0__caption13" class="java.lang.String"> <fieldDescription><![CDATA[Field returned by tpy_his0__caption13]]></fieldDescription> </field> <field name="tpy_his0__caption14" class="java.lang.String"> <fieldDescription><![CDATA[Field returned by tpy_his0__caption14]]></fieldDescription> </field> <field name="tpy_his0__caption15" class="java.lang.String"> <fieldDescription><![CDATA[Field returned by tpy_his0__caption15]]></fieldDescription> </field> <field name="tpy_his0__caption16" class="java.lang.String"> <fieldDescription><![CDATA[Field returned by tpy_his0__caption16]]></fieldDescription> </field> <field name="tpy_his0__caption17" class="java.lang.String"> <fieldDescription><![CDATA[Field returned by tpy_his0__caption17]]></fieldDescription> </field> <field name="tpy_his0__caption18" class="java.lang.String"> <fieldDescription><![CDATA[Field returned by tpy_his0__caption18]]></fieldDescription> </field> <field name="tpy_his0__caption19" class="java.lang.String"> <fieldDescription><![CDATA[Field returned by tpy_his0__caption19]]></fieldDescription> </field> <field name="tpy_his0__caption20" class="java.lang.String"> <fieldDescription><![CDATA[Field returned by tpy_his0__caption20]]></fieldDescription> </field> <field name="tpy_his0__caption21" class="java.lang.String"> <fieldDescription><![CDATA[Field returned by tpy_his0__caption21]]></fieldDescription> </field> <field name="tpy_his0__caption22" class="java.lang.String"> <fieldDescription><![CDATA[Field returned by tpy_his0__caption22]]></fieldDescription> </field> <field name="tpy_his0__caption23" class="java.lang.String"> <fieldDescription><![CDATA[Field returned by tpy_his0__caption23]]></fieldDescription> </field> <field name="tpy_his0__caption24" class="java.lang.String"> <fieldDescription><![CDATA[Field returned by tpy_his0__caption24]]></fieldDescription> </field> <field name="tpy_his0__caption25" class="java.lang.String"> <fieldDescription><![CDATA[Field returned by tpy_his0__caption25]]></fieldDescription> </field> <field name="tpy_his0__caption26" class="java.lang.String"> <fieldDescription><![CDATA[Field returned by tpy_his0__caption26]]></fieldDescription> </field> <field name="tpy_his0__caption27" class="java.lang.String"> <fieldDescription><![CDATA[Field returned by tpy_his0__caption27]]></fieldDescription> </field> <field name="tpy_his0__caption28" class="java.lang.String"> <fieldDescription><![CDATA[Field returned by tpy_his0__caption28]]></fieldDescription> </field> <field name="tpy_his0__caption29" class="java.lang.String"> <fieldDescription><![CDATA[Field returned by tpy_his0__caption29]]></fieldDescription> </field> <field name="tpy_his0__caption30" class="java.lang.String"> <fieldDescription><![CDATA[Field returned by tpy_his0__caption30]]></fieldDescription> </field> <field name="tpy_his0__formula01" class="java.lang.String"> <fieldDescription><![CDATA[Field returned by tpy_his0__formula01]]></fieldDescription> </field> <field name="tpy_his0__formula02" class="java.lang.String"> <fieldDescription><![CDATA[Field returned by tpy_his0__formula02]]></fieldDescription> </field> <field name="tpy_his0__formula03" class="java.lang.String"> <fieldDescription><![CDATA[Field returned by tpy_his0__formula03]]></fieldDescription> </field> <field name="tpy_his0__formula04" class="java.lang.String"> <fieldDescription><![CDATA[Field returned by tpy_his0__formula04]]></fieldDescription> </field> <field name="tpy_his0__formula05" class="java.lang.String"> <fieldDescription><![CDATA[Field returned by tpy_his0__formula05]]></fieldDescription> </field> <field name="tpy_his0__formula06" class="java.lang.String"> <fieldDescription><![CDATA[Field returned by tpy_his0__formula06]]></fieldDescription> </field> <field name="tpy_his0__formula07" class="java.lang.String"> <fieldDescription><![CDATA[Field returned by tpy_his0__formula07]]></fieldDescription> </field> <field name="tpy_his0__formula08" class="java.lang.String"> <fieldDescription><![CDATA[Field returned by tpy_his0__formula08]]></fieldDescription> </field> <field name="tpy_his0__formula09" class="java.lang.String"> <fieldDescription><![CDATA[Field returned by tpy_his0__formula09]]></fieldDescription> </field> <field name="tpy_his0__formula10" class="java.lang.String"> <fieldDescription><![CDATA[Field returned by tpy_his0__formula10]]></fieldDescription> </field> <field name="tpy_his0__formula11" class="java.lang.String"> <fieldDescription><![CDATA[Field returned by tpy_his0__formula11]]></fieldDescription> </field> <field name="tpy_his0__formula12" class="java.lang.String"> <fieldDescription><![CDATA[Field returned by tpy_his0__formula12]]></fieldDescription> </field> <field name="tpy_his0__formula13" class="java.lang.String"> <fieldDescription><![CDATA[Field returned by tpy_his0__formula13]]></fieldDescription> </field> <field name="tpy_his0__formula14" class="java.lang.String"> <fieldDescription><![CDATA[Field returned by tpy_his0__formula14]]></fieldDescription> </field> <field name="tpy_his0__formula15" class="java.lang.String"> <fieldDescription><![CDATA[Field returned by tpy_his0__formula15]]></fieldDescription> </field> <field name="tpy_his0__formula16" class="java.lang.String"> <fieldDescription><![CDATA[Field returned by tpy_his0__formula16]]></fieldDescription> </field> <field name="tpy_his0__formula17" class="java.lang.String"> <fieldDescription><![CDATA[Field returned by tpy_his0__formula17]]></fieldDescription> </field> <field name="tpy_his0__formula18" class="java.lang.String"> <fieldDescription><![CDATA[Field returned by tpy_his0__formula18]]></fieldDescription> </field> <field name="tpy_his0__formula19" class="java.lang.String"> <fieldDescription><![CDATA[Field returned by tpy_his0__formula19]]></fieldDescription> </field> <field name="tpy_his0__formula20" class="java.lang.String"> <fieldDescription><![CDATA[Field returned by tpy_his0__formula20]]></fieldDescription> </field> <field name="tpy_his0__formula21" class="java.lang.String"> <fieldDescription><![CDATA[Field returned by tpy_his0__formula21]]></fieldDescription> </field> <field name="tpy_his0__formula22" class="java.lang.String"> <fieldDescription><![CDATA[Field returned by tpy_his0__formula22]]></fieldDescription> </field> <field name="tpy_his0__formula23" class="java.lang.String"> <fieldDescription><![CDATA[Field returned by tpy_his0__formula23]]></fieldDescription> </field> <field name="tpy_his0__formula24" class="java.lang.String"> <fieldDescription><![CDATA[Field returned by tpy_his0__formula24]]></fieldDescription> </field> <field name="tpy_his0__formula25" class="java.lang.String"> <fieldDescription><![CDATA[Field returned by tpy_his0__formula25]]></fieldDescription> </field> <field name="tpy_his0__formula26" class="java.lang.String"> <fieldDescription><![CDATA[Field returned by tpy_his0__formula26]]></fieldDescription> </field> <field name="tpy_his0__formula27" class="java.lang.String"> <fieldDescription><![CDATA[Field returned by tpy_his0__formula27]]></fieldDescription> </field> <field name="tpy_his0__formula28" class="java.lang.String"> <fieldDescription><![CDATA[Field returned by tpy_his0__formula28]]></fieldDescription> </field> <field name="tpy_his0__formula29" class="java.lang.String"> <fieldDescription><![CDATA[Field returned by tpy_his0__formula29]]></fieldDescription> </field> <field name="tpy_his0__formula30" class="java.lang.String"> <fieldDescription><![CDATA[Field returned by tpy_his0__formula30]]></fieldDescription> </field> <field name="tpy_his0__daycount" class="java.lang.String"> <fieldDescription><![CDATA[Field returned by tpy_his0__daycount]]></fieldDescription> </field> <field name="tpy_his0__work" class="java.lang.String"> <fieldDescription><![CDATA[Field returned by tpy_his0__work]]></fieldDescription> </field> <field name="tpy_his0____work" class="java.lang.String"> <fieldDescription><![CDATA[Field returned by tpy_his0____work]]></fieldDescription> </field> <field name="tpy_his0__ot5" class="java.lang.String"> <fieldDescription><![CDATA[Field returned by tpy_his0__ot5]]></fieldDescription> </field> <field name="tpy_his0__ot2" class="java.lang.String"> <fieldDescription><![CDATA[Field returned by tpy_his0__ot2]]></fieldDescription> </field> <field name="tpy_his0__ot3" class="java.lang.String"> <fieldDescription><![CDATA[Field returned by tpy_his0__ot3]]></fieldDescription> </field> <field name="memployee__fullname" class="java.lang.String"> <fieldDescription><![CDATA[Field returned by memployee__fullname]]></fieldDescription> </field> <field name="memployee__paymentdate" class="java.lang.String"> <fieldDescription><![CDATA[Field returned by memployee__paymentdate]]></fieldDescription> </field> <variable name="count" class="java.lang.Integer" resetType="Report" calculation="Sum"> <variableExpression><![CDATA[ ( new CheckNull().chkNullStringToDouble($F{tpy_his0__ot5})+ new CheckNull().chkNullStringToDouble($F{tpy_his0__ot2})+ new CheckNull().chkNullStringToDouble($F{tpy_his0__ot3}) )>0 ?new Integer(1):new Integer(0)]]></variableExpression> </variable> <background> <band height="0" isSplitAllowed="true" > </band> </background> <title> <band height="0" isSplitAllowed="true" > </band> </title> <pageHeader> <band height="105" isSplitAllowed="true" > <textField isStretchWithOverflow="false" pattern="" isBlankWhenNull="false" evaluationTime="Now" hyperlinkType="None" hyperlinkTarget="Self" > <reportElement mode="Transparent" x="0" y="86" width="352" height="17" forecolor="#000000" backcolor="#FFFFFF" key="textField-531"/> <box topBorder="None" topBorderColor="#000000" leftBorder="None" leftBorderColor="#000000" rightBorder="None" rightBorderColor="#000000" bottomBorder="None" bottomBorderColor="#000000"/> <textElement textAlignment="Left" verticalAlignment="Middle" lineSpacing="Single"> <font fontName="Cordia New" pdfFontName="CORDIA.TTF" size="14" isBold="true" isItalic="false" isUnderline="false" isPdfEmbedded ="true" pdfEncoding ="Identity-H" isStrikeThrough="false" /> </textElement> <textFieldExpression class="java.lang.String"><![CDATA[$P{LANG}.equalsIgnoreCase("ENG")? "For Month of "+new CscCalendar("01-"+$P{PERIOD_MONTH}+"-2012").getEngLongMonth() + " " +new CscCalendar("01-01-"+$P{PERIOD_YEAR}).getEngYYYY(): "ประจำเดือน "+new CscCalendar("01-"+$P{PERIOD_MONTH}+"-2012").getThaiLongMonth() + " " +new CscCalendar("01-01-"+$P{PERIOD_YEAR}).getThaiYYYY()]]></textFieldExpression> </textField> <textField isStretchWithOverflow="false" pattern="" isBlankWhenNull="false" evaluationTime="Now" hyperlinkType="None" hyperlinkTarget="Self" > <reportElement mode="Transparent" x="767" y="62" width="20" height="17" forecolor="#000000" backcolor="#FFFFFF" key="textField-536"/> <box topBorder="None" topBorderColor="#000000" leftBorder="None" leftBorderColor="#000000" rightBorder="None" rightBorderColor="#000000" bottomBorder="None" bottomBorderColor="#000000"/> <textElement textAlignment="Right" verticalAlignment="Top" lineSpacing="Single"> <font fontName="Cordia New" pdfFontName="CORDIA.TTF" size="14" isBold="false" isItalic="false" isUnderline="false" isPdfEmbedded ="true" pdfEncoding ="Identity-H" isStrikeThrough="false" /> </textElement> <textFieldExpression class="java.lang.String"><![CDATA[$V{PAGE_NUMBER} + ""]]></textFieldExpression> </textField> <textField isStretchWithOverflow="false" pattern="" isBlankWhenNull="false" evaluationTime="Report" hyperlinkType="None" hyperlinkTarget="Self" > <reportElement mode="Transparent" x="789" y="62" width="27" height="17" forecolor="#000000" backcolor="#FFFFFF" key="textField-537"/> <box topBorder="None" topBorderColor="#000000" leftBorder="None" leftBorderColor="#000000" rightBorder="None" rightBorderColor="#000000" bottomBorder="None" bottomBorderColor="#000000"/> <textElement textAlignment="Left" verticalAlignment="Top" lineSpacing="Single"> <font fontName="Cordia New" pdfFontName="CORDIA.TTF" size="14" isBold="false" isItalic="false" isUnderline="false" isPdfEmbedded ="true" pdfEncoding ="Identity-H" isStrikeThrough="false" /> </textElement> <textFieldExpression class="java.lang.String"><![CDATA["/ " + $V{PAGE_NUMBER}]]></textFieldExpression> </textField> <textField isStretchWithOverflow="false" pattern="" isBlankWhenNull="false" evaluationTime="Now" hyperlinkType="None" hyperlinkTarget="Self" > <reportElement mode="Transparent" x="0" y="1" width="383" height="27" forecolor="#000000" backcolor="#FFFFFF" key="textField-538"/> <box topBorder="None" topBorderColor="#000000" leftBorder="None" leftBorderColor="#000000" rightBorder="None" rightBorderColor="#000000" bottomBorder="None" bottomBorderColor="#000000"/> <textElement textAlignment="Left" verticalAlignment="Top" lineSpacing="Single"> <font fontName="Cordia New" pdfFontName="CORDIA.TTF" size="24" isBold="true" isItalic="false" isUnderline="false" isPdfEmbedded ="true" pdfEncoding ="Identity-H" isStrikeThrough="false" /> </textElement> <textFieldExpression class="java.lang.String"><![CDATA[$P{COMPANY}]]></textFieldExpression> </textField> <textField isStretchWithOverflow="true" pattern="" isBlankWhenNull="false" evaluationTime="Now" hyperlinkType="None" hyperlinkTarget="Self" > <reportElement mode="Transparent" x="767" y="45" width="52" height="17" forecolor="#000000" backcolor="#FFFFFF" key="textField-539"/> <box topBorder="None" topBorderColor="#000000" leftBorder="None" leftBorderColor="#000000" rightBorder="None" rightBorderColor="#000000" bottomBorder="None" bottomBorderColor="#000000"/> <textElement textAlignment="Left" verticalAlignment="Top" lineSpacing="Single"> <font fontName="Cordia New" pdfFontName="CORDIA.TTF" size="14" isBold="false" isItalic="false" isUnderline="false" isPdfEmbedded ="true" pdfEncoding ="Identity-H" isStrikeThrough="false" /> </textElement> <textFieldExpression class="java.lang.String"><![CDATA[$P{RUN_NO}]]></textFieldExpression> </textField> <textField isStretchWithOverflow="false" pattern="" isBlankWhenNull="false" evaluationTime="Now" hyperlinkType="None" hyperlinkTarget="Self" > <reportElement mode="Transparent" x="75" y="45" width="329" height="17" forecolor="#000000" backcolor="#FFFFFF" key="textField-540"/> <box topBorder="None" topBorderColor="#000000" leftBorder="None" leftBorderColor="#000000" rightBorder="None" rightBorderColor="#000000" bottomBorder="None" bottomBorderColor="#000000"/> <textElement textAlignment="Left" verticalAlignment="Top" lineSpacing="Single"> <font fontName="Cordia New" pdfFontName="CORDIA.TTF" size="14" isBold="false" isItalic="false" isUnderline="false" isPdfEmbedded ="true" pdfEncoding ="Identity-H" isStrikeThrough="false" /> </textElement> <textFieldExpression class="java.lang.String"><![CDATA[$P{LANG}.equalsIgnoreCase("tha")? $P{DATETHAI}:$P{DATEENG}]]></textFieldExpression> </textField> <textField isStretchWithOverflow="false" pattern="" isBlankWhenNull="false" evaluationTime="Now" hyperlinkType="None" hyperlinkTarget="Self" > <reportElement mode="Transparent" x="75" y="62" width="329" height="17" forecolor="#000000" backcolor="#FFFFFF" key="textField-541"/> <box topBorder="None" topBorderColor="#000000" leftBorder="None" leftBorderColor="#000000" rightBorder="None" rightBorderColor="#000000" bottomBorder="None" bottomBorderColor="#000000"/> <textElement textAlignment="Left" verticalAlignment="Top" lineSpacing="Single"> <font fontName="Cordia New" pdfFontName="CORDIA.TTF" size="14" isBold="false" isItalic="false" isUnderline="false" isPdfEmbedded ="true" pdfEncoding ="Identity-H" isStrikeThrough="false" /> </textElement> <textFieldExpression class="java.lang.String"><![CDATA[$P{LANG}.equalsIgnoreCase("tha")? $P{ACTORNAME}:$P{ACTORNAME}]]></textFieldExpression> </textField> <textField isStretchWithOverflow="false" pattern="" isBlankWhenNull="false" evaluationTime="Now" hyperlinkType="None" hyperlinkTarget="Self" > <reportElement mode="Transparent" x="0" y="45" width="69" height="17" forecolor="#000000" backcolor="#FFFFFF" key="textField-542"/> <box topBorder="None" topBorderColor="#000000" leftBorder="None" leftBorderColor="#000000" rightBorder="None" rightBorderColor="#000000" bottomBorder="None" bottomBorderColor="#000000"/> <textElement textAlignment="Left" verticalAlignment="Top" lineSpacing="Single"> <font fontName="Cordia New" pdfFontName="CORDIAB.TTF" size="14" isBold="true" isItalic="false" isUnderline="false" isPdfEmbedded ="true" pdfEncoding ="Identity-H" isStrikeThrough="false" /> </textElement> <textFieldExpression class="java.lang.String"><![CDATA[$P{LANG}.equalsIgnoreCase("tha")? "วันที่พิมพ์ : ":"Print date : "]]></textFieldExpression> </textField> <textField isStretchWithOverflow="false" pattern="" isBlankWhenNull="false" evaluationTime="Now" hyperlinkType="None" hyperlinkTarget="Self" > <reportElement mode="Transparent" x="0" y="62" width="69" height="17" forecolor="#000000" backcolor="#FFFFFF" key="textField-543"/> <box topBorder="None" topBorderColor="#000000" leftBorder="None" leftBorderColor="#000000" rightBorder="None" rightBorderColor="#000000" bottomBorder="None" bottomBorderColor="#000000"/> <textElement textAlignment="Left" verticalAlignment="Top" lineSpacing="Single"> <font fontName="Cordia New" pdfFontName="CORDIAB.TTF" size="14" isBold="true" isItalic="false" isUnderline="false" isPdfEmbedded ="true" pdfEncoding ="Identity-H" isStrikeThrough="false" /> </textElement> <textFieldExpression class="java.lang.String"><![CDATA[$P{LANG}.equalsIgnoreCase("tha")? "พิมพ์โดย : ":"Print by : "]]></textFieldExpression> </textField> <textField isStretchWithOverflow="false" pattern="" isBlankWhenNull="false" evaluationTime="Now" hyperlinkType="None" hyperlinkTarget="Self" > <reportElement mode="Transparent" x="720" y="45" width="45" height="17" forecolor="#000000" backcolor="#FFFFFF" key="textField-544"/> <box topBorder="None" topBorderColor="#000000" leftBorder="None" leftBorderColor="#000000" rightBorder="None" rightBorderColor="#000000" bottomBorder="None" bottomBorderColor="#000000"/> <textElement textAlignment="Left" verticalAlignment="Top" lineSpacing="Single"> <font fontName="Cordia New" pdfFontName="CORDIAB.TTF" size="14" isBold="true" isItalic="false" isUnderline="false" isPdfEmbedded ="true" pdfEncoding ="Identity-H" isStrikeThrough="false" /> </textElement> <textFieldExpression class="java.lang.String"><![CDATA[$P{LANG}.equalsIgnoreCase("tha")? "อ้างอิง # ":"Ref # "]]></textFieldExpression> </textField> <textField isStretchWithOverflow="false" pattern="" isBlankWhenNull="false" evaluationTime="Now" hyperlinkType="None" hyperlinkTarget="Self" > <reportElement mode="Transparent" x="720" y="62" width="45" height="17" forecolor="#000000" backcolor="#FFFFFF" key="textField-545"/> <box topBorder="None" topBorderColor="#000000" leftBorder="None" leftBorderColor="#000000" rightBorder="None" rightBorderColor="#000000" bottomBorder="None" bottomBorderColor="#000000"/> <textElement textAlignment="Left" verticalAlignment="Top" lineSpacing="Single"> <font fontName="Cordia New" pdfFontName="CORDIAB.TTF" size="14" isBold="true" isItalic="false" isUnderline="false" isPdfEmbedded ="true" pdfEncoding ="Identity-H" isStrikeThrough="false" /> </textElement> <textFieldExpression class="java.lang.String"><![CDATA[$P{LANG}.equalsIgnoreCase("tha")? "หน้า":"Page"]]></textFieldExpression> </textField> <textField isStretchWithOverflow="false" pattern="" isBlankWhenNull="false" evaluationTime="Now" hyperlinkType="None" hyperlinkTarget="Self" > <reportElement mode="Transparent" x="75" y="28" width="329" height="17" forecolor="#000000" backcolor="#FFFFFF" key="textField-546"/> <box topBorder="None" topBorderColor="#000000" leftBorder="None" leftBorderColor="#000000" rightBorder="None" rightBorderColor="#000000" bottomBorder="None" bottomBorderColor="#000000"/> <textElement textAlignment="Left" verticalAlignment="Top" lineSpacing="Single"> <font fontName="Cordia New" pdfFontName="CORDIAB.TTF" size="14" 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="false" pattern="" isBlankWhenNull="false" evaluationTime="Now" hyperlinkType="None" hyperlinkTarget="Self" > <reportElement mode="Transparent" x="0" y="28" width="69" height="17" forecolor="#000000" backcolor="#FFFFFF" key="textField-547"/> <box topBorder="None" topBorderColor="#000000" leftBorder="None" leftBorderColor="#000000" rightBorder="None" rightBorderColor="#000000" bottomBorder="None" bottomBorderColor="#000000"/> <textElement textAlignment="Left" verticalAlignment="Top" lineSpacing="Single"> <font fontName="Cordia New" pdfFontName="CORDIAB.TTF" size="14" isBold="true" isItalic="false" isUnderline="false" isPdfEmbedded ="true" pdfEncoding ="Identity-H" isStrikeThrough="false" /> </textElement> <textFieldExpression class="java.lang.String"><![CDATA[$P{LANG}.equalsIgnoreCase("tha")? "รายงาน : ":"Report Name : "]]></textFieldExpression> </textField> </band> </pageHeader> <columnHeader> <band height="33" isSplitAllowed="true" > <textField isStretchWithOverflow="false" isBlankWhenNull="false" evaluationTime="Now" hyperlinkType="None" hyperlinkTarget="Self" > <reportElement x="759" y="0" width="61" height="33" key="textField-251"/> <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="12" isPdfEmbedded ="true" pdfEncoding ="Identity-H"/> </textElement> <textFieldExpression class="java.lang.String"><![CDATA[$F{tpy_his0__caption05}]]></textFieldExpression> </textField> <textField isStretchWithOverflow="false" isBlankWhenNull="false" evaluationTime="Now" hyperlinkType="None" hyperlinkTarget="Self" > <reportElement x="0" y="0" width="23" height="33" key="textField-256"/> <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="12" isPdfEmbedded ="true" pdfEncoding ="Identity-H"/> </textElement> <textFieldExpression class="java.lang.String"><![CDATA[$P{NO}]]></textFieldExpression> </textField> <textField isStretchWithOverflow="false" isBlankWhenNull="false" evaluationTime="Now" hyperlinkType="None" hyperlinkTarget="Self" > <reportElement x="23" y="0" width="52" height="33" key="textField-480"/> <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="12" isPdfEmbedded ="true" pdfEncoding ="Identity-H"/> </textElement> <textFieldExpression class="java.lang.String"><![CDATA[$P{Emp.ID}]]></textFieldExpression> </textField> <textField isStretchWithOverflow="false" isBlankWhenNull="false" evaluationTime="Now" hyperlinkType="None" hyperlinkTarget="Self" > <reportElement x="75" y="0" width="116" height="33" key="textField-481"/> <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="12" isPdfEmbedded ="true" pdfEncoding ="Identity-H"/> </textElement> <textFieldExpression class="java.lang.String"><![CDATA[$P{NAME}]]></textFieldExpression> </textField> <textField isStretchWithOverflow="false" isBlankWhenNull="false" evaluationTime="Now" hyperlinkType="None" hyperlinkTarget="Self" > <reportElement x="191" y="14" width="43" height="19" key="textField-494"/> <box topBorder="None" topBorderColor="#000000" leftBorder="None" leftBorderColor="#000000" rightBorder="Thin" rightBorderColor="#000000" bottomBorder="Thin" bottomBorderColor="#000000"/> <textElement textAlignment="Center" verticalAlignment="Middle" rotation="None"> <font fontName="Cordia New" pdfFontName="CORDIA.TTF" size="12" isPdfEmbedded ="true" pdfEncoding ="Identity-H"/> </textElement> <textFieldExpression class="java.lang.String"><![CDATA[$P{LANG}.equalsIgnoreCase("tha")? "หน่วยละ":"Per Unit"]]></textFieldExpression> </textField> <textField isStretchWithOverflow="false" isBlankWhenNull="false" evaluationTime="Now" hyperlinkType="None" hyperlinkTarget="Self" > <reportElement x="234" y="14" width="56" height="19" key="textField-495"/> <box topBorder="None" topBorderColor="#000000" leftBorder="None" leftBorderColor="#000000" rightBorder="Thin" rightBorderColor="#000000" bottomBorder="Thin" bottomBorderColor="#000000"/> <textElement textAlignment="Center" verticalAlignment="Middle" rotation="None"> <font fontName="Cordia New" pdfFontName="CORDIA.TTF" size="12" isPdfEmbedded ="true" pdfEncoding ="Identity-H"/> </textElement> <textFieldExpression class="java.lang.String"><![CDATA[$P{LANG}.equalsIgnoreCase("tha")? "จำนวนหน่วย":"Number of Unit"]]></textFieldExpression> </textField> <textField isStretchWithOverflow="false" isBlankWhenNull="false" evaluationTime="Now" hyperlinkType="None" hyperlinkTarget="Self" > <reportElement x="290" y="14" width="43" height="19" key="textField-496"/> <box topBorder="None" topBorderColor="#000000" leftBorder="None" leftBorderColor="#000000" rightBorder="Thin" rightBorderColor="#000000" bottomBorder="Thin" bottomBorderColor="#000000"/> <textElement textAlignment="Center" verticalAlignment="Middle" rotation="None"> <font fontName="Cordia New" pdfFontName="CORDIA.TTF" size="12" isPdfEmbedded ="true" pdfEncoding ="Identity-H"/> </textElement> <textFieldExpression class="java.lang.String"><![CDATA[$P{LANG}.equalsIgnoreCase("tha")? "รวมเงิน":"Summary"]]></textFieldExpression> </textField> <textField isStretchWithOverflow="false" isBlankWhenNull="false" evaluationTime="Now" hyperlinkType="None" hyperlinkTarget="Self" > <reportElement x="333" y="14" width="43" height="19" key="textField-498"/> <box topBorder="None" topBorderColor="#000000" leftBorder="None" leftBorderColor="#000000" rightBorder="Thin" rightBorderColor="#000000" bottomBorder="Thin" bottomBorderColor="#000000"/> <textElement textAlignment="Center" verticalAlignment="Middle" rotation="None"> <font fontName="Cordia New" pdfFontName="CORDIA.TTF" size="12" isPdfEmbedded ="true" pdfEncoding ="Identity-H"/> </textElement> <textFieldExpression class="java.lang.String"><![CDATA[$P{LANG}.equalsIgnoreCase("tha")? "หน่วยละ":"Per Unit"]]></textFieldExpression> </textField> <textField isStretchWithOverflow="false" isBlankWhenNull="false" evaluationTime="Now" hyperlinkType="None" hyperlinkTarget="Self" > <reportElement x="376" y="14" width="56" height="19" key="textField-499"/> <box topBorder="None" topBorderColor="#000000" leftBorder="None" leftBorderColor="#000000" rightBorder="Thin" rightBorderColor="#000000" bottomBorder="Thin" bottomBorderColor="#000000"/> <textElement textAlignment="Center" verticalAlignment="Middle" rotation="None"> <font fontName="Cordia New" pdfFontName="CORDIA.TTF" size="12" isPdfEmbedded ="true" pdfEncoding ="Identity-H"/> </textElement> <textFieldExpression class="java.lang.String"><![CDATA[$P{LANG}.equalsIgnoreCase("tha")? "จำนวนหน่วย":"Number of Unit"]]></textFieldExpression> </textField> <textField isStretchWithOverflow="false" isBlankWhenNull="false" evaluationTime="Now" hyperlinkType="None" hyperlinkTarget="Self" > <reportElement x="432" y="14" width="43" height="19" key="textField-500"/> <box topBorder="None" topBorderColor="#000000" leftBorder="None" leftBorderColor="#000000" rightBorder="Thin" rightBorderColor="#000000" bottomBorder="Thin" bottomBorderColor="#000000"/> <textElement textAlignment="Center" verticalAlignment="Middle" rotation="None"> <font fontName="Cordia New" pdfFontName="CORDIA.TTF" size="12" isPdfEmbedded ="true" pdfEncoding ="Identity-H"/> </textElement> <textFieldExpression class="java.lang.String"><![CDATA[$P{LANG}.equalsIgnoreCase("tha")? "รวมเงิน":"Summary"]]></textFieldExpression> </textField> <textField isStretchWithOverflow="false" isBlankWhenNull="false" evaluationTime="Now" hyperlinkType="None" hyperlinkTarget="Self" > <reportElement x="475" y="14" width="43" height="19" key="textField-502"/> <box topBorder="None" topBorderColor="#000000" leftBorder="None" leftBorderColor="#000000" rightBorder="Thin" rightBorderColor="#000000" bottomBorder="Thin" bottomBorderColor="#000000"/> <textElement textAlignment="Center" verticalAlignment="Middle" rotation="None"> <font fontName="Cordia New" pdfFontName="CORDIA.TTF" size="12" isPdfEmbedded ="true" pdfEncoding ="Identity-H"/> </textElement> <textFieldExpression class="java.lang.String"><![CDATA[$P{LANG}.equalsIgnoreCase("tha")? "หน่วยละ":"Per Unit"]]></textFieldExpression> </textField> <textField isStretchWithOverflow="false" isBlankWhenNull="false" evaluationTime="Now" hyperlinkType="None" hyperlinkTarget="Self" > <reportElement x="518" y="14" width="56" height="19" key="textField-503"/> <box topBorder="None" topBorderColor="#000000" leftBorder="None" leftBorderColor="#000000" rightBorder="Thin" rightBorderColor="#000000" bottomBorder="Thin" bottomBorderColor="#000000"/> <textElement textAlignment="Center" verticalAlignment="Middle" rotation="None"> <font fontName="Cordia New" pdfFontName="CORDIA.TTF" size="12" isPdfEmbedded ="true" pdfEncoding ="Identity-H"/> </textElement> <textFieldExpression class="java.lang.String"><![CDATA[$P{LANG}.equalsIgnoreCase("tha")? "จำนวนหน่วย":"Number of Unit"]]></textFieldExpression> </textField> <textField isStretchWithOverflow="false" isBlankWhenNull="false" evaluationTime="Now" hyperlinkType="None" hyperlinkTarget="Self" > <reportElement x="574" y="14" width="43" height="19" key="textField-504"/> <box topBorder="None" topBorderColor="#000000" leftBorder="None" leftBorderColor="#000000" rightBorder="Thin" rightBorderColor="#000000" bottomBorder="Thin" bottomBorderColor="#000000"/> <textElement textAlignment="Center" verticalAlignment="Middle" rotation="None"> <font fontName="Cordia New" pdfFontName="CORDIA.TTF" size="12" isPdfEmbedded ="true" pdfEncoding ="Identity-H"/> </textElement> <textFieldExpression class="java.lang.String"><![CDATA[$P{LANG}.equalsIgnoreCase("tha")? "รวมเงิน":"Summary"]]></textFieldExpression> </textField> <textField isStretchWithOverflow="false" isBlankWhenNull="false" evaluationTime="Now" hyperlinkType="None" hyperlinkTarget="Self" > <reportElement x="617" y="14" width="43" height="19" key="textField-506"/> <box topBorder="None" topBorderColor="#000000" leftBorder="None" leftBorderColor="#000000" rightBorder="Thin" rightBorderColor="#000000" bottomBorder="Thin" bottomBorderColor="#000000"/> <textElement textAlignment="Center" verticalAlignment="Middle" rotation="None"> <font fontName="Cordia New" pdfFontName="CORDIA.TTF" size="12" isPdfEmbedded ="true" pdfEncoding ="Identity-H"/> </textElement> <textFieldExpression class="java.lang.String"><![CDATA[$P{LANG}.equalsIgnoreCase("tha")? "หน่วยละ":"Per Unit"]]></textFieldExpression> </textField> <textField isStretchWithOverflow="false" isBlankWhenNull="false" evaluationTime="Now" hyperlinkType="None" hyperlinkTarget="Self" > <reportElement x="660" y="14" width="56" height="19" key="textField-507"/> <box topBorder="None" topBorderColor="#000000" leftBorder="None" leftBorderColor="#000000" rightBorder="Thin" rightBorderColor="#000000" bottomBorder="Thin" bottomBorderColor="#000000"/> <textElement textAlignment="Center" verticalAlignment="Middle" rotation="None"> <font fontName="Cordia New" pdfFontName="CORDIA.TTF" size="12" isPdfEmbedded ="true" pdfEncoding ="Identity-H"/> </textElement> <textFieldExpression class="java.lang.String"><![CDATA[$P{LANG}.equalsIgnoreCase("tha")? "จำนวนหน่วย":"Number of Unit"]]></textFieldExpression> </textField> <textField isStretchWithOverflow="false" isBlankWhenNull="false" evaluationTime="Now" hyperlinkType="None" hyperlinkTarget="Self" > <reportElement x="716" y="14" width="43" height="19" key="textField-508"/> <box topBorder="None" topBorderColor="#000000" leftBorder="None" leftBorderColor="#000000" rightBorder="Thin" rightBorderColor="#000000" bottomBorder="Thin" bottomBorderColor="#000000"/> <textElement textAlignment="Center" verticalAlignment="Middle" rotation="None"> <font fontName="Cordia New" pdfFontName="CORDIA.TTF" size="12" isPdfEmbedded ="true" pdfEncoding ="Identity-H"/> </textElement> <textFieldExpression class="java.lang.String"><![CDATA[$P{LANG}.equalsIgnoreCase("tha")? "รวมเงิน":"Summary"]]></textFieldExpression> </textField> <textField isStretchWithOverflow="false" isBlankWhenNull="false" evaluationTime="Now" hyperlinkType="None" hyperlinkTarget="Self" > <reportElement x="617" y="0" width="142" height="14" key="textField-548"/> <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="12" isPdfEmbedded ="true" pdfEncoding ="Identity-H"/> </textElement> <textFieldExpression class="java.lang.String"><![CDATA[$F{tpy_his0__caption04}]]></textFieldExpression> </textField> <textField isStretchWithOverflow="false" isBlankWhenNull="false" evaluationTime="Now" hyperlinkType="None" hyperlinkTarget="Self" > <reportElement x="475" y="0" width="142" height="14" key="textField-549"/> <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="12" isPdfEmbedded ="true" pdfEncoding ="Identity-H"/> </textElement> <textFieldExpression class="java.lang.String"><![CDATA[$F{tpy_his0__caption03}]]></textFieldExpression> </textField> <textField isStretchWithOverflow="false" isBlankWhenNull="false" evaluationTime="Now" hyperlinkType="None" hyperlinkTarget="Self" > <reportElement x="333" y="0" width="142" height="14" key="textField-550"/> <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="12" isPdfEmbedded ="true" pdfEncoding ="Identity-H"/> </textElement> <textFieldExpression class="java.lang.String"><![CDATA[$F{tpy_his0__caption02}]]></textFieldExpression> </textField> <textField isStretchWithOverflow="false" isBlankWhenNull="false" evaluationTime="Now" hyperlinkType="None" hyperlinkTarget="Self" > <reportElement x="191" y="0" width="142" height="14" key="textField-551"/> <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="12" isPdfEmbedded ="true" pdfEncoding ="Identity-H"/> </textElement> <textFieldExpression class="java.lang.String"><![CDATA[$F{tpy_his0__caption01}]]></textFieldExpression> </textField> </band> </columnHeader> <detail> <band height="18" isSplitAllowed="true" > <printWhenExpression><![CDATA[new Boolean( ( new CheckNull().chkNullStringToDouble($F{tpy_his0__ot5})+ new CheckNull().chkNullStringToDouble($F{tpy_his0__ot2})+ new CheckNull().chkNullStringToDouble($F{tpy_his0__ot3}) )>0 ) ]]></printWhenExpression> <textField isStretchWithOverflow="false" isBlankWhenNull="false" evaluationTime="Now" hyperlinkType="None" hyperlinkTarget="Self" > <reportElement x="23" y="0" width="52" height="18" key="textField-457"/> <box topBorder="None" topBorderColor="#000000" leftBorder="None" leftBorderColor="#000000" leftPadding="2" rightBorder="Thin" rightBorderColor="#000000" rightPadding="2" bottomBorder="Thin" bottomBorderColor="#000000"/> <textElement textAlignment="Left" verticalAlignment="Middle"> <font fontName="Cordia New" pdfFontName="CORDIA.TTF" size="12" isPdfEmbedded ="true" pdfEncoding ="Identity-H"/> </textElement> <textFieldExpression class="java.lang.String"><![CDATA[$F{memployee__employeeid}]]></textFieldExpression> </textField> <textField isStretchWithOverflow="false" isBlankWhenNull="false" evaluationTime="Now" hyperlinkType="None" hyperlinkTarget="Self" > <reportElement x="75" y="0" width="116" height="18" key="textField-509"/> <box topBorder="None" topBorderColor="#000000" leftBorder="None" leftBorderColor="#000000" leftPadding="2" rightBorder="Thin" rightBorderColor="#000000" rightPadding="2" bottomBorder="Thin" bottomBorderColor="#000000"/> <textElement textAlignment="Left" verticalAlignment="Middle"> <font fontName="Cordia New" pdfFontName="CORDIA.TTF" size="12" isPdfEmbedded ="true" pdfEncoding ="Identity-H"/> </textElement> <textFieldExpression class="java.lang.String"><![CDATA[$F{memployee__fullname}]]></textFieldExpression> </textField> <textField isStretchWithOverflow="false" isBlankWhenNull="false" evaluationTime="Now" hyperlinkType="None" hyperlinkTarget="Self" > <reportElement x="0" y="0" width="23" height="18" key="textField-510"/> <box topBorder="None" topBorderColor="#000000" leftBorder="Thin" leftBorderColor="#000000" leftPadding="2" rightBorder="Thin" rightBorderColor="#000000" rightPadding="2" bottomBorder="Thin" bottomBorderColor="#000000"/> <textElement textAlignment="Center" verticalAlignment="Middle"> <font fontName="Cordia New" pdfFontName="CORDIA.TTF" size="12" isPdfEmbedded ="true" pdfEncoding ="Identity-H"/> </textElement> <textFieldExpression class="java.lang.String"><![CDATA[String.valueOf($V{count})]]></textFieldExpression> </textField> <textField isStretchWithOverflow="false" pattern="#,##0.00" isBlankWhenNull="false" evaluationTime="Now" hyperlinkType="None" hyperlinkTarget="Self" > <reportElement x="234" y="0" width="56" height="18" key="textField-511"/> <box topBorder="None" 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="12" isPdfEmbedded ="true" pdfEncoding ="Identity-H"/> </textElement> <textFieldExpression class="java.lang.Double"><![CDATA[Double.valueOf(30.00)]]></textFieldExpression> </textField> <textField isStretchWithOverflow="false" pattern="#,##0.00" isBlankWhenNull="false" evaluationTime="Now" hyperlinkType="None" hyperlinkTarget="Self" > <reportElement x="191" y="0" width="43" height="18" key="textField-512"/> <box topBorder="None" 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="12" isPdfEmbedded ="true" pdfEncoding ="Identity-H"/> </textElement> <textFieldExpression class="java.lang.Double"><![CDATA[Double.valueOf(new CheckNull().chkNullStringToDouble($F{tpy_his0__formula01})/30)]]></textFieldExpression> </textField> <textField isStretchWithOverflow="false" pattern="#,##0.00" isBlankWhenNull="false" evaluationTime="Now" hyperlinkType="None" hyperlinkTarget="Self" > <reportElement x="290" y="0" width="43" height="18" key="textField-513"/> <box topBorder="None" 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="12" isPdfEmbedded ="true" pdfEncoding ="Identity-H"/> </textElement> <textFieldExpression class="java.lang.Double"><![CDATA[Double.valueOf(new CheckNull().chkNullStringToDouble($F{tpy_his0__formula01}))]]></textFieldExpression> </textField> <textField isStretchWithOverflow="false" pattern="#,##0.00" isBlankWhenNull="false" evaluationTime="Now" hyperlinkType="None" hyperlinkTarget="Self" > <reportElement x="376" y="0" width="56" height="18" key="textField-514"/> <box topBorder="None" 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="12" isPdfEmbedded ="true" pdfEncoding ="Identity-H"/> </textElement> <textFieldExpression class="java.lang.Double"><![CDATA[Double.valueOf(new CheckNull().chkNullStringToDouble($F{tpy_his0__ot5}))]]></textFieldExpression> </textField> <textField isStretchWithOverflow="false" pattern="#,##0.00" isBlankWhenNull="false" evaluationTime="Now" hyperlinkType="None" hyperlinkTarget="Self" > <reportElement x="333" y="0" width="43" height="18" key="textField-515"/> <box topBorder="None" 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="12" isPdfEmbedded ="true" pdfEncoding ="Identity-H"/> </textElement> <textFieldExpression class="java.lang.Double"><![CDATA[Double.valueOf( new CheckNull().chkNullStringToDouble($F{tpy_his0__ot5})>0? new CheckNull().chkNullStringToDouble($F{tpy_his0__formula02})/new CheckNull().chkNullStringToDouble($F{tpy_his0__ot5}) :0 )]]></textFieldExpression> </textField> <textField isStretchWithOverflow="false" pattern="#,##0.00" isBlankWhenNull="false" evaluationTime="Now" hyperlinkType="None" hyperlinkTarget="Self" > <reportElement x="432" y="0" width="43" height="18" key="textField-516"/> <box topBorder="None" 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="12" isPdfEmbedded ="true" pdfEncoding ="Identity-H"/> </textElement> <textFieldExpression class="java.lang.Double"><![CDATA[Double.valueOf(new CheckNull().chkNullStringToDouble($F{tpy_his0__formula02}))]]></textFieldExpression> </textField> <textField isStretchWithOverflow="false" pattern="#,##0.00" isBlankWhenNull="false" evaluationTime="Now" hyperlinkType="None" hyperlinkTarget="Self" > <reportElement x="574" y="0" width="43" height="18" key="textField-519"/> <box topBorder="None" 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="12" isPdfEmbedded ="true" pdfEncoding ="Identity-H"/> </textElement> <textFieldExpression class="java.lang.Double"><![CDATA[Double.valueOf(new CheckNull().chkNullStringToDouble($F{tpy_his0__formula03}))]]></textFieldExpression> </textField> <textField isStretchWithOverflow="false" pattern="#,##0.00" isBlankWhenNull="false" evaluationTime="Now" hyperlinkType="None" hyperlinkTarget="Self" > <reportElement x="716" y="0" width="43" height="18" key="textField-522"/> <box topBorder="None" 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="12" isPdfEmbedded ="true" pdfEncoding ="Identity-H"/> </textElement> <textFieldExpression class="java.lang.Double"><![CDATA[Double.valueOf(new CheckNull().chkNullStringToDouble($F{tpy_his0__formula04}))]]></textFieldExpression> </textField> <textField isStretchWithOverflow="false" pattern="#,##0.00" isBlankWhenNull="false" evaluationTime="Now" hyperlinkType="None" hyperlinkTarget="Self" > <reportElement x="759" y="0" width="61" height="18" key="textField-523"/> <box topBorder="None" 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="12" isPdfEmbedded ="true" pdfEncoding ="Identity-H"/> </textElement> <textFieldExpression class="java.lang.Double"><![CDATA[Double.valueOf(new CheckNull().chkNullStringToDouble($F{tpy_his0__formula05}))]]></textFieldExpression> </textField> <textField isStretchWithOverflow="false" pattern="#,##0.00" isBlankWhenNull="false" evaluationTime="Now" hyperlinkType="None" hyperlinkTarget="Self" > <reportElement x="518" y="0" width="56" height="18" key="textField-524"/> <box topBorder="None" 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="12" isPdfEmbedded ="true" pdfEncoding ="Identity-H"/> </textElement> <textFieldExpression class="java.lang.Double"><![CDATA[Double.valueOf(new CheckNull().chkNullStringToDouble($F{tpy_his0__ot2}))]]></textFieldExpression> </textField> <textField isStretchWithOverflow="false" pattern="#,##0.00" isBlankWhenNull="false" evaluationTime="Now" hyperlinkType="None" hyperlinkTarget="Self" > <reportElement x="475" y="0" width="43" height="18" key="textField-525"/> <box topBorder="None" 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="12" isPdfEmbedded ="true" pdfEncoding ="Identity-H"/> </textElement> <textFieldExpression class="java.lang.Double"><![CDATA[Double.valueOf( new CheckNull().chkNullStringToDouble($F{tpy_his0__ot2})>0? new CheckNull().chkNullStringToDouble($F{tpy_his0__formula03})/new CheckNull().chkNullStringToDouble($F{tpy_his0__ot2}) :0 )]]></textFieldExpression> </textField> <textField isStretchWithOverflow="false" pattern="#,##0.00" isBlankWhenNull="false" evaluationTime="Now" hyperlinkType="None" hyperlinkTarget="Self" > <reportElement x="660" y="0" width="56" height="18" key="textField-526"/> <box topBorder="None" 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="12" isPdfEmbedded ="true" pdfEncoding ="Identity-H"/> </textElement> <textFieldExpression class="java.lang.Double"><![CDATA[Double.valueOf(new CheckNull().chkNullStringToDouble($F{tpy_his0__ot3}))]]></textFieldExpression> </textField> <textField isStretchWithOverflow="false" pattern="#,##0.00" isBlankWhenNull="false" evaluationTime="Now" hyperlinkType="None" hyperlinkTarget="Self" > <reportElement x="617" y="0" width="43" height="18" key="textField-527"/> <box topBorder="None" 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="12" isPdfEmbedded ="true" pdfEncoding ="Identity-H"/> </textElement> <textFieldExpression class="java.lang.Double"><![CDATA[Double.valueOf( new CheckNull().chkNullStringToDouble($F{tpy_his0__ot3})>0? new CheckNull().chkNullStringToDouble($F{tpy_his0__formula04})/new CheckNull().chkNullStringToDouble($F{tpy_his0__ot3}) :0 )]]></textFieldExpression> </textField> </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>