<?xml version="1.0" encoding="UTF-8"?>
<REPORTXML>
	<DATAMANAGER>PR067</DATAMANAGER>
	<REPORTHEADER tdesc="รายงาน Workmen Compensation" edesc="Workmen Compensation Report"/>
	<LINKTABLE>
		<FIELD>memployee</FIELD>		
	</LINKTABLE>    
	<HELP>
	</HELP>
	<VFIELD>
		<FIELD type="String" size="50">memployee.simtpy_his0_rep_detail$header01</FIELD>
		<FIELD type="String" size="50">memployee.simtpy_his0_rep_detail$header02</FIELD>
		<FIELD type="String" size="50">memployee.simtpy_his0_rep_detail$header03</FIELD>
		<FIELD type="String" size="50">memployee.simtpy_his0_rep_detail$header04</FIELD>
		<FIELD type="String" size="50">memployee.simtpy_his0_rep_detail$header05</FIELD>
		<FIELD type="String" size="50">memployee.simtpy_his0_rep_detail$header06</FIELD>
		<FIELD type="String" size="50">memployee.simtpy_his0_rep_detail$header07</FIELD>
		<FIELD type="String" size="50">memployee.simtpy_his0_rep_detail$header08</FIELD>
		<FIELD type="String" size="50">memployee.simtpy_his0_rep_detail$header09</FIELD>
		<FIELD type="String" size="50">memployee.simtpy_his0_rep_detail$header10</FIELD>
		<FIELD type="String" size="50">memployee.simtpy_his0_rep_detail$header11</FIELD>
		<FIELD type="String" size="50">memployee.simtpy_his0_rep_detail$header12</FIELD>
		
		<FIELD type="String" size="50">memployee.simtpy_his0_rep_detail$formula01_caption</FIELD>
		<FIELD type="Double" size="50">memployee.simtpy_his0_rep_detail$header01_formula01</FIELD>
		<FIELD type="Double" size="50">memployee.simtpy_his0_rep_detail$header02_formula01</FIELD>
		<FIELD type="Double" size="50">memployee.simtpy_his0_rep_detail$header03_formula01</FIELD>
		<FIELD type="Double" size="50">memployee.simtpy_his0_rep_detail$header04_formula01</FIELD>
		<FIELD type="Double" size="50">memployee.simtpy_his0_rep_detail$header05_formula01</FIELD>
		<FIELD type="Double" size="50">memployee.simtpy_his0_rep_detail$header06_formula01</FIELD>
		<FIELD type="Double" size="50">memployee.simtpy_his0_rep_detail$header07_formula01</FIELD>
		<FIELD type="Double" size="50">memployee.simtpy_his0_rep_detail$header08_formula01</FIELD>
		<FIELD type="Double" size="50">memployee.simtpy_his0_rep_detail$header09_formula01</FIELD>
		<FIELD type="Double" size="50">memployee.simtpy_his0_rep_detail$header10_formula01</FIELD>
		<FIELD type="Double" size="50">memployee.simtpy_his0_rep_detail$header11_formula01</FIELD>
		<FIELD type="Double" size="50">memployee.simtpy_his0_rep_detail$header12_formula01</FIELD>

		<FIELD type="Double" size="50">memployee.simtpy_his0_rep_detail$header01_workmen01</FIELD>
		<FIELD type="Double" size="50">memployee.simtpy_his0_rep_detail$header02_workmen01</FIELD>
		<FIELD type="Double" size="50">memployee.simtpy_his0_rep_detail$header03_workmen01</FIELD>
		<FIELD type="Double" size="50">memployee.simtpy_his0_rep_detail$header04_workmen01</FIELD>
		<FIELD type="Double" size="50">memployee.simtpy_his0_rep_detail$header05_workmen01</FIELD>
		<FIELD type="Double" size="50">memployee.simtpy_his0_rep_detail$header06_workmen01</FIELD>
		<FIELD type="Double" size="50">memployee.simtpy_his0_rep_detail$header07_workmen01</FIELD>
		<FIELD type="Double" size="50">memployee.simtpy_his0_rep_detail$header08_workmen01</FIELD>
		<FIELD type="Double" size="50">memployee.simtpy_his0_rep_detail$header09_workmen01</FIELD>
		<FIELD type="Double" size="50">memployee.simtpy_his0_rep_detail$header10_workmen01</FIELD>
		<FIELD type="Double" size="50">memployee.simtpy_his0_rep_detail$header11_workmen01</FIELD>
		<FIELD type="Double" size="50">memployee.simtpy_his0_rep_detail$header12_workmen01</FIELD>
		
		<FIELD type="String" size="100">memployee.fullname</FIELD>
	</VFIELD>
	<GROUP >
		<FIELD DESC="mbranch.edesc" LABEL="BRANCH">memployee.branch</FIELD>
		<FIELD DESC="mbu1.edesc" LABEL="BU1">memployee.bu1</FIELD>
	</GROUP>
	<REFER_LANG>TRUE</REFER_LANG>
	<REQUIRED_FOUND>FALSE</REQUIRED_FOUND>                 
	<TEMPLATE>
		<FIELD name="PR067.jasper"  tdesc="รายงาน Workmen Compensation" edesc="Workmen Compensation Report"/>
	</TEMPLATE>
    <COMPONENT>
		<FIELD type="list" name="TIMESCHID" desc="Time Schedule" size="1" table="MTIME_SCHEDULEHELP,TIMESCHID,TIME_DESC, (verified !='I') ,TIMESCHID"></FIELD>
		<!--FIELD type="text" name="sender" desc="Sender" size="50"></FIELD>
		<FIELD type="text" name="reciver" desc="Reciver" size="50"></FIELD>
		<FIELD type="text" name="signature" desc="Signature" size="50"></FIELD>
		<FIELD type="text" name="reportcondition" desc="ReportCondition" size="50"></FIELD>
		<FIELD type="text" name="reportconditiondesc" desc="ReportConditionDesc" size="50"></FIELD>
		<FIELD type="text" name="reportlevel" desc="ReportLevel" size="50"></FIELD-->
		<FIELD type="text" name="udf1" desc="UDF1" size="50"></FIELD>
		<!--FIELD type="text" name="udf2" desc="UDF2" size="50"></FIELD>
		<FIELD type="text" name="udf3" desc="UDF3" size="50"></FIELD>
		<FIELD type="text" name="udf4" desc="UDF4" size="50"></FIELD>
		<FIELD type="text" name="udf5" desc="UDF5" size="50"></FIELD-->		
		<FIELD type="radio" name="CAL_WORKMEN" desc="Calculate Workmen" size="1" validCode="YESNO"></FIELD>
   </COMPONENT>
</REPORTXML>
