<?xml version="1.0" encoding="UTF-8"?>
<ER_POLE_EMPLOYEE desc_thai="ทะเบียนส่งเมล์การสำรวจ" desc_eng="Pole group mail" editcheck="true" mainhelp="ER_REGIS_AGENT_EMPLOYEEHELP" referhelp="ER_POLE_EMPLOYEEHELP" mainkey="CODEID" fieldsystem="*" protype="table" deleteflag="true" config_field="">
	<FIELD>
		 <CODEID lang="A" encrypt="N" verify="false" log="false" type="AutoNumber" table="ER_POLE_EMPLOYEE">
			<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>
		
		<POLEID lang="A" encrypt="N" verify="false" log="false" type="Integer">
			<WIDTH>10</WIDTH>
			<DESC_ENG>Pole ID</DESC_ENG>
			<DESC_THAI>รหัสโพล</DESC_THAI>
			<RELATION>ER_POLE0</RELATION>
			<COMPONENT type="text">
				<MAXSIZE>10</MAXSIZE>
				<SIZE>10</SIZE>
				<ALT_THAI>รหัสโพล</ALT_THAI>
				<ALT_ENG>Pole ID</ALT_ENG>
			</COMPONENT>
			<REQUIRE>true</REQUIRE>
		</POLEID>
		
		<EMPLOYEEID lang="A" encrypt="N" verify="false" log="false" type="String">
		    <RELATION>MEMPLOYEE</RELATION>
			<WIDTH>15</WIDTH>
			<DESC_ENG>Employee ID</DESC_ENG>
			<DESC_THAI>รหัสพนักงาน</DESC_THAI>
			<COMPONENT type="text">
				<MAXSIZE>15</MAXSIZE>
				<SIZE>15</SIZE>
				<ALT_ENG>Employee ID</ALT_ENG>
				<ALT_THAI>รหัสพนักงาน</ALT_THAI>
				<ONKEYPRESS>chkInteger();</ONKEYPRESS>
			</COMPONENT>
			<REQUIRE>true</REQUIRE>
		</EMPLOYEEID>	
		<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>		
		</FIELD>
		<RELATION>
			<MEMPLOYEE>
				<PARENT>ER_POLE_EMPLOYEE.EMPLOYEEID</PARENT>
				<PARENT>ER_POLE_EMPLOYEE.COMPANYID</PARENT>				
				<CHILD>MEMPLOYEE.EMPLOYEEID</CHILD>
				<CHILD>MEMPLOYEE.COMPANYID</CHILD>
			</MEMPLOYEE>
		</RELATION>
</ER_POLE_EMPLOYEE>



