<?xml version="1.0" encoding="UTF-8"?>
<MVOTE_KKB1 desc_thai="ผู้ถูกโหวต" desc_eng="Vote1" editcheck="true" mainhelp="MVOTE_KKB1HELP" referhelp="MVOTE_KKB1HELP" mainkey="ASSIGNID" fieldsystem="*" protype="table" deleteflag="true" config_field="">
<FIELD>
		<ASSIGNID lang="A" encrypt="false" log="false" type="String">
			<KEY>1</KEY>
			<WIDTH>15</WIDTH> 
			<DESC_ENG>ASSIGNID</DESC_ENG>
			<DESC_THAI>รหัส Assign</DESC_THAI>
			<COMPONENT type="text">
				<MAXSIZE>15</MAXSIZE>
				<SIZE>15</SIZE>
				<ALT_THAI>รหัส Assign</ALT_THAI>
				<ALT_ENG>ASSIGNID</ALT_ENG>
			</COMPONENT>
		</ASSIGNID>
		<EMPLOYEEID lang="A" encrypt="false" log="false" type="String">
			<KEY>2</KEY>
			<WIDTH>15</WIDTH> 
			<DESC_ENG>EMPLOYEEID</DESC_ENG>
			<DESC_THAI>รหัสผู้ Assign</DESC_THAI>
			<COMPONENT type="text">
				<MAXSIZE>15</MAXSIZE>
				<SIZE>15</SIZE>
				<ALT_THAI>รหัสผู้ Assign</ALT_THAI>
				<ALT_ENG>EMPLOYEEID</ALT_ENG>
			</COMPONENT>
		</EMPLOYEEID>
		<VOTE1ID lang="A" encrypt="false" log="false" type="String">
			<KEY>3</KEY>
			<RELATION>MEMPLOYEE</RELATION>
			<WIDTH>15</WIDTH> 
			<DESC_ENG>VOTE1ID</DESC_ENG>
			<DESC_THAI>รหัสผู้ถูกโหวต</DESC_THAI>
			<COMPONENT type="text">
				<MAXSIZE>15</MAXSIZE>
				<SIZE>15</SIZE>
				<ALT_THAI>รหัสผู้ถูกโหวต</ALT_THAI>
				<ALT_ENG>VOTE1ID</ALT_ENG>
			</COMPONENT>
		</VOTE1ID>
		<COMPANYID lang="A" encrypt="false" log="false" type="String">
			<KEY>4</KEY>
			<WIDTH>5</WIDTH>
			<DESC_ENG>Company ID</DESC_ENG>
			<DESC_THAI>รหัสบริษัท</DESC_THAI>
			<COMPONENT type="text">
				<MAXSIZE>5</MAXSIZE>
				<SIZE>5</SIZE>
				<DISABLE>true</DISABLE>
				<ALT_ENG>Company ID</ALT_ENG>
				<ALT_THAI>รหัสบริษัท</ALT_THAI>
			</COMPONENT>
		</COMPANYID>
		<BU1 lang="A" encrypt="false" log="false" type="String">
			  <WIDTH>10</WIDTH>
			  <RELATION>MBU1</RELATION>
			  <DESC_ENG>Group</DESC_ENG>
			  <DESC_THAI>สาย</DESC_THAI>
			  <COMPONENT type="text">
					<MAXSIZE>10</MAXSIZE>
					<SIZE>10</SIZE>
					<ALT_ENG>Group</ALT_ENG>
					<ALT_THAI>สาย</ALT_THAI>
			  </COMPONENT>
		</BU1>
		<BU2 lang="A" encrypt="false" log="false" type="String">
			  <WIDTH>10</WIDTH>
			  <RELATION>MBU2</RELATION>
			  <DESC_ENG>Department</DESC_ENG>
			  <DESC_THAI>ฝ่าย</DESC_THAI>
			  <COMPONENT type="text">
					<MAXSIZE>10</MAXSIZE>
					<SIZE>10</SIZE>
					<ALT_ENG>Department</ALT_ENG>
					<ALT_THAI>ฝ่าย</ALT_THAI>
			  </COMPONENT>
		</BU2>
		<BU3 lang="A" encrypt="false" log="false" type="String">
			  <WIDTH>10</WIDTH>
			  <RELATION>MBU3</RELATION>
			  <DESC_ENG>Team</DESC_ENG>
			  <DESC_THAI>งาน</DESC_THAI>
			  <COMPONENT type="text">
					<MAXSIZE>10</MAXSIZE>
					<SIZE>10</SIZE>
					<ALT_ENG>Team</ALT_ENG>
					<ALT_THAI>งาน</ALT_THAI>
			  </COMPONENT>
		</BU3>
		 <POSITION lang="A" encrypt="false" log="false" type="String">
			  <WIDTH>10</WIDTH>
			  <RELATION>MPOSITION</RELATION>
			  <DESC_ENG>Position</DESC_ENG>
			  <DESC_THAI>ตำแหน่ง</DESC_THAI>
			  <COMPONENT type="text">
					<MAXSIZE>10</MAXSIZE>
					<SIZE>10</SIZE>
					<ALT_ENG>Position</ALT_ENG>
					<ALT_THAI>ตำแหน่ง</ALT_THAI>
					<READONLY>true</READONLY>
			  </COMPONENT>
		</POSITION>
	  <INLINE lang="A" encrypt="false" log="false" type="Integer">
			  <WIDTH>10</WIDTH>
			  <DESC_ENG>VOTE IN LINE</DESC_ENG>
			  <DESC_THAI>จำนวนผู้โหวตภายในสาย</DESC_THAI>
			  <COMPONENT type="text">
					<MAXSIZE>10</MAXSIZE>
					<SIZE>10</SIZE>
					<ALT_ENG>VOTE WITH RELATION</ALT_ENG>
					<ALT_THAI>ผู้โหวตภายในสาย</ALT_THAI>
					<READONLY>true</READONLY>
			  </COMPONENT>
		</INLINE>
		<OUTLINE lang="A" encrypt="false" log="false" type="Integer">
			  <WIDTH>10</WIDTH>
			  <DESC_ENG>VOTE OUT LINE</DESC_ENG>
			  <DESC_THAI>จำนวนผู้โหวตภายนอกสาย</DESC_THAI>
			  <COMPONENT type="text">
					<MAXSIZE>10</MAXSIZE>
					<SIZE>10</SIZE>
					<ALT_ENG>VOTE OUT LINE</ALT_ENG>
					<ALT_THAI>จำนวนผู้โหวตภายนอกสาย</ALT_THAI>
					<READONLY>true</READONLY>
			  </COMPONENT>
		</OUTLINE>
		 <TOTAL lang="A" encrypt="false" log="false" type="Integer">
			  <WIDTH>10</WIDTH>
			  <DESC_ENG>TOTAL VOTE</DESC_ENG>
			  <DESC_THAI>จำนวนผู้โหวตทั้งหมด</DESC_THAI>
			  <COMPONENT type="text">
					<MAXSIZE>10</MAXSIZE>
					<SIZE>10</SIZE>
					<ALT_ENG>TOTAL VOTE</ALT_ENG>
					<ALT_THAI>จำนวนผู้โหวตทั้งหมด</ALT_THAI>
					<READONLY>true</READONLY>
			  </COMPONENT>
		</TOTAL>
