<?xml version="1.0" encoding="UTF-8"?>
<REPORTXML>
    <DATAMANAGER>PRR322_CAAT</DATAMANAGER>
    <REPORTHEADER tdesc="รายงานใบแสดงเงินเดือน(Pay Slip)" edesc="รายงานใบแสดงเงินเดือน(Pay Slip)"/>
    <LINKTABLE>
        <FIELD>memployee</FIELD>
    </LINKTABLE>
    <HELP>
    </HELP>
    <FIXFILTER>
        <FIELD tablename="memployee" value="employeeid in(select employeeid from tpytran0)" ></FIELD>
    </FIXFILTER>
    <VFIELD>

        <FIELD type="String" size="50">memployee.simtpytran0_rep$inccaption01</FIELD>
        <FIELD type="String" size="50">memployee.simtpytran0_rep$inccaption02</FIELD>
        <FIELD type="String" size="50">memployee.simtpytran0_rep$inccaption03</FIELD>
        <FIELD type="String" size="50">memployee.simtpytran0_rep$inccaption04</FIELD>
        <FIELD type="String" size="50">memployee.simtpytran0_rep$inccaption05</FIELD>
        <FIELD type="String" size="50">memployee.simtpytran0_rep$inccaption06</FIELD>
        <FIELD type="String" size="50">memployee.simtpytran0_rep$inccaption07</FIELD>
        <FIELD type="String" size="50">memployee.simtpytran0_rep$inccaption08</FIELD>
        <FIELD type="String" size="50">memployee.simtpytran0_rep$inccaption09</FIELD>
        <FIELD type="String" size="50">memployee.simtpytran0_rep$inccaption10</FIELD>
        <FIELD type="String" size="50">memployee.simtpytran0_rep$inccaption11</FIELD>
        <FIELD type="String" size="50">memployee.simtpytran0_rep$inccaption12</FIELD>
        <FIELD type="String" size="50">memployee.simtpytran0_rep$inccaption13</FIELD>
        <FIELD type="String" size="50">memployee.simtpytran0_rep$inccaption14</FIELD>
        <FIELD type="String" size="50">memployee.simtpytran0_rep$inccaption15</FIELD>
        <FIELD type="String" size="50">memployee.simtpytran0_rep$inccaption16</FIELD>
        <FIELD type="String" size="50">memployee.simtpytran0_rep$inccaption17</FIELD>
        <FIELD type="String" size="50">memployee.simtpytran0_rep$inccaption18</FIELD>
        <FIELD type="String" size="50">memployee.simtpytran0_rep$inccaption19</FIELD>
        <FIELD type="String" size="50">memployee.simtpytran0_rep$inccaption20</FIELD>

        <FIELD type="String" size="50">memployee.simtpytran0_rep$incformula01</FIELD>
        <FIELD type="String" size="50">memployee.simtpytran0_rep$incformula02</FIELD>
        <FIELD type="String" size="50">memployee.simtpytran0_rep$incformula03</FIELD>
        <FIELD type="String" size="50">memployee.simtpytran0_rep$incformula04</FIELD>
        <FIELD type="String" size="50">memployee.simtpytran0_rep$incformula05</FIELD>
        <FIELD type="String" size="50">memployee.simtpytran0_rep$incformula06</FIELD>
        <FIELD type="String" size="50">memployee.simtpytran0_rep$incformula07</FIELD>
        <FIELD type="String" size="50">memployee.simtpytran0_rep$incformula08</FIELD>
        <FIELD type="String" size="50">memployee.simtpytran0_rep$incformula09</FIELD>
        <FIELD type="String" size="50">memployee.simtpytran0_rep$incformula10</FIELD>
        <FIELD type="String" size="50">memployee.simtpytran0_rep$incformula11</FIELD>
        <FIELD type="String" size="50">memployee.simtpytran0_rep$incformula12</FIELD>
        <FIELD type="String" size="50">memployee.simtpytran0_rep$incformula13</FIELD>
        <FIELD type="String" size="50">memployee.simtpytran0_rep$incformula14</FIELD>
        <FIELD type="String" size="50">memployee.simtpytran0_rep$incformula15</FIELD>
        <FIELD type="String" size="50">memployee.simtpytran0_rep$incformula16</FIELD>
        <FIELD type="String" size="50">memployee.simtpytran0_rep$incformula17</FIELD>
        <FIELD type="String" size="50">memployee.simtpytran0_rep$incformula18</FIELD>
        <FIELD type="String" size="50">memployee.simtpytran0_rep$incformula19</FIELD>
        <FIELD type="String" size="50">memployee.simtpytran0_rep$incformula20</FIELD>

        <FIELD type="String" size="50">memployee.simtpytran0_rep$expcaption01</FIELD>
        <FIELD type="String" size="50">memployee.simtpytran0_rep$expcaption02</FIELD>
        <FIELD type="String" size="50">memployee.simtpytran0_rep$expcaption03</FIELD>
        <FIELD type="String" size="50">memployee.simtpytran0_rep$expcaption04</FIELD>
        <FIELD type="String" size="50">memployee.simtpytran0_rep$expcaption05</FIELD>
        <FIELD type="String" size="50">memployee.simtpytran0_rep$expcaption06</FIELD>
        <FIELD type="String" size="50">memployee.simtpytran0_rep$expcaption07</FIELD>
        <FIELD type="String" size="50">memployee.simtpytran0_rep$expcaption08</FIELD>
        <FIELD type="String" size="50">memployee.simtpytran0_rep$expcaption09</FIELD>
        <FIELD type="String" size="50">memployee.simtpytran0_rep$expcaption10</FIELD>
        <FIELD type="String" size="50">memployee.simtpytran0_rep$expcaption11</FIELD>
        <FIELD type="String" size="50">memployee.simtpytran0_rep$expcaption12</FIELD>
        <FIELD type="String" size="50">memployee.simtpytran0_rep$expcaption13</FIELD>
        <FIELD type="String" size="50">memployee.simtpytran0_rep$expcaption14</FIELD>
        <FIELD type="String" size="50">memployee.simtpytran0_rep$expcaption15</FIELD>
        <FIELD type="String" size="50">memployee.simtpytran0_rep$expcaption16</FIELD>
        <FIELD type="String" size="50">memployee.simtpytran0_rep$expcaption17</FIELD>
        <FIELD type="String" size="50">memployee.simtpytran0_rep$expcaption18</FIELD>
        <FIELD type="String" size="50">memployee.simtpytran0_rep$expcaption19</FIELD>
        <FIELD type="String" size="50">memployee.simtpytran0_rep$expcaption20</FIELD>

        <FIELD type="String" size="50">memployee.simtpytran0_rep$expformula01</FIELD>
        <FIELD type="String" size="50">memployee.simtpytran0_rep$expformula02</FIELD>
        <FIELD type="String" size="50">memployee.simtpytran0_rep$expformula03</FIELD>
        <FIELD type="String" size="50">memployee.simtpytran0_rep$expformula04</FIELD>
        <FIELD type="String" size="50">memployee.simtpytran0_rep$expformula05</FIELD>
        <FIELD type="String" size="50">memployee.simtpytran0_rep$expformula06</FIELD>
        <FIELD type="String" size="50">memployee.simtpytran0_rep$expformula07</FIELD>
        <FIELD type="String" size="50">memployee.simtpytran0_rep$expformula08</FIELD>
        <FIELD type="String" size="50">memployee.simtpytran0_rep$expformula09</FIELD>
        <FIELD type="String" size="50">memployee.simtpytran0_rep$expformula10</FIELD>
        <FIELD type="String" size="50">memployee.simtpytran0_rep$expformula11</FIELD>
        <FIELD type="String" size="50">memployee.simtpytran0_rep$expformula12</FIELD>
        <FIELD type="String" size="50">memployee.simtpytran0_rep$expformula13</FIELD>
        <FIELD type="String" size="50">memployee.simtpytran0_rep$expformula14</FIELD>
        <FIELD type="String" size="50">memployee.simtpytran0_rep$expformula15</FIELD>
        <FIELD type="String" size="50">memployee.simtpytran0_rep$expformula16</FIELD>
        <FIELD type="String" size="50">memployee.simtpytran0_rep$expformula17</FIELD>
        <FIELD type="String" size="50">memployee.simtpytran0_rep$expformula18</FIELD>
        <FIELD type="String" size="50">memployee.simtpytran0_rep$expformula19</FIELD>
        <FIELD type="String" size="50">memployee.simtpytran0_rep$expformula20</FIELD>

        <!-- <FIELD type="String" size="50">memployee.accu_income</FIELD>
        <FIELD type="String" size="50">memployee.accu_income_cal_tax</FIELD>
        <FIELD type="String" size="50">memployee.accu_msoc</FIELD>
        <FIELD type="String" size="50">memployee.accu_tax</FIELD>
        <FIELD type="String" size="50">memployee.la_bank</FIELD>
        <FIELD type="String" size="50">memployee.th_bank</FIELD>
        <FIELD type="String" size="50">memployee.dec_tel</FIELD>	 -->

        <FIELD type="String" size="100">memployee.fullname</FIELD>
        <FIELD type="String" size="100">memployee.paymentdate</FIELD>

        <FIELD type="String" size="100">memployee.ytd_income</FIELD>
        <FIELD type="String" size="100">memployee.ytd_soc</FIELD>
        <FIELD type="String" size="100">memployee.ytd_pvf</FIELD>
        <FIELD type="String" size="100">memployee.ytd_tax</FIELD>

    </VFIELD>
    <GROUP >
    </GROUP>
    <REFER_LANG>TRUE</REFER_LANG>
    <REQUIRED_FOUND>FALSE</REQUIRED_FOUND>
    <OPTION_REQUIRE tdesc="กรุณาใส่เงื่อนไขในอ็อปชั่นก่อน" edesc=" Please input condition in Option">true</OPTION_REQUIRE>
    <TEMPLATE>
        <FIELD name="PAYSLIP_CAAT.jasper"  tdesc="รายงานใบแสดงเงินเดือน" edesc="รายงานใบแสดงเงินเดือน"/>
    </TEMPLATE>
    <COMPONENT>
        <FIELD type="list" name="prgcode" desc="Paroll_Group" size="1" table="PAYROLL_GROUPHELP,CODEID,PAYROLL_DESC, ,CODEID"></FIELD>
        <FIELD type="hidden" name="STATE" desc="STATE" value="Curreny"></FIELD>
    </COMPONENT>
</REPORTXML>