<?xml version="1.0" encoding="UTF-8"?>
<REPORTXML>
	<DATAMANAGER>TAVAC001_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">BU1</FIELD>
		<FIELD DESC="mbu2.edesc" LABEL="BU2">BU2</FIELD>
		<FIELD DESC="mbu3.edesc" LABEL="BU3">BU3</FIELD>
		<FIELD DESC="mbu4.edesc" LABEL="BU4">BU4</FIELD>
		<FIELD DESC="mbu5.edesc" LABEL="BU5">BU5</FIELD>
	</GROUP>
	<TEMPLATE>
		<FIELD name="TAVAC001.jasper"  tdesc="รายงานสิทธิ์การลาพักร้อน" edesc="Vacation Accrual Report"/>
	</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>
