<?xml version="1.0" encoding="UTF-8"?>
<MPREFIX desc_thai="ทะเบียนคำนำหน้า" desc_eng="Prefix" editcheck="true" mainhelp="MPREFIXHELP" referhelp="MPREFIXHELP" mainkey="PREFIXID" fieldsystem="*" protype="table" deleteflag="true" config_field="" dependlevel="true">
	<FIELD>
		<PREFIXID lang="A" encrypt="false" log="false" type="String">
			<KEY>1</KEY>
			<WIDTH>3</WIDTH>
			<DESC_ENG>Prefix Code</DESC_ENG>
			<DESC_THAI>รหัสคำนำหน้า</DESC_THAI>
			<COMPONENT type="text">
				<MAXSIZE>3</MAXSIZE>
				<SIZE>15</SIZE>
				<ALT_THAI>รหัสคำนำหน้า</ALT_THAI>
				<ALT_ENG>Prefix Code</ALT_ENG>
			</COMPONENT>
			<REQUIRE>true</REQUIRE>
		</PREFIXID>
		<TDESC lang="T" encrypt="false" log="false" type="String">
			<WIDTH>100</WIDTH>
			<DESC_ENG>Desc. (Thai) </DESC_ENG>
			<DESC_THAI>คำนำหน้าชื่อ (ไทย)</DESC_THAI>
			<REFER_LANG>EDESC</REFER_LANG>
			<REQUIRE>true</REQUIRE>
			<COMPONENT type="text">
				<MAXSIZE>100</MAXSIZE>
				<SIZE>60</SIZE>
				<ALT_THAI>คำนำหน้าชื่อ (ไทย)</ALT_THAI>
				<ALT_ENG>Desc. (Thai)</ALT_ENG>
			</COMPONENT>
		</TDESC>
		<EDESC lang="E" encrypt="false" log="false" type="String">
			<WIDTH>100</WIDTH>
			<DESC_ENG>Desc. (Eng.)</DESC_ENG>
			<DESC_THAI>คำนำหน้าชื่อ (อังกฤษ)</DESC_THAI>
			<REFER_LANG>TDESC</REFER_LANG>
			<COMPONENT type="text">
				<MAXSIZE>100</MAXSIZE>
				<SIZE>60</SIZE>
				<ALT_THAI>คำนำหน้าชื่อ (อังกฤษ)</ALT_THAI>
				<ALT_ENG>Desc. (Eng.)</ALT_ENG>
			</COMPONENT>
		</EDESC>
		<SSO_CODE lang="A" encrypt="false" log="false" type="String">
			<WIDTH>3</WIDTH>
			<DESC_ENG> SSO</DESC_ENG>
			<DESC_THAI>รหัส SSO</DESC_THAI>
			<COMPONENT type="text">
				<MAXSIZE>3</MAXSIZE>
				<SIZE>15</SIZE>
				<ALT_ENG> SSO</ALT_ENG>
				<ALT_THAI>รหัส SSO</ALT_THAI>
			</COMPONENT>
		</SSO_CODE>

		<SEX lang="A" encrypt="false" log="false" type="String">
			<WIDTH>1</WIDTH>
			<DESC_ENG>Sex</DESC_ENG>
			<DESC_THAI>เพศ</DESC_THAI>
			<REQUIRE>true</REQUIRE>
			<GROUP>testprocess,import,requisition</GROUP>
			<COMPONENT type="radio">
				<MAXSIZE>1</MAXSIZE>
				<DEFAULTVALUE>3</DEFAULTVALUE>
				<SIZE>1</SIZE>
				<ALT_ENG>Sex</ALT_ENG>
				<ALT_THAI>เพศ</ALT_THAI>
				<VALIDCODE>SEX_PREFIX</VALIDCODE>
			</COMPONENT>
		</SEX>
		<JB_ACTIVE lang="A" encrypt="false" log="false" type="String">
			<WIDTH>1</WIDTH>
			<DESC_ENG>Active in Jobboard</DESC_ENG>
			<DESC_THAI>สถานะการใช้งานใน Jobboard</DESC_THAI>
			<COMPONENT type='list'>
				<MAXSIZE>1</MAXSIZE>
				<SIZE>1</SIZE>
				<ALT_THAI>เปิดการใช้งานใน Jobboard</ALT_THAI>
				<ALT_ENG>Active in Jobboard</ALT_ENG>
				<DEFAULTVALUE>0</DEFAULTVALUE>
				<VALIDCODE>REMINDER_STATUS</VALIDCODE>
			</COMPONENT>
		</JB_ACTIVE>
	</FIELD>

	<RELATION>
		<MEMPL_FAMILY>
			<PARENT>MPREFIX.PREFIXID</PARENT>
			<CHILD>MEMPL_FAMILY.PREFIX</CHILD>
		</MEMPL_FAMILY>
		<MEMPL_BENEFIT>
			<PARENT>MPREFIX.PREFIXID</PARENT>
			<CHILD>MEMPL_BENEFIT.PREFIX_BEN</CHILD>
		</MEMPL_BENEFIT>

		<MTRAINER>
			<PARENT>MPREFIX.PREFIXID</PARENT>
			<CHILD>MTRAINER.PREFIXID</CHILD>
		</MTRAINER>
		<VW_CORP_EMP mode="-1">
			<PARENT>MPREFIX.PREFIXID</PARENT>
			<CHILD>VW_CORP_EMP.EMP_PREFIX</CHILD>
		</VW_CORP_EMP>
		<MBLACKLIST_DETAIL mode="-1">
			<PARENT>MPREFIX.PREFIXID</PARENT>
			<PARENT>MPREFIX.COMPANYID</PARENT>
			<CHILD>MBLACKLIST_DETAIL.EMP_PREFIX</CHILD>
			<CHILD>MBLACKLIST_DETAIL.COMPANYID</CHILD>
		</MBLACKLIST_DETAIL>

	</RELATION>
</MPREFIX>
