<?xml version="1.0" encoding="UTF-8"?>
<MEMPL_SCHOLARSHIP0 desc_thai="รายชื่อผู้รับทุน" desc_eng="Scholarship Recipients" editcheck="true" mainhelp="MEMPL_SCHOLARSHIP0HELP" referhelp="MEMPL_SCHOLARSHIP0HELP" mainkey="EMPLOYEEID" fieldsystem="*" protype="table" deleteflag="true" config_field="">
	<FIELD>
		<EMPLOYEEID lang="A" encrypt="false" log="false" type="String">
			<KEY>1</KEY>
			<WIDTH>15</WIDTH>
			<RELATION>MEMPLOYEE</RELATION>
			<DESC_ENG>EMPLOYEEID</DESC_ENG>
			<DESC_THAI>รหัสพนักงาน</DESC_THAI>
			<REQUIRE>true</REQUIRE>
			<COMPONENT type="text">
				<MAXSIZE>15</MAXSIZE>
				<SIZE>15</SIZE>
				<ALT_THAI>รหัสพนักงาน</ALT_THAI>
				<ALT_ENG>EMPLOYEEID</ALT_ENG>
			</COMPONENT>
		</EMPLOYEEID>
		<COMPANYID lang="A" encrypt="false" log="false" type="String">
			 <KEY>2</KEY>
			 <WIDTH>5</WIDTH>
			<RELATION>MCOMPANY</RELATION>
			<DESC_ENG>COMPANYID</DESC_ENG>
			<DESC_THAI>รหัสบริษัท</DESC_THAI>
			<REQUIRE>true</REQUIRE>
			<COMPONENT type="text">
				<MAXSIZE>5</MAXSIZE>
				<SIZE>5</SIZE>
				<ALT_THAI>รหัสบริษัท</ALT_THAI>
				<ALT_ENG>COMPANYID</ALT_ENG>
			</COMPONENT>
		</COMPANYID>
		<LINE_NO lang="A" encrypt="false" log="false" type="String">
			 <KEY>3</KEY>
			 <WIDTH>5</WIDTH>
			<DESC_ENG>Sequence</DESC_ENG>
			<DESC_THAI>ลำดับ</DESC_THAI>
			<REQUIRE>true</REQUIRE>
			<COMPONENT type="text">
				<MAXSIZE>5</MAXSIZE>
				<SIZE>5</SIZE>
				<ALT_THAI>ลำดับ</ALT_THAI>
				<ALT_ENG>Sequence</ALT_ENG>
				<ONKEYPRESS>javascript:chkInteger();</ONKEYPRESS>
			</COMPONENT>
		</LINE_NO>
		<SCHOLARSHIPID lang="A" encrypt="false" log="false" type="String">
			<RELATION>MSCHOLARSHIP</RELATION>
			<WIDTH>10</WIDTH>
			<DESC_ENG>Scholarship Name</DESC_ENG>
			<DESC_THAI>ชื่อทุนการศึกษา</DESC_THAI>
            <REQUIRE>true</REQUIRE>
			<COMPONENT type="text">
				<MAXSIZE>10</MAXSIZE>
				<SIZE>10</SIZE>
				<ALT_THAI>ชื่อทุนการศึกษา</ALT_THAI>
				<ALT_ENG>Scholarship Name</ALT_ENG>
			</COMPONENT>
		</SCHOLARSHIPID>
		<CONTRACT_NUMBER lang="A" encrypt="false" log="false" type="String">
			<WIDTH>20</WIDTH>
			<DESC_ENG>Contract Number</DESC_ENG>
			<DESC_THAI>เลขที่สัญญา</DESC_THAI>
			<COMPONENT type="text">
				<MAXSIZE>20</MAXSIZE>
				<SIZE>20</SIZE>
				<ALT_THAI>เลขที่สัญญา</ALT_THAI>
				<ALT_ENG>Contract Number</ALT_ENG>
			</COMPONENT>
		</CONTRACT_NUMBER>
		<AMOUNT lang="A" encrypt="true" log="true" type="Double">
            <WIDTH>25</WIDTH>
            <DESC_ENG>Amount of funds</DESC_ENG>
            <DESC_THAI>จำนวนเงินทุน</DESC_THAI>
            <COMPONENT type="text">
                <VALUE>0.00</VALUE>
                <MAXSIZE>12</MAXSIZE>
                <SIZE>12</SIZE>
                <ALT_ENG>Amount of funds</ALT_ENG>
                <ALT_THAI>จำนวนเงินทุน</ALT_THAI>
                <ONBLUR>checkNumFloat(this,0.0,900000000);</ONBLUR>
                <ONKEYPRESS>checkWordNumber(this.value);</ONKEYPRESS>
                <ONKEYUP>checkComma(this,2);</ONKEYUP>
                <ONFOCUS>callDelComma(this);</ONFOCUS>
            </COMPONENT>
        </AMOUNT>
		<CURRENCY lang="A" encrypt="false" log="true" type="String">
            <WIDTH>5</WIDTH>
            <RELATION>MCURRENCY</RELATION>
            <DESC_ENG>Currency</DESC_ENG>
            <DESC_THAI>อัตราการแลกเปลี่ยน</DESC_THAI>
            <COMPONENT type="list">
                <MAXSIZE>5</MAXSIZE>
                <SIZE>5</SIZE>
                <ALT_ENG>Currency</ALT_ENG>
                <ALT_THAI>อัตราการแลกเปลี่ยน</ALT_THAI>
				<TABLE>MCURRENCYHELP,CURRENCYID,TDESC, ,CURRENCYID</TABLE>
                <DEFAULTVALUE>B</DEFAULTVALUE>
            </COMPONENT>
        </CURRENCY>
		<EFFECTIVE_DATE lang="A" encrypt="false" log="false" type="Date">
            <WIDTH>23</WIDTH>
            <DESC_ENG>Effective Date</DESC_ENG>
            <DESC_THAI>วันที่มีผล</DESC_THAI>
            <COMPONENT type="text">
                <MAXSIZE>10</MAXSIZE>
                <SIZE>10</SIZE>
                <ALT_ENG>Effective Date</ALT_ENG>
                <ALT_THAI>วันที่มีผล</ALT_THAI>
                <ONFOCUS>this.select();</ONFOCUS>
                <ONKEYUP>formatDate(this);</ONKEYUP>
                <ONBLUR>chkInputDate(this);</ONBLUR>
                <ONKEYPRESS>chkInteger();</ONKEYPRESS>
            </COMPONENT>
        </EFFECTIVE_DATE>
		<ISREFUND lang="A" encrypt="false" log="true" type="String">
            <WIDTH>1</WIDTH>
            <DESC_ENG>Make a refund</DESC_ENG>
            <DESC_THAI>ชดใช้หรือไม่</DESC_THAI>
            <COMPONENT type="list">
                <VALIDCODE>YESNO</VALIDCODE>
                <MAXSIZE>1</MAXSIZE>
                <SIZE>1</SIZE>
                <ALT_ENG>Make a refund</ALT_ENG>
                <ALT_THAI>ชดใช้หรือไม่</ALT_THAI>
                <DEFAULTVALUE>1</DEFAULTVALUE>
            </COMPONENT>
        </ISREFUND>
		 <PERIOD lang="A" encrypt="false" log="false" type="Integer">
            <WIDTH>2</WIDTH>
            <DESC_ENG>Compensation period</DESC_ENG>
            <DESC_THAI>ระยะเวลาที่ชดใช้</DESC_THAI>
            <COMPONENT type="text">
                <MAXSIZE>2</MAXSIZE>
                <SIZE>2</SIZE>
                <ALT_ENG>Compensation period</ALT_ENG>
                <ALT_THAI>ระยะเวลาที่ชเใช้</ALT_THAI>
                <ONKEYPRESS>chkInteger();</ONKEYPRESS>
            </COMPONENT>
        </PERIOD>
		<PERIOD_EVERY lang="A" encrypt="false" log="true" type="String">
            <WIDTH>1</WIDTH>
            <DESC_ENG>Period Every</DESC_ENG>
            <DESC_THAI>ประเภทระยะเวลา</DESC_THAI>
            <COMPONENT type="list">
                <VALIDCODE>MONTHYEAR</VALIDCODE>
                <MAXSIZE>1</MAXSIZE>
                <SIZE>1</SIZE>
                <ALT_ENG>Period Every</ALT_ENG>
                <ALT_THAI>ประเภทระยะเวลา</ALT_THAI>
            </COMPONENT>
        </PERIOD_EVERY>
		<INCOM_AMOUNT lang="A" encrypt="true" log="true" type="Double">
            <WIDTH>25</WIDTH>
            <DESC_ENG>Incomplete Contract</DESC_ENG>
            <DESC_THAI>ชดใช้กรณีไม่ครบสัญญา</DESC_THAI>
            <COMPONENT type="text">
                <VALUE>0.00</VALUE>
                <MAXSIZE>12</MAXSIZE>
                <SIZE>12</SIZE>
                <ALT_ENG>Incomplete Contract</ALT_ENG>
                <ALT_THAI>ชดใช้กรณีไม่ครบสัญญา</ALT_THAI>
                <ONBLUR>checkNumFloat(this,0.0,900000000);</ONBLUR>
                <ONKEYPRESS>checkWordNumber(this.value);</ONKEYPRESS>
                <ONKEYUP>checkComma(this,2);</ONKEYUP>
                <ONFOCUS>callDelComma(this);</ONFOCUS>
            </COMPONENT>
        </INCOM_AMOUNT>
		<INCOM_CURRENCY lang="A" encrypt="false" log="true" type="String">
            <WIDTH>5</WIDTH>
            <RELATION>MCURRENCY</RELATION>
            <DESC_ENG>Currency</DESC_ENG>
            <DESC_THAI>อัตราการแลกเปลี่ยน</DESC_THAI>
            <COMPONENT type="list">
                <MAXSIZE>5</MAXSIZE>
                <SIZE>5</SIZE>
                <ALT_ENG>Currency</ALT_ENG>
                <ALT_THAI>อัตราการแลกเปลี่ยน</ALT_THAI>
				<TABLE>MCURRENCYHELP,CURRENCYID,TDESC, ,CURRENCYID</TABLE>
                <DEFAULTVALUE>B</DEFAULTVALUE>
            </COMPONENT>
        </INCOM_CURRENCY>
	</FIELD>
	<RELATION>
        <MCURRENCY>
            <PARENT>MEMPL_SCHOLARSHIP0.CURRENCY</PARENT>
            <PARENT>MEMPL_SCHOLARSHIP0.COMPANYID</PARENT>
            <CHILD>MCURRENCY.CURRENCYID</CHILD>
            <CHILD>MCURRENCY.COMPANYID</CHILD>
        </MCURRENCY>
        <V1MCURRENCY rtablename="MCURRENCY">
            <PARENT>MEMPL_SCHOLARSHIP0.INCOM_CURRENCY</PARENT>
            <PARENT>MEMPL_SCHOLARSHIP0.COMPANYID</PARENT>
            <CHILD>V1MCURRENCY.CURRENCYID</CHILD>
            <CHILD>V1MCURRENCY.COMPANYID</CHILD>
        </V1MCURRENCY>
	</RELATION>
</MEMPL_SCHOLARSHIP0>
