<?xml version="1.0" encoding="UTF-8"?>
<REPORTXML>
	<DATAMANAGER>TAR169</DATAMANAGER>
	<REPORTHEADER tdesc="รายงานสรุปข้อมูลการทำงานส่งเงินเดือน(ยอดรวม)" edesc="Summary Attendance Statistic for Payroll"/>
	<LINKTABLE>
		<FIELD>Memployee</FIELD>
	</LINKTABLE>
	<HELP>
	</HELP>
	<FIXFILTER>
		<FIELD tablename="Memployee" value="status in (select statuscode from mempl_status where statustype = 'A')"/>
	</FIXFILTER>
	<VFIELD>
		<FIELD type="String" size="100">memployee.fullname</FIELD>
		<FIELD type="String" size="100">Memployee.workddhhmm</FIELD>
		<FIELD type="String" size="100">Memployee.offddhhmm</FIELD>
		<FIELD type="String" size="100">Memployee.countabsent</FIELD>
		<FIELD type="String" size="100">Memployee.countnp</FIELD>
		<FIELD type="String" size="100">Memployee.countlt</FIELD>
		<FIELD type="String" size="100">Memployee.sumlt</FIELD>
		<FIELD type="String" size="100">Memployee.countearly</FIELD>
		<FIELD type="String" size="100">Memployee.sumearly</FIELD>
		<FIELD type="String" size="100">Memployee.sumot1</FIELD>
		<FIELD type="String" size="100">Memployee.sumot5</FIELD>
		<FIELD type="String" size="100">Memployee.sumot2</FIELD>
		<FIELD type="String" size="100">Memployee.sumot3</FIELD>
		<FIELD type="String" size="100">Memployee.countleave</FIELD>
		<FIELD type="String" size="100">Memployee.sumwp</FIELD>
		<FIELD type="String" size="100">Memployee.sumwop</FIELD>
		<FIELD type="String" size="100">Memployee.countshift</FIELD>
		<FIELD type="String" size="100">Memployee.usehour_s</FIELD>
	</VFIELD>
	<GROUP >
		<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="TAR169.jasper"  tdesc="รายงานสรุปข้อมูลการทำงานส่งเงินเดือน(ยอดรวม)" edesc="Summary Attendance Statistic for Payroll"/>
			<FIELD name="TAR169_EXCEL.jasper"  tdesc="รายงานสรุปข้อมูลการทำงานส่งเงินเดือน(ยอดรวม)(EXCEL)" edesc="Summary Attendance Statistic for Payroll(EXCEL)"/>
	</TEMPLATE>
    <COMPONENT link="TAR169_OPTION">
		<FIELD type="text" name="start" tdesc="start" edesc="start" size="100" value=""></FIELD>
		<FIELD type="text" name="end" tdesc="end" edesc="end" size="100" value=""></FIELD>
	</COMPONENT>
</REPORTXML>