<?xml version="1.0" encoding="UTF-8"?><TVOTE desc_thai="ข้อมูลการโหวต" desc_eng="Data Vote" editcheck="true" mainhelp="TVOTEHELP" referhelp="TVOTEHELP" 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>V1TVOTE</RELATION>
		<RELATION>TVOTE0</RELATION>
		<RELATION>MEMPLOYEE</RELATION>
		<DESC_ENG>EmployeeID</DESC_ENG>
		<DESC_THAI>รหัสพนักงาน</DESC_THAI>
		<COMPONENT type="text">
			<MAXSIZE>15</MAXSIZE>
			<SIZE>15</SIZE>
			<ALT_THAI>รหัสพนักงาน</ALT_THAI>
			<ALT_ENG>EmployeeID</ALT_ENG>
		</COMPONENT>
		<REQUIRE>true</REQUIRE>
</EMPLOYEEID>

<VOTE_EMPID lang="A" encrypt="false" log="false" type="String">
		<KEY>2</KEY>
		<WIDTH>15</WIDTH>
		<RELATION>V1TVOTE</RELATION>
		<RELATION>TVOTE0</RELATION>
		<RELATION>V1MEMPLOYEE</RELATION>
		<DESC_ENG>Employeeid Vote</DESC_ENG>
		<DESC_THAI>รหัสพนักงานโหวต</DESC_THAI>
		<COMPONENT type="text">
			<MAXSIZE>15</MAXSIZE>
			<SIZE>15</SIZE>
			<ALT_THAI>รหัสพนักงานโหวต</ALT_THAI>
			<ALT_ENG>Employeeid Vote</ALT_ENG>
		</COMPONENT>
		<REQUIRE>true</REQUIRE>
</VOTE_EMPID>

<GROUP_QUESID lang="A" encrypt="false" log="false" type="String">
		<KEY>3</KEY>
		<WIDTH>15</WIDTH>
		<RELATION>V1TVOTE</RELATION>
		<RELATION>TVOTE0</RELATION>
		<DESC_ENG>Group Question Id</DESC_ENG>
		<DESC_THAI>รหัสกลุ่มคำถาม</DESC_THAI>
		<COMPONENT type="text">
			<MAXSIZE>15</MAXSIZE>
			<SIZE>15</SIZE>
			<ALT_THAI>รหัสกลุ่มคำถาม</ALT_THAI>
			<ALT_ENG>Group Question Id</ALT_ENG>
		</COMPONENT>
		<REQUIRE>true</REQUIRE>
</GROUP_QUESID>

<QUESID lang="A" encrypt="false" log="false" type="String">
		<KEY>4</KEY>
		<WIDTH>15</WIDTH>
		<RELATION>V1TVOTE</RELATION>
		<RELATION>MQUES_VOTE</RELATION>
		<DESC_ENG>Questionid</DESC_ENG>
		<DESC_THAI>รหัสคำถาม</DESC_THAI>
		<COMPONENT type="text">
			<MAXSIZE>15</MAXSIZE>
			<SIZE>15</SIZE>
			<ALT_THAI>รหัสคำถาม</ALT_THAI>
			<ALT_ENG>Questionid</ALT_ENG>
		</COMPONENT>
		<REQUIRE>true</REQUIRE>
</QUESID>

<SCORE lang="A" encrypt="false" log="false" type="Integer">
		<WIDTH>2</WIDTH>
		<DESC_ENG>Score Vote</DESC_ENG>
		<DESC_THAI>คะแนนโหวต</DESC_THAI>
		<COMPONENT type="radio">
			<VALIDCODE>SCOREVOTE</VALIDCODE>
			<MAXSIZE>15</MAXSIZE>
			<SIZE>15</SIZE>
			<ALT_THAI>คะแนนโหวต</ALT_THAI>
			<ALT_ENG>Score Vote</ALT_ENG>
		</COMPONENT>
</SCORE>

<REMARK lang="A" encrypt="false" log="false" type="String">
		<WIDTH>256</WIDTH>
		<DESC_ENG>Remark</DESC_ENG>
		<DESC_THAI>หมายเหตุ</DESC_THAI>
		<COMPONENT type="textarea">
			<MAXSIZE>15</MAXSIZE>
			<SIZE>15</SIZE>
			<ALT_THAI>หมายเหตุ</ALT_THAI>
			<ALT_ENG>Remark</ALT_ENG>
		</COMPONENT>
</REMARK>


<COMPANYID lang="A" encrypt="false" log="false" type="String">
		<KEY>5</KEY>
		<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>

</FIELD>
	<RELATION>
		<MEMPLOYEE>
			<PARENT>TVOTE.EMPLOYEEID</PARENT>
			<PARENT>TVOTE.COMPANYID</PARENT>
			<CHILD>MEMPLOYEE.EMPLOYEEID</CHILD>
			<CHILD>MEMPLOYEE.COMPANYID</CHILD>
		</MEMPLOYEE>
		<V1MEMPLOYEE>
			<PARENT>TVOTE.VOTE_EMPID</PARENT>
			<PARENT>TVOTE.COMPANYID</PARENT>
			<CHILD>V1MEMPLOYEE.EMPLOYEEID</CHILD>
			<CHILD>V1MEMPLOYEE.COMPANYID</CHILD>
		</V1MEMPLOYEE>		

		<V1TVOTE>
			<PARENT>TVOTE.EMPLOYEEID</PARENT>
			<PARENT>TVOTE.COMPANYID</PARENT>
			<PARENT>TVOTE.VOTE_EMPID</PARENT>
			<PARENT>TVOTE.GROUP_QUESID</PARENT>
			<PARENT>TVOTE.QUESID</PARENT>
			<CHILD>V1TVOTE.EMPLOYEEID</CHILD>
			<CHILD>V1TVOTE.COMPANYID</CHILD>
			<CHILD>V1TVOTE.VOTE_EMPID</CHILD>
			<CHILD>V1TVOTE.GROUP_QUESID</CHILD>
			<CHILD>V1TVOTE.QUESID</CHILD>
		</V1TVOTE>		
	</RELATION>
</TVOTE>
