<?xml version="1.0" encoding="UTF-8"?>
<MGL desc_thai="ทะเบียน GL" desc_eng="GL table" editcheck="true" mainhelp="MGLHELP" referhelp="MGLHELP" mainkey="PAYMENT_CODE" fieldsystem="*" deleteflag="false" config_field="">
<FIELD>
	<PAYMENT_CODE lang="A" encrypt="false" verify="false" log="false" type="String">
			<KEY>1</KEY>
			<WIDTH>20</WIDTH>
			<DESC_ENG>payment code</DESC_ENG>
			<DESC_THAI>รหัสการจ่าย</DESC_THAI>
			<COMPONENT type="text">
				<MAXSIZE>20</MAXSIZE>
				<SIZE>20</SIZE>
				<ALT_THAI>รหัสการจ่าย</ALT_THAI>
				<ALT_ENG>payment code</ALT_ENG>
				<REQUIRE>true</REQUIRE>
			</COMPONENT>
	</PAYMENT_CODE>	
	<COMPANYID lang="A" encrypt="false" verify="false" log="false" type="String">
		<KEY>2</KEY>
		<WIDTH>10</WIDTH>
		<DESC_ENG>COMPANYID </DESC_ENG>
		<DESC_THAI>COMPANYID</DESC_THAI>
		<COMPONENT type="text">
			<MAXSIZE>10</MAXSIZE>
			<SIZE>10</SIZE>
			<ALT_THAI>COMPANYID</ALT_THAI>
			<ALT_ENG>COMPANYID </ALT_ENG>
		</COMPONENT>
	</COMPANYID>
	<DESCRIPTION lang="A" encrypt="false" verify="false" log="false" type="String">
		<WIDTH>255</WIDTH>
		<DESC_ENG>Description</DESC_ENG>
		<DESC_THAI>รายละเอียด</DESC_THAI>
		<COMPONENT type="text">
			<MAXSIZE>255</MAXSIZE>
			<SIZE>50</SIZE>
			<ALT_THAI>รายละเอียด</ALT_THAI>
			<ALT_ENG>Description</ALT_ENG>
			<REQUIRE>true</REQUIRE>
		</COMPONENT>
	</DESCRIPTION>
	<ACCOUNT1_ID lang="A" encrypt="false" verify="false" log="false" type="String">
		<WIDTH>10</WIDTH>
		<DESC_ENG>Account 1</DESC_ENG>
		<DESC_THAI>บัญชี 1</DESC_THAI>
		<COMPONENT type="text">
			<MAXSIZE>10</MAXSIZE>
			<SIZE>10</SIZE>
			<ALT_THAI>บัญชี 1</ALT_THAI>
			<ALT_ENG>Account 1</ALT_ENG>
		</COMPONENT>
	</ACCOUNT1_ID>
	<ACCOUNT2_ID lang="A" encrypt="false" verify="false" log="false" type="String">
		<WIDTH>10</WIDTH>
		<DESC_ENG>Account 2</DESC_ENG>
		<DESC_THAI>บัญชี 2</DESC_THAI>
		<COMPONENT type="text">
			<MAXSIZE>10</MAXSIZE>
			<SIZE>10</SIZE>
			<ALT_THAI>บัญชี 2</ALT_THAI>
			<ALT_ENG>Account 2</ALT_ENG>
		</COMPONENT>
	</ACCOUNT2_ID>
	<ACCOUNT3_ID lang="A" encrypt="false" verify="false" log="false" type="String">
		<WIDTH>10</WIDTH>
		<DESC_ENG>Account 3</DESC_ENG>
		<DESC_THAI>บัญชี 3</DESC_THAI>
		<COMPONENT type="text">
			<MAXSIZE>10</MAXSIZE>
			<SIZE>10</SIZE>
			<ALT_THAI>บัญชี 3</ALT_THAI>
			<ALT_ENG>Account 3</ALT_ENG>
		</COMPONENT>
	</ACCOUNT3_ID>
	<ACCOUNT4_ID lang="A" encrypt="false" verify="false" log="false" type="String">
		<WIDTH>10</WIDTH>
		<DESC_ENG>Account 4</DESC_ENG>
		<DESC_THAI>บัญชี 4</DESC_THAI>
		<COMPONENT type="text">
			<MAXSIZE>10</MAXSIZE>
			<SIZE>10</SIZE>
			<ALT_THAI>บัญชี 4</ALT_THAI>
			<ALT_ENG>Account 4</ALT_ENG>
		</COMPONENT>
	</ACCOUNT4_ID>
	<ACCOUNT5_ID lang="A" encrypt="false" verify="false" log="false" type="String">
		<WIDTH>10</WIDTH>
		<DESC_ENG>Account 5</DESC_ENG>
		<DESC_THAI>บัญชี 5</DESC_THAI>
		<COMPONENT type="text">
			<MAXSIZE>10</MAXSIZE>
			<SIZE>10</SIZE>
			<ALT_THAI>บัญชี 5</ALT_THAI>
			<ALT_ENG>Account 5</ALT_ENG>
		</COMPONENT>
	</ACCOUNT5_ID>
	<ACCOUNT6_ID lang="A" encrypt="false" verify="false" log="false" type="String">
		<WIDTH>10</WIDTH>
		<DESC_ENG>Account 6</DESC_ENG>
		<DESC_THAI>บัญชี 6</DESC_THAI>
		<COMPONENT type="text">
			<MAXSIZE>10</MAXSIZE>
			<SIZE>10</SIZE>
			<ALT_THAI>บัญชี 6</ALT_THAI>
			<ALT_ENG>Account 6</ALT_ENG>
		</COMPONENT>
	</ACCOUNT6_ID>

	<PERCENT1 lang="A" encrypt="false" verify="false" log="false" type="String">
		<WIDTH>3</WIDTH>
		<DESC_ENG>Percent</DESC_ENG>
		<DESC_THAI>เปอร์เซนต์</DESC_THAI>
		<COMPONENT type="text">
			<MAXSIZE>10</MAXSIZE>
			<SIZE>10</SIZE>
			<ALT_THAI>เปอร์เซนต์</ALT_THAI>
			<ALT_ENG>Percent</ALT_ENG>
			<DEFAULTVALUE>0</DEFAULTVALUE>
		</COMPONENT>
	</PERCENT1>
	<PERCENT2 lang="A" encrypt="false" verify="false" log="false" type="String">
		<WIDTH>3</WIDTH>
		<DESC_ENG>Percent</DESC_ENG>
		<DESC_THAI>เปอร์เซนต์</DESC_THAI>
		<COMPONENT type="text">
			<MAXSIZE>10</MAXSIZE>
			<SIZE>10</SIZE>
			<ALT_THAI>เปอร์เซนต์</ALT_THAI>
			<ALT_ENG>Percent</ALT_ENG>
			<DEFAULTVALUE>0</DEFAULTVALUE>
		</COMPONENT>
	</PERCENT2>
	<PERCENT3 lang="A" encrypt="false" verify="false" log="false" type="String">
		<WIDTH>3</WIDTH>
		<DESC_ENG>Percent</DESC_ENG>
		<DESC_THAI>เปอร์เซนต์</DESC_THAI>
		<COMPONENT type="text">
			<MAXSIZE>10</MAXSIZE>
			<SIZE>10</SIZE>
			<ALT_THAI>เปอร์เซนต์</ALT_THAI>
			<ALT_ENG>Percent</ALT_ENG>
			<DEFAULTVALUE>0</DEFAULTVALUE>
		</COMPONENT>
	</PERCENT3>
	<PERCENT4 lang="A" encrypt="false" verify="false" log="false" type="String">
		<WIDTH>3</WIDTH>
		<DESC_ENG>Percent</DESC_ENG>
		<DESC_THAI>เปอร์เซนต์</DESC_THAI>
		<COMPONENT type="text">
			<MAXSIZE>10</MAXSIZE>
			<SIZE>10</SIZE>
			<ALT_THAI>เปอร์เซนต์</ALT_THAI>
			<ALT_ENG>Percent</ALT_ENG>
			<DEFAULTVALUE>0</DEFAULTVALUE>
		</COMPONENT>
	</PERCENT4>

	<CODE1 lang="A" encrypt="false" log="false" type="String">
			<WIDTH>5</WIDTH>
			<DESC_ENG>Code1</DESC_ENG>
			<DESC_THAI>Code1</DESC_THAI>
			<COMPONENT type="text">
				<MAXSIZE>5</MAXSIZE>
				<SIZE>5</SIZE>
				<ALT_THAI>Code1</ALT_THAI>
				<ALT_ENG>Code1</ALT_ENG>
			</COMPONENT>
	</CODE1>
	<CODE2 lang="A" encrypt="false" log="false" type="String">
			<WIDTH>5</WIDTH>
			<DESC_ENG>Code2</DESC_ENG>
			<DESC_THAI>Code2</DESC_THAI>
			<COMPONENT type="text">
				<MAXSIZE>5</MAXSIZE>
				<SIZE>5</SIZE>
				<ALT_THAI>Code2</ALT_THAI>
				<ALT_ENG>Code2</ALT_ENG>
			</COMPONENT>
	</CODE2>
		<CODE3 lang="A" encrypt="false" log="false" type="String">
			<WIDTH>5</WIDTH>
			<DESC_ENG>Code3</DESC_ENG>
			<DESC_THAI>Code3</DESC_THAI>
			<COMPONENT type="text">
				<MAXSIZE>5</MAXSIZE>
				<SIZE>5</SIZE>
				<ALT_THAI>Code3</ALT_THAI>
				<ALT_ENG>Code3</ALT_ENG>
			</COMPONENT>
	</CODE3>
		<CODE4 lang="A" encrypt="false" log="false" type="String">
			<WIDTH>5</WIDTH>
			<DESC_ENG>Code4</DESC_ENG>
			<DESC_THAI>Code4</DESC_THAI>
			<COMPONENT type="text">
				<MAXSIZE>5</MAXSIZE>
				<SIZE>5</SIZE>
				<ALT_THAI>Code4</ALT_THAI>
				<ALT_ENG>Code4</ALT_ENG>
			</COMPONENT>
	</CODE4>
 <TYPE1 lang="A" encrypt="false" log="false" type="String">
			<WIDTH>5</WIDTH>
			<DESC_ENG>Type1</DESC_ENG>
			<DESC_THAI>Type1</DESC_THAI>
			<COMPONENT type="text">
				<MAXSIZE>5</MAXSIZE>
				<SIZE>5</SIZE>
				<ALT_THAI>Type1</ALT_THAI>
				<ALT_ENG>Type1</ALT_ENG>
			</COMPONENT>
	</TYPE1>
 <TYPE2 lang="A" encrypt="false" log="false" type="String">
			<WIDTH>5</WIDTH>
			<DESC_ENG>Type2</DESC_ENG>
			<DESC_THAI>Type2</DESC_THAI>
			<COMPONENT type="text">
				<MAXSIZE>5</MAXSIZE>
				<SIZE>5</SIZE>
				<ALT_THAI>Type2</ALT_THAI>
				<ALT_ENG>Type2</ALT_ENG>
			</COMPONENT>
	</TYPE2>
	 <STATUS lang="A" encrypt="false" log="false" type="String">
			<WIDTH>5</WIDTH>
			<DESC_ENG>Status</DESC_ENG>
			<DESC_THAI>สถานะ</DESC_THAI>
			<COMPONENT type="text">
				<MAXSIZE>5</MAXSIZE>
				<SIZE>5</SIZE>
				<ALT_THAI>สถานะ</ALT_THAI>
				<ALT_ENG>Status</ALT_ENG>
				<VALIDCODE>GLSTATUS</VALIDCODE>
			</COMPONENT>
	</STATUS>
	<CONDITION lang="A" encrypt="false" verify="false" log="false" type="Blob">
		<WIDTH>15000</WIDTH>
		<DESC_ENG>Condition</DESC_ENG>
		<DESC_THAI>เงื่อนไข</DESC_THAI>
        <COMPONENT type="textarea">				
    		 <ONKEYPRESS>javascript:lockTextareaChar(this, 15000);</ONKEYPRESS>
			<ALT_THAI>เงื่อนไข</ALT_THAI>
			<ISVALID>false</ISVALID>
			<ALT_ENG>Condition</ALT_ENG>
			<LINES>15</LINES>
			<SIZECHAR>70</SIZECHAR>
		</COMPONENT>
	</CONDITION>
</FIELD>
 <RELATION>
		<TEXPEND_COST mode="0">
			<PARENT>MGL.PAYMENT_CODE</PARENT>
			<PARENT>MGL.COMPANYID</PARENT>
			<CHILD>TEXPEND_COST.COSTTYPE</CHILD>
			<CHILD>TEXPEND_COST.COMPANYID</CHILD>
		</TEXPEND_COST>		
		<TEXPEND_COST_OTHER mode="0">
			<PARENT>MGL.PAYMENT_CODE</PARENT>
			<PARENT>MGL.COMPANYID</PARENT>
			<CHILD>TEXPEND_COST_OTHER.COSTTYPE</CHILD>
			<CHILD>TEXPEND_COST_OTHER.COMPANYID</CHILD>
		</TEXPEND_COST_OTHER>		
 </RELATION>
</MGL>
