PRR312.xml 645 Bytes
Newer Older
Thitichaipun Wutthisak committed
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24
<DBXML>

	<TABLE name="Mcompany_prr312" status="" central="true" out="inquiry" rname="Mcompany">
		<FIELD>companyid</FIELD>
		<FIELD>tname</FIELD>
		<FIELD>ename</FIELD>
		<ORDER>
				<FIELD>companyid</FIELD>
		</ORDER>
	</TABLE>

	<TABLE name="Report_prr312" status="" central="false" out="inquiry" >
		<FIELD>companyid</FIELD>
		<FIELD>inc_type</FIELD>
		<FIELD>formulaid</FIELD>
		<FIELD>tdesc</FIELD>
		<FIELD>cur_amount</FIELD>
		<FIELD>his_amount</FIELD>
		<ORDER>
			<FIELD>case when formulaid like 'WAGE%' and SUBSTR(INC_TYPE,0,1)='1' then 0 when formulaid in ('F001') then 1 else 2 end,formulaid</FIELD>
		</ORDER>
	</TABLE>
	
</DBXML>