<?xml version="1.0" encoding="UTF-8"?>
		<REPORTXML>
			<DATAMANAGER>PRR007</DATAMANAGER>
			<REPORTHEADER tdesc="รายงานสรุปโอที" edesc="Sumary Over Time Report"/>
			<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="Double" size="50">memployee.simtpytran0_rep$__ot1</FIELD>
				<FIELD type="Double" size="50">memployee.simtpytran0_rep$__ot2</FIELD>
				<FIELD type="Double" size="50">memployee.simtpytran0_rep$__ot3</FIELD>
				<FIELD type="Double" size="50">memployee.simtpytran0_rep$__ot15</FIELD>
				<FIELD type="String" size="100">memployee.fullname</FIELD>  
				<FIELD type="String" size="100">memployee.payment_date</FIELD>   
			</VFIELD>
			<GROUP > 
				<FIELD DESC="mbu1.tdesc" LABEL="BU1">memployee.bu1</FIELD>
				<FIELD DESC="mbu2.tdesc" LABEL="BU2">memployee.bu2</FIELD>
				<FIELD DESC="mcostcenter0.tdesc" LABEL="COSTCENTER">memployee.costcenter</FIELD> 
	</GROUP>  
			<REFER_LANG>TRUE</REFER_LANG>
			<REQUIRED_FOUND>TRUE</REQUIRED_FOUND> 
			<TEMPLATE>
					<FIELD name="PRR007.jasper"  tdesc="รายงานสรุปโอที" edesc="Sumary Over Time Report"/> 	         
			</TEMPLATE>			
			<OPTION_REQUIRE tdesc="กรุณาใส่เงื่อนไขในอ็อปชั่นก่อน" edesc=" Please input condition in Option">true</OPTION_REQUIRE>
			<COMPONENT>
				<FIELD type="list"  name="prgcode" desc="Paroll_Group" size="1" table="PAYROLL_GROUPHELP,CODEID,PAYROLL_DESC, ,CODEID"></FIELD>
				<FIELD type="text" name="udf1" desc="UDF2"   size="50">
					<DATALINK 
						table				=	"MSALATYPE1"
						field				=	"PAY_DATE"
						filter				=	" POSTED != '2' "
						orderby			=	"LINE_NO"
						addcompanyid	=	"on"
					/>
				</FIELD>
		   </COMPONENT>
		</REPORTXML>