</FIELD>
	<RELATION>
		<MVOTE_KKB2>
			<PARENT>MVOTE_KKB1.ASSIGNID</PARENT>
			<PARENT>MVOTE_KKB1.EMPLOYEEID</PARENT>
			<PARENT>MVOTE_KKB1.VOTE1ID</PARENT>
			<PARENT>MVOTE_KKB1.COMPANYID</PARENT>
			<CHILD>MVOTE_KKB2.ASSIGNID</CHILD>
			<CHILD>MVOTE_KKB2.EMPLOYEEID</CHILD>
			<CHILD>MVOTE_KKB2.VOTE1ID</CHILD>
			<CHILD>MVOTE_KKB2.COMPANYID</CHILD>
		</MVOTE_KKB2>
		<TAPSTRAN>
			<PARENT>MVOTE_KKB1.EMPLOYEEID</PARENT>
			<PARENT>MVOTE_KKB1.VOTE1ID</PARENT>
			<PARENT>MVOTE_KKB1.COMPANYID</PARENT>
			<CHILD>TAPSTRAN.APSASSESSOR</CHILD>
			<CHILD>TAPSTRAN.APSASSESSY</CHILD>
			<CHILD>TAPSTRAN.COMPANYID</CHILD>
		</TAPSTRAN>
		<SIMEMP	mode="-1" rtablename="MEMPLOYEE">
			<PARENT>MVOTE_KKB1.VOTE1ID</PARENT>
			<PARENT>MVOTE_KKB1.COMPANYID</PARENT>
			<CHILD>SIMEMP.EMPLOYEEID</CHILD>
			<CHILD>SIMEMP.COMPANYID</CHILD>
		</SIMEMP>
	</RELATION>
</MVOTE_KKB1>
