<?xml version="1.0" encoding="UTF-8"?>
<REPORTXML>
	<DATAMANAGER>PRR_Payrollreconcile</DATAMANAGER>
	<REPORTHEADER tdesc="รายงานข้อมูลเปรียบเทียบเงินเดือน(เปรียบเทียบข้อมูล)" edesc="Payroll Reconciliation,Comparative Data"/>
	<LINKTABLE>
		<FIELD>tpayrollreconciliation1</FIELD>
	</LINKTABLE>
	<HELP>
	</HELP>
	<FIXFILTER>
		<FIELD tablename="tpayrollreconciliation1" value="reconcileid = '' and employeeid in (select employeeid from memployee)" ></FIELD>
	</FIXFILTER>
	<VFIELD>
				<FIELD type="String" size="50">Tpayrollreconciliation1.prgroup_caption01</FIELD>
				<FIELD type="String" size="50">Tpayrollreconciliation1.prgroup_caption02</FIELD>
				<FIELD type="String" size="50">Tpayrollreconciliation1.prgroup_caption03</FIELD>
				<FIELD type="String" size="50">Tpayrollreconciliation1.prgroup_caption04</FIELD>
				<FIELD type="String" size="50">Tpayrollreconciliation1.prgroup_caption05</FIELD>
				<FIELD type="String" size="50">Tpayrollreconciliation1.prgroup_caption06</FIELD>
				<FIELD type="String" size="50">Tpayrollreconciliation1.prgroup_caption07</FIELD>
				<FIELD type="String" size="50">Tpayrollreconciliation1.prgroup_caption08</FIELD>
				<FIELD type="String" size="50">Tpayrollreconciliation1.prgroup_caption09</FIELD>
				<FIELD type="String" size="50">Tpayrollreconciliation1.prgroup_caption10</FIELD>
				<FIELD type="String" size="50">Tpayrollreconciliation1.prgroup_caption11</FIELD>
				<FIELD type="String" size="50">Tpayrollreconciliation1.prgroup_caption12</FIELD>
				<FIELD type="String" size="50">Tpayrollreconciliation1.prgroup_caption13</FIELD>
				<FIELD type="String" size="50">Tpayrollreconciliation1.prgroup_caption14</FIELD>
				<FIELD type="String" size="50">Tpayrollreconciliation1.prgroup_caption15</FIELD>
				<FIELD type="String" size="50">Tpayrollreconciliation1.prgroup_caption16</FIELD>
				<FIELD type="String" size="50">Tpayrollreconciliation1.prgroup_caption17</FIELD>
				<FIELD type="String" size="50">Tpayrollreconciliation1.prgroup_caption18</FIELD>
				<FIELD type="String" size="50">Tpayrollreconciliation1.prgroup_caption19</FIELD>
				<FIELD type="String" size="50">Tpayrollreconciliation1.prgroup_caption20</FIELD>
				<FIELD type="String" size="50">Tpayrollreconciliation1.prgroup_caption21</FIELD>
				<FIELD type="String" size="50">Tpayrollreconciliation1.prgroup_caption22</FIELD>
				<FIELD type="String" size="50">Tpayrollreconciliation1.prgroup_caption23</FIELD>
				<FIELD type="String" size="50">Tpayrollreconciliation1.prgroup_caption24</FIELD>
				<FIELD type="String" size="50">Tpayrollreconciliation1.prgroup_caption25</FIELD>
				<FIELD type="String" size="50">Tpayrollreconciliation1.prgroup_caption26</FIELD>
				<FIELD type="String" size="50">Tpayrollreconciliation1.prgroup_caption27</FIELD>
				<FIELD type="String" size="50">Tpayrollreconciliation1.prgroup_caption28</FIELD>
				<FIELD type="String" size="50">Tpayrollreconciliation1.prgroup_caption29</FIELD>
				<FIELD type="String" size="50">Tpayrollreconciliation1.prgroup_caption30</FIELD>

				<FIELD type="String" size="50">Tpayrollreconciliation1.prgroup_formula01_Source</FIELD>
				<FIELD type="String" size="50">Tpayrollreconciliation1.prgroup_formula02_Source</FIELD>
				<FIELD type="String" size="50">Tpayrollreconciliation1.prgroup_formula03_Source</FIELD>
				<FIELD type="String" size="50">Tpayrollreconciliation1.prgroup_formula04_Source</FIELD>
				<FIELD type="String" size="50">Tpayrollreconciliation1.prgroup_formula05_Source</FIELD>
				<FIELD type="String" size="50">Tpayrollreconciliation1.prgroup_formula06_Source</FIELD>
				<FIELD type="String" size="50">Tpayrollreconciliation1.prgroup_formula07_Source</FIELD>
				<FIELD type="String" size="50">Tpayrollreconciliation1.prgroup_formula08_Source</FIELD>
				<FIELD type="String" size="50">Tpayrollreconciliation1.prgroup_formula09_Source</FIELD>
				<FIELD type="String" size="50">Tpayrollreconciliation1.prgroup_formula10_Source</FIELD>
				<FIELD type="String" size="50">Tpayrollreconciliation1.prgroup_formula11_Source</FIELD>
				<FIELD type="String" size="50">Tpayrollreconciliation1.prgroup_formula12_Source</FIELD>
				<FIELD type="String" size="50">Tpayrollreconciliation1.prgroup_formula13_Source</FIELD>
				<FIELD type="String" size="50">Tpayrollreconciliation1.prgroup_formula14_Source</FIELD>
				<FIELD type="String" size="50">Tpayrollreconciliation1.prgroup_formula15_Source</FIELD>
				<FIELD type="String" size="50">Tpayrollreconciliation1.prgroup_formula16_Source</FIELD>
				<FIELD type="String" size="50">Tpayrollreconciliation1.prgroup_formula17_Source</FIELD>
				<FIELD type="String" size="50">Tpayrollreconciliation1.prgroup_formula18_Source</FIELD>
				<FIELD type="String" size="50">Tpayrollreconciliation1.prgroup_formula19_Source</FIELD>
				<FIELD type="String" size="50">Tpayrollreconciliation1.prgroup_formula20_Source</FIELD>
				<FIELD type="String" size="50">Tpayrollreconciliation1.prgroup_formula21_Source</FIELD>
				<FIELD type="String" size="50">Tpayrollreconciliation1.prgroup_formula22_Source</FIELD>
				<FIELD type="String" size="50">Tpayrollreconciliation1.prgroup_formula23_Source</FIELD>
				<FIELD type="String" size="50">Tpayrollreconciliation1.prgroup_formula24_Source</FIELD>
				<FIELD type="String" size="50">Tpayrollreconciliation1.prgroup_formula25_Source</FIELD>
				<FIELD type="String" size="50">Tpayrollreconciliation1.prgroup_formula26_Source</FIELD>
				<FIELD type="String" size="50">Tpayrollreconciliation1.prgroup_formula27_Source</FIELD>
				<FIELD type="String" size="50">Tpayrollreconciliation1.prgroup_formula28_Source</FIELD>
				<FIELD type="String" size="50">Tpayrollreconciliation1.prgroup_formula29_Source</FIELD>
				<FIELD type="String" size="50">Tpayrollreconciliation1.prgroup_formula30_Source</FIELD>

				<FIELD type="String" size="50">Tpayrollreconciliation1.prgroup_formula01_Reconcile</FIELD>
				<FIELD type="String" size="50">Tpayrollreconciliation1.prgroup_formula02_Reconcile</FIELD>
				<FIELD type="String" size="50">Tpayrollreconciliation1.prgroup_formula03_Reconcile</FIELD>
				<FIELD type="String" size="50">Tpayrollreconciliation1.prgroup_formula04_Reconcile</FIELD>
				<FIELD type="String" size="50">Tpayrollreconciliation1.prgroup_formula05_Reconcile</FIELD>
				<FIELD type="String" size="50">Tpayrollreconciliation1.prgroup_formula06_Reconcile</FIELD>
				<FIELD type="String" size="50">Tpayrollreconciliation1.prgroup_formula07_Reconcile</FIELD>
				<FIELD type="String" size="50">Tpayrollreconciliation1.prgroup_formula08_Reconcile</FIELD>
				<FIELD type="String" size="50">Tpayrollreconciliation1.prgroup_formula09_Reconcile</FIELD>
				<FIELD type="String" size="50">Tpayrollreconciliation1.prgroup_formula10_Reconcile</FIELD>
				<FIELD type="String" size="50">Tpayrollreconciliation1.prgroup_formula11_Reconcile</FIELD>
				<FIELD type="String" size="50">Tpayrollreconciliation1.prgroup_formula12_Reconcile</FIELD>
				<FIELD type="String" size="50">Tpayrollreconciliation1.prgroup_formula13_Reconcile</FIELD>
				<FIELD type="String" size="50">Tpayrollreconciliation1.prgroup_formula14_Reconcile</FIELD>
				<FIELD type="String" size="50">Tpayrollreconciliation1.prgroup_formula15_Reconcile</FIELD>
				<FIELD type="String" size="50">Tpayrollreconciliation1.prgroup_formula16_Reconcile</FIELD>
				<FIELD type="String" size="50">Tpayrollreconciliation1.prgroup_formula17_Reconcile</FIELD>
				<FIELD type="String" size="50">Tpayrollreconciliation1.prgroup_formula18_Reconcile</FIELD>
				<FIELD type="String" size="50">Tpayrollreconciliation1.prgroup_formula19_Reconcile</FIELD>
				<FIELD type="String" size="50">Tpayrollreconciliation1.prgroup_formula20_Reconcile</FIELD>
				<FIELD type="String" size="50">Tpayrollreconciliation1.prgroup_formula21_Reconcile</FIELD>
				<FIELD type="String" size="50">Tpayrollreconciliation1.prgroup_formula22_Reconcile</FIELD>
				<FIELD type="String" size="50">Tpayrollreconciliation1.prgroup_formula23_Reconcile</FIELD>
				<FIELD type="String" size="50">Tpayrollreconciliation1.prgroup_formula24_Reconcile</FIELD>
				<FIELD type="String" size="50">Tpayrollreconciliation1.prgroup_formula25_Reconcile</FIELD>
				<FIELD type="String" size="50">Tpayrollreconciliation1.prgroup_formula26_Reconcile</FIELD>
				<FIELD type="String" size="50">Tpayrollreconciliation1.prgroup_formula27_Reconcile</FIELD>
				<FIELD type="String" size="50">Tpayrollreconciliation1.prgroup_formula28_Reconcile</FIELD>
				<FIELD type="String" size="50">Tpayrollreconciliation1.prgroup_formula29_Reconcile</FIELD>
				<FIELD type="String" size="50">Tpayrollreconciliation1.prgroup_formula30_Reconcile</FIELD>

				<FIELD type="String" size="50">memployee.fullname</FIELD>
				<FIELD type="String" size="2000">memployee.branchname</FIELD>
	</VFIELD>
	<REFER_LANG>FALSE</REFER_LANG>
	<REQUIRED_FOUND>FALSE</REQUIRED_FOUND>
	<TEMPLATE>
		<FIELD name="PRR_PayrollReconcile.jasper"  tdesc="รายงานข้อมูลเปรียบเทียบเงินเดือน" edesc="Payroll Reconciliation Report"/>
		<FIELD name="PRR_PayrollReconcile_EXCEL.jasper"  tdesc="รายงานข้อมูลเปรียบเทียบเงินเดือน(EXCEL)" edesc="Payroll Reconciliation Report(EXCEL)"/>
		<FIELD name="PRR_PayrollReconcile_BY_BU.jasper"  tdesc="รายงานข้อมูลเปรียบเทียบเงินเดือน (By BU)" edesc="Payroll Reconciliation Report (By BU)"/>
		<FIELD name="PRR_PayrollReconcile_BY_BU_EXCEL.jasper"  tdesc="รายงานข้อมูลเปรียบเทียบเงินเดือน (By BU)(EXCEL)" edesc="Payroll Reconciliation Report (By BU)(EXCEL)"/>
	</TEMPLATE>
	<GROUP>
				<FIELD DESC="mbu1.edesc" LABEL="BU1">memployee.bu1</FIELD>
				<FIELD DESC="mbu2.edesc" LABEL="BU2">memployee.bu2</FIELD>
				<FIELD DESC="mbu3.edesc" LABEL="BU3">memployee.bu3</FIELD>
				<FIELD DESC="mbu4.edesc" LABEL="BU4">memployee.bu4</FIELD>
				<FIELD DESC="mbu5.edesc" LABEL="BU5">memployee.bu5</FIELD>
	</GROUP>
	<OPTION_REQUIRE tdesc="กรุณาใส่เงื่อนไขในอ็อปชั่นก่อน" edesc=" Please input condition in Option">TRUE</OPTION_REQUIRE>
	<COMPONENT link="PRR_PayrollReconcileOP">
		<FIELD type="list"  name="prgcode" desc="Payroll Group" size="1" table="PAYROLL_GROUPHELP,CODEID,PAYROLL_DESC, ,CODEID"></FIELD>
		<FIELD type="hidden" name="GROUPBY_BU" desc="GROUPBY_BU" value="BU1" size="10"></FIELD>
	</COMPONENT>
</REPORTXML>
