<?xml version="1.0" encoding="UTF-8"?>
		<REPORTXML>
			<DATAMANAGER>PR153BU_NSTDA3</DATAMANAGER>
			<REPORTHEADER tdesc="รายงานเงินเดือนตามหน่วยงาน" edesc="Monthly Payroll Report By Business Unit"/>
			<LINKTABLE>
				<FIELD>memployee</FIELD>		
			</LINKTABLE>    
			<HELP>
			</HELP>
			<VFIELD>
				<FIELD type="Double" size="50">memployee.simtpytran0_rep$formula01</FIELD>
				<FIELD type="String" size="50">memployee.simtpytran0_rep$caption01</FIELD>
				<FIELD type="Double" size="50">memployee.simtpytran0_rep$formula02</FIELD>
				<FIELD type="String" size="50">memployee.simtpytran0_rep$caption02</FIELD>
				<FIELD type="Double" size="50">memployee.simtpytran0_rep$formula03</FIELD>
				<FIELD type="String" size="50">memployee.simtpytran0_rep$caption03</FIELD>
				<FIELD type="Double" size="50">memployee.simtpytran0_rep$formula04</FIELD>
				<FIELD type="String" size="50">memployee.simtpytran0_rep$caption04</FIELD>
				<FIELD type="Double" size="50">memployee.simtpytran0_rep$formula05</FIELD>
				<FIELD type="String" size="50">memployee.simtpytran0_rep$caption05</FIELD>
				<FIELD type="Double" size="50">memployee.simtpytran0_rep$formula06</FIELD>
				<FIELD type="String" size="50">memployee.simtpytran0_rep$caption06</FIELD>
				<FIELD type="Double" size="50">memployee.simtpytran0_rep$formula07</FIELD>
				<FIELD type="String" size="50">memployee.simtpytran0_rep$caption07</FIELD>
				<FIELD type="Double" size="50">memployee.simtpytran0_rep$formula08</FIELD>
				<FIELD type="String" size="50">memployee.simtpytran0_rep$caption08</FIELD>
				<FIELD type="Double" size="50">memployee.simtpytran0_rep$formula09</FIELD>
				<FIELD type="String" size="50">memployee.simtpytran0_rep$caption09</FIELD>
				<FIELD type="Double" size="50">memployee.simtpytran0_rep$formula10</FIELD>
				<FIELD type="String" size="50">memployee.simtpytran0_rep$caption10</FIELD>
				<FIELD type="Double" size="50">memployee.simtpytran0_rep$formula11</FIELD>
				<FIELD type="String" size="50">memployee.simtpytran0_rep$caption11</FIELD>
				<FIELD type="Double" size="50">memployee.simtpytran0_rep$formula12</FIELD>
				<FIELD type="String" size="50">memployee.simtpytran0_rep$caption12</FIELD>
				<FIELD type="Double" size="50">memployee.simtpytran0_rep$formula13</FIELD>
				<FIELD type="String" size="50">memployee.simtpytran0_rep$caption13</FIELD>
				<FIELD type="Double" size="50">memployee.simtpytran0_rep$formula14</FIELD>
				<FIELD type="String" size="50">memployee.simtpytran0_rep$caption14</FIELD>
				<FIELD type="Double" size="50">memployee.simtpytran0_rep$formula15</FIELD>
				<FIELD type="String" size="50">memployee.simtpytran0_rep$caption15</FIELD>
				<FIELD type="Double" size="50">memployee.simtpytran0_rep$formula16</FIELD>
				<FIELD type="String" size="50">memployee.simtpytran0_rep$caption16</FIELD>
				<FIELD type="Double" size="50">memployee.simtpytran0_rep$formula17</FIELD>
				<FIELD type="String" size="50">memployee.simtpytran0_rep$caption17</FIELD>
				<FIELD type="Double" size="50">memployee.simtpytran0_rep$formula18</FIELD>
				<FIELD type="String" size="50">memployee.simtpytran0_rep$caption18</FIELD>
				<FIELD type="Double" size="50">memployee.simtpytran0_rep$formula19</FIELD>
				<FIELD type="String" size="50">memployee.simtpytran0_rep$caption19</FIELD>
				<FIELD type="Double" size="50">memployee.simtpytran0_rep$formula20</FIELD>
				<FIELD type="String" size="50">memployee.simtpytran0_rep$caption20</FIELD>
				<FIELD type="Double" size="50">memployee.simtpytran0_rep$formula21</FIELD>
				<FIELD type="String" size="50">memployee.simtpytran0_rep$caption21</FIELD>
				<FIELD type="Double" size="50">memployee.simtpytran0_rep$formula22</FIELD>
				<FIELD type="String" size="50">memployee.simtpytran0_rep$caption22</FIELD>
				<FIELD type="Double" size="50">memployee.simtpytran0_rep$formula23</FIELD>
				<FIELD type="String" size="50">memployee.simtpytran0_rep$caption23</FIELD>
				<FIELD type="Double" size="50">memployee.simtpytran0_rep$formula24</FIELD>
				<FIELD type="String" size="50">memployee.simtpytran0_rep$caption24</FIELD>
				<FIELD type="Double" size="50">memployee.simtpytran0_rep$formula25</FIELD>
				<FIELD type="String" size="50">memployee.simtpytran0_rep$caption25</FIELD>
				<FIELD type="Double" size="50">memployee.simtpytran0_rep$formula26</FIELD>
				<FIELD type="String" size="50">memployee.simtpytran0_rep$caption26</FIELD>
				<FIELD type="Double" size="50">memployee.simtpytran0_rep$formula27</FIELD>
				<FIELD type="String" size="50">memployee.simtpytran0_rep$caption27</FIELD>
				<FIELD type="Double" size="50">memployee.simtpytran0_rep$formula28</FIELD>
				<FIELD type="String" size="50">memployee.simtpytran0_rep$caption28</FIELD>
				<FIELD type="Double" size="50">memployee.simtpytran0_rep$formula29</FIELD>
				<FIELD type="String" size="50">memployee.simtpytran0_rep$caption29</FIELD>
				<FIELD type="Double" size="50">memployee.simtpytran0_rep$formula30</FIELD>
				<FIELD type="String" size="50">memployee.simtpytran0_rep$caption30</FIELD>

				<FIELD type="String" size="100">memployee.fullname</FIELD>
				<FIELD type="Double" size="50">memployee.simtpytran0_rep$__work</FIELD>
				<FIELD type="Double" size="50">memployee.simtpytran0_rep$__absent</FIELD>
				<FIELD type="Double" size="50">memployee.simtpytran0_rep$__late</FIELD>
				<FIELD type="Double" size="50">memployee.simtpytran0_rep$__nlate</FIELD>

				<FIELD type="Double" size="50">memployee.memployee$inc_h</FIELD>
				<FIELD type="Double" size="50">memployee.memployee$inc_d</FIELD>
				<FIELD type="Double" size="50">memployee.memployee$inc_w</FIELD>
				<FIELD type="Double" size="50">memployee.memployee$inc_m</FIELD>
				<FIELD type="Double" size="50">memployee.memployee$summary_inc</FIELD>
				<FIELD type="Double" size="50">memployee.memployee$summary_tax</FIELD>
				<FIELD type="Double" size="50">memployee.memployee$summary_soc</FIELD>
				<FIELD type="Double" size="50">memployee.memployee$summary_pvf_m</FIELD>
				<FIELD type="Double" size="50">memployee.memployee$summary_pvf_c</FIELD>
				<FIELD type="Double" size="50">memployee.memployee$summary_inc_nontax</FIELD>
				<FIELD type="Double" size="50">memployee.memployee$summary_inc_tax</FIELD>
			</VFIELD>
			<GROUP >
				<FIELD DESC="mbranch.edesc" LABEL="BRANCH">memployee.branch</FIELD>
				<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="mgroup.edesc" LABEL="BU TYPE">memployee.emp_group</FIELD>
			</GROUP>
			<REFER_LANG>TRUE</REFER_LANG>
			<REQUIRED_FOUND>TRUE</REQUIRED_FOUND>
			<TEMPLATE>
				<FIELD name="PR153BU.jasper"  tdesc="รายงานเงินเดือนตามหน่วยงาน" edesc="Monthly Payroll Report By Business Unit"/>
				<FIELD name="PR153BU_EASYBUY.jasper"  tdesc="รายงานเงินเดือนตามหน่วยงาน" edesc="Monthly Payroll Report By Business Unit"/>
			</TEMPLATE>
			<OPTION_REQUIRE tdesc="กรุณาใส่เงื่อนไขในอ็อปชั่นก่อน" edesc=" Please input condition in Option">true</OPTION_REQUIRE>
		    <COMPONENT>
				<FIELD type="list"  name="prgcode" desc="Paroll_Group" size="1" table="PAYROLL_GROUPHELP,CODEID,PAYROLL_DESC, ,CODEID"></FIELD>
				<!--FIELD type="text" name="sender" desc="Sender" size="50"></FIELD>
				<FIELD type="text" name="reciver" desc="Reciver" size="50"></FIELD>
				<FIELD type="text" name="signature" desc="Signature" size="50"></FIELD>
				<FIELD type="text" name="reportcondition" desc="ReportCondition" size="50"></FIELD>
				<FIELD type="text" name="reportconditiondesc" desc="ReportConditionDesc" size="50"></FIELD>
				<FIELD type="text" name="reportlevel" desc="ReportLevel" size="50"></FIELD-->
				<FIELD type="text" name="udf1" desc="UDF1" size="50"></FIELD>
				<!--FIELD type="text" name="udf2" desc="UDF2" size="50"></FIELD>
				<FIELD type="text" name="udf3" desc="UDF3" size="50"></FIELD>
				<FIELD type="text" name="udf4" desc="UDF4" size="50"></FIELD>
				<FIELD type="text" name="udf5" desc="UDF5" size="50"></FIELD-->
		   </COMPONENT> 
		</REPORTXML>
