<?xml version="1.0" encoding="UTF-8"?>
<REPORTXML>
	<DATAMANAGER>PAYSLIP_CSC</DATAMANAGER>
	<REPORTHEADER tdesc="รายงานใบแสดงเงินเดือน (e-Payslip)" edesc="e-Payslip"/>
	<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">simtpytran0_rep.ot1</FIELD>
		<FIELD type="String" size="50">simtpytran0_rep.ot5</FIELD>
		<FIELD type="String" size="50">simtpytran0_rep.ot15</FIELD>
		<FIELD type="String" size="50">simtpytran0_rep.ot2</FIELD>
		<FIELD type="String" size="50">simtpytran0_rep.ot3</FIELD>
		<FIELD type="String" size="50">simtpytran0_rep.absent</FIELD>
		<FIELD type="String" size="50">simtpytran0_rep.lateh</FIELD>
		<FIELD type="String" size="50">simtpytran0_rep.shift</FIELD>
		<FIELD type="String" size="50">simtpytran0_rep.value_inc21</FIELD>

		<FIELD type="String" size="50">memployee.salary_ytd</FIELD>
		<FIELD type="String" size="50">memployee.other_income_ytd</FIELD>
		<FIELD type="String" size="50">memployee.other_deduct_ytd</FIELD>
		<FIELD type="String" size="50">memployee.tax_ytd</FIELD>
		<FIELD type="String" size="50">memployee.pvf_ytd</FIELD>
		<FIELD type="String" size="50">memployee.social_ytd</FIELD>
		<FIELD type="String" size="50">memployee.emp_pvf</FIELD>
		<FIELD type="String" size="50">memployee.com_pvf</FIELD>
		<FIELD type="String" size="100">memployee.fullname</FIELD>
		<FIELD type="String" size="100">memployee.paymentdate</FIELD>
		<FIELD type="String" size="100">memployee.salatype_enddate</FIELD>

		<FIELD type="String" size="100">mbranch.tfulladdr</FIELD>
		<FIELD type="String" size="100">mbranch.efulladdr</FIELD>
		<FIELD type="String" size="100">mbranch.epaysignature</FIELD>

	</VFIELD>
	<GROUP>
		<FIELD DESC="mbranch.edesc" LABEL="BRANCH CODE">memployee.branch</FIELD>
		<FIELD DESC="mbu1.edesc" LABEL="BU1 CODE">memployee.bu1</FIELD>
		<FIELD DESC="mbu2.edesc" LABEL="BU2 CODE">memployee.bu2</FIELD>
		<FIELD DESC="mbu3.edesc" LABEL="BU3 CODE">memployee.bu3</FIELD>
		<FIELD DESC="mbu4.edesc" LABEL="BU4 CODE">memployee.bu4</FIELD>
		<FIELD DESC="mbu5.edesc" LABEL="BU5 CODE">memployee.bu5</FIELD>
	</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_CSC.jasper" tdesc="Payslip H5.3CM" edesc="Payslip H5.3CM"/>
	</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="Current"></FIELD>
		<FIELD type="hidden" name="PERIOD_MONTH" desc="Period Month" value="0"></FIELD>
		<FIELD type="hidden" name="PERIOD_YEAR" desc="Period Year" value="0"></FIELD>
	</COMPONENT>
</REPORTXML>
