<?xml version="1.0" encoding="UTF-8"?><TRESERVE desc_thai="การจองการอบรม" desc_eng="Reserving" editcheck="true" mainhelp="TRESERVEHELP" referhelp="TRESERVEHELP" mainkey="DOCNO" wfactive="true" wfkey="RUNNO" documentno="DOCNO" fieldsystem="*" deleteflag="true" config_field="" protype="table">
	<FIELD>
		<COMPANYID lang="A" encrypt="false" verify="false" log="false" type="String">
			<KEY>1</KEY>
			<WIDTH>5</WIDTH>
			<DESC_ENG>Company ID</DESC_ENG>
			<DESC_THAI>รหัสบริษัท</DESC_THAI>
			<COMPONENT type="text">
				<MAXSIZE>5</MAXSIZE>
				<SIZE>5</SIZE>
				<DISABLE>false</DISABLE>
				<ALT_THAI>รหัสบริษัท</ALT_THAI>
				<ALT_ENG>Company ID</ALT_ENG>
			</COMPONENT>
		</COMPANYID>
		<RESERVERID lang="A" encrypt="false" verify="false" log="false" type="String">
			<KEY>2</KEY>
			<!--RELATION>MEMPLOYEE</RELATION-->
			<WIDTH>15</WIDTH>
			<DESC_ENG>Reserver ID</DESC_ENG>
			<DESC_THAI>รหัสผู้จอง</DESC_THAI>
			<COMPONENT type="text">
			<!--HELP>PRU038HELP1</HELP>
			<HELP_RETURN_FIELD>true</HELP_RETURN_FIELD-->
				<MAXSIZE>15</MAXSIZE>
				<SIZE>15</SIZE>
				<ALT_ENG>Reserver ID</ALT_ENG>
				<ALT_THAI>รหัสผู้จอง</ALT_THAI>
			</COMPONENT>
		</RESERVERID>
		<TRAININGID lang="A" encrypt="false" verify="false" log="false" type="String">
				<KEY>3</KEY>
				<RELATION>TTRAINING</RELATION>
				<WIDTH>15</WIDTH>
				<DESC_ENG>Training ID</DESC_ENG>
				<DESC_THAI>รหัสรุ่น</DESC_THAI>
				<COMPONENT type="text">
					<MAXSIZE>15</MAXSIZE>
					<SIZE>15</SIZE>
					<ALT_ENG>Training ID</ALT_ENG>
					<ALT_THAI>รหัสรุ่น</ALT_THAI>
				</COMPONENT>
		</TRAININGID>
		<REASON lang="A" encrypt="false" verify="false" log="false" type="String">
			<WIDTH>4000</WIDTH>
			<DESC_ENG>Reason</DESC_ENG>
			<DESC_THAI>เหตุผล</DESC_THAI>
			<COMPONENT type="textarea">
				<SIZECHAR>50</SIZECHAR>
				<LINES>5</LINES>
				<ALT_ENG>Reason</ALT_ENG>
				<ALT_THAI>เหตุผล</ALT_THAI>
			</COMPONENT>
		</REASON>
		<EXPECT lang="A" encrypt="false" verify="false" log="false" type="String">
			<WIDTH>4000</WIDTH>
			<DESC_ENG>Expect</DESC_ENG>
			<DESC_THAI>ความคาดหวัง</DESC_THAI>
			<COMPONENT type="textarea">
				<SIZECHAR>50</SIZECHAR>
				<LINES>5</LINES>
				<ALT_ENG>Expect</ALT_ENG>
				<ALT_THAI>ความคาดหวัง</ALT_THAI>
			</COMPONENT>
		</EXPECT>
		<APPROVER lang="A" encrypt="false" verify="false" log="false" type="String">
			<!--RELATION>MEMPLOYEE</RELATION-->
			<WIDTH>15</WIDTH>
			<DESC_ENG>Approver ID</DESC_ENG>
			<DESC_THAI>รหัสผู้อนุมัติ</DESC_THAI>
			<COMPONENT type="text">
				<HELP>PRU038HELP1</HELP>
				<HELP_RETURN_FIELD>true</HELP_RETURN_FIELD>
				<MAXSIZE>15</MAXSIZE>
				<SIZE>15</SIZE>
				<ALT_ENG>Approver ID</ALT_ENG>
				<ALT_THAI>รหัสผู้อนุมัติ</ALT_THAI>
				<REQUIRE>true</REQUIRE>
			</COMPONENT>
		</APPROVER>
		<SENDER lang="A" encrypt="false" verify="false" log="false" type="String">
			<!--RELATION>MEMPLOYEE</RELATION-->
			<WIDTH>15</WIDTH>
			<DESC_ENG>Sender ID</DESC_ENG>
			<DESC_THAI>รหัสผู้ส่ง</DESC_THAI>
			<COMPONENT type="text">
				<MAXSIZE>15</MAXSIZE>
				<SIZE>15</SIZE>
				<ALT_ENG>Sender ID</ALT_ENG>
				<ALT_THAI>รหัสผู้ส่ง</ALT_THAI>
			</COMPONENT>
		</SENDER>
		<LINE_NO lang="A" encrypt="false" verify="false" log="false" type="String">
			<WIDTH>20</WIDTH>
			<KEY>4</KEY>
			<DESC_ENG>Line no</DESC_ENG>
			<DESC_THAI>Line no</DESC_THAI>
			<COMPONENT type="text">
				<MAXSIZE>20</MAXSIZE>
				<SIZE>10</SIZE>
				<ALT_ENG>Line no</ALT_ENG>
				<ALT_THAI>Line no</ALT_THAI>
			</COMPONENT>
		</LINE_NO>
		<SENDDATE lang="A" encrypt="false" verify="false" log="false" type="Date">
			<WIDTH>8</WIDTH>
			<DESC_ENG>Send Date</DESC_ENG>
			<DESC_THAI>วันที่ส่ง</DESC_THAI>
			<COMPONENT type="text">
				<MAXSIZE>10</MAXSIZE>
				<SIZE>10</SIZE>
				<ALT_ENG>Send Date</ALT_ENG>
			</COMPONENT>
		</SENDDATE>
		<DOCNO lang="A" encrypt="false" verify="false" log="false" type="AutoNumber" table="TRESERVE">
			<WIDTH>13</WIDTH>
			<KEY>5</KEY>
			<DESC_ENG>Doc no</DESC_ENG>
			<DESC_THAI>Doc no</DESC_THAI>
			<COMPONENT type="text">
				<MAXSIZE>13</MAXSIZE>
				<SIZE>13</SIZE>
				<ALT_ENG>Doc no</ALT_ENG>
				<ALT_THAI>Doc no</ALT_THAI>
			</COMPONENT>
		</DOCNO>
	</FIELD>
	<RELATION>
		<HRESERVE>
			<PARENT>TRESERVE.COMPANYID</PARENT>
			<PARENT>TRESERVE.RESERVERID</PARENT>
			<PARENT>TRESERVE.TRAININGID</PARENT>
			<PARENT>TRESERVE.LINE_NO</PARENT>
			<PARENT>TRESERVE.DOCNO</PARENT>
			<CHILD>HRESERVE.COMPANYID</CHILD>
			<CHILD>HRESERVE.RESERVERID</CHILD>
			<CHILD>HRESERVE.TRAININGID</CHILD>
			<CHILD>HRESERVE.LINE_NO</CHILD>
			<CHILD>HRESERVE.DOCNO</CHILD>
		</HRESERVE>
		<MEMPLOYEE>
			<PARENT>TRESERVE.RESERVERID</PARENT>
			<PARENT>TRESERVE.COMPANYID</PARENT>
			<CHILD>MEMPLOYEE.EMPLOYEEID</CHILD>
			<CHILD>MEMPLOYEE.COMPANYID</CHILD>
		</MEMPLOYEE>
		<V2MEMPLOYEE>
			<PARENT>TRESERVE.BOSSID</PARENT>
			<PARENT>TRESERVE.COMPANYID</PARENT>
			<CHILD>V2MEMPLOYEE.EMPLOYEEID</CHILD>
			<CHILD>V2MEMPLOYEE.COMPANYID</CHILD>
		</V2MEMPLOYEE>
		<V3MEMPLOYEE>
			<PARENT>TRESERVE.SENDER</PARENT>
			<PARENT>TRESERVE.COMPANYID</PARENT>
			<CHILD>V3MEMPLOYEE.EMPLOYEEID</CHILD>
			<CHILD>V3MEMPLOYEE.COMPANYID</CHILD>
		</V3MEMPLOYEE>
		<V1MEMPLOYEE>
			<PARENT>TRESERVE.APPROVER</PARENT>
			<PARENT>TRESERVE.COMPANYID</PARENT>
			<CHILD>V3MEMPLOYEE.EMPLOYEEID</CHILD>
			<CHILD>V3MEMPLOYEE.COMPANYID</CHILD>
		</V1MEMPLOYEE>
	</RELATION>
</TRESERVE>
