<?xml version="1.0" encoding="UTF-8"?>
<REPORTXML>
	<DATAMANAGER>PRR171</DATAMANAGER>
	<REPORTHEADER tdesc="รายงานเงินเดือน (HR)" edesc="Summary Payment Record  by Department"/>
	<LINKTABLE>
		<FIELD>memployee</FIELD>
	</LINKTABLE>
	<HELP>
	</HELP>
	<FIXFILTER>
		<FIELD tablename="memployee" value="employeeid in(select employeeid from tpytran0) " ></FIELD>
	</FIXFILTER>
	<VFIELD>
				<FIELD type="String" size="50">memployee.simtpytran0_rep$caption01</FIELD>
				<FIELD type="String" size="50">memployee.simtpytran0_rep$caption02</FIELD>
				<FIELD type="String" size="50">memployee.simtpytran0_rep$caption03</FIELD>
				<FIELD type="String" size="50">memployee.simtpytran0_rep$caption04</FIELD>
				<FIELD type="String" size="50">memployee.simtpytran0_rep$caption05</FIELD>
				<FIELD type="String" size="50">memployee.simtpytran0_rep$caption06</FIELD>
				<FIELD type="String" size="50">memployee.simtpytran0_rep$caption07</FIELD>
				<FIELD type="String" size="50">memployee.simtpytran0_rep$caption08</FIELD>
				<FIELD type="String" size="50">memployee.simtpytran0_rep$caption09</FIELD>
				<FIELD type="String" size="50">memployee.simtpytran0_rep$caption10</FIELD>
				<FIELD type="String" size="50">memployee.simtpytran0_rep$caption11</FIELD>
				<FIELD type="String" size="50">memployee.simtpytran0_rep$caption12</FIELD>
				<FIELD type="String" size="50">memployee.simtpytran0_rep$caption13</FIELD>
				<FIELD type="String" size="50">memployee.simtpytran0_rep$caption14</FIELD>
				<FIELD type="String" size="50">memployee.simtpytran0_rep$caption15</FIELD>
				<FIELD type="String" size="50">memployee.simtpytran0_rep$caption16</FIELD>
				<FIELD type="String" size="50">memployee.simtpytran0_rep$caption17</FIELD>
				<FIELD type="String" size="50">memployee.simtpytran0_rep$caption18</FIELD>
				<FIELD type="String" size="50">memployee.simtpytran0_rep$caption19</FIELD>
				<FIELD type="String" size="50">memployee.simtpytran0_rep$caption20</FIELD>
				<FIELD type="String" size="50">memployee.simtpytran0_rep$caption21</FIELD>
				<FIELD type="String" size="50">memployee.simtpytran0_rep$caption22</FIELD>
				<FIELD type="String" size="50">memployee.simtpytran0_rep$caption23</FIELD>
				<FIELD type="String" size="50">memployee.simtpytran0_rep$caption24</FIELD>
				<FIELD type="String" size="50">memployee.simtpytran0_rep$caption25</FIELD>
				<FIELD type="String" size="50">memployee.simtpytran0_rep$caption26</FIELD>
				<FIELD type="String" size="50">memployee.simtpytran0_rep$caption27</FIELD>
				<FIELD type="String" size="50">memployee.simtpytran0_rep$caption28</FIELD>
				<FIELD type="String" size="50">memployee.simtpytran0_rep$caption29</FIELD>
				<FIELD type="String" size="50">memployee.simtpytran0_rep$caption30</FIELD>

				<FIELD type="String" size="50">memployee.simtpytran0_rep$formula01</FIELD>
				<FIELD type="String" size="50">memployee.simtpytran0_rep$formula02</FIELD>
				<FIELD type="String" size="50">memployee.simtpytran0_rep$formula03</FIELD>
				<FIELD type="String" size="50">memployee.simtpytran0_rep$formula04</FIELD>
				<FIELD type="String" size="50">memployee.simtpytran0_rep$formula05</FIELD>
				<FIELD type="String" size="50">memployee.simtpytran0_rep$formula06</FIELD>
				<FIELD type="String" size="50">memployee.simtpytran0_rep$formula07</FIELD>
				<FIELD type="String" size="50">memployee.simtpytran0_rep$formula08</FIELD>
				<FIELD type="String" size="50">memployee.simtpytran0_rep$formula09</FIELD>
				<FIELD type="String" size="50">memployee.simtpytran0_rep$formula10</FIELD>
				<FIELD type="String" size="50">memployee.simtpytran0_rep$formula11</FIELD>
				<FIELD type="String" size="50">memployee.simtpytran0_rep$formula12</FIELD>
				<FIELD type="String" size="50">memployee.simtpytran0_rep$formula13</FIELD>
				<FIELD type="String" size="50">memployee.simtpytran0_rep$formula14</FIELD>
				<FIELD type="String" size="50">memployee.simtpytran0_rep$formula15</FIELD>
				<FIELD type="String" size="50">memployee.simtpytran0_rep$formula16</FIELD>
				<FIELD type="String" size="50">memployee.simtpytran0_rep$formula17</FIELD>
				<FIELD type="String" size="50">memployee.simtpytran0_rep$formula18</FIELD>
				<FIELD type="String" size="50">memployee.simtpytran0_rep$formula19</FIELD>
				<FIELD type="String" size="50">memployee.simtpytran0_rep$formula20</FIELD>
				<FIELD type="String" size="50">memployee.simtpytran0_rep$formula21</FIELD>
				<FIELD type="String" size="50">memployee.simtpytran0_rep$formula22</FIELD>
				<FIELD type="String" size="50">memployee.simtpytran0_rep$formula23</FIELD>
				<FIELD type="String" size="50">memployee.simtpytran0_rep$formula24</FIELD>
				<FIELD type="String" size="50">memployee.simtpytran0_rep$formula25</FIELD>
				<FIELD type="String" size="50">memployee.simtpytran0_rep$formula26</FIELD>
				<FIELD type="String" size="50">memployee.simtpytran0_rep$formula27</FIELD>
				<FIELD type="String" size="50">memployee.simtpytran0_rep$formula28</FIELD>
				<FIELD type="String" size="50">memployee.simtpytran0_rep$formula29</FIELD>
				<FIELD type="String" size="50">memployee.simtpytran0_rep$formula30</FIELD>

				<FIELD type="Double" size="50">memployee.simtpytran0_rep$__daycount</FIELD>

				<FIELD type="String" size="50">memployee.fullname</FIELD>
				<FIELD type="String" size="50">memployee.paymentdate</FIELD>
				<FIELD type="String" size="50">memployee.perioddate</FIELD>
	</VFIELD>
	<REFER_LANG>FALSE</REFER_LANG>
	<REQUIRED_FOUND>FALSE</REQUIRED_FOUND>
	<TEMPLATE>
		<FIELD name="PRR171_US2.jasper"  tdesc="รายงานเงินเดือน (US)" edesc="Summary Payment Record  by Department"/>
		<FIELD name="PRR171_US5.jasper"  tdesc="รายงานเงินเดือนพนักงานตามแผนก" edesc="Summary Payment Record  by BU5"/>
		<FIELD name="PRR171_US2_EXCEL.jasper"  tdesc="รายงานเงินเดือน (US)(EXCEL)" edesc="Summary Payment Record  by Department(EXCEL)"/>
		<FIELD name="PRR171_US5_EXCEL.jasper"  tdesc="รายงานเงินเดือนพนักงานตามแผนก(EXCEL)" edesc="Summary Payment Record  by BU5(EXCEL)"/>
		<!-- <FIELD name="PRR171_US-123.jasper"  tdesc="รายงานรายได้2 (US)" edesc="Pay Wages(Not OT)"/> -->
	</TEMPLATE>
	<GROUP >
				<!-- <FIELD DESC="mbu1.tdesc" LABEL="BU1">memployee.bu1</FIELD>
				<FIELD DESC="mbu2.tdesc" LABEL="BU2">memployee.bu2</FIELD> -->
				<FIELD DESC="mbu3.tdesc" LABEL="BU3">memployee.bu3</FIELD>
	</GROUP>
	<OPTION_REQUIRE tdesc="กรุณาใส่เงื่อนไขในอ็อปชั่นก่อน" edesc=" Please input condition in Option">true</OPTION_REQUIRE>
	<COMPONENT link="PRR171">
	<FIELD type="list"  name="prgcode" desc="Payroll_Group" size="1" table="PAYROLL_GROUPHELP,CODEID,PAYROLL_DESC, ,CODEID"></FIELD>
	<FIELD type="hidden" name="PYTRAN2_NONEED" desc="PYTRAN2_NONEED" size="10"></FIELD>
	<FIELD type="hidden" name="TBANK_TRAN0_NONEED" desc="TBANK_TRAN0_NONEED" size="10"></FIELD>
	<FIELD type="hidden" name="TPVF_TRAN_NONEED" desc="TPVF_TRAN_NONEED" size="10"></FIELD>
	<FIELD type="hidden" name="FILTERDATE" desc="FILTERDATE" size="10"></FIELD>
	<FIELD type="hidden"  name="__SUMCOLUMN"  value="formula01,formula02,formula03,formula04,formula05,formula06,formula07,formula08,formula09,formula10,formula11,formula12,formula13,formula14,formula15,formula16,formula17,formula18,formula19,formula20,formula21,formula22,formula23,formula24,formula25,formula26,formula27,formula28,formula29,formula30"></FIELD>
		<FIELD type="hidden"  name="STARTD1"  ></FIELD>
		 <FIELD type="hidden"  name="ENDD1"  ></FIELD>
		 <FIELD type="hidden" name="GROUPRELATION"></FIELD>
		 <FIELD type="hidden" name="HEADER_REPORT"></FIELD>
	</COMPONENT>
</REPORTXML>