<?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="PR152_EXCEL" columnCount="1" printOrder="Vertical" orientation="Portrait" pageWidth="596" pageHeight="842" columnWidth="596" columnSpacing="0" leftMargin="0" rightMargin="0" topMargin="0" bottomMargin="0" 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.utilities.*" /> <parameter name="HEAD1" isForPrompting="false" class="java.lang.String"> <parameterDescription><![CDATA[label]]></parameterDescription> <defaultValueExpression ><![CDATA["PAYROLL SYSTEM"]]></defaultValueExpression> </parameter> <parameter name="HEAD2" isForPrompting="false" class="java.lang.String"> <parameterDescription><![CDATA[label]]></parameterDescription> <defaultValueExpression ><![CDATA["PAYROLL REPORT"]]></defaultValueExpression> </parameter> <parameter name="HEAD3" isForPrompting="false" class="java.lang.String"> <defaultValueExpression ><![CDATA["FOR PERIOD OF: MAY 1,2003 - MAY 31,2003"]]></defaultValueExpression> </parameter> <parameter name="VPAGE1" isForPrompting="false" class="java.lang.String"> <defaultValueExpression ><![CDATA["PR0152"]]></defaultValueExpression> </parameter> <parameter name="PAGE" isForPrompting="false" class="java.lang.String"> <parameterDescription><![CDATA[label]]></parameterDescription> <defaultValueExpression ><![CDATA["PAGE"]]></defaultValueExpression> </parameter> <parameter name="headOffice" isForPrompting="false" class="java.lang.String"> <defaultValueExpression ><![CDATA["HEAD OFFICE"]]></defaultValueExpression> </parameter> <parameter name="ranking" isForPrompting="false" class="java.lang.String"> <parameterDescription><![CDATA[label]]></parameterDescription> <defaultValueExpression ><![CDATA["RANKING BY BUSINESS UNIT" ]]></defaultValueExpression> </parameter> <parameter name="empCode" isForPrompting="false" class="java.lang.String"> <parameterDescription><![CDATA[label]]></parameterDescription> <defaultValueExpression ><![CDATA["EMP CODE"]]></defaultValueExpression> </parameter> <parameter name="nameSurname" isForPrompting="false" class="java.lang.String"> <parameterDescription><![CDATA[label]]></parameterDescription> <defaultValueExpression ><![CDATA["Name"]]></defaultValueExpression> </parameter> <parameter name="totBranch" isForPrompting="false" class="java.lang.String"> <parameterDescription><![CDATA[label]]></parameterDescription> <defaultValueExpression ><![CDATA["TOTAL BY OFFICE"]]></defaultValueExpression> </parameter> <parameter name="totCompany" isForPrompting="false" class="java.lang.String"> <parameterDescription><![CDATA[label]]></parameterDescription> <defaultValueExpression ><![CDATA["TOTAL BY COMPANY"]]></defaultValueExpression> </parameter> <parameter name="RECORD" isForPrompting="false" class="java.lang.String"> <parameterDescription><![CDATA[label]]></parameterDescription> <defaultValueExpression ><![CDATA["Record(S)"]]></defaultValueExpression> </parameter> <parameter name="COMPANY" isForPrompting="false" class="java.lang.String"> <parameterDescription><![CDATA[component]]></parameterDescription> <defaultValueExpression ><![CDATA[""]]></defaultValueExpression> </parameter> <parameter name="UDF1" isForPrompting="false" class="java.lang.String"> <parameterDescription><![CDATA[component]]></parameterDescription> <defaultValueExpression ><![CDATA[""]]></defaultValueExpression> </parameter> <parameter name="REPORTHEADER" isForPrompting="false" class="java.lang.String"> <parameterDescription><![CDATA[component]]></parameterDescription> <defaultValueExpression ><![CDATA[""]]></defaultValueExpression> </parameter> <parameter name="TOTAL_CURRENT" isForPrompting="false" class="java.lang.String"> <parameterDescription><![CDATA[label]]></parameterDescription> <defaultValueExpression ><![CDATA["TOTAL CURRENT"]]></defaultValueExpression> </parameter> <parameter name="NET_TOTAL" isForPrompting="false" class="java.lang.String"> <parameterDescription><![CDATA[label]]></parameterDescription> <defaultValueExpression ><![CDATA["NET TOTAL"]]></defaultValueExpression> </parameter> <parameter name="FIRST_HIRE_DATE" isForPrompting="false" class="java.lang.String"> <parameterDescription><![CDATA[label]]></parameterDescription> <defaultValueExpression ><![CDATA["FIRST HIRE DATE"]]></defaultValueExpression> </parameter> <parameter name="RESIGN_DATE" isForPrompting="false" class="java.lang.String"> <parameterDescription><![CDATA[label]]></parameterDescription> <defaultValueExpression ><![CDATA["RESIGN DATE"]]></defaultValueExpression> </parameter> <parameter name="TOTAL_BY" isForPrompting="false" class="java.lang.String"> <parameterDescription><![CDATA[label]]></parameterDescription> <defaultValueExpression ><![CDATA["Total by"]]></defaultValueExpression> </parameter> <parameter name="NO" isForPrompting="false" class="java.lang.String"> <parameterDescription><![CDATA[label]]></parameterDescription> <defaultValueExpression ><![CDATA["No."]]></defaultValueExpression> </parameter> <parameter name="EMPLOYEE" isForPrompting="false" class="java.lang.String"> <parameterDescription><![CDATA[label]]></parameterDescription> <defaultValueExpression ><![CDATA["EMPLOYEE"]]></defaultValueExpression> </parameter> <parameter name="Emp.ID" isForPrompting="false" class="java.lang.String"> <parameterDescription><![CDATA[label]]></parameterDescription> <defaultValueExpression ><![CDATA["Emp. ID"]]></defaultValueExpression> </parameter> <parameter name="OVERTIME" isForPrompting="false" class="java.lang.String"> <parameterDescription><![CDATA[label]]></parameterDescription> <defaultValueExpression ><![CDATA["OVERTIME"]]></defaultValueExpression> </parameter> <parameter name="INCOME" isForPrompting="false" class="java.lang.String"> <parameterDescription><![CDATA[label]]></parameterDescription> <defaultValueExpression ><![CDATA["INCOME"]]></defaultValueExpression> </parameter> <parameter name="DEPARTMENT__T1" isForPrompting="false" class="java.lang.String"> <parameterDescription><![CDATA[label]]></parameterDescription> <defaultValueExpression ><![CDATA["Department"]]></defaultValueExpression> </parameter> <parameter name="OTHER" isForPrompting="false" class="java.lang.String"> <parameterDescription><![CDATA[label]]></parameterDescription> <defaultValueExpression ><![CDATA["Other Income"]]></defaultValueExpression> </parameter> <parameter name="AMOUNT__T3" isForPrompting="false" class="java.lang.String"> <parameterDescription><![CDATA[label]]></parameterDescription> <defaultValueExpression ><![CDATA["Amount"]]></defaultValueExpression> </parameter> <parameter name="RE_MARK" isForPrompting="false" class="java.lang.String"> <parameterDescription><![CDATA[label]]></parameterDescription> <defaultValueExpression ><![CDATA["Remark"]]></defaultValueExpression> </parameter> <parameter name="DESC" isForPrompting="false" class="java.lang.String"> <parameterDescription><![CDATA[label]]></parameterDescription> <defaultValueExpression ><![CDATA["Description"]]></defaultValueExpression> </parameter> <parameter name="RUN_NO" isForPrompting="false" class="java.lang.String"> <parameterDescription><![CDATA[label]]></parameterDescription> <defaultValueExpression ><![CDATA["RPR4005"]]></defaultValueExpression> </parameter> <parameter name="LANG" isForPrompting="false" class="java.lang.String"> <parameterDescription><![CDATA[lang]]></parameterDescription> <defaultValueExpression ><![CDATA[""]]></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="Position" isForPrompting="false" class="java.lang.String"> <parameterDescription><![CDATA[label]]></parameterDescription> <defaultValueExpression ><![CDATA["Position"]]></defaultValueExpression> </parameter> <field name="orderby1desc" class="java.lang.String"> <fieldDescription><![CDATA[Field returned by orderby1desc]]></fieldDescription> </field> <field name="orderby1" class="java.lang.String"> <fieldDescription><![CDATA[Field returned by orderby1]]></fieldDescription> </field> <field name="memployee__fullname" class="java.lang.String"> <fieldDescription><![CDATA[Field returned by memployee__fullname]]></fieldDescription> </field> <field name="mformula__edesc" class="java.lang.String"> <fieldDescription><![CDATA[Field returned by mformula__edesc]]></fieldDescription> </field> <field name="mformula__tdesc" class="java.lang.String"> <fieldDescription><![CDATA[Field returned by mformula__tdesc]]></fieldDescription> </field> <field name="mformula__companyid" class="java.lang.String"> <fieldDescription><![CDATA[Field returned by mformula__companyid]]></fieldDescription> </field> <field name="mformula__formulaid" class="java.lang.String"> <fieldDescription><![CDATA[Field returned by mformula__formulaid]]></fieldDescription> </field> <field name="tpytran1__cur_amount" class="java.lang.String"> <fieldDescription><![CDATA[Field returned by tpytran1__cur_amount]]></fieldDescription> </field> <field name="tpytran1__formulaid" class="java.lang.String"> <fieldDescription><![CDATA[Field returned by tpytran1__formulaid]]></fieldDescription> </field> <field name="tpytran1__companyid" class="java.lang.String"> <fieldDescription><![CDATA[Field returned by tpytran1__companyid]]></fieldDescription> </field> <field name="tpytran1__employeeid" class="java.lang.String"> <fieldDescription><![CDATA[Field returned by tpytran1__employeeid]]></fieldDescription> </field> <field name="mprefix__runno" class="java.lang.String"> <fieldDescription><![CDATA[Field returned by Mprefix__runno]]></fieldDescription> </field> <field name="mprefix__edesc" class="java.lang.String"> <fieldDescription><![CDATA[Field returned by Mprefix__edesc]]></fieldDescription> </field> <field name="mprefix__tdesc" class="java.lang.String"> <fieldDescription><![CDATA[Field returned by Mprefix__tdesc]]></fieldDescription> </field> <field name="mprefix__prefixid" class="java.lang.String"> <fieldDescription><![CDATA[Field returned by Mprefix__prefixid]]></fieldDescription> </field> <field name="mcurrency__runno" class="java.lang.String"> <fieldDescription><![CDATA[Field returned by Mcurrency__runno]]></fieldDescription> </field> <field name="mcurrency__companyid" class="java.lang.String"> <fieldDescription><![CDATA[Field returned by Mcurrency__companyid]]></fieldDescription> </field> <field name="mcurrency__eff_date" class="java.lang.String"> <fieldDescription><![CDATA[Field returned by Mcurrency__eff_date]]></fieldDescription> </field> <field name="mcurrency__money_sign" class="java.lang.String"> <fieldDescription><![CDATA[Field returned by Mcurrency__money_sign]]></fieldDescription> </field> <field name="mcurrency__exchange" class="java.lang.String"> <fieldDescription><![CDATA[Field returned by Mcurrency__exchange]]></fieldDescription> </field> <field name="mcurrency__edesc" class="java.lang.String"> <fieldDescription><![CDATA[Field returned by Mcurrency__edesc]]></fieldDescription> </field> <field name="mcurrency__tdesc" class="java.lang.String"> <fieldDescription><![CDATA[Field returned by Mcurrency__tdesc]]></fieldDescription> </field> <field name="mcurrency__currencyid" class="java.lang.String"> <fieldDescription><![CDATA[Field returned by Mcurrency__currencyid]]></fieldDescription> </field> <field name="mposition__runno" class="java.lang.String"> <fieldDescription><![CDATA[Field returned by Mposition__runno]]></fieldDescription> </field> <field name="mposition__companyid" class="java.lang.String"> <fieldDescription><![CDATA[Field returned by Mposition__companyid]]></fieldDescription> </field> <field name="mposition__edesc" class="java.lang.String"> <fieldDescription><![CDATA[Field returned by Mposition__edesc]]></fieldDescription> </field> <field name="mposition__tdesc" class="java.lang.String"> <fieldDescription><![CDATA[Field returned by Mposition__tdesc]]></fieldDescription> </field> <field name="mposition__positionid" class="java.lang.String"> <fieldDescription><![CDATA[Field returned by Mposition__positionid]]></fieldDescription> </field> <field name="mbranch__runno" class="java.lang.String"> <fieldDescription><![CDATA[Field returned by Mbranch__runno]]></fieldDescription> </field> <field name="mbranch__companyid" class="java.lang.String"> <fieldDescription><![CDATA[Field returned by Mbranch__companyid]]></fieldDescription> </field> <field name="mbranch__edesc" class="java.lang.String"> <fieldDescription><![CDATA[Field returned by Mbranch__edesc]]></fieldDescription> </field> <field name="mbranch__tdesc" class="java.lang.String"> <fieldDescription><![CDATA[Field returned by Mbranch__tdesc]]></fieldDescription> </field> <field name="mbranch__branchid" class="java.lang.String"> <fieldDescription><![CDATA[Field returned by Mbranch__branchid]]></fieldDescription> </field> <field name="mbu5__runno" class="java.lang.String"> <fieldDescription><![CDATA[Field returned by Mbu5__runno]]></fieldDescription> </field> <field name="mbu5__companyid" class="java.lang.String"> <fieldDescription><![CDATA[Field returned by Mbu5__companyid]]></fieldDescription> </field> <field name="mbu5__edesc" class="java.lang.String"> <fieldDescription><![CDATA[Field returned by Mbu5__edesc]]></fieldDescription> </field> <field name="mbu5__tdesc" class="java.lang.String"> <fieldDescription><![CDATA[Field returned by Mbu5__tdesc]]></fieldDescription> </field> <field name="mbu5__bu5id" class="java.lang.String"> <fieldDescription><![CDATA[Field returned by Mbu5__bu5id]]></fieldDescription> </field> <field name="mbu4__runno" class="java.lang.String"> <fieldDescription><![CDATA[Field returned by Mbu4__runno]]></fieldDescription> </field> <field name="mbu4__companyid" class="java.lang.String"> <fieldDescription><![CDATA[Field returned by Mbu4__companyid]]></fieldDescription> </field> <field name="mbu4__edesc" class="java.lang.String"> <fieldDescription><![CDATA[Field returned by Mbu4__edesc]]></fieldDescription> </field> <field name="mbu4__tdesc" class="java.lang.String"> <fieldDescription><![CDATA[Field returned by Mbu4__tdesc]]></fieldDescription> </field> <field name="mbu4__bu4id" class="java.lang.String"> <fieldDescription><![CDATA[Field returned by Mbu4__bu4id]]></fieldDescription> </field> <field name="mbu3__runno" class="java.lang.String"> <fieldDescription><![CDATA[Field returned by Mbu3__runno]]></fieldDescription> </field> <field name="mbu3__companyid" class="java.lang.String"> <fieldDescription><![CDATA[Field returned by Mbu3__companyid]]></fieldDescription> </field> <field name="mbu3__edesc" class="java.lang.String"> <fieldDescription><![CDATA[Field returned by Mbu3__edesc]]></fieldDescription> </field> <field name="mbu3__tdesc" class="java.lang.String"> <fieldDescription><![CDATA[Field returned by Mbu3__tdesc]]></fieldDescription> </field> <field name="mbu3__bu3id" class="java.lang.String"> <fieldDescription><![CDATA[Field returned by Mbu3__bu3id]]></fieldDescription> </field> <field name="mbu2__runno" class="java.lang.String"> <fieldDescription><![CDATA[Field returned by Mbu2__runno]]></fieldDescription> </field> <field name="mbu2__companyid" class="java.lang.String"> <fieldDescription><![CDATA[Field returned by Mbu2__companyid]]></fieldDescription> </field> <field name="mbu2__edesc" class="java.lang.String"> <fieldDescription><![CDATA[Field returned by Mbu2__edesc]]></fieldDescription> </field> <field name="mbu2__tdesc" class="java.lang.String"> <fieldDescription><![CDATA[Field returned by Mbu2__tdesc]]></fieldDescription> </field> <field name="mbu2__bu2id" class="java.lang.String"> <fieldDescription><![CDATA[Field returned by Mbu2__bu2id]]></fieldDescription> </field> <field name="mbu1__runno" class="java.lang.String"> <fieldDescription><![CDATA[Field returned by Mbu1__runno]]></fieldDescription> </field> <field name="mbu1__companyid" class="java.lang.String"> <fieldDescription><![CDATA[Field returned by Mbu1__companyid]]></fieldDescription> </field> <field name="mbu1__edesc" class="java.lang.String"> <fieldDescription><![CDATA[Field returned by Mbu1__edesc]]></fieldDescription> </field> <field name="mbu1__tdesc" class="java.lang.String"> <fieldDescription><![CDATA[Field returned by Mbu1__tdesc]]></fieldDescription> </field> <field name="mbu1__bu1id" class="java.lang.String"> <fieldDescription><![CDATA[Field returned by Mbu1__bu1id]]></fieldDescription> </field> <field name="memployee__runno" class="java.lang.String"> <fieldDescription><![CDATA[Field returned by memployee__runno]]></fieldDescription> </field> <field name="memployee__resigndate" class="java.lang.String"> <fieldDescription><![CDATA[Field returned by memployee__resigndate]]></fieldDescription> </field> <field name="memployee__firsthiredate" class="java.lang.String"> <fieldDescription><![CDATA[Field returned by memployee__firsthiredate]]></fieldDescription> </field> <field name="memployee__branch" class="java.lang.String"> <fieldDescription><![CDATA[Field returned by memployee__branch]]></fieldDescription> </field> <field name="memployee__currency" class="java.lang.String"> <fieldDescription><![CDATA[Field returned by memployee__currency]]></fieldDescription> </field> <field name="memployee__emp_position" class="java.lang.String"> <fieldDescription><![CDATA[Field returned by memployee__emp_position]]></fieldDescription> </field> <field name="memployee__bu5" class="java.lang.String"> <fieldDescription><![CDATA[Field returned by memployee__bu5]]></fieldDescription> </field> <field name="memployee__bu4" class="java.lang.String"> <fieldDescription><![CDATA[Field returned by memployee__bu4]]></fieldDescription> </field> <field name="memployee__bu3" class="java.lang.String"> <fieldDescription><![CDATA[Field returned by memployee__bu3]]></fieldDescription> </field> <field name="memployee__bu2" class="java.lang.String"> <fieldDescription><![CDATA[Field returned by memployee__bu2]]></fieldDescription> </field> <field name="memployee__bu1" class="java.lang.String"> <fieldDescription><![CDATA[Field returned by memployee__bu1]]></fieldDescription> </field> <field name="memployee__id_people" class="java.lang.String"> <fieldDescription><![CDATA[Field returned by memployee__id_people]]></fieldDescription> </field> <field name="memployee__idtax" class="java.lang.String"> <fieldDescription><![CDATA[Field returned by memployee__idtax]]></fieldDescription> </field> <field name="memployee__salary" class="java.lang.String"> <fieldDescription><![CDATA[Field returned by memployee__salary]]></fieldDescription> </field> <field name="memployee__elname" class="java.lang.String"> <fieldDescription><![CDATA[Field returned by memployee__elname]]></fieldDescription> </field> <field name="memployee__efname" class="java.lang.String"> <fieldDescription><![CDATA[Field returned by memployee__efname]]></fieldDescription> </field> <field name="memployee__lname" class="java.lang.String"> <fieldDescription><![CDATA[Field returned by memployee__lname]]></fieldDescription> </field> <field name="memployee__fname" class="java.lang.String"> <fieldDescription><![CDATA[Field returned by memployee__fname]]></fieldDescription> </field> <field name="memployee__emp_prefix" class="java.lang.String"> <fieldDescription><![CDATA[Field returned by memployee__emp_prefix]]></fieldDescription> </field> <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> <variable name="sumFormula01" class="java.lang.Double" resetType="Report" calculation="Sum"> <variableExpression><![CDATA[Double.valueOf(String.valueOf(Double.parseDouble(new com.csc.library.utilities.CheckNull().chkNullString($F{tpytran1__cur_amount},"0"))))]]></variableExpression> </variable> <variable name="TOTALBU1" class="java.lang.Integer" resetType="Report" calculation="Count"> <variableExpression><![CDATA[$F{memployee__employeeid}]]></variableExpression> </variable> <variable name="TOTALBU2" class="java.lang.Integer" resetType="Report" calculation="Count"> <variableExpression><![CDATA[$F{memployee__employeeid}]]></variableExpression> </variable> <variable name="TOTALBU3" class="java.lang.Integer" resetType="Report" calculation="Count"> <variableExpression><![CDATA[$F{memployee__employeeid}]]></variableExpression> </variable> <variable name="TOTALBU4" class="java.lang.Integer" resetType="Report" calculation="Count"> </variable> <variable name="TOTALBU5" class="java.lang.Integer" resetType="Report" calculation="Count"> <variableExpression><![CDATA[$F{memployee__employeeid}]]></variableExpression> </variable> <variable name="TOTALBRANCH" class="java.lang.Integer" resetType="Report" calculation="Count"> <variableExpression><![CDATA[$F{memployee__employeeid}]]></variableExpression> </variable> <variable name="TOTALCOMPANY" class="java.lang.Integer" resetType="Report" calculation="Count"> <variableExpression><![CDATA[$F{memployee__employeeid}]]></variableExpression> </variable> <variable name="sumBranch" class="java.lang.Double" resetType="Report" calculation="Sum"> <variableExpression><![CDATA[Double.valueOf(new com.csc.library.utilities.CheckNull().chkNullString($F{tpytran1__cur_amount},"0"))]]></variableExpression> </variable> <variable name="countEmployee" class="java.lang.Integer" resetType="Report" calculation="Count"> <variableExpression><![CDATA[$F{memployee__employeeid}]]></variableExpression> </variable> <background> <band height="0" isSplitAllowed="true" > </band> </background> <title> <band height="0" isSplitAllowed="true" > </band> </title> <pageHeader> <band height="122" isSplitAllowed="true" > <printWhenExpression><![CDATA[new Boolean($V{PAGE_NUMBER}.intValue()==1)]]></printWhenExpression> <textField isStretchWithOverflow="false" pattern="" isBlankWhenNull="false" evaluationTime="Now" hyperlinkType="None" hyperlinkTarget="Self" > <reportElement mode="Transparent" x="1" y="82" width="595" height="22" forecolor="#000000" backcolor="#FFFFFF" key="textField"/> <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{OTHER}+" : "+$F{mformula__edesc}]]></textFieldExpression> </textField> <textField isStretchWithOverflow="false" pattern="" isBlankWhenNull="false" evaluationTime="Now" hyperlinkType="None" hyperlinkTarget="Self" > <reportElement mode="Transparent" x="0" y="104" width="40" height="18" forecolor="#000000" backcolor="#FFFFFF" key="textField"/> <box topBorder="None" topBorderColor="#000000" leftBorder="None" leftBorderColor="#000000" rightBorder="None" rightBorderColor="#000000" bottomBorder="None" bottomBorderColor="#000000"/> <textElement textAlignment="Center" verticalAlignment="Top" 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{NO}]]></textFieldExpression> </textField> <textField isStretchWithOverflow="false" pattern="" isBlankWhenNull="false" evaluationTime="Now" hyperlinkType="None" hyperlinkTarget="Self" > <reportElement mode="Transparent" x="40" y="104" width="60" height="18" forecolor="#000000" backcolor="#FFFFFF" key="textField"/> <box topBorder="None" topBorderColor="#000000" leftBorder="None" leftBorderColor="#000000" rightBorder="None" rightBorderColor="#000000" bottomBorder="None" bottomBorderColor="#000000"/> <textElement textAlignment="Center" verticalAlignment="Top" 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("tha")? "รหัสพนักงาน":"Emp.ID"]]></textFieldExpression> </textField> <textField isStretchWithOverflow="false" pattern="" isBlankWhenNull="false" evaluationTime="Now" hyperlinkType="None" hyperlinkTarget="Self" > <reportElement mode="Transparent" x="100" y="104" width="170" height="18" forecolor="#000000" backcolor="#FFFFFF" key="textField"/> <box topBorder="None" topBorderColor="#000000" leftBorder="None" leftBorderColor="#000000" rightBorder="None" rightBorderColor="#000000" bottomBorder="None" bottomBorderColor="#000000"/> <textElement textAlignment="Center" verticalAlignment="Top" 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{nameSurname}]]></textFieldExpression> </textField> <textField isStretchWithOverflow="false" pattern="" isBlankWhenNull="false" evaluationTime="Now" hyperlinkType="None" hyperlinkTarget="Self" > <reportElement mode="Transparent" x="270" y="104" width="144" height="18" forecolor="#000000" backcolor="#FFFFFF" key="textField"/> <box topBorder="None" topBorderColor="#000000" leftBorder="None" leftBorderColor="#000000" rightBorder="None" rightBorderColor="#000000" bottomBorder="None" bottomBorderColor="#000000"/> <textElement textAlignment="Center" verticalAlignment="Top" 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{Position}]]></textFieldExpression> </textField> <textField isStretchWithOverflow="false" pattern="" isBlankWhenNull="false" evaluationTime="Now" hyperlinkType="None" hyperlinkTarget="Self" > <reportElement mode="Transparent" x="414" y="104" width="118" height="18" forecolor="#000000" backcolor="#FFFFFF" key="textField"/> <box topBorder="None" topBorderColor="#000000" leftBorder="None" leftBorderColor="#000000" rightBorder="None" rightBorderColor="#000000" bottomBorder="None" bottomBorderColor="#000000"/> <textElement textAlignment="Center" verticalAlignment="Top" 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{DESC}]]></textFieldExpression> </textField> <textField isStretchWithOverflow="false" pattern="" isBlankWhenNull="false" evaluationTime="Now" hyperlinkType="None" hyperlinkTarget="Self" > <reportElement mode="Transparent" x="532" y="104" width="64" height="18" forecolor="#000000" backcolor="#FFFFFF" key="textField"/> <box topBorder="None" topBorderColor="#000000" leftBorder="None" leftBorderColor="#000000" rightBorder="None" rightBorderColor="#000000" bottomBorder="None" bottomBorderColor="#000000"/> <textElement textAlignment="Center" verticalAlignment="Top" 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{AMOUNT__T3}]]></textFieldExpression> </textField> <textField isStretchWithOverflow="false" pattern="" isBlankWhenNull="false" evaluationTime="Now" hyperlinkType="None" hyperlinkTarget="Self" > <reportElement mode="Transparent" x="0" y="0" width="596" height="28" forecolor="#000000" backcolor="#FFFFFF" key="textField-3"/> <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="544" y="46" width="52" height="18" forecolor="#000000" backcolor="#FFFFFF" key="textField-4"/> <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="80" y="46" width="414" height="18" forecolor="#000000" backcolor="#FFFFFF" key="textField-5"/> <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="80" y="64" width="516" height="18" forecolor="#000000" backcolor="#FFFFFF" key="textField-6"/> <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="46" width="80" height="18" forecolor="#000000" backcolor="#FFFFFF" key="textField-7"/> <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="64" width="80" height="18" forecolor="#000000" backcolor="#FFFFFF" key="textField-8"/> <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="494" y="46" width="50" height="18" forecolor="#000000" backcolor="#FFFFFF" key="textField-9"/> <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="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="80" y="28" width="516" height="18" forecolor="#000000" backcolor="#FFFFFF" key="textField-11"/> <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="80" height="18" forecolor="#000000" backcolor="#FFFFFF" key="textField-12"/> <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="0" isSplitAllowed="true" > </band> </columnHeader> <detail> <band height="18" isSplitAllowed="true" > <textField isStretchWithOverflow="false" pattern="" isBlankWhenNull="false" evaluationTime="Now" hyperlinkType="None" hyperlinkTarget="Self" > <reportElement mode="Transparent" x="0" y="0" width="40" height="18" forecolor="#000000" backcolor="#FFFFFF" key="textField"/> <box topBorder="None" topBorderColor="#000000" leftBorder="None" leftBorderColor="#000000" rightBorder="None" rightBorderColor="#000000" bottomBorder="None" bottomBorderColor="#000000"/> <textElement textAlignment="Center" verticalAlignment="Top" lineSpacing="Single"> <font fontName="Cordia New" pdfFontName="CORDIA.TTF" size="12" isBold="true" isItalic="false" isUnderline="false" isPdfEmbedded ="true" pdfEncoding ="Identity-H" isStrikeThrough="false" /> </textElement> <textFieldExpression class="java.lang.String"><![CDATA[""+$V{countEmployee}]]></textFieldExpression> </textField> <textField isStretchWithOverflow="false" pattern="" isBlankWhenNull="false" evaluationTime="Now" hyperlinkType="None" hyperlinkTarget="Self" > <reportElement mode="Transparent" x="40" y="0" width="60" height="18" forecolor="#000000" backcolor="#FFFFFF" key="textField"/> <box topBorder="None" topBorderColor="#000000" leftBorder="None" leftBorderColor="#000000" rightBorder="None" rightBorderColor="#000000" bottomBorder="None" bottomBorderColor="#000000"/> <textElement textAlignment="Center" verticalAlignment="Top" lineSpacing="Single"> <font fontName="Cordia New" pdfFontName="CORDIA.TTF" size="12" isBold="true" isItalic="false" isUnderline="false" isPdfEmbedded ="true" pdfEncoding ="Identity-H" isStrikeThrough="false" /> </textElement> <textFieldExpression class="java.lang.String"><![CDATA[$F{memployee__employeeid}]]></textFieldExpression> </textField> <textField isStretchWithOverflow="true" pattern="" isBlankWhenNull="false" evaluationTime="Now" hyperlinkType="None" hyperlinkTarget="Self" > <reportElement mode="Transparent" x="100" y="0" width="170" height="18" forecolor="#000000" backcolor="#FFFFFF" key="textField"/> <box topBorder="None" topBorderColor="#000000" leftBorder="None" leftBorderColor="#000000" leftPadding="16" rightBorder="None" rightBorderColor="#000000" bottomBorder="None" bottomBorderColor="#000000"/> <textElement textAlignment="Left" verticalAlignment="Top" lineSpacing="Single"> <font fontName="Cordia New" pdfFontName="CORDIA.TTF" size="12" isBold="true" isItalic="false" isUnderline="false" isPdfEmbedded ="true" pdfEncoding ="Identity-H" isStrikeThrough="false" /> </textElement> <textFieldExpression class="java.lang.String"><![CDATA[$F{memployee__fullname}]]></textFieldExpression> </textField> <textField isStretchWithOverflow="false" pattern="" isBlankWhenNull="false" evaluationTime="Now" hyperlinkType="None" hyperlinkTarget="Self" > <reportElement mode="Transparent" x="270" y="0" width="44" height="18" forecolor="#000000" backcolor="#FFFFFF" key="textField"/> <box topBorder="None" topBorderColor="#000000" leftBorder="None" leftBorderColor="#000000" rightBorder="None" rightBorderColor="#000000" bottomBorder="None" bottomBorderColor="#000000"/> <textElement textAlignment="Center" verticalAlignment="Top" lineSpacing="Single"> <font fontName="Cordia New" pdfFontName="CORDIA.TTF" size="12" isBold="true" isItalic="false" isUnderline="false" isPdfEmbedded ="true" pdfEncoding ="Identity-H" isStrikeThrough="false" /> </textElement> <textFieldExpression class="java.lang.String"><![CDATA[$F{mbu2__bu2id}]]></textFieldExpression> </textField> <textField isStretchWithOverflow="true" pattern="" isBlankWhenNull="false" evaluationTime="Now" hyperlinkType="None" hyperlinkTarget="Self" > <reportElement mode="Transparent" x="314" y="0" width="100" height="18" forecolor="#000000" backcolor="#FFFFFF" key="textField"/> <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="12" isBold="true" isItalic="false" isUnderline="true" isPdfEmbedded ="true" pdfEncoding ="Identity-H" isStrikeThrough="false" /> </textElement> <textFieldExpression class="java.lang.String"><![CDATA[$P{LANG}.equalsIgnoreCase("tha")? $F{mbu2__tdesc}: $F{mbu2__edesc}]]></textFieldExpression> </textField> <textField isStretchWithOverflow="false" pattern="#,##0.00" isBlankWhenNull="false" evaluationTime="Now" hyperlinkType="None" hyperlinkTarget="Self" > <reportElement mode="Transparent" x="532" y="0" width="64" height="18" forecolor="#000000" backcolor="#FFFFFF" key="textField"/> <box topBorder="None" topBorderColor="#000000" leftBorder="None" leftBorderColor="#000000" rightBorder="None" rightBorderColor="#000000" bottomBorder="None" bottomBorderColor="#000000"/> <textElement textAlignment="Center" verticalAlignment="Top" lineSpacing="Single"> <font fontName="Cordia New" pdfFontName="CORDIA.TTF" size="12" isBold="true" isItalic="false" isUnderline="false" isPdfEmbedded ="true" pdfEncoding ="Identity-H" isStrikeThrough="false" /> </textElement> <textFieldExpression class="java.lang.Double"><![CDATA[Double.valueOf(new CheckNull().chkNullString($F{tpytran1__cur_amount},"0"))]]></textFieldExpression> </textField> <textField isStretchWithOverflow="false" pattern="" isBlankWhenNull="false" evaluationTime="Now" hyperlinkType="None" hyperlinkTarget="Self" > <reportElement mode="Transparent" x="414" y="0" width="118" height="18" forecolor="#000000" backcolor="#FFFFFF" key="textField-13"/> <box topBorder="None" topBorderColor="#000000" leftBorder="None" leftBorderColor="#000000" rightBorder="None" rightBorderColor="#000000" bottomBorder="None" bottomBorderColor="#000000"/> <textElement textAlignment="Center" verticalAlignment="Top" lineSpacing="Single"> <font fontName="Cordia New" pdfFontName="CORDIA.TTF" size="12" isBold="false" isItalic="false" isUnderline="false" isPdfEmbedded ="true" pdfEncoding ="Identity-H" isStrikeThrough="false" /> </textElement> <textFieldExpression class="java.lang.String"><![CDATA[$P{LANG}.equalsIgnoreCase("tha")? $F{mformula__tdesc}: $F{mformula__edesc}]]></textFieldExpression> </textField> </band> </detail> <columnFooter> <band height="0" isSplitAllowed="true" > </band> </columnFooter> <pageFooter> <band height="0" isSplitAllowed="true" > </band> </pageFooter> <summary> <band height="18" isSplitAllowed="true" > <textField isStretchWithOverflow="true" pattern="" isBlankWhenNull="false" evaluationTime="Now" hyperlinkType="None" hyperlinkTarget="Self" > <reportElement mode="Transparent" x="1" y="0" width="531" height="18" forecolor="#000000" backcolor="#FFFFFF" key="textField"/> <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="12" isBold="true" isItalic="false" isUnderline="false" isPdfEmbedded ="true" pdfEncoding ="Identity-H" isStrikeThrough="false" /> </textElement> <textFieldExpression class="java.lang.String"><![CDATA[$P{TOTAL_BY}+" "+$F{mformula__edesc}+": "+$V{TOTALCOMPANY}+" "+$P{RECORD}]]></textFieldExpression> </textField> <textField isStretchWithOverflow="false" pattern="#,##0.00" isBlankWhenNull="false" evaluationTime="Now" hyperlinkType="None" hyperlinkTarget="Self" > <reportElement mode="Transparent" x="532" y="0" width="64" height="18" forecolor="#000000" backcolor="#FFFFFF" key="textField"/> <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="12" isBold="true" isItalic="false" isUnderline="false" isPdfEmbedded ="true" pdfEncoding ="Identity-H" isStrikeThrough="false" /> </textElement> <textFieldExpression class="java.lang.Double"><![CDATA[$V{sumFormula01}]]></textFieldExpression> </textField> </band> </summary> </jasperReport>