<?xml version="1.0" encoding="UTF-8"?>
<ER_WC_CONSULT desc_thai="ER_WC_CONSULT" desc_eng="ER_WC_CONSULT" editcheck="true" mainhelp="ER_WC_CONSULTHELP" referhelp="ER_WC_CONSULTHELP" mainkey="CODEID" fieldsystem="*" protype="table" deleteflag="true" config_field="">
	<FIELD>
		<CODEID lang="A" encrypt="N" verify="false" log="false" type="AutoNumber" table="ER_WC_CONSULT">
			<KEY>1</KEY>
			<WIDTH>10</WIDTH>
			<DESC_ENG>Code</DESC_ENG>
			<DESC_THAI>รหัส</DESC_THAI>
			<COMPONENT type="text">
				<MAXSIZE>10</MAXSIZE>
				<SIZE>10</SIZE>
				<ALT_THAI>Code</ALT_THAI>
				<ALT_ENG>รหัส</ALT_ENG>
			
			</COMPONENT>
			<REQUIRE>true</REQUIRE>
		</CODEID>
		<COMPANYID lang="A" encrypt="false" log="false" type="String">
			<WIDTH>5</WIDTH>
			<DESC_ENG>Company ID</DESC_ENG>
			<DESC_THAI>รหัสสำนักงาน</DESC_THAI>
			<COMPONENT type="text">
				<MAXSIZE>5</MAXSIZE>
				<SIZE>5</SIZE>
				<READONLY>true</READONLY>
				<ALT_ENG>Company ID</ALT_ENG>
				<ALT_THAI>รหัสสำนักงาน</ALT_THAI>
			</COMPONENT>
		</COMPANYID>			
		<EMPLOYEEID lang="A" encrypt="N" verify="false" log="false" type="String">
			<WIDTH>10</WIDTH>
			<RELATION>V1MEMPLOYEE</RELATION>
			<DESC_ENG>Employee ID</DESC_ENG>
			<DESC_THAI>รหัสพนักงาน</DESC_THAI>
			<COMPONENT type="text">
				<MAXSIZE>10</MAXSIZE>
				<SIZE>10</SIZE>
				<ALT_THAI>รหัสพนักงาน</ALT_THAI>
				<ALT_ENG>Employee ID</ALT_ENG>
				<ONKEYPRESS>chkInteger();</ONKEYPRESS>
			</COMPONENT>
			<REQUIRE>true</REQUIRE>
		</EMPLOYEEID>
		<CONSULTERID lang="A" encrypt="N" verify="false" log="false" type="String">
			<WIDTH>10</WIDTH>
			<DESC_ENG>Consult ID</DESC_ENG>
			<DESC_THAI>รหัสที่ปรึกษา</DESC_THAI>
			<RELATION>V2MEMPLOYEE</RELATION>
			<COMPONENT type="text">
				<MAXSIZE>10</MAXSIZE>
				<SIZE>10</SIZE>
				<ALT_ENG>Consult ID</ALT_ENG>
				<ALT_THAI>รหัสที่ปรึกษา</ALT_THAI>
				<ONKEYPRESS>chkInteger();</ONKEYPRESS>
			</COMPONENT>
			<REQUIRE>true</REQUIRE>
		</CONSULTERID>
		<TOPIC lang="A" encrypt="N" verify="false" log="false" type="String">
			<WIDTH>400</WIDTH>
			<DESC_ENG>Topic</DESC_ENG>
			<DESC_THAI>หัวข้อ</DESC_THAI>
			<COMPONENT type="text">
				<MAXSIZE>500</MAXSIZE>
				<SIZE>70</SIZE>
				<ALT_ENG>Topic</ALT_ENG>
				<ALT_THAI>หัวข้อ</ALT_THAI>
			</COMPONENT>
			<REQUIRE>true</REQUIRE>
		</TOPIC>
		<AMSWER lang="A" encrypt="N" verify="false" log="false" type="String">
			<WIDTH>1000</WIDTH>
			<DESC_ENG>Answer</DESC_ENG>
			<DESC_THAI>คำตอบ</DESC_THAI>
			<COMPONENT type="textarea">
				<MAXSIZE>1000</MAXSIZE>
				<SIZECHAR>50</SIZECHAR>
				<LINES>5</LINES>
				<ALT_ENG>Answer</ALT_ENG>
				<ALT_THAI>คำตอบ</ALT_THAI>
			</COMPONENT>
		</AMSWER>
		<CONSULT_DATE lang="A" encrypt="N" verify="false" log="false" type="Date">
			<WIDTH>15</WIDTH>
			<DESC_ENG>Consult Date</DESC_ENG>
			<DESC_THAI>วันที่ปรึกษา</DESC_THAI>
			<COMPONENT type="text">
				<MAXSIZE>10</MAXSIZE>
				<SIZE>10</SIZE>
				<ALT_ENG>Consult Date</ALT_ENG>
				<ALT_THAI>วันที่ปรึกษา</ALT_THAI>
				<ONKEYUP>formatDate(this);</ONKEYUP>
				<ONKEYPRESS>chkInteger();</ONKEYPRESS>
				<ONBLUR>chkInputDate(this);</ONBLUR>
				<ONFOCUS>this.select();</ONFOCUS>					
			</COMPONENT>
		</CONSULT_DATE>	
		<CONSULT_TIME lang="A" encrypt="N" verify="false" log="false" type="Double">
			<WIDTH>5</WIDTH>
			<DESC_ENG>Consult Time</DESC_ENG>
			<DESC_THAI>เวลาที่ปรึกษา</DESC_THAI>
			<COMPONENT type="text">
				<MAXSIZE>4</MAXSIZE>
				<SIZE>5</SIZE>
				<ALT_ENG>Consult Time</ALT_ENG>
				<ALT_THAI>เวลาที่ปรึกษา</ALT_THAI>
				<DEFAULTVALUE>0.00</DEFAULTVALUE>
				<ONBLUR>chkTime(this);</ONBLUR>
				<ONKEYPRESS>chkInteger();</ONKEYPRESS>
				<ONFOCUS>delDot(this);</ONFOCUS>
			</COMPONENT>
		</CONSULT_TIME>
		</FIELD>
		<RELATION>
			<V1MEMPLOYEE>
				<PARENT>V1MEMPLOYEE_ER_WC_CONSULT.EMPLOYEEID</PARENT>
				<CHILD>ER_WC_CONSULT.EMPLOYEEID</CHILD>
			</V1MEMPLOYEE>
			<V2MEMPLOYEE>
				<PARENT>V2MEMPLOYEE_ER_WC_CONSULT.EMPLOYEEID</PARENT>
				<CHILD>ER_WC_CONSULT.CONSULTERID</CHILD>
			</V2MEMPLOYEE>
		</RELATION>
</ER_WC_CONSULT>
