<?xml version="1.0" encoding="UTF-8"?>
		<REPORTXML>
			<DATAMANAGER>PRR322_DHAS</DATAMANAGER>
			<REPORTHEADER tdesc="รายงานใบแสดงเงินเดือน(Pay Slip)" edesc="รายงานใบแสดงเงินเดือน(Pay Slip)"/>
			<LINKTABLE>
				<FIELD>memployee</FIELD>
			</LINKTABLE>
			<HELP>
			</HELP>
			<FIXFILTER>
					<FIELD tablename="memployee" value="employeeid in(select employeeid from tpytran0)" ></FIELD>
			</FIXFILTER>
			<VFIELD>

				<FIELD type="String" size="50">memployee.simtpytran0_rep$ot1</FIELD>
				<FIELD type="String" size="50">memployee.simtpytran0_rep$ot2</FIELD>
				<FIELD type="String" size="50">memployee.simtpytran0_rep$ot3</FIELD>
				<FIELD type="String" size="50">memployee.simtpytran0_rep$ot5</FIELD>
				<FIELD type="String" size="50">memployee.simtpytran0_rep$absent</FIELD>
				<FIELD type="String" size="50">memployee.simtpytran0_rep$work</FIELD>

				<FIELD type="String" size="50">memployee.acc_ot1</FIELD>
				<FIELD type="String" size="50">memployee.acc_ot15</FIELD>
				<FIELD type="String" size="50">memployee.acc_ot2</FIELD>
				<FIELD type="String" size="50">memployee.acc_ot3</FIELD>
				<FIELD type="String" size="50">memployee.acc_shift</FIELD>
				<FIELD type="String" size="50">memployee.acc_absent</FIELD>
				<FIELD type="String" size="50">memployee.acc_late</FIELD>

				<FIELD type="String" size="50">memployee.acc_ot1_h</FIELD>
				<FIELD type="String" size="50">memployee.acc_ot15_h</FIELD>
				<FIELD type="String" size="50">memployee.acc_ot2_h</FIELD>
				<FIELD type="String" size="50">memployee.acc_ot3_h</FIELD>
				<FIELD type="String" size="50">memployee.acc_shift_h</FIELD>
				<FIELD type="String" size="50">memployee.acc_absent_h</FIELD>
				<FIELD type="String" size="50">memployee.acc_late_h</FIELD>


				<FIELD type="String" size="50">memployee.acc_netincome</FIELD>
				<FIELD type="String" size="50">memployee.acc_nettax</FIELD>
				<FIELD type="String" size="50">memployee.acc_netsoc</FIELD>
				<FIELD type="String" size="50">memployee.acc_netcsoc</FIELD>
				<FIELD type="String" size="50">memployee.acc_netpvf</FIELD>
				<FIELD type="String" size="50">memployee.acc_netcpvf</FIELD>
				<FIELD type="String" size="50">memployee.inctax</FIELD>
				<FIELD type="String" size="100">memployee.fullname</FIELD>
				<FIELD type="String" size="100">memployee.paymentdate</FIELD>
				<FIELD type="String" size="100">memployee.salatype_period</FIELD>

				<FIELD type="String" size="100">memployee.siminctdesc1</FIELD>
				<FIELD type="String" size="100">memployee.siminctdesc2</FIELD>
				<FIELD type="String" size="100">memployee.siminctdesc3</FIELD>
				<FIELD type="String" size="100">memployee.siminctdesc4</FIELD>
				<FIELD type="String" size="100">memployee.siminctdesc5</FIELD>
				<FIELD type="String" size="100">memployee.siminctdesc6</FIELD>
				<FIELD type="String" size="100">memployee.siminctdesc7</FIELD>
				<FIELD type="String" size="100">memployee.siminctdesc8</FIELD>
				<FIELD type="String" size="100">memployee.siminctdesc9</FIELD>
				<FIELD type="String" size="100">memployee.siminctdesc10</FIELD>
				<FIELD type="String" size="100">memployee.siminctdesc11</FIELD>
				<FIELD type="String" size="100">memployee.siminctdesc12</FIELD>
				<FIELD type="String" size="100">memployee.siminctdesc13</FIELD>
				<FIELD type="String" size="100">memployee.siminctdesc14</FIELD>
				<FIELD type="String" size="100">memployee.siminctdesc15</FIELD>

				<FIELD type="String" size="100">memployee.simdectdesc1</FIELD>
				<FIELD type="String" size="100">memployee.simdectdesc2</FIELD>
				<FIELD type="String" size="100">memployee.simdectdesc3</FIELD>
				<FIELD type="String" size="100">memployee.simdectdesc4</FIELD>
				<FIELD type="String" size="100">memployee.simdectdesc5</FIELD>
				<FIELD type="String" size="100">memployee.simdectdesc6</FIELD>
				<FIELD type="String" size="100">memployee.simdectdesc7</FIELD>
				<FIELD type="String" size="100">memployee.simdectdesc8</FIELD>
				<FIELD type="String" size="100">memployee.simdectdesc9</FIELD>
				<FIELD type="String" size="100">memployee.simdectdesc10</FIELD>
				<FIELD type="String" size="100">memployee.simdectdesc11</FIELD>
				<FIELD type="String" size="100">memployee.simdectdesc12</FIELD>
				<FIELD type="String" size="100">memployee.simdectdesc13</FIELD>
				<FIELD type="String" size="100">memployee.simdectdesc14</FIELD>
				<FIELD type="String" size="100">memployee.simdectdesc15</FIELD>

				<FIELD type="String" size="100">memployee.simincamount1</FIELD>
				<FIELD type="String" size="100">memployee.simincamount2</FIELD>
				<FIELD type="String" size="100">memployee.simincamount3</FIELD>
				<FIELD type="String" size="100">memployee.simincamount4</FIELD>
				<FIELD type="String" size="100">memployee.simincamount5</FIELD>
				<FIELD type="String" size="100">memployee.simincamount6</FIELD>
				<FIELD type="String" size="100">memployee.simincamount7</FIELD>
				<FIELD type="String" size="100">memployee.simincamount8</FIELD>
				<FIELD type="String" size="100">memployee.simincamount9</FIELD>
				<FIELD type="String" size="100">memployee.simincamount10</FIELD>
				<FIELD type="String" size="100">memployee.simincamount11</FIELD>
				<FIELD type="String" size="100">memployee.simincamount12</FIELD>
				<FIELD type="String" size="100">memployee.simincamount13</FIELD>
				<FIELD type="String" size="100">memployee.simincamount14</FIELD>
				<FIELD type="String" size="100">memployee.simincamount15</FIELD>

				<FIELD type="String" size="100">memployee.simdecamount1</FIELD>
				<FIELD type="String" size="100">memployee.simdecamount2</FIELD>
				<FIELD type="String" size="100">memployee.simdecamount3</FIELD>
				<FIELD type="String" size="100">memployee.simdecamount4</FIELD>
				<FIELD type="String" size="100">memployee.simdecamount5</FIELD>
				<FIELD type="String" size="100">memployee.simdecamount6</FIELD>
				<FIELD type="String" size="100">memployee.simdecamount7</FIELD>
				<FIELD type="String" size="100">memployee.simdecamount8</FIELD>
				<FIELD type="String" size="100">memployee.simdecamount9</FIELD>
				<FIELD type="String" size="100">memployee.simdecamount10</FIELD>
				<FIELD type="String" size="100">memployee.simdecamount11</FIELD>
				<FIELD type="String" size="100">memployee.simdecamount12</FIELD>
				<FIELD type="String" size="100">memployee.simdecamount13</FIELD>
				<FIELD type="String" size="100">memployee.simdecamount14</FIELD>
				<FIELD type="String" size="100">memployee.simdecamount15</FIELD>


			</VFIELD>
			<GROUP >
			</GROUP>
			<REFER_LANG>TRUE</REFER_LANG>
			<REQUIRED_FOUND>FALSE</REQUIRED_FOUND>
			<OPTION_REQUIRE tdesc="กรุณาใส่เงื่อนไขในอ็อปชั่นก่อน" edesc=" Please input condition in Option">true</OPTION_REQUIRE>
			<TEMPLATE>
					<FIELD name="PRR322_DHAS_MID.jasper"  tdesc="รายงานใบแสดงเงินเดือน(DHAS)งวดกลาง" edesc="รายงานใบแสดงเงินเดือน(DHAS)งวดกลาง"/>
			</TEMPLATE>
			<COMPONENT link="PRR322_DHASOPTION">
				<FIELD type="text" name="prgroup" desc="Business Units" size="40" value="slip"></FIELD>
				<FIELD type="text" name="salatype_period" desc="salatype_period" size="40" value=""></FIELD>
		   </COMPONENT>
		</REPORTXML>
