<?xml version="1.0" encoding="UTF-8"?>
		<REPORTXML>
			<DATAMANAGER>PRR213</DATAMANAGER>
			<REPORTHEADER tdesc="รายงานใบแสดงเงินเดือน(Pay Slip)" edesc="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$formula01</FIELD>	
				<FIELD type="String" size="50">memployee.simtpytran0_rep$formula02</FIELD>	
				<FIELD type="String" size="50">memployee.simtpytran0_rep$formula03</FIELD>	
				<FIELD type="String" size="50">memployee.simtpytran0_rep$formula04</FIELD>	
				<FIELD type="String" size="50">memployee.simtpytran0_rep$formula05</FIELD>	
				<FIELD type="String" size="50">memployee.simtpytran0_rep$formula06</FIELD>	
				<FIELD type="String" size="50">memployee.simtpytran0_rep$formula07</FIELD>	
				<FIELD type="String" size="50">memployee.simtpytran0_rep$formula08</FIELD>	
				<FIELD type="String" size="50">memployee.simtpytran0_rep$formula09</FIELD>	
				<FIELD type="String" size="50">memployee.simtpytran0_rep$formula10</FIELD>	
				<FIELD type="String" size="50">memployee.simtpytran0_rep$formula11</FIELD>	
				<FIELD type="String" size="50">memployee.simtpytran0_rep$formula12</FIELD>	
				<FIELD type="String" size="50">memployee.simtpytran0_rep$formula13</FIELD>	
				<FIELD type="String" size="50">memployee.simtpytran0_rep$formula14</FIELD>	
				<FIELD type="String" size="50">memployee.simtpytran0_rep$formula15</FIELD>	
				<FIELD type="String" size="50">memployee.simtpytran0_rep$formula16</FIELD>	
				<FIELD type="String" size="50">memployee.simtpytran0_rep$formula17</FIELD>	
				<FIELD type="String" size="50">memployee.simtpytran0_rep$formula18</FIELD>	
				<FIELD type="String" size="50">memployee.simtpytran0_rep$formula19</FIELD>	
				<FIELD type="String" size="50">memployee.simtpytran0_rep$formula20</FIELD>	
				<FIELD type="String" size="50">memployee.simtpytran0_rep$formula21</FIELD>	
				<FIELD type="String" size="50">memployee.simtpytran0_rep$formula22</FIELD>	
				<FIELD type="String" size="50">memployee.simtpytran0_rep$formula23</FIELD>	
				<FIELD type="String" size="50">memployee.simtpytran0_rep$formula24</FIELD>	
				<FIELD type="String" size="50">memployee.simtpytran0_rep$formula25</FIELD>	
				<FIELD type="String" size="50">memployee.simtpytran0_rep$formula26</FIELD>	
				<FIELD type="String" size="50">memployee.simtpytran0_rep$formula27</FIELD>	
				<FIELD type="String" size="50">memployee.simtpytran0_rep$formula28</FIELD>	
				<FIELD type="String" size="50">memployee.simtpytran0_rep$formula29</FIELD>	
				<FIELD type="String" size="50">memployee.simtpytran0_rep$formula30</FIELD>	

				<FIELD type="String" size="50">memployee.simtpytran0_rep$caption01</FIELD>	
				<FIELD type="String" size="50">memployee.simtpytran0_rep$caption02</FIELD>	
				<FIELD type="String" size="50">memployee.simtpytran0_rep$caption03</FIELD>	
				<FIELD type="String" size="50">memployee.simtpytran0_rep$caption04</FIELD>	
				<FIELD type="String" size="50">memployee.simtpytran0_rep$caption05</FIELD>	
				<FIELD type="String" size="50">memployee.simtpytran0_rep$caption06</FIELD>	
				<FIELD type="String" size="50">memployee.simtpytran0_rep$caption07</FIELD>	
				<FIELD type="String" size="50">memployee.simtpytran0_rep$caption08</FIELD>	
				<FIELD type="String" size="50">memployee.simtpytran0_rep$caption09</FIELD>	
				<FIELD type="String" size="50">memployee.simtpytran0_rep$caption10</FIELD>	
				<FIELD type="String" size="50">memployee.simtpytran0_rep$caption11</FIELD>	
				<FIELD type="String" size="50">memployee.simtpytran0_rep$caption12</FIELD>	
				<FIELD type="String" size="50">memployee.simtpytran0_rep$caption13</FIELD>	
				<FIELD type="String" size="50">memployee.simtpytran0_rep$caption14</FIELD>	
				<FIELD type="String" size="50">memployee.simtpytran0_rep$caption15</FIELD>	
				<FIELD type="String" size="50">memployee.simtpytran0_rep$caption16</FIELD>	
				<FIELD type="String" size="50">memployee.simtpytran0_rep$caption17</FIELD>	
				<FIELD type="String" size="50">memployee.simtpytran0_rep$caption18</FIELD>	
				<FIELD type="String" size="50">memployee.simtpytran0_rep$caption19</FIELD>	
				<FIELD type="String" size="50">memployee.simtpytran0_rep$caption20</FIELD>	
				<FIELD type="String" size="50">memployee.simtpytran0_rep$caption21</FIELD>	
				<FIELD type="String" size="50">memployee.simtpytran0_rep$caption22</FIELD>	
				<FIELD type="String" size="50">memployee.simtpytran0_rep$caption23</FIELD>	
				<FIELD type="String" size="50">memployee.simtpytran0_rep$caption24</FIELD>	
				<FIELD type="String" size="50">memployee.simtpytran0_rep$caption25</FIELD>	
				<FIELD type="String" size="50">memployee.simtpytran0_rep$caption26</FIELD>	
				<FIELD type="String" size="50">memployee.simtpytran0_rep$caption27</FIELD>	
				<FIELD type="String" size="50">memployee.simtpytran0_rep$caption28</FIELD>	
				<FIELD type="String" size="50">memployee.simtpytran0_rep$caption29</FIELD>	
				<FIELD type="String" size="50">memployee.simtpytran0_rep$caption30</FIELD>					
				
				<FIELD type="String" size="50">memployee.simtpytran0_rep$__currentincome</FIELD>
				<FIELD type="String" size="50">memployee.simtpytran0_rep$pnd_income</FIELD>
				<FIELD type="String" size="50">memployee.simtpytran0_rep$__currenttax</FIELD>
				<FIELD type="String" size="50">memployee.simtpytran0_rep$p_tax</FIELD>
				<FIELD type="String" size="50">memployee.simtpytran0_rep$__currentsoc</FIELD>
				<FIELD type="String" size="50">memployee.simtpytran0_rep$p_msoc</FIELD>				
				<FIELD type="String" size="50">memployee.simtpytran0_rep$__currentpvf</FIELD>
				<FIELD type="String" size="50">memployee.simtpytran0_rep$p_mpvf</FIELD>

				<FIELD type="String" size="50">memployee.simtpytran0_rep$work</FIELD>
				<FIELD type="String" size="50">memployee.simtpytran0_rep$ot1</FIELD>
				<FIELD type="String" size="50">memployee.simtpytran0_rep$ot2</FIELD>
				<FIELD type="String" size="50">memployee.simtpytran0_rep$ot3</FIELD>
				<FIELD type="String" size="50">memployee.simtpytran0_rep$ot5</FIELD>
				<FIELD type="String" size="50">memployee.simtpytran0_rep$food</FIELD>
				<FIELD type="String" size="50">memployee.simtpytran0_rep$shift</FIELD>
				<FIELD type="String" size="50">memployee.simtpytran0_rep$position</FIELD>

				<FIELD type="String" size="100">memployee.tfullname</FIELD>  
				<FIELD type="String" size="100">memployee.efullname</FIELD>  
				<FIELD type="String" size="100">memployee.paymentdate</FIELD>
				<FIELD type="String" size="100">memployee.payment_date</FIELD>
				<FIELD type="String" size="100">memployee.bonus1</FIELD>
				<FIELD type="String" size="100">memployee.summary_bonus</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="PRR213.jasper"  tdesc="รายงานใบแสดงเงินเดือน(Pay Slip)" edesc="PAYSLIP"/> 
			</TEMPLATE>
			<COMPONENT link="PRR213">
				<FIELD type="list"  name="prgcode" desc="Paroll_Group" size="1" table="PAYROLL_GROUPHELP,CODEID,PAYROLL_DESC, ,CODEID"></FIELD>
				<FIELD type="text"  name="UDF1" desc="UDF1" size="30" value=""></FIELD>
				<FIELD type="text"  name="STATE" desc="UDF1" size="30" value="Current"></FIELD>
				<FIELD type="text"  name="DATE" desc="DATE" size="10" value="" onKeyPress="chkIntegerOfDate(this.value,event);" onKeyUp="sysIsEdit();formatDate(this);" onBlur="chkInputDate(this);" onfocus="this.select();"></FIELD>
		   </COMPONENT>

		</REPORTXML>
