<?xml version="1.0" encoding="UTF-8"?><MEMPL_VOTE desc_thai="กำหนดผู้โหวต" desc_eng="Add Vote" editcheck="true" mainhelp="MEMPL_VOTEHELP" referhelp="MEMPL_VOTEHELP" mainkey="EMPLOYEEID" fieldsystem="*" protype="table" deleteflag="true" config_field="">
<FIELD>

<EMPLOYEEID lang="A" encrypt="false" log="false" type="String">
		<GROUP>testprocess</GROUP>
		<KEY>1</KEY>
		<WIDTH>15</WIDTH>
		<RELATION>MEMPLOYEE</RELATION>
		<DESC_ENG>Employee ID</DESC_ENG>
		<DESC_THAI>รหัสผู้ถูกโหวต</DESC_THAI>
		<COMPONENT type="text">
			<MAXSIZE>15</MAXSIZE>
			<SIZE>15</SIZE>
			<ALT_THAI>รหัสผู้ถูกโหวต</ALT_THAI>
			<ALT_ENG>Employee ID</ALT_ENG>
		</COMPONENT>
		<REQUIRE>true</REQUIRE>
</EMPLOYEEID>

<VOTE_EMPID lang="A" encrypt="false" log="false" type="String">
		<GROUP>testprocess</GROUP>
		<KEY>2</KEY>
		<WIDTH>15</WIDTH>
		<RELATION>V1MEMPLOYEE</RELATION>
		<DESC_ENG>Employee ID</DESC_ENG>
		<DESC_THAI>รหัสผู้โหวต</DESC_THAI>
		<COMPONENT type="text">
			<MAXSIZE>15</MAXSIZE>
			<SIZE>15</SIZE>
			<ALT_THAI>รหัสผู้โหวต</ALT_THAI>
			<ALT_ENG>Employee ID</ALT_ENG>
		</COMPONENT>
		<REQUIRE>true</REQUIRE>
</VOTE_EMPID>

<SENDMAIL lang="A" encrypt="false" log="false" type="String">
		<WIDTH>3</WIDTH>
		<DESC_ENG>Send Mail</DESC_ENG>
		<DESC_THAI>ส่งเมล์</DESC_THAI>
		<COMPONENT type="radio">
			<DEFAULTVALUE>1</DEFAULTVALUE>
			<MAXSIZE>10</MAXSIZE>
			<SIZE>10</SIZE>
			<ALT_THAI>ส่งเมล์</ALT_THAI>
			<ALT_ENG>Send Mail</ALT_ENG>
			<VALIDCODE>SENDMAIL</VALIDCODE>
		</COMPONENT>
</SENDMAIL>

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

</FIELD>
	<RELATION>
		<TVOTE0>
			<PARENT>MEMPL_VOTE.EMPLOYEEID</PARENT>
			<PARENT>MEMPL_VOTE.VOTE_EMPID</PARENT>
			<PARENT>MEMPL_VOTE.COMPANYID</PARENT>
			<CHILD>TVOTE0.EMPLOYEEID</CHILD>
			<CHILD>TVOTE0.VOTE_EMPID</CHILD>
			<CHILD>TVOTE0.COMPANYID</CHILD>
		</TVOTE0>

		<MEMPLOYEE>
			<PARENT>MEMPL_VOTE.EMPLOYEEID</PARENT>
			<PARENT>MEMPL_VOTE.COMPANYID</PARENT>
			<CHILD>MEMPLOYEE.EMPLOYEEID</CHILD>
			<CHILD>MEMPLOYEE.COMPANYID</CHILD>
		</MEMPLOYEE>

		<V1MEMPLOYEE>
			<PARENT>MEMPL_VOTE.VOTE_EMPID</PARENT>
			<PARENT>MEMPL_VOTE.COMPANYID</PARENT>
			<CHILD>V1MEMPLOYEE.EMPLOYEEID</CHILD>
			<CHILD>V1MEMPLOYEE.COMPANYID</CHILD>
		</V1MEMPLOYEE>

	</RELATION>
</MEMPL_VOTE>
