<?xml version="1.0" encoding="UTF-8"?>
<REPORTXML>
	<DATAMANAGER>TAR002</DATAMANAGER>
	<REPORTHEADER tdesc="รายงานการปฏิบัติงานของพนักงาน" edesc="Daily Statistic Report"/>
	<REFER_LANG>true</REFER_LANG>
	<LINKTABLE>
		<FIELD>TTIME_CURRENT1</FIELD>
		<FIELD>MEMPLOYEE</FIELD>
	</LINKTABLE>
	<HELP>
	</HELP>
	<FIXFILTER>
		<FIELD tablename="ttime_current1" value="employeeid in (select employeeid from memployee where status in ('A','S','T','V'))"/>
	</FIXFILTER>
	<VFIELD>
		<FIELD type="String" size="100">Memployee.fulllname</FIELD>
	</VFIELD>
	<GROUP >
		<FIELD DESC="mbranch.edesc" LABEL="BRANCH CODE">ttime_current1.branch</FIELD>
		<FIELD DESC="mbu1.edesc" LABEL="BU1 CODE">ttime_current1.bu1</FIELD>
		<FIELD DESC="mbu2.edesc" LABEL="BU2 CODE">ttime_current1.bu2</FIELD>
		<FIELD DESC="mbu3.edesc" LABEL="BU3 CODE">ttime_current1.bu3</FIELD>
		<FIELD DESC="mbu4.edesc" LABEL="BU4 CODE">ttime_current1.bu4</FIELD>
		<FIELD DESC="mbu5.edesc" LABEL="BU5 CODE">ttime_current1.bu5</FIELD>
		<FIELD DESC="mgroup.edesc" LABEL="GROUP CODE">ttime_current1.emp_group</FIELD>
	</GROUP>
	<TEMPLATE>
		<FIELD name="TAR002.jasper"  tdesc="รายงานการปฏิบัติงานของพนักงาน" edesc="RESULT WORK REPORT"/>
		<FIELD name="TAR002_EXCEL.jasper"  tdesc="รายงานการปฏิบัติงานของพนักงาน(EXCEL)" edesc="RESULT WORK REPORT(EXCEL)"/>
	</TEMPLATE>
   <COMPONENT  link="TAR002">
	</COMPONENT>
</REPORTXML>
