<?xml version="1.0" encoding="UTF-8"?><MCOSTCENTER1 desc_thai="ทะเบียนคอร์สเซ็นเตอร์" desc_eng="Cost Allowance Basis Table" editcheck="true" mainhelp="MCOSTCENTER1HELP" referhelp="MCOSTCENTER1HELP" mainkey="COSTCENTERID" fieldsystem="*" protype="table" deleteflag="true" config_field="">
	<FIELD>
		<COSTCENTERID lang="A" encrypt="false" log="false" type="String">
			<KEY>1</KEY>
			<RELATION>MCOSTCENTER0</RELATION>
			<WIDTH>10</WIDTH>
			<DESC_ENG>Cost Center ID</DESC_ENG>
			<DESC_THAI>รหัส Cost Center</DESC_THAI>
			<COMPONENT type="text">
				<MAXSIZE>10</MAXSIZE>
				<SIZE>10</SIZE>
				<ALT_THAI>รหัส Cost Center</ALT_THAI>
				<ALT_ENG>Cost Center ID</ALT_ENG>
			</COMPONENT>
		<REQUIRE>true</REQUIRE>
		</COSTCENTERID>
		<COMPANYID lang="A" encrypt="false" log="false" type="String">
		   <KEY>2</KEY>
			<WIDTH>5</WIDTH>
			<DESC_ENG>Company ID</DESC_ENG>
			<DESC_THAI>รหัสบริษัท</DESC_THAI>
			<COMPONENT type="text">
				<MAXSIZE>5</MAXSIZE>
				<SIZE>5</SIZE>
				<ALT_THAI>รหัสบริษัท</ALT_THAI>
				<ALT_ENG>Company ID</ALT_ENG>
			</COMPONENT>
		<REQUIRE>true</REQUIRE>
		</COMPANYID>
		<LINE_NO lang="A" encrypt="false" log="false" type="String">
			<KEY>3</KEY>
			<WIDTH>5</WIDTH>
			<DESC_ENG>No.</DESC_ENG>
			<DESC_THAI>ลำดับ</DESC_THAI>
			<COMPONENT type="text">
				<MAXSIZE>5</MAXSIZE>
				<SIZE>5</SIZE>
				<ALT_ENG>No.</ALT_ENG>
				<ALT_THAI>ลำดับ</ALT_THAI>
				<ONKEYPRESS>chkInteger();</ONKEYPRESS>
			</COMPONENT>
			<APPNAME name="PAYROLL">
				<DESC_ENG>JV SQ. No.</DESC_ENG>
				<DESC_THAI>ลำดับ</DESC_THAI>
				<COMPONENT type="text">
					<MAXSIZE>5</MAXSIZE>
					<SIZE>5</SIZE>
					<ALT_ENG>JV SQ. No.</ALT_ENG>
					<ALT_THAI>ลำดับ</ALT_THAI>
					<ONKEYPRESS>chkInteger();</ONKEYPRESS>
				</COMPONENT>
			</APPNAME>
		</LINE_NO>
		<ACCOUNTID lang="A" encrypt="false" log="false" type="String">
			<WIDTH>15</WIDTH>
			<RELATION>MACCOUNT</RELATION>
			<DESC_ENG>Account Code</DESC_ENG>
			<DESC_THAI>รหัสบัญชี</DESC_THAI>
			<COMPONENT type="text">
				<MAXSIZE>15</MAXSIZE>
				<SIZE>15</SIZE>
				<ALT_THAI>รหัสบัญชี</ALT_THAI>
				<ALT_ENG>Account Code</ALT_ENG>
				<READONLY>TRUE</READONLY>
			</COMPONENT>
		</ACCOUNTID>
		<UNIT lang="E" encrypt="false" log="true" type="String">
			<WIDTH>1</WIDTH>
			<DESC_ENG>Unit</DESC_ENG>
			<DESC_THAI>หน่วย</DESC_THAI>
			<COMPONENT type="list">
				<VALIDCODE>UNITTYPE1</VALIDCODE>
				<MAXSIZE>1</MAXSIZE>
				<SIZE>1</SIZE>
				<ALT_THAI>หน่วย</ALT_THAI>
				<ALT_ENG>Unit</ALT_ENG>
			</COMPONENT>
		</UNIT>
		<AMOUNT lang="A" encrypt="false" log="true" type="BigDecimal">
			<WIDTH>15</WIDTH>
			<DESC_ENG>Amount</DESC_ENG>
			<DESC_THAI>จำนวน</DESC_THAI>
			<COMPONENT type="text">
				<MAXSIZE>15</MAXSIZE>
				<SIZE>15</SIZE>
				<ALT_THAI>จำนวน</ALT_THAI>
				<ALT_ENG>Amount</ALT_ENG>
				<ONBLUR>chkPerOrMoneyListBox(this,__unit);</ONBLUR>
				<ONKEYPRESS>chkInteger();</ONKEYPRESS>
				<ONKEYUP>checkComma(this,2)</ONKEYUP>
				<ONFOCUS>callDelComma(this)</ONFOCUS>
				<!--ONKEYPRESS>javascript:chkBigDecimal();</ONKEYPRESS-->
			</COMPONENT>
