<?xml version="1.0" encoding="UTF-8"?>
<REPORTXML>
	<DATAMANAGER>PR152_AMOUNT_BU2</DATAMANAGER>
	<REPORTHEADER tdesc="รายงานรายได้ไม่ประจำตามหน่วยงาน" edesc="Irregular Income and Deduction"/>
	<LINKTABLE>
		<FIELD>memployee</FIELD>
	</LINKTABLE>
	<HELP>
	</HELP>
	<FIXFILTER>
		<FIELD tablename="memployee" value="employeeid in (select employeeid from mempl_amt where emp_data!='')" ></FIELD>
	</FIXFILTER>
	<VFIELD>
		<FIELD type="String" size="100">memployee.fullname</FIELD>

		<FIELD type="String" size="100">memployee.simempdata1</FIELD>
		<FIELD type="String" size="100">memployee.simempdata2</FIELD>
		<FIELD type="String" size="100">memployee.simempdata3</FIELD>
		<FIELD type="String" size="100">memployee.simempdata4</FIELD>
		<FIELD type="String" size="100">memployee.simempdata5</FIELD>
		<FIELD type="String" size="100">memployee.simempdata6</FIELD>
		<FIELD type="String" size="100">memployee.simempdata7</FIELD>
		<FIELD type="String" size="100">memployee.simempdata8</FIELD>
		<FIELD type="String" size="100">memployee.simempdata9</FIELD>
		<FIELD type="String" size="100">memployee.simempdata10</FIELD>
		<FIELD type="String" size="100">memployee.simempdata11</FIELD>
		<FIELD type="String" size="100">memployee.simempdata12</FIELD>
		<FIELD type="String" size="100">memployee.simempdata13</FIELD>
		<FIELD type="String" size="100">memployee.simempdata14</FIELD>
		<FIELD type="String" size="100">memployee.simempdata15</FIELD>
		<FIELD type="String" size="100">memployee.simempdata16</FIELD>
		<FIELD type="String" size="100">memployee.simempdata17</FIELD>
		<FIELD type="String" size="100">memployee.simempdata18</FIELD>
		<FIELD type="String" size="100">memployee.simempdata19</FIELD>
		<FIELD type="String" size="100">memployee.simempdata20</FIELD>
		<FIELD type="String" size="100">memployee.simempdata21</FIELD>
		<FIELD type="String" size="100">memployee.simempdata22</FIELD>
		<FIELD type="String" size="100">memployee.simempdata23</FIELD>
		<FIELD type="String" size="100">memployee.simempdata24</FIELD>
		<FIELD type="String" size="100">memployee.simempdata25</FIELD>
		<FIELD type="String" size="100">memployee.simempdata26</FIELD>
		<FIELD type="String" size="100">memployee.simempdata27</FIELD>
		<FIELD type="String" size="100">memployee.simempdata28</FIELD>
		<FIELD type="String" size="100">memployee.simempdata29</FIELD>
		<FIELD type="String" size="100">memployee.simempdata30</FIELD>
		<FIELD type="String" size="100">memployee.simempdata31</FIELD>
		<FIELD type="String" size="100">memployee.simempdata32</FIELD>
		<FIELD type="String" size="100">memployee.simempdata33</FIELD>
		<FIELD type="String" size="100">memployee.simempdata34</FIELD>

		<FIELD type="String" size="100">memployee.simempdata35</FIELD>
		<FIELD type="String" size="100">memployee.simempdata36</FIELD>
		<FIELD type="String" size="100">memployee.simempdata37</FIELD>
		<FIELD type="String" size="100">memployee.simempdata38</FIELD>
		<FIELD type="String" size="100">memployee.simempdata39</FIELD>
		<FIELD type="String" size="100">memployee.simempdata40</FIELD>
		<FIELD type="String" size="100">memployee.simempdata41</FIELD>
		<FIELD type="String" size="100">memployee.simempdata42</FIELD>
		<FIELD type="String" size="100">memployee.simempdata43</FIELD>
		<FIELD type="String" size="100">memployee.simempdata44</FIELD>
		<FIELD type="String" size="100">memployee.simempdata45</FIELD>
		<FIELD type="String" size="100">memployee.simempdata46</FIELD>
		<FIELD type="String" size="100">memployee.simempdata47</FIELD>
		<FIELD type="String" size="100">memployee.simempdata48</FIELD>
		<FIELD type="String" size="100">memployee.simempdata49</FIELD>
		<FIELD type="String" size="100">memployee.simempdata50</FIELD>
		<FIELD type="String" size="100">memployee.simempdata51</FIELD>
		<FIELD type="String" size="100">memployee.simempdata52</FIELD>
		<FIELD type="String" size="100">memployee.simempdata53</FIELD>
		<FIELD type="String" size="100">memployee.simempdata54</FIELD>
		<FIELD type="String" size="100">memployee.simempdata55</FIELD>
		<FIELD type="String" size="100">memployee.simempdata56</FIELD>
		<FIELD type="String" size="100">memployee.simempdata57</FIELD>
		<FIELD type="String" size="100">memployee.simempdata58</FIELD>
		<FIELD type="String" size="100">memployee.simempdata59</FIELD>
		<FIELD type="String" size="100">memployee.simempdata60</FIELD>
		<FIELD type="String" size="100">memployee.simempdata61</FIELD>
		<FIELD type="String" size="100">memployee.simempdata62</FIELD>
		<FIELD type="String" size="100">memployee.simempdata63</FIELD>
		<FIELD type="String" size="100">memployee.simempdata64</FIELD>
		<FIELD type="String" size="100">memployee.simempdata65</FIELD>
		<FIELD type="String" size="100">memployee.simempdata66</FIELD>
		<FIELD type="String" size="100">memployee.simempdata67</FIELD>
		<FIELD type="String" size="100">memployee.simempdata68</FIELD>

		<FIELD type="String" size="100">memployee.simamtdesc1</FIELD>
		<FIELD type="String" size="100">memployee.simamtdesc2</FIELD>
		<FIELD type="String" size="100">memployee.simamtdesc3</FIELD>
		<FIELD type="String" size="100">memployee.simamtdesc4</FIELD>
		<FIELD type="String" size="100">memployee.simamtdesc5</FIELD>
		<FIELD type="String" size="100">memployee.simamtdesc6</FIELD>
		<FIELD type="String" size="100">memployee.simamtdesc7</FIELD>
		<FIELD type="String" size="100">memployee.simamtdesc8</FIELD>
		<FIELD type="String" size="100">memployee.simamtdesc9</FIELD>
		<FIELD type="String" size="100">memployee.simamtdesc10</FIELD>
		<FIELD type="String" size="100">memployee.simamtdesc11</FIELD>
		<FIELD type="String" size="100">memployee.simamtdesc12</FIELD>
		<FIELD type="String" size="100">memployee.simamtdesc13</FIELD>
		<FIELD type="String" size="100">memployee.simamtdesc14</FIELD>
		<FIELD type="String" size="100">memployee.simamtdesc15</FIELD>
		<FIELD type="String" size="100">memployee.simamtdesc16</FIELD>
		<FIELD type="String" size="100">memployee.simamtdesc17</FIELD>
		<FIELD type="String" size="100">memployee.simamtdesc18</FIELD>
		<FIELD type="String" size="100">memployee.simamtdesc19</FIELD>
		<FIELD type="String" size="100">memployee.simamtdesc20</FIELD>
		<FIELD type="String" size="100">memployee.simamtdesc21</FIELD>
		<FIELD type="String" size="100">memployee.simamtdesc22</FIELD>
		<FIELD type="String" size="100">memployee.simamtdesc23</FIELD>
		<FIELD type="String" size="100">memployee.simamtdesc24</FIELD>
		<FIELD type="String" size="100">memployee.simamtdesc25</FIELD>
		<FIELD type="String" size="100">memployee.simamtdesc26</FIELD>
		<FIELD type="String" size="100">memployee.simamtdesc27</FIELD>
		<FIELD type="String" size="100">memployee.simamtdesc28</FIELD>
		<FIELD type="String" size="100">memployee.simamtdesc29</FIELD>
		<FIELD type="String" size="100">memployee.simamtdesc30</FIELD>
		<FIELD type="String" size="100">memployee.simamtdesc31</FIELD>
		<FIELD type="String" size="100">memployee.simamtdesc32</FIELD>
		<FIELD type="String" size="100">memployee.simamtdesc33</FIELD>
		<FIELD type="String" size="100">memployee.simamtdesc34</FIELD>

		<FIELD type="String" size="100">memployee.simamtdesc35</FIELD>
		<FIELD type="String" size="100">memployee.simamtdesc36</FIELD>
		<FIELD type="String" size="100">memployee.simamtdesc37</FIELD>
		<FIELD type="String" size="100">memployee.simamtdesc38</FIELD>
		<FIELD type="String" size="100">memployee.simamtdesc39</FIELD>
		<FIELD type="String" size="100">memployee.simamtdesc40</FIELD>
		<FIELD type="String" size="100">memployee.simamtdesc41</FIELD>
		<FIELD type="String" size="100">memployee.simamtdesc42</FIELD>
		<FIELD type="String" size="100">memployee.simamtdesc43</FIELD>
		<FIELD type="String" size="100">memployee.simamtdesc44</FIELD>
		<FIELD type="String" size="100">memployee.simamtdesc45</FIELD>
		<FIELD type="String" size="100">memployee.simamtdesc46</FIELD>
		<FIELD type="String" size="100">memployee.simamtdesc47</FIELD>
		<FIELD type="String" size="100">memployee.simamtdesc48</FIELD>
		<FIELD type="String" size="100">memployee.simamtdesc49</FIELD>
		<FIELD type="String" size="100">memployee.simamtdesc50</FIELD>
		<FIELD type="String" size="100">memployee.simamtdesc51</FIELD>
		<FIELD type="String" size="100">memployee.simamtdesc52</FIELD>
		<FIELD type="String" size="100">memployee.simamtdesc53</FIELD>
		<FIELD type="String" size="100">memployee.simamtdesc54</FIELD>
		<FIELD type="String" size="100">memployee.simamtdesc55</FIELD>
		<FIELD type="String" size="100">memployee.simamtdesc56</FIELD>
		<FIELD type="String" size="100">memployee.simamtdesc57</FIELD>
		<FIELD type="String" size="100">memployee.simamtdesc58</FIELD>
		<FIELD type="String" size="100">memployee.simamtdesc59</FIELD>
		<FIELD type="String" size="100">memployee.simamtdesc60</FIELD>
		<FIELD type="String" size="100">memployee.simamtdesc61</FIELD>
		<FIELD type="String" size="100">memployee.simamtdesc62</FIELD>
		<FIELD type="String" size="100">memployee.simamtdesc63</FIELD>
		<FIELD type="String" size="100">memployee.simamtdesc64</FIELD>
		<FIELD type="String" size="100">memployee.simamtdesc65</FIELD>
		<FIELD type="String" size="100">memployee.simamtdesc66</FIELD>
		<FIELD type="String" size="100">memployee.simamtdesc67</FIELD>
		<FIELD type="String" size="100">memployee.simamtdesc68</FIELD>
	</VFIELD>
	<GROUP >
		<FIELD DESC="mbranch.edesc" LABEL="BRANCH CODE">memployee.branch</FIELD>
		<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>
		<FIELD DESC="mbu4.tdesc" LABEL="BU4">memployee.bu4</FIELD>
		<FIELD DESC="mbu5.tdesc" LABEL="BU5">memployee.bu5</FIELD>
	</GROUP>
	<REFER_LANG>TRUE</REFER_LANG>
	<REQUIRED_FOUND>TRUE</REQUIRED_FOUND>
	<TEMPLATE>
		<FIELD name="PR152_AMT_BU2.jasper" tdesc="รายงานรายได้ไม่ประจำตามหน่วยงาน" edesc="Irregular Income and Deduction"/>
		<FIELD name="PR152_AMT_BU2_4LINE.jasper" tdesc="รายงานรายได้ไม่ประจำตามหน่วยงาน (4 บรรทัด)" edesc="Irregular Income and Deduction (4 Line)"/>
		<FIELD name="PR152_AMT_BU2_STANDFORD.jasper" tdesc="รายงานรายได้ไม่ประจำตามหน่วยงาน(stanford)" edesc="Irregular Income and Deduction(stanford)"/>
		<FIELD name="PR152_AMT_BU2_4LINE_STANDFORD.jasper" tdesc="รายงานรายได้ไม่ประจำตามหน่วยงาน (4 บรรทัด)(stanford)" edesc="Irregular Income and Deduction (4 Line)(stanford)"/>

		<FIELD name="PR152_AMT_BU2_EXCEL.jasper" tdesc="รายงานรายได้ไม่ประจำตามหน่วยงาน(EXCEL)" edesc="Irregular Income and Deduction(EXCEL)"/>
		<FIELD name="PR152_AMT_BU2_4LINE_EXCEL.jasper" tdesc="รายงานรายได้ไม่ประจำตามหน่วยงาน (4 บรรทัด)(EXCEL)" edesc="Irregular Income and Deduction (4 Line)(EXCEL)"/>
		<FIELD name="PR152_AMT_BU2_STANDFORD_EXCEL.jasper" tdesc="รายงานรายได้ไม่ประจำตามหน่วยงาน(stanford)(EXCEL)" edesc="Irregular Income and Deduction(stanford)(EXCEL)"/>
		<FIELD name="PR152_AMT_BU2_4LINE_STANDFORD_EXCEL.jasper" tdesc="รายงานรายได้ไม่ประจำตามหน่วยงาน (4 บรรทัด)(stanford)(EXCEL)" edesc="Irregular Income and Deduction (4 Line)(stanford)(EXCEL)"/>
	</TEMPLATE>
	<OPTION_REQUIRE tdesc="กรุณาใส่เงื่อนไขในอ็อปชั่นก่อน" edesc=" Please input condition in Option">false</OPTION_REQUIRE>
    <COMPONENT link="PR152_AMT_BU2OPTION">
		<FIELD type="text" name="amt_template" desc="Template" size="40" value="1"></FIELD>
		<FIELD type="text" name="amounttabid" desc="Amount Table ID" size="1000" value=""></FIELD>
	</COMPONENT>
</REPORTXML>
