<?xml version="1.0" encoding="UTF-8"?>
<REPORTXML>
	<DATAMANAGER>PRR164</DATAMANAGER>
	<REPORTHEADER tdesc="รายงานการเคลื่อนไหว" edesc="Employee List, Movement Record for All Movement Type"/>
	<LINKTABLE>
		<FIELD>hadjposition</FIELD>
	</LINKTABLE>
	<HELP>
	</HELP>
	<FIXFILTER>
		<FIELD tablename="hadjposition" value="employeeid in ( select employeeid from memployee where status in(select statuscode from mempl_status where statustype='A'))"/>
	</FIXFILTER>
	<VFIELD>
		<FIELD type="String" size="100">MEMPLOYEE.FULLNAME</FIELD>
		<FIELD type="String" size="100">HADJPOSITION.OLD_HJOB_TITILE</FIELD>
		<FIELD type="String" size="100">HADJPOSITION.OLD_HBU3</FIELD>
		<FIELD type="String" size="100">HADJPOSITION.OLD_HSALARY</FIELD>
		<FIELD type="String" size="100">HADJPOSITION.OLD_LEVEL</FIELD>
	</VFIELD>
	<GROUP>
		<FIELD DESC="MBRANCH.edesc" LABEL="BRANCH CODE">hadjposition.branch</FIELD>
		<FIELD DESC="MPOSITION.edesc" LABEL="POSITION CODE">hadjposition.emp_position</FIELD>
        <FIELD DESC="mbu1.edesc" LABEL="BU1 CODE">hadjposition.bu1</FIELD>
		<FIELD DESC="mbu2.edesc" LABEL="BU2 CODE">hadjposition.bu2</FIELD>
		<FIELD DESC="mbu3.edesc" LABEL="BU3 CODE">hadjposition.bu3</FIELD>
		<FIELD DESC="mbu4.edesc" LABEL="BU4 CODE">hadjposition.bu4</FIELD>
		<FIELD DESC="mbu5.edesc" LABEL="BU5 CODE">hadjposition.bu5</FIELD>
	</GROUP>
	<TEMPLATE>
		<FIELD name="PRR164.jasper" tdesc="รายงานการเคลื่อนไหว " edesc="Employee List, Movement Record for All Movement Type"/>
		<FIELD name="PRR164_EXCEL.jasper" tdesc="รายงานการเคลื่อนไหว(EXCEL) " edesc="Employee List, Movement Record for All Movement Type(EXCEL)"/>
	</TEMPLATE>
    <COMPONENT link="PRR164_OPTION">
	<FIELD type="text" name="adj_reason" tdesc="adj_reason" edesc="adj_reason" size="100" value=""></FIELD>
	<FIELD type="text" name="adj_type" tdesc="adj_type" edesc="adj_type" size="100" value=""></FIELD>
	<FIELD type="text" name="eff_start" tdesc="eff_start" edesc="eff_start" size="100" value=""></FIELD>
	<FIELD type="text" name="eff_end" tdesc="eff_end" edesc="eff_end" size="100" value=""></FIELD>
	 </COMPONENT>
</REPORTXML>
