<?xml version="1.0" encoding="UTF-8"?>
<MJVDATA desc_thai="Template บัญชีแยกประเภท" desc_eng="Template Journal Voucher Table" editcheck="true" mainhelp="MJVDATAHELP" referhelp="MJVDATAHELP" mainkey="SQNUMBER" log="true" deleteflag="true" fieldsystem="*" config_field="">
	<FIELD>
		<SQNUMBER lang="A" encrypt="false" log="false" type="AutoNumber" table="MJVDATA">
			<KEY>1</KEY>
			<WIDTH>5</WIDTH>
			<DESC_ENG>No.</DESC_ENG>
			<DESC_THAI>ลำดับที่</DESC_THAI>
			<COMPONENT type="text">
				<MAXSIZE>5</MAXSIZE>
				<SIZE>5</SIZE>
				<ALT_ENG>No.</ALT_ENG>
				<ALT_THAI>ลำดับที่</ALT_THAI>
				<READONLY>TRUE</READONLY>
			</COMPONENT>
		</SQNUMBER>
		<COMPANYID lang="A" encrypt="false" verify="false" log="false" type="String">
		   <KEY>2</KEY>
			<WIDTH>5</WIDTH>
			<DESC_ENG>Company ID</DESC_ENG>
			<DESC_THAI>รหัสบริษัท</DESC_THAI>
			<COMPONENT type="text">
				<MAXSIZE>5</MAXSIZE>
				<SIZE>5</SIZE>
				<ALT_THAI>รหัสบริษัท</ALT_THAI>
				<ALT_ENG>Company ID</ALT_ENG>
				<REQUIRE>true</REQUIRE>
			</COMPONENT>
		</COMPANYID>
		<JVID lang="A" encrypt="false" log="false" type="String">
			<KEY>3</KEY>
			<WIDTH>15</WIDTH>
			<RELATION>MJVDATASETUP</RELATION>
			<DESC_ENG>JV ID</DESC_ENG>
			<DESC_THAI>JV ID</DESC_THAI>
			<COMPONENT type="text">
				<MAXSIZE>15</MAXSIZE>
				<SIZE>15</SIZE>
				<ALT_ENG>JV ID</ALT_ENG>
				<ALT_THAI>JV ID</ALT_THAI>
				<READONLY>TRUE</READONLY>
			</COMPONENT>
		</JVID>
		<COMPCODE lang="A" encrypt="false" log="false" type="String">
			<WIDTH>5</WIDTH>
			<RELATION>MBRANCH</RELATION>
			<DESC_ENG>Branch ID</DESC_ENG>
			<DESC_THAI>รหัสสาขา</DESC_THAI>
			<COMPONENT type="text">
				<MAXSIZE>5</MAXSIZE>
				<SIZE>5</SIZE>
				<DESC_ENG>Branch ID</DESC_ENG>
				<DESC_THAI>รหัสสาขา</DESC_THAI>
			</COMPONENT>
		</COMPCODE>
		<NJVSQ lang="A" encrypt="false" log="false" type="String">
			<WIDTH>10</WIDTH>
			<RELATION>MJVSEQUENCENUMBER</RELATION>
			<DESC_ENG>JV SQ. No.</DESC_ENG>
			<DESC_THAI>รหัสบัญชีแยกประเภท</DESC_THAI>
			<COMPONENT type="text">
				<MAXSIZE>10</MAXSIZE>
				<SIZE>10</SIZE>
				<ALT_ENG>JV SQ. No.</ALT_ENG>
				<ALT_THAI>รหัสบัญชีแยกประเภท</ALT_THAI>
				<DEFAULTVALUE>0</DEFAULTVALUE>
			</COMPONENT>
		</NJVSQ>
		<FLAG lang="A" encrypt="false" log="false" type="String">
			<WIDTH>1</WIDTH>
			<DESC_ENG>Flag</DESC_ENG>
			<DESC_THAI>Flag</DESC_THAI>
			<COMPONENT type="list">
				<MAXSIZE>1</MAXSIZE>
				<SIZE>1</SIZE>
				<DESC_ENG>Flag</DESC_ENG>
				<DESC_THAI>Flag</DESC_THAI>
				<VALIDCODE>JVFLAGTEMPLATE</VALIDCODE>
			</COMPONENT>
		</FLAG>
		<MCOSTCODE lang="A" encrypt="false" log="false" type="String">
			<WIDTH>10</WIDTH>
			<RELATION>MMAINCOSTCENTER</RELATION>
			<DESC_ENG>Main Cost</DESC_ENG>
			<DESC_THAI>Main Cost</DESC_THAI>
			<COMPONENT type="text">
				<MAXSIZE>10</MAXSIZE>
				<SIZE>10</SIZE>
				<ALT_ENG>Main Cost</ALT_ENG>
				<ALT_THAI>Main Cost</ALT_THAI>
			</COMPONENT>
		</MCOSTCODE>
		<COSTCODE lang="A" encrypt="false" log="false" type="String">
			<WIDTH>10</WIDTH>
			<RELATION>MCOSTCENTER0</RELATION>
			<DESC_ENG>Cost Center</DESC_ENG>
			<DESC_THAI>Cost Center</DESC_THAI>
			<COMPONENT type="text">
				<MAXSIZE>10</MAXSIZE>
				<SIZE>10</SIZE>
				<ALT_ENG>Cost Center</ALT_ENG>
				<ALT_THAI>Cost Center</ALT_THAI>
			</COMPONENT>
		</COSTCODE>
		<ACCTNAME lang="A" encrypt="false" log="false" type="String">
			<WIDTH>64</WIDTH>
			<DESC_ENG>Account Name</DESC_ENG>
			<DESC_THAI>ชื่อบัญชี</DESC_THAI>
			<COMPONENT type="text">
				<MAXSIZE>64</MAXSIZE>
				<SIZE>40</SIZE>
				<DESC_ENG>Account Name</DESC_ENG>
				<DESC_THAI>ชื่อบัญชี</DESC_THAI>
			</COMPONENT>
		</ACCTNAME>
		<ACCTCODE lang="A" encrypt="false" log="false" type="String">
			<WIDTH>15</WIDTH>
			<DESC_ENG>Account Code</DESC_ENG>
			<DESC_THAI>รหัสบัญชี</DESC_THAI>
			<COMPONENT type="text">
				<MAXSIZE>15</MAXSIZE>
				<SIZE>15</SIZE>
				<DESC_ENG>Account Code</DESC_ENG>
				<DESC_THAI>รหัสบัญชี</DESC_THAI>
			</COMPONENT>
		</ACCTCODE>
		<ACCTTYPE lang="A" encrypt="false" log="false" type="String">
			<WIDTH>1</WIDTH>
			<DESC_ENG>Account Type</DESC_ENG>
			<DESC_THAI>ประเภทบัญชี</DESC_THAI>
			<COMPONENT type="list">
				<MAXSIZE>1</MAXSIZE>
				<SIZE>1</SIZE>
				<DESC_ENG>Account Type</DESC_ENG>
				<DESC_THAI>ประเภทบัญชี</DESC_THAI>
				<VALIDCODE>JVACCTYPE</VALIDCODE>
			</COMPONENT>
		</ACCTTYPE>
		<AMOUNT lang="A" encrypt="true" log="true" type="Double">
			<WIDTH>25</WIDTH>
			<DESC_ENG>Amount</DESC_ENG>
			<DESC_THAI>ยอดเงิน</DESC_THAI>
			<COMPONENT type="text">
				<VALUE>0.00</VALUE>
				<MAXSIZE>25</MAXSIZE>
				<SIZE>15</SIZE>
				<ALT_ENG>Amount</ALT_ENG>
				<ALT_THAI>ยอดเงิน</ALT_THAI>
			</COMPONENT>
		</AMOUNT>
		<FORMULA lang="A" encrypt="false" log="false" type="String">
			<WIDTH>4000</WIDTH>
			<DESC_ENG>Formula</DESC_ENG>
			<DESC_THAI>Formula</DESC_THAI>
			<COMPONENT type="textarea">
				<MAXSIZE>4000</MAXSIZE>
				<SIZE>4000</SIZE>
				<DESC_ENG>Formula</DESC_ENG>
				<DESC_THAI>Formula</DESC_THAI>
				<LINES>3</LINES>
				<SIZECHAR>50</SIZECHAR>
				<READONLY>false</READONLY>
			</COMPONENT>
		</FORMULA>
		<NHEADS lang="A" encrypt="false" log="true" type="String">
			<WIDTH>10</WIDTH>
			<DESC_ENG>Heads Number</DESC_ENG>
			<DESC_THAI>จำนวนคนที่มาคำนวณ</DESC_THAI>
			<COMPONENT type="text">
				<VALUE>0</VALUE>
				<MAXSIZE>10</MAXSIZE>
				<SIZE>10</SIZE>
				<DESC_ENG>Heads Number</DESC_ENG>
				<DESC_THAI>จำนวนคนที่มาคำนวณ</DESC_THAI>
			</COMPONENT>
		</NHEADS>
		<ANALSOURCE lang="A" encrypt="false" log="false" type="String">
			<WIDTH>15</WIDTH>
			<DESC_ENG>Analysis Source</DESC_ENG>
			<DESC_THAI>Analysis Source</DESC_THAI>
			<COMPONENT type="list">
				<MAXSIZE>15</MAXSIZE>
				<SIZE>15</SIZE>
				<ALT_ENG>Analysis Source</ALT_ENG>
				<ALT_THAI>Analysis Source</ALT_THAI>
				<VALIDCODE>JVANALSOURCE</VALIDCODE>
			</COMPONENT>
		</ANALSOURCE>
		<ANALTYPE lang="A" encrypt="false" log="false" type="String">
			<WIDTH>4</WIDTH>
			<DESC_ENG>Analysis Type</DESC_ENG>
			<DESC_THAI>Analysis Type</DESC_THAI>
			<COMPONENT type="list">
				<MAXSIZE>4</MAXSIZE>
				<SIZE>4</SIZE>
				<ALT_ENG>Analysis Type</ALT_ENG>
				<ALT_THAI>Analysis Type</ALT_THAI>
				<VALIDCODE>JVANALTYPE</VALIDCODE>
			</COMPONENT>
		</ANALTYPE>
		<ANAL_T0 lang="A" encrypt="false" log="false" type="String">
			<WIDTH>15</WIDTH>
			<DESC_ENG>Analysis Code 0</DESC_ENG>
			<DESC_THAI>Analysis Code 0</DESC_THAI>
			<COMPONENT type="text">
				<MAXSIZE>15</MAXSIZE>
				<SIZE>15</SIZE>
				<ALT_ENG>Analysis Code 0</ALT_ENG>
				<ALT_THAI>Analysis Code 0</ALT_THAI>
			</COMPONENT>
		</ANAL_T0>
		<ANAL_T1 lang="A" encrypt="false" log="false" type="String">
			<WIDTH>15</WIDTH>
			<DESC_ENG>Analysis Code 1</DESC_ENG>
			<DESC_THAI>Analysis Code 1</DESC_THAI>
			<COMPONENT type="text">
				<MAXSIZE>15</MAXSIZE>
				<SIZE>15</SIZE>
				<ALT_ENG>Analysis Code 1</ALT_ENG>
				<ALT_THAI>Analysis Code 1</ALT_THAI>
			</COMPONENT>
		</ANAL_T1>
		<ANAL_T2 lang="A" encrypt="false" log="false" type="String">
			<WIDTH>15</WIDTH>
			<DESC_ENG>Analysis Code 2</DESC_ENG>
			<DESC_THAI>Analysis Code 2</DESC_THAI>
			<COMPONENT type="text">
				<MAXSIZE>15</MAXSIZE>
				<SIZE>15</SIZE>
				<ALT_ENG>Analysis Code 2</ALT_ENG>
				<ALT_THAI>Analysis Code 2</ALT_THAI>
			</COMPONENT>
		</ANAL_T2>
		<ANAL_T3 lang="A" encrypt="false" log="false" type="String">
			<WIDTH>15</WIDTH>
			<DESC_ENG>Analysis Code 3</DESC_ENG>
			<DESC_THAI>Analysis Code 3</DESC_THAI>
			<COMPONENT type="text">
				<MAXSIZE>15</MAXSIZE>
				<SIZE>15</SIZE>
				<ALT_ENG>Analysis Code 3</ALT_ENG>
				<ALT_THAI>Analysis Code 3</ALT_THAI>
			</COMPONENT>
		</ANAL_T3>
		<ANAL_T4 lang="A" encrypt="false" log="false" type="String">
			<WIDTH>15</WIDTH>
			<DESC_ENG>Analysis Code 4</DESC_ENG>
			<DESC_THAI>Analysis Code 4</DESC_THAI>
			<COMPONENT type="text">
				<MAXSIZE>15</MAXSIZE>
				<SIZE>15</SIZE>
				<ALT_ENG>Analysis Code 4</ALT_ENG>
				<ALT_THAI>Analysis Code 4</ALT_THAI>
			</COMPONENT>
		</ANAL_T4>
		<ANAL_T5 lang="A" encrypt="false" log="false" type="String">
			<WIDTH>15</WIDTH>
			<DESC_ENG>Analysis Code 5</DESC_ENG>
			<DESC_THAI>Analysis Code 5</DESC_THAI>
			<COMPONENT type="text">
				<MAXSIZE>15</MAXSIZE>
				<SIZE>15</SIZE>
				<ALT_ENG>Analysis Code 5</ALT_ENG>
				<ALT_THAI>Analysis Code 5</ALT_THAI>
			</COMPONENT>
		</ANAL_T5>
		<ANAL_T6 lang="A" encrypt="false" log="false" type="String">
			<WIDTH>15</WIDTH>
			<DESC_ENG>Analysis Code 6</DESC_ENG>
			<DESC_THAI>Analysis Code 6</DESC_THAI>
			<COMPONENT type="text">
				<MAXSIZE>15</MAXSIZE>
				<SIZE>15</SIZE>
				<ALT_ENG>Analysis Code 6</ALT_ENG>
				<ALT_THAI>Analysis Code 6</ALT_THAI>
			</COMPONENT>
		</ANAL_T6>
		<ANAL_T7 lang="A" encrypt="false" log="false" type="String">
			<WIDTH>15</WIDTH>
			<DESC_ENG>Analysis Code 7</DESC_ENG>
			<DESC_THAI>Analysis Code 7</DESC_THAI>
			<COMPONENT type="text">
				<MAXSIZE>15</MAXSIZE>
				<SIZE>15</SIZE>
				<ALT_ENG>Analysis Code 7</ALT_ENG>
				<ALT_THAI>Analysis Code 7</ALT_THAI>
			</COMPONENT>
		</ANAL_T7>
		<ANAL_T8 lang="A" encrypt="false" log="false" type="String">
			<WIDTH>15</WIDTH>
			<DESC_ENG>Analysis Code 8</DESC_ENG>
			<DESC_THAI>Analysis Code 8</DESC_THAI>
			<COMPONENT type="text">
				<MAXSIZE>15</MAXSIZE>
				<SIZE>15</SIZE>
				<ALT_ENG>Analysis Code 8</ALT_ENG>
				<ALT_THAI>Analysis Code 8</ALT_THAI>
			</COMPONENT>
		</ANAL_T8>
		<ANAL_T9 lang="A" encrypt="false" log="false" type="String">
			<WIDTH>15</WIDTH>
			<DESC_ENG>Analysis Code 9</DESC_ENG>
			<DESC_THAI>Analysis Code 9</DESC_THAI>
			<COMPONENT type="text">
				<MAXSIZE>15</MAXSIZE>
				<SIZE>15</SIZE>
				<ALT_ENG>Analysis Code 9</ALT_ENG>
				<ALT_THAI>Analysis Code 9</ALT_THAI>
			</COMPONENT>
		</ANAL_T9>
	</FIELD>
	<RELATION>
	</RELATION>
</MJVDATA>