<APPNAME name="PAYROLL">
			<DESC_ENG>Amount</DESC_ENG>
			<DESC_THAI>จำนวน</DESC_THAI>
				<COMPONENT type="text">
				<MAXSIZE>15</MAXSIZE>
				<SIZE>15</SIZE>
				<ALT_THAI>จำนวน</ALT_THAI>
				<ALT_ENG>Amount</ALT_ENG>
				<!--ONKEYPRESS>javascript:chkBigDecimal();</ONKEYPRESS-->
				<ONBLUR>chkPerOrMoneyListBox(this,__unit);</ONBLUR>
				<ONKEYPRESS>checkWordNumber(this.value);</ONKEYPRESS> 
				<ONKEYUP>checkComma(this,2);</ONKEYUP> 
				<ONFOCUS>callDelComma(this);</ONFOCUS> 	
			</COMPONENT></APPNAME>
</AMOUNT>
		<COSTCENTER_ROUND lang="E" encrypt="false" log="true" type="String">
			<WIDTH>3</WIDTH>
			<RELATION>MROUND</RELATION>
			<DESC_ENG>Cost Center Round</DESC_ENG>
			<DESC_THAI>รหัสปัดเศษ</DESC_THAI>
			<COMPONENT type="text">
				<MAXSIZE>3</MAXSIZE>
				<SIZE>5</SIZE>
				<ALT_THAI>รหัสปัดเศษ</ALT_THAI>
				<ALT_ENG>Cost Center Round</ALT_ENG>
				<READONLY>TRUE</READONLY>
			</COMPONENT>
		</COSTCENTER_ROUND>
		<ACCTCODE lang="A" encrypt="false" log="false" type="String">
			<WIDTH>15</WIDTH>
			<DESC_ENG>Account Code</DESC_ENG>
			<DESC_THAI>รหัสบัญชี</DESC_THAI>
			<COMPONENT type="text">
				<MAXSIZE>15</MAXSIZE>
				<SIZE>15</SIZE>
				<ALT_THAI>รหัสบัญชี</ALT_THAI>
				<ALT_ENG>Account Code</ALT_ENG>
			</COMPONENT>
		</ACCTCODE>
		<ACCTNAME lang="A" encrypt="false" log="false" type="String">
			<WIDTH>64</WIDTH>
			<DESC_ENG>Account Name</DESC_ENG>
			<DESC_THAI>ชื่อบัญชี</DESC_THAI>
			<COMPONENT type="text">
				<MAXSIZE>64</MAXSIZE>
				<SIZE>64</SIZE>
				<ALT_THAI>ชื่อบัญชี</ALT_THAI>
				<ALT_ENG>Account Name</ALT_ENG>
			</COMPONENT>
		</ACCTNAME>
	</FIELD>
	<RELATION>
	</RELATION>
</MCOSTCENTER1>
