<?xml version="1.0" encoding="UTF-8"?>
<REPORTXML>
	<DATAMANAGER>TARTMRSLT_CPN</DATAMANAGER>
	<REPORTHEADER tdesc="รายงานเวลาการทำงาน" edesc="Working Time Summary Report"/>
	<REFER_LANG>true</REFER_LANG>
	<LINKTABLE>
		<FIELD>Memployee</FIELD>
	</LINKTABLE>
	<HELP>
		<FIELD name="EMPLOYEEID" help="MEMPLOYEEHELP"/>
	</HELP>
	<FIXFILTER>
		<FIELD tablename="memployee" value=""/>
	</FIXFILTER>
	<VFIELD>
 		<FIELD  type="String" size="100">Memployee.fullname</FIELD>
		<FIELD  type="String" size="10">Memployee.workgrade</FIELD>
		<FIELD  type="String" size="10">Memployee.countlate</FIELD>
		<FIELD  type="String" size="10">Memployee.sumlate</FIELD>
		<FIELD  type="String" size="10">Memployee.countabsent</FIELD>
		<FIELD  type="String" size="10">Memployee.sumabsent</FIELD>
		<FIELD  type="String" size="10">Memployee.count_col01</FIELD>
		<FIELD  type="String" size="10">Memployee.sum_col01</FIELD>
		<FIELD  type="String" size="10">Memployee.count_col02</FIELD>
		<FIELD  type="String" size="10">Memployee.sum_col02</FIELD>
		<FIELD  type="String" size="10">Memployee.count_col03</FIELD>
		<FIELD  type="String" size="10">Memployee.sum_col03</FIELD>
		<FIELD  type="String" size="10">Memployee.count_col04</FIELD>
		<FIELD  type="String" size="10">Memployee.sum_col04</FIELD>
		<FIELD  type="String" size="10">Memployee.count_col05</FIELD>
		<FIELD  type="String" size="10">Memployee.sum_col05</FIELD>
		<FIELD  type="String" size="10">Memployee.count_col06</FIELD>
		<FIELD  type="String" size="10">Memployee.sum_col06</FIELD>
		<FIELD  type="String" size="10">Memployee.count_col07</FIELD>
		<FIELD  type="String" size="10">Memployee.sum_col07</FIELD>
		<FIELD  type="String" size="10">Memployee.count_col08</FIELD>
		<FIELD  type="String" size="10">Memployee.sum_col08</FIELD>
		<FIELD  type="String" size="10">Memployee.countmisc</FIELD>
		<FIELD  type="String" size="10">Memployee.summisc</FIELD>
		<FIELD  type="String" size="10">Memployee.ot1</FIELD>
		<FIELD  type="String" size="10">Memployee.ot5</FIELD>
		<FIELD  type="String" size="10">Memployee.ot2</FIELD>
		<FIELD  type="String" size="10">Memployee.ot3</FIELD>
		<FIELD  type="String" size="100">Memployee.header</FIELD>
		<FIELD  type="String" size="10">Memployee.periodstart</FIELD>
		<FIELD  type="String" size="10">Memployee.periodend</FIELD>
		<FIELD  type="String" size="10">Memployee.col01_thaname</FIELD>
		<FIELD  type="String" size="10">Memployee.col02_thaname</FIELD>
		<FIELD  type="String" size="10">Memployee.col03_thaname</FIELD>
		<FIELD  type="String" size="10">Memployee.col04_thaname</FIELD>
		<FIELD  type="String" size="10">Memployee.col05_thaname</FIELD>
		<FIELD  type="String" size="10">Memployee.col06_thaname</FIELD>
		<FIELD  type="String" size="10">Memployee.col07_thaname</FIELD>
		<FIELD  type="String" size="10">Memployee.col08_thaname</FIELD>
		<FIELD  type="String" size="10">Memployee.col01_engname</FIELD>
		<FIELD  type="String" size="10">Memployee.col02_engname</FIELD>
		<FIELD  type="String" size="10">Memployee.col03_engname</FIELD>
		<FIELD  type="String" size="10">Memployee.col04_engname</FIELD>
		<FIELD  type="String" size="10">Memployee.col05_engname</FIELD>
		<FIELD  type="String" size="10">Memployee.col06_engname</FIELD>
		<FIELD  type="String" size="10">Memployee.col07_engname</FIELD>
		<FIELD  type="String" size="10">Memployee.col08_engname</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>
	<TEMPLATE>
			<FIELD name="TARTMRSLT_CPN.jasper"  tdesc="รายงานสรุปเวลาการทำงาน A4" edesc="Work Time Summary Report"/>
			<FIELD name="TARTMRSLT_CPN_EXCEL.jasper"  tdesc="รายงานสรุปเวลาการทำงาน A4(EXCEL)" edesc="Work Time Summary Report(EXCEL)"/>
			<FIELD name="TARTMRSLT_CPN_US.jasper"  tdesc="รายงานสรุปเวลาการทำงาน US" edesc="Work Time Summary Report"/>
			<FIELD name="TARTMRSLT_CPN_US_EXCEL.jasper"  tdesc="รายงานสรุปเวลาการทำงาน US(EXCEL)" edesc="Work Time Summary Report(EXCEL)"/>
	</TEMPLATE>
	<OPTION_REQUIRE tdesc="กรุณาใส่เงื่อนไขในอ็อปชั่นก่อน" edesc=" Please input condition in Option">true</OPTION_REQUIRE>
	<COMPONENT link="TARTMRSLT_CPN">
		<FIELD type="text" name="STDOM" desc="DayOfMonth"   size="10" value=""></FIELD>
		<FIELD type="text" name="STYEAR"  desc="Year"  size="10" value=""></FIELD>
		<FIELD type="text" name="STMONTH" desc="Month"   size="10" value=""></FIELD>
		<FIELD type="text" name="ENDDOM"  desc="DayOfMonth"  size="10" value=""></FIELD>
		<FIELD type="text" name="ENDMONTH" desc="Month"   size="10" value=""></FIELD>
		<FIELD type="text" name="ENDYEAR"  desc="Year"  size="10" value=""></FIELD>
		<FIELD type="text" name="REPORTTYPE"  desc="Report Type"  size="10" value=""></FIELD>
		<FIELD type="text" name="__col01"  desc="__col01"  size="10" value=""></FIELD>
		<FIELD type="text" name="__col02"  desc="__col02"  size="10" value=""></FIELD>
		<FIELD type="text" name="__col03"  desc="__col01"  size="10" value=""></FIELD>
		<FIELD type="text" name="__col04"  desc="__col01"  size="10" value=""></FIELD>
		<FIELD type="text" name="__col05"  desc="__col01"  size="10" value=""></FIELD>
		<FIELD type="text" name="__col06"  desc="__col01"  size="10" value=""></FIELD>
		<FIELD type="text" name="__col07"  desc="__col01"  size="10" value=""></FIELD>
		<FIELD type="text" name="__col08"  desc="__col01"  size="10" value=""></FIELD>
		<FIELD type="text" name="__col_misc"  desc="__col_misc"  size="10" value=""></FIELD>
		<FIELD type="text" name="MSALATYPE0_TDESC"  desc="salatype_desc"  size="100" value=""></FIELD>
	</COMPONENT>
</REPORTXML>
