<?xml version="1.0" encoding="UTF-8"?>
<MEMPL_PAPER desc_eng="Recruiting Document Table" desc_thai="ทะเบียนเอกสารประกอบการสมัครงาน" editcheck="true" mainhelp="MEMPL_PAPERHELP" referhelp="MEMPL_PAPERHELP" 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>
			<GROUP>testprocess,import</GROUP>
			<DESC_ENG>Employee ID</DESC_ENG>
			<DESC_THAI>รหัสพนักงาน</DESC_THAI>
			<REQUIRE>true</REQUIRE>
			<COMPONENT type="text">
				<SIZE>10</SIZE>
				<MAXSIZE>15</MAXSIZE>
				<ALT_ENG>Employee ID</ALT_ENG>
				<ALT_THAI>รหัสพนักงาน</ALT_THAI>
			</COMPONENT>
		</EMPLOYEEID>
		<COMPANYID lang="A" encrypt="false" log="false" type="String">
			<KEY>2</KEY>
			<WIDTH>5</WIDTH>
			<GROUP>testprocess,import</GROUP>
			<RELATION>MCOMPANY</RELATION>
			<DESC_ENG>Company ID</DESC_ENG>
			<DESC_THAI>รหัสบริษัท</DESC_THAI>
			<REQUIRE>true</REQUIRE>
			<COMPONENT type="Text">
				<SIZE>5</SIZE>
				<MAXSIZE>5</MAXSIZE>
				<ALT_ENG>Company ID</ALT_ENG>
				<ALT_THAI>รหัสบริษัท</ALT_THAI>
				<READONLY>true</READONLY>
			</COMPONENT>
		</COMPANYID>
		<PAPERID lang="A" encrypt="false" log="false" type="String">
			<KEY>3</KEY>
			<WIDTH>20</WIDTH>
			<RELATION>MPAPERLIST</RELATION>
			<DESC_ENG>Paper Code</DESC_ENG>
			<DESC_THAI>รหัสเอกสาร</DESC_THAI>
			<REQUIRE>true</REQUIRE>
			<COMPONENT type="Text">
				<SIZE>20</SIZE>
				<MAXSIZE>20</MAXSIZE>
				<ALT_ENG>Paper Code</ALT_ENG>
				<ALT_THAI>รหัสเอกสาร</ALT_THAI>
			</COMPONENT>
		</PAPERID>
		<STATUS lang="A" encrypt="false" log="false" type="String">
			<WIDTH>1</WIDTH>
			<DESC_ENG>Paper Status</DESC_ENG>
			<DESC_THAI>สถานะเอกสาร</DESC_THAI>
			<COMPONENT type="list">
				<MAXSIZE>1</MAXSIZE>
				<VALUE>1</VALUE>
				<SIZE>1</SIZE>
				<ALT_ENG>Paper Status</ALT_ENG>
				<ALT_THAI>สถานะเอกสาร</ALT_THAI>
				<VALIDCODE>PAPER_STATUS</VALIDCODE>
			</COMPONENT>
		</STATUS>
		<REFFILE lang="A" encrypt="false" log="false" type="String">
			<WIDTH>50</WIDTH>
			<DESC_ENG>Reference File</DESC_ENG>
			<DESC_THAI>ไฟล์อ้างอิง</DESC_THAI>
			<COMPONENT type="fileupload">
				<MAXSIZE>50</MAXSIZE>
				<SIZE>30</SIZE>
				<READONLY>true</READONLY>
				<ALT_ENG>Reference File</ALT_ENG>
				<ALT_THAI>ไฟล์อ้างอิง</ALT_THAI>
			</COMPONENT>
		</REFFILE>
		<REMARK lang="A" encrypt="false" log="false" type="String">
			<WIDTH>200</WIDTH>
			<DESC_ENG>Remark</DESC_ENG>
			<DESC_THAI>หมายเหตุ</DESC_THAI>
			<COMPONENT type="textarea">
				<ALT_ENG>Remark</ALT_ENG>
				<ALT_THAI>หมายเหตุ</ALT_THAI>
				<LINES>4</LINES>
				<SIZECHAR>60</SIZECHAR>
			</COMPONENT>
		</REMARK>
		<REQUIRE lang="A" encrypt="false" verify="false" log="false" type="Integer">
			<WIDTH>5</WIDTH>
			<DESC_ENG>Require</DESC_ENG>
			<DESC_THAI>บังคับ</DESC_THAI>
			<COMPONENT type="radio">
				<VALIDCODE>yesno</VALIDCODE>
				<VALUE>1</VALUE>
				<MAXSIZE>5</MAXSIZE>
				<SIZE>5</SIZE>
				<ALT_ENG>Require</ALT_ENG>
				<ALT_THAI>บังคับ</ALT_THAI>
				<ONKEYPRESS>javascript:chkInteger();</ONKEYPRESS>
			</COMPONENT>
		</REQUIRE>
		<TYPE lang="A" encrypt="false" verify="false" log="false" type="Integer">
			<WIDTH>5</WIDTH>
			<DESC_ENG>Type</DESC_ENG>
			<DESC_THAI>ประเภท</DESC_THAI>
			<COMPONENT type="list">
				<VALIDCODE>PAPERTYPE</VALIDCODE>
				<VALUE>1</VALUE>
				<MAXSIZE>5</MAXSIZE>
				<SIZE>5</SIZE>
				<ALT_ENG>Type</ALT_ENG>
				<ALT_THAI>ประเภท</ALT_THAI>
			</COMPONENT>
		</TYPE>

	</FIELD>
	<RELATION>	
		<!--MEMPL_CARD mode="-1">
			<PARENT>MEMPL_PAPER.EMPLOYEEID</PARENT>
			<PARENT>MEMPL_PAPER.COMPANYID</PARENT>
			<PARENT>MEMPL_PAPER.PAPERID</PARENT>
			<CHILD>MEMPL_CARD.EMPLOYEEID</CHILD>
			<CHILD>MEMPL_CARD.COMPANYID</CHILD>
			<CHILD>MEMPL_CARD.ATFILE</CHILD>
		</MEMPL_CARD-->
	</RELATION>

</MEMPL_PAPER>
