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

		<FIELD type="Double" size="50">memployee.simtpytran0$netincome</FIELD>
		<FIELD type="Double" size="50">memployee.simtpytran0$__work</FIELD>
		<FIELD type="Double" size="50">memployee.simtpytran0$__absent</FIELD>
		<FIELD type="Double" size="50">memployee.simtpytran0$__late</FIELD>
		<FIELD type="Double" size="50">memployee.simtpytran0$__nlate</FIELD>

		<FIELD type="String" size="100">memployee.fullname</FIELD>
		<FIELD type="Double" size="50">memployee.inc_h</FIELD>
		<FIELD type="Double" size="50">memployee.inc_d</FIELD>
		<FIELD type="Double" size="50">memployee.inc_w</FIELD>
		<FIELD type="Double" size="50">memployee.inc_m</FIELD>
		<FIELD type="Double" size="50">memployee.summary_inc</FIELD>
		<FIELD type="Double" size="50">memployee.summary_tax</FIELD>
		<FIELD type="Double" size="50">memployee.summary_soc</FIELD>
		<FIELD type="Double" size="50">memployee.summary_pvf_m</FIELD>
		<FIELD type="Double" size="50">memployee.summary_pvf_c</FIELD>
		<FIELD type="Double" size="50">memployee.summary_inc_nontax</FIELD>
		<FIELD type="Double" size="50">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>
	</GROUP>
	<REFER_LANG>TRUE</REFER_LANG>
	<REQUIRED_FOUND>FALSE</REQUIRED_FOUND>
	<TEMPLATE>
		<FIELD name="PR030.jasper"  tdesc="รายงานผลรวมการจ่ายเงินเดือนของแต่ละหน่วยงาน" edesc="SUMMARY PAYROLL BY BUSINESS UNIT"/>
	</TEMPLATE>
    <COMPONENT>
		<FIELD type="list"  name="prgcode" desc="Paroll_Group" size="1" table="PAYROLL_GROUPHELP,CODEID,PAYROLL_DESC, (verified !='I') ,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>
