<?xml version="1.0" encoding="UTF-8"?>
<REPORTXML>
	<DATAMANAGER>PRVAC001_REPORT</DATAMANAGER>
	<REPORTHEADER tdesc="รายงานสิทธิ์การลาพักร้อน" edesc="Vacation Accrual Report"/>
	<REFER_LANG>true</REFER_LANG>
	<LINKTABLE>
		<FIELD>TVACATION_ACCRUAL</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'))"/> -->
		<FIELD tablename="Tvacation_accrual" value=""/>
	</FIXFILTER>
	<VFIELD>
		<FIELD type="String" size="100">memployee.fullname</FIELD>
		<FIELD type="String" size="2000">memployee.branchname</FIELD>
		<FIELD type="String" size="2000">tvacation_accrual.print_by</FIELD>
	</VFIELD>
	<GROUP >
		<!-- <FIELD DESC="mbu1.edesc" LABEL="BU1 CODE">TVACATION_ACCRUAL.bu1</FIELD>
		<FIELD DESC="mbu2.edesc" LABEL="BU2 CODE">TVACATION_ACCRUAL.bu2</FIELD>
		<FIELD DESC="mbu3.edesc" LABEL="BU3 CODE">TVACATION_ACCRUAL.bu3</FIELD>
		<FIELD DESC="mbu4.edesc" LABEL="BU4 CODE">TVACATION_ACCRUAL.bu4</FIELD>
		<FIELD DESC="mbu5.edesc" LABEL="BU5 CODE">TVACATION_ACCRUAL.bu5</FIELD> -->
	</GROUP>
	<TEMPLATE>
		<FIELD name="PRVAC001.jasper"  tdesc="รายงานสิทธิ์การลาพักร้อน" edesc="Vacation Accrual Report"/>
		<FIELD name="PRVAC001_EXCEL.jasper"  tdesc="รายงานสิทธิ์การลาพักร้อน(EXCEL)" edesc="Vacation Accrual Report(EXCEL)"/>
	</TEMPLATE>
  <OPTION_REQUIRE tdesc="กรุณาใส่เงื่อนไขในอ็อปชั่นก่อน" edesc=" Please input condition in Option">true</OPTION_REQUIRE>
	<COMPONENT link="VAC_OPTION">
		<FIELD type="text" name="STARTDATE" desc="Start Date" value="-" size="10"></FIELD>
		<FIELD type="text" name="GROUPBY_VAC" desc="GROUPBY_VAC" value="BU1" size="10"></FIELD>
	</COMPONENT>
</REPORTXML>