<?xml version="1.0" encoding="UTF-8"?><MROUND desc_thai="ตารางปัดเศษ" desc_eng="Rounding-off Table" editcheck="true" mainhelp="MROUNDHELP" referhelp="MROUNDHELP" mainkey="ROUNDID" fieldsystem="*" protype="table" deleteflag="true" config_field="" dependlevel="true">
	<FIELD>
		<ROUNDID lang="A" encrypt="false" log="false" type="String">
			<GROUP>rounding</GROUP>
			<KEY>1</KEY>
			<WIDTH>3</WIDTH>
			<DESC_ENG>Round ID</DESC_ENG>
			<DESC_THAI>รหัสปัดเศษ</DESC_THAI>
			<COMPONENT type="text">
				<MAXSIZE>3</MAXSIZE>
				<SIZE>3</SIZE>
				<ALT_THAI>รหัสปัดเศษ</ALT_THAI>
				<ALT_ENG>Round ID</ALT_ENG>
				<ONCHANGE>javaScript:chChange(this);</ONCHANGE>
			</COMPONENT>
		<REQUIRE>TRUE</REQUIRE>
		</ROUNDID>
		<LINE_NO lang="A" encrypt="false" log="false" type="String">
			<GROUP>rounding</GROUP>
			<KEY>2</KEY>
			<WIDTH>3</WIDTH>
			<DESC_ENG>Line Number</DESC_ENG>
			<DESC_THAI>บรรทัดที่</DESC_THAI>
			<COMPONENT type="text">
				<MAXSIZE>3</MAXSIZE>
				<SIZE>3</SIZE>
				<ALT_THAI>บรรทัดที่</ALT_THAI>
				<ALT_ENG>Line Number</ALT_ENG>
			</COMPONENT>
		<REQUIRE>TRUE</REQUIRE>
		</LINE_NO>
		<TDESC lang="T" encrypt="false" log="true" type="String">
			<WIDTH>100</WIDTH>
			<DESC_ENG>Desc. (Thai)</DESC_ENG>
			<DESC_THAI>รายละเอียด (ไทย)</DESC_THAI>
			<REFER_LANG>EDESC</REFER_LANG>
			<COMPONENT type="text">
				<MAXSIZE>100</MAXSIZE>
				<SIZE>70</SIZE>
				<ALT_THAI>รายละเอียด (ไทย)</ALT_THAI>
				<ALT_ENG>Desc. (Thai)</ALT_ENG>
				<!--ONCHANGE>javaScript:chChangetdesc(this);</ONCHANGE-->
			</COMPONENT>
		<REQUIRE>true</REQUIRE>
		</TDESC>
		<EDESC lang="E" encrypt="false" log="true" type="String">
			<WIDTH>100</WIDTH>
			<DESC_ENG>Desc. (Eng.)</DESC_ENG>
			<DESC_THAI>รายละเอียด (อังกฤษ)</DESC_THAI>
			<REFER_LANG>TDESC</REFER_LANG>
			<COMPONENT type="text">
				<MAXSIZE>100</MAXSIZE>
				<SIZE>70</SIZE>
				<ALT_THAI>รายละเอียด (อังกฤษ)</ALT_THAI>
				<ALT_ENG>Desc. (Eng.)</ALT_ENG>
				<!--ONCHANGE>javaScript:chChangeedesc(this);</ONCHANGE-->
			</COMPONENT>
		</EDESC>
		<RSTART lang="A" encrypt="false" log="false" type="BigDecimal">
			<GROUP>rounding</GROUP>
			<WIDTH>10</WIDTH>
			<DESC_ENG>Start</DESC_ENG>
			<DESC_THAI>เริ่มต้น</DESC_THAI>
			<VALUE>1</VALUE>
			<COMPONENT type="text">
				<MAXSIZE>10</MAXSIZE>
				<SIZE>10</SIZE>
				<ALT_THAI>เริ่มต้น</ALT_THAI>
				<ALT_ENG>Start</ALT_ENG>
				<!-- <ONKEYPRESS>javascript:chkBigDecimal();</ONKEYPRESS> -->
				<ONKEYPRESS>checkWordNumber(this.value);</ONKEYPRESS>
				<ONKEYUP>checkComma(this,2);</ONKEYUP>
				<ONBLUR>checkNumFloat(this,0.00,1000000);</ONBLUR>
				<ONFOCUS>callDelComma(this);</ONFOCUS>
			</COMPONENT>
		<REQUIRE>TRUE</REQUIRE>
<APPNAME name="PAYROLL">
			<DESC_ENG>Start</DESC_ENG>
			<DESC_THAI>เริ่มต้น</DESC_THAI>
				<COMPONENT type="text"><MAXSIZE>10</MAXSIZE>
				<SIZE>10</SIZE>
				<DEFAULTVALUE>   </DEFAULTVALUE>
				<ALT_THAI>เริ่มต้น</ALT_THAI>
				<ALT_ENG>Start</ALT_ENG>
				<!--ONKEYPRESS>javascript:chkBigDecimal();</ONKEYPRESS-->
				<ONBLUR>chkLengthFloat$Start(this,'rend',9999);</ONBLUR>
				<ONKEYPRESS>checkWordNumber(this.value);</ONKEYPRESS> 
				<ONKEYUP>checkComma(this,2);</ONKEYUP> 
				<ONFOCUS>callDelComma(this);</ONFOCUS> 
			</COMPONENT></APPNAME>
