<?xml version="1.0" encoding="UTF-8"?>
		<REPORTXML>
			<DATAMANAGER>PRR027</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$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$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$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$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$__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>

			</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="PRR027.jasper"  tdesc="รายงานใบแสดงเงินเดือน(Pay Slip)" edesc="PAYSLIP"/> 
			</TEMPLATE>
			<COMPONENT>
				<FIELD type="list"  name="prgcode" desc="Paroll_Group" size="1" table="PAYROLL_GROUPHELP,CODEID,PAYROLL_DESC, ,CODEID"></FIELD>
		   </COMPONENT>

		</REPORTXML>
