<?xml version="1.0" encoding="UTF-8"?>
<REPORTXML>
	<DATAMANAGER>PRR_Payrollreconcile_FormB</DATAMANAGER>
	<REPORTHEADER tdesc="รายงานข้อมูลเปรียบเทียบเงินเดือน(รูปแบบB)" edesc="Payroll Reconciliation by Select Field"/>
	<LINKTABLE>
		<FIELD>tpayrollreconciliation1</FIELD>
	</LINKTABLE>
	<HELP>
	</HELP>
	<FIXFILTER>
		<FIELD tablename="tpayrollreconciliation1" value="reconcileid = '' and employeeid in (select employeeid from memployee) and status not in ('B')" ></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_formB</FIELD>
				<FIELD type="String" size="50">Tpayrollreconciliation1.prgroup_formula02_formB</FIELD>
				<FIELD type="String" size="50">Tpayrollreconciliation1.prgroup_formula03_formB</FIELD>
				<FIELD type="String" size="50">Tpayrollreconciliation1.prgroup_formula04_formB</FIELD>
				<FIELD type="String" size="50">Tpayrollreconciliation1.prgroup_formula05_formB</FIELD>
				<FIELD type="String" size="50">Tpayrollreconciliation1.prgroup_formula06_formB</FIELD>
				<FIELD type="String" size="50">Tpayrollreconciliation1.prgroup_formula07_formB</FIELD>
				<FIELD type="String" size="50">Tpayrollreconciliation1.prgroup_formula08_formB</FIELD>
				<FIELD type="String" size="50">Tpayrollreconciliation1.prgroup_formula09_formB</FIELD>
				<FIELD type="String" size="50">Tpayrollreconciliation1.prgroup_formula10_formB</FIELD>
				<FIELD type="String" size="50">Tpayrollreconciliation1.prgroup_formula11_formB</FIELD>
				<FIELD type="String" size="50">Tpayrollreconciliation1.prgroup_formula12_formB</FIELD>
				<FIELD type="String" size="50">Tpayrollreconciliation1.prgroup_formula13_formB</FIELD>
				<FIELD type="String" size="50">Tpayrollreconciliation1.prgroup_formula14_formB</FIELD>
				<FIELD type="String" size="50">Tpayrollreconciliation1.prgroup_formula15_formB</FIELD>
				<FIELD type="String" size="50">Tpayrollreconciliation1.prgroup_formula16_formB</FIELD>
				<FIELD type="String" size="50">Tpayrollreconciliation1.prgroup_formula17_formB</FIELD>
				<FIELD type="String" size="50">Tpayrollreconciliation1.prgroup_formula18_formB</FIELD>
				<FIELD type="String" size="50">Tpayrollreconciliation1.prgroup_formula19_formB</FIELD>
				<FIELD type="String" size="50">Tpayrollreconciliation1.prgroup_formula20_formB</FIELD>
				<FIELD type="String" size="50">Tpayrollreconciliation1.prgroup_formula21_formB</FIELD>
				<FIELD type="String" size="50">Tpayrollreconciliation1.prgroup_formula22_formB</FIELD>
				<FIELD type="String" size="50">Tpayrollreconciliation1.prgroup_formula23_formB</FIELD>
				<FIELD type="String" size="50">Tpayrollreconciliation1.prgroup_formula24_formB</FIELD>
				<FIELD type="String" size="50">Tpayrollreconciliation1.prgroup_formula25_formB</FIELD>
				<FIELD type="String" size="50">Tpayrollreconciliation1.prgroup_formula26_formB</FIELD>
				<FIELD type="String" size="50">Tpayrollreconciliation1.prgroup_formula27_formB</FIELD>
				<FIELD type="String" size="50">Tpayrollreconciliation1.prgroup_formula28_formB</FIELD>
				<FIELD type="String" size="50">Tpayrollreconciliation1.prgroup_formula29_formB</FIELD>
				<FIELD type="String" size="50">Tpayrollreconciliation1.prgroup_formula30_formB</FIELD>

				<FIELD type="String" size="50">Tpayrollreconciliation1.prgroup_Summary_formula01_source</FIELD>
				<FIELD type="String" size="50">Tpayrollreconciliation1.prgroup_Summary_formula02_source</FIELD>
				<FIELD type="String" size="50">Tpayrollreconciliation1.prgroup_Summary_formula03_source</FIELD>
				<FIELD type="String" size="50">Tpayrollreconciliation1.prgroup_Summary_formula04_source</FIELD>
				<FIELD type="String" size="50">Tpayrollreconciliation1.prgroup_Summary_formula05_source</FIELD>
				<FIELD type="String" size="50">Tpayrollreconciliation1.prgroup_Summary_formula06_source</FIELD>
				<FIELD type="String" size="50">Tpayrollreconciliation1.prgroup_Summary_formula07_source</FIELD>
				<FIELD type="String" size="50">Tpayrollreconciliation1.prgroup_Summary_formula08_source</FIELD>
				<FIELD type="String" size="50">Tpayrollreconciliation1.prgroup_Summary_formula09_source</FIELD>
				<FIELD type="String" size="50">Tpayrollreconciliation1.prgroup_Summary_formula10_source</FIELD>
				<FIELD type="String" size="50">Tpayrollreconciliation1.prgroup_Summary_formula11_source</FIELD>
				<FIELD type="String" size="50">Tpayrollreconciliation1.prgroup_Summary_formula12_source</FIELD>
				<FIELD type="String" size="50">Tpayrollreconciliation1.prgroup_Summary_formula13_source</FIELD>
				<FIELD type="String" size="50">Tpayrollreconciliation1.prgroup_Summary_formula14_source</FIELD>
				<FIELD type="String" size="50">Tpayrollreconciliation1.prgroup_Summary_formula15_source</FIELD>
				<FIELD type="String" size="50">Tpayrollreconciliation1.prgroup_Summary_formula16_source</FIELD>
				<FIELD type="String" size="50">Tpayrollreconciliation1.prgroup_Summary_formula17_source</FIELD>
				<FIELD type="String" size="50">Tpayrollreconciliation1.prgroup_Summary_formula18_source</FIELD>
				<FIELD type="String" size="50">Tpayrollreconciliation1.prgroup_Summary_formula19_source</FIELD>
				<FIELD type="String" size="50">Tpayrollreconciliation1.prgroup_Summary_formula20_source</FIELD>
				<FIELD type="String" size="50">Tpayrollreconciliation1.prgroup_Summary_formula21_source</FIELD>
				<FIELD type="String" size="50">Tpayrollreconciliation1.prgroup_Summary_formula22_source</FIELD>
				<FIELD type="String" size="50">Tpayrollreconciliation1.prgroup_Summary_formula23_source</FIELD>
				<FIELD type="String" size="50">Tpayrollreconciliation1.prgroup_Summary_formula24_source</FIELD>
				<FIELD type="String" size="50">Tpayrollreconciliation1.prgroup_Summary_formula25_source</FIELD>
				<FIELD type="String" size="50">Tpayrollreconciliation1.prgroup_Summary_formula26_source</FIELD>
				<FIELD type="String" size="50">Tpayrollreconciliation1.prgroup_Summary_formula27_source</FIELD>
				<FIELD type="String" size="50">Tpayrollreconciliation1.prgroup_Summary_formula28_source</FIELD>
				<FIELD type="String" size="50">Tpayrollreconciliation1.prgroup_Summary_formula29_source</FIELD>
				<FIELD type="String" size="50">Tpayrollreconciliation1.prgroup_Summary_formula30_source</FIELD>

				<FIELD type="String" size="50">Tpayrollreconciliation1.prgroup_Summary_formula01_reconcile</FIELD>
				<FIELD type="String" size="50">Tpayrollreconciliation1.prgroup_Summary_formula02_reconcile</FIELD>
				<FIELD type="String" size="50">Tpayrollreconciliation1.prgroup_Summary_formula03_reconcile</FIELD>
				<FIELD type="String" size="50">Tpayrollreconciliation1.prgroup_Summary_formula04_reconcile</FIELD>
				<FIELD type="String" size="50">Tpayrollreconciliation1.prgroup_Summary_formula05_reconcile</FIELD>
				<FIELD type="String" size="50">Tpayrollreconciliation1.prgroup_Summary_formula06_reconcile</FIELD>
				<FIELD type="String" size="50">Tpayrollreconciliation1.prgroup_Summary_formula07_reconcile</FIELD>
				<FIELD type="String" size="50">Tpayrollreconciliation1.prgroup_Summary_formula08_reconcile</FIELD>
				<FIELD type="String" size="50">Tpayrollreconciliation1.prgroup_Summary_formula09_reconcile</FIELD>
				<FIELD type="String" size="50">Tpayrollreconciliation1.prgroup_Summary_formula10_reconcile</FIELD>
				<FIELD type="String" size="50">Tpayrollreconciliation1.prgroup_Summary_formula11_reconcile</FIELD>
				<FIELD type="String" size="50">Tpayrollreconciliation1.prgroup_Summary_formula12_reconcile</FIELD>
				<FIELD type="String" size="50">Tpayrollreconciliation1.prgroup_Summary_formula13_reconcile</FIELD>
				<FIELD type="String" size="50">Tpayrollreconciliation1.prgroup_Summary_formula14_reconcile</FIELD>
				<FIELD type="String" size="50">Tpayrollreconciliation1.prgroup_Summary_formula15_reconcile</FIELD>
				<FIELD type="String" size="50">Tpayrollreconciliation1.prgroup_Summary_formula16_reconcile</FIELD>
				<FIELD type="String" size="50">Tpayrollreconciliation1.prgroup_Summary_formula17_reconcile</FIELD>
				<FIELD type="String" size="50">Tpayrollreconciliation1.prgroup_Summary_formula18_reconcile</FIELD>
				<FIELD type="String" size="50">Tpayrollreconciliation1.prgroup_Summary_formula19_reconcile</FIELD>
				<FIELD type="String" size="50">Tpayrollreconciliation1.prgroup_Summary_formula20_reconcile</FIELD>
				<FIELD type="String" size="50">Tpayrollreconciliation1.prgroup_Summary_formula21_reconcile</FIELD>
				<FIELD type="String" size="50">Tpayrollreconciliation1.prgroup_Summary_formula22_reconcile</FIELD>
				<FIELD type="String" size="50">Tpayrollreconciliation1.prgroup_Summary_formula23_reconcile</FIELD>
				<FIELD type="String" size="50">Tpayrollreconciliation1.prgroup_Summary_formula24_reconcile</FIELD>
				<FIELD type="String" size="50">Tpayrollreconciliation1.prgroup_Summary_formula25_reconcile</FIELD>
				<FIELD type="String" size="50">Tpayrollreconciliation1.prgroup_Summary_formula26_reconcile</FIELD>
				<FIELD type="String" size="50">Tpayrollreconciliation1.prgroup_Summary_formula27_reconcile</FIELD>
				<FIELD type="String" size="50">Tpayrollreconciliation1.prgroup_Summary_formula28_reconcile</FIELD>
				<FIELD type="String" size="50">Tpayrollreconciliation1.prgroup_Summary_formula29_reconcile</FIELD>
				<FIELD type="String" size="50">Tpayrollreconciliation1.prgroup_Summary_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_PayrollReconcileFormB.jasper"  tdesc="รายงานข้อมูลเปรียบเทียบเงินเดือน(From B)" edesc="Payroll Reconciliation by Select Field"/>
		<FIELD name="PRR_PayrollReconcileFormB_EXCEL.jasper"  tdesc="รายงานข้อมูลเปรียบเทียบเงินเดือน(From B)(EXCEL)" edesc="Payroll Reconciliation by Select Field(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>
				<FIELD DESC="tpayrollreconciliation1.status" LABEL="STATUS">tpayrollreconciliation1.status</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>