</RSTART>
		<REND lang="A" encrypt="false" log="true" type="BigDecimal">
			<GROUP>rounding</GROUP>
			<WIDTH>10</WIDTH>
			<DESC_ENG>End</DESC_ENG>
			<DESC_THAI>สิ้นสุด</DESC_THAI>
			<VALUE>1</VALUE>
			<COMPONENT type="text">
				<MAXSIZE>10</MAXSIZE>
				<SIZE>10</SIZE>
				<ALT_THAI>สิ้นสุด</ALT_THAI>
				<ALT_ENG>End</ALT_ENG>
				<ONKEYPRESS>checkWordNumber(this.value);</ONKEYPRESS>
				<ONKEYUP>checkComma(this,2);</ONKEYUP>
				<ONBLUR>checkNumFloat(this,0.00,1000000);</ONBLUR>
				<ONFOCUS>callDelComma(this);</ONFOCUS>
			</COMPONENT>
		<REQUIRE>TRUE</REQUIRE>
<APPNAME name="PAYROLL">
			<DESC_ENG>End</DESC_ENG>
			<DESC_THAI>สิ้นสุด</DESC_THAI>
				<COMPONENT type="text"><MAXSIZE>10</MAXSIZE>
				<SIZE>10</SIZE>
				<DEFAULTVALUE>0.00</DEFAULTVALUE>
				<ALT_THAI>สิ้นสุด</ALT_THAI>
				<ALT_ENG>End</ALT_ENG>
				<!--ONKEYPRESS>javascript:chkBigDecimal();</ONKEYPRESS-->
				<ONBLUR>chkLengthFloat$End(this,'rstart',9999);</ONBLUR>
				<ONKEYPRESS>checkWordNumber(this.value);</ONKEYPRESS> 
				<ONKEYUP>checkComma(this,2);</ONKEYUP> 
				<ONFOCUS>callDelComma(this);</ONFOCUS> 
			</COMPONENT></APPNAME>
</REND>
		<ROUND_ROUND lang="A" encrypt="false" log="true" type="BigDecimal">
			<GROUP>rounding</GROUP>
			<WIDTH>10</WIDTH>
			<DESC_ENG>Rounded</DESC_ENG>
			<DESC_THAI>ยอดที่ปัด</DESC_THAI>
			<COMPONENT type="text">
				<MAXSIZE>10</MAXSIZE>
				<SIZE>10</SIZE>
				<ALT_THAI>ยอดที่ปัด</ALT_THAI>
				<ALT_ENG>Rounded</ALT_ENG>
				<ONKEYPRESS>checkWordNumber(this.value);</ONKEYPRESS>
				<ONKEYUP>checkComma(this,2);</ONKEYUP>
				<ONBLUR>checkNumFloat(this,0.00,1000000);</ONBLUR>
				<ONFOCUS>callDelComma(this);</ONFOCUS>
			</COMPONENT>
<APPNAME name="PAYROLL">
			<DESC_ENG>Rounded</DESC_ENG>
			<DESC_THAI>ยอดที่ปัด</DESC_THAI>
				<COMPONENT type="text">
				<MAXSIZE>10</MAXSIZE>
				<SIZE>10</SIZE>
				<ALT_THAI>ยอดที่ปัด</ALT_THAI>
				<ALT_ENG>Rounded</ALT_ENG>
				<!--ONKEYPRESS>javascript:chkBigDecimal();</ONKEYPRESS-->
				<ONBLUR>checkNumFloat(this,0,900000000);</ONBLUR>
				<ONKEYPRESS>checkWordNumber(this.value);</ONKEYPRESS> 
				<ONKEYUP>checkComma(this,2);</ONKEYUP> 
				<ONFOCUS>callDelComma(this);</ONFOCUS> 
			</COMPONENT></APPNAME>
</ROUND_ROUND>
</FIELD>
	<RELATION>
		<MCOSTCENTER1>
			<PARENT>MROUND.ROUNDID</PARENT>
			<CHILD>MCOSTCENTER1.COSTCENTER_ROUND</CHILD>
		</MCOSTCENTER1>
		<MFORMULA mode="0" dependlevel="false">
			<PARENT>MROUND.ROUNDID</PARENT>
			<CHILD>MFORMULA.ROUNDING</CHILD>
		</MFORMULA>
		<MEMPL_LOAN mode="0">
			<PARENT>MROUND.ROUNDID</PARENT>
			<CHILD>MEMPL_LOAN.ROUNDID</CHILD>
		</MEMPL_LOAN>
		<SIMEMPL_LOAN mode="0" rtablename="MEMPL_LOAN">
			<PARENT>MROUND.ROUNDID</PARENT>
			<CHILD>MEMPL_LOAN.ROUNDID</CHILD>
		</SIMEMPL_LOAN>
		<TBONUS_PROCESS >
			<PARENT>MROUND.ROUNDID</PARENT>
			<CHILD>TBONUS_PROCESS.ROUNDID</CHILD>
		</TBONUS_PROCESS>
		<TBONUS_PROCESSED >
			<PARENT>MROUND.ROUNDID</PARENT>
			<CHILD>TBONUS_PROCESSED.ROUNDID</CHILD>
		</TBONUS_PROCESSED>
	</RELATION>
</MROUND>
