<?xml version="1.0" encoding="UTF-8"?>
<MKC desc_eng="Key Competency Table" desc_thai="ทะเบียน KC" editcheck="true" mainhelp="MKCHELP" referhelp="MKCHELP" mainkey="KCID" fieldsystem="*" protype="table" deleteflag="true" config_field="">
	<FIELD>
		<KCID lang="A" encrypt="false" log="false" type="String">
			<KEY>1</KEY>
			<WIDTH>15</WIDTH>
			<DESC_ENG>KC Code</DESC_ENG>
			<DESC_THAI>รหัส KC</DESC_THAI>
			<REQUIRE>true</REQUIRE>
			<COMPONENT type="Text">
				<SIZE>10</SIZE>
				<MAXSIZE>15</MAXSIZE>
				<ALT_ENG>KC Code</ALT_ENG>
				<ALT_THAI>รหัส KC</ALT_THAI>
			</COMPONENT>
		</KCID>
		<COMPANYID lang="A" encrypt="false" log="false" type="String">
		   <KEY>2</KEY>
			<WIDTH>5</WIDTH>
			<DESC_ENG>Company Code</DESC_ENG>
			<DESC_THAI>รหัสบริษัท</DESC_THAI>
			<COMPONENT type="Text">
				<SIZE>5</SIZE>
				<MAXSIZE>5</MAXSIZE>
				<ALT_ENG>Company Code</ALT_ENG>
				<ALT_THAI>รหัสบริษัท</ALT_THAI>
			</COMPONENT>
		</COMPANYID>
		
		<TDESC lang="T" encrypt="false" log="false" type="String">
			<REFER_LANG>EDESC</REFER_LANG>
			<WIDTH>512</WIDTH>
			<DESC_ENG>Description (Thai)</DESC_ENG>
			<DESC_THAI>รายละเอียด (ไทย)</DESC_THAI>
			<REQUIRE>true</REQUIRE>			
			<COMPONENT type="TEXTAREA">
				<ALT_ENG>Description (Thai)</ALT_ENG>
				<ALT_THAI>รายละเอียด (ไทย)</ALT_THAI>
				<LINES>3</LINES>
				<SIZECHAR>60</SIZECHAR>
			</COMPONENT>
		</TDESC>
		<EDESC lang="E" encrypt="false" log="false" type="String">
			<REFER_LANG>TDESC</REFER_LANG>
			<WIDTH>512</WIDTH>
			<DESC_ENG>Description (Eng)</DESC_ENG>
			<DESC_THAI>รายละเอียด (อังกฤษ)</DESC_THAI>
			<COMPONENT type="TEXTAREA">
				<ALT_ENG>Description (Eng)</ALT_ENG>
				<ALT_THAI>รายละเอียด (อังกฤษ)</ALT_THAI>
				<LINES>3</LINES>
				<SIZECHAR>60</SIZECHAR>
			</COMPONENT>
		</EDESC>
		
		<GROUPID lang="A" encrypt="false" log="false" type="String">
		   <RELATION>MKEYASSGROUP</RELATION>
			<WIDTH>15</WIDTH>
			<DESC_ENG>Competency group ID</DESC_ENG>
			<DESC_THAI>รหัสกลุ่ม KC/KPI</DESC_THAI>
			<REQUIRE>true</REQUIRE>
			<COMPONENT type="Text">
				<SIZE>10</SIZE>
				<MAXSIZE>15</MAXSIZE>
				<ALT_ENG>Competency group ID</ALT_ENG>
				<ALT_THAI>รหัสกลุ่ม KC/KPI</ALT_THAI>
			</COMPONENT>
		</GROUPID>
		<WEIGHT lang="A" encrypt="false" log="false" type="Double">
			<WIDTH>15</WIDTH>
			<DESC_ENG>Weight</DESC_ENG>
			<DESC_THAI>น้ำหนัก </DESC_THAI>
			<REQUIRE>true</REQUIRE>
			<COMPONENT type="Text">
				<SIZE>7</SIZE>
				<MAXSIZE>6</MAXSIZE>
				<ALT_ENG>Weight</ALT_ENG>
				<ALT_THAI>น้ำหนัก </ALT_THAI>
				<ONKEYPRESS>checkWordNumber(this.value);</ONKEYPRESS>
				<ONBLUR>checkNumFloat(this,0.00,100.00);</ONBLUR>
				<ONKEYUP>checkComma(this,2);</ONKEYUP>
				<ONFOCUS>callDelComma(this);</ONFOCUS>
			</COMPONENT>
		</WEIGHT>
		<!--STANDARD lang="A" encrypt="false" log="false" type="String">
			<WIDTH>15</WIDTH>
			<DESC_ENG>Standard</DESC_ENG>
			<DESC_THAI>มาตรฐาน</DESC_THAI>
			<COMPONENT type="list">
				<SIZE>5</SIZE>
				<MAXSIZE>15</MAXSIZE>
				<ALT_ENG>Standard</ALT_ENG>
				<ALT_THAI>มาตรฐาน</ALT_THAI>
				<VALIDCODE>STDLEVEL</VALIDCODE>
				<DEFAULTVALUE>01</DEFAULTVALUE>
				<ONKEYPRESS>javascript:chkInteger()</ONKEYPRESS>
			</COMPONENT>
		</STANDARD-->
		<MEMO lang="A" encrypt="false" log="false" type="String">
			<WIDTH>2000</WIDTH>
			<DESC_ENG>Memo</DESC_ENG>
			<DESC_THAI>ข้อแนะนำหลักสูตรอบรม</DESC_THAI>
			<COMPONENT type="TEXTAREA">
				<ALT_ENG>Memo</ALT_ENG>
				<ALT_THAI>ข้อแนะนำหลักสูตรอบรม</ALT_THAI>
				<LINES>3</LINES>
				<SIZECHAR>60</SIZECHAR>
			</COMPONENT>
		</MEMO>
		
	</FIELD>
	<RELATION>
	   <!--MKEYASSGROUP>
			<PARENT>MKC.GROUP</PARENT>
			<PARENT>MKC.COMPANYID</PARENT>
			<CHILD>MKEYASSGROUP.KAGID</CHILD>
			<CHILD>MKEYASSGROUP.COMPANYID</CHILD>
		</MKEYASSGROUP>
		<MKCIND>
			<PARENT>MKC.KCID</PARENT>
			<PARENT>MKC.COMPANYID</PARENT>
			<CHILD>MKCIND.KASID</CHILD>
			<CHILD>MKCIND.COMPANYID</CHILD>
		</MKCIND>
		<MASSESS>
			<PARENT>MKC.KCID</PARENT>
			<PARENT>MKC.COMPANYID</PARENT>
			<CHILD>MASSESS.KASID</CHILD>
			<CHILD>MASSESS.COMPANYID</CHILD>
		</MASSESS>
		<MKCLEVEL>
			<PARENT>MKC.KCID</PARENT>
			<PARENT>MKC.COMPANYID</PARENT>
			<CHILD>MKCLEVEL.KASID</CHILD>
			<CHILD>MKCLEVEL.COMPANYID</CHILD>
		</MKCLEVEL-->

		

		<MKC_ASSESS>
			<PARENT>MKC.KCID</PARENT>
			<PARENT>MKC.COMPANYID</PARENT>
			<CHILD>MKC_ASSESS.KCID</CHILD>
			<CHILD>MKC_ASSESS.COMPANYID</CHILD>
		</MKC_ASSESS>
		
		<MKC_COURSE>
			<PARENT>MKC.KCID</PARENT>
			<PARENT>MKC.COMPANYID</PARENT>
			<CHILD>MKC_COURSE.KCID</CHILD>
			<CHILD>MKC_COURSE.COMPANYID</CHILD>
		</MKC_COURSE>
		
		<MJOBCODE_KC>
			<PARENT>MKC.KCID</PARENT>
			<PARENT>MKC.COMPANYID</PARENT>
			<CHILD>MJOBCODE_KC.KCID</CHILD>
			<CHILD>MJOBCODE_KC.COMPANYID</CHILD>
		</MJOBCODE_KC>

	</RELATION>
</MKC>
