TTIMETEMP_DAISIN.xml 750 Bytes
Newer Older
Thitichaipun Wutthisak committed
1 2 3 4 5 6 7 8 9 10 11 12 13 14
<IMPXML name="TTIMETEMP_MYHR.xml" insert="true" update="true" lastupdate="false"  filetype="linelist" processtype="freespace">
<INIT>String code ="0000";</INIT>
<IMPORTPATTERN>fs.getToken(NUMBER.'DELIMETER');</IMPORTPATTERN>

<DATA  tokendelimeter=" ">	
	<COL source="new com.csc.library.process.SearchEmpByCardid(dbdata.getUProfile()).search(fs.toString().substring(18,28).trim())">TTIMETEMP.EMPLOYEEID</COL>

	<COL source="fs.toString().substring(2,6)+&quot;-&quot;+fs.toString().substring(6,8)+&quot;-&quot;+fs.toString().substring(8,10)">TTIMETEMP.SWIPEDATE</COL>
	<COL source="fs.toString().substring(10,12)+&quot;.&quot;+fs.toString().substring(12,14)">TTIMETEMP.SWIPETIME</COL>

	<COL source="100">TTIMETEMP.COMPANYID</COL>
</DATA>
</IMPXML>