<?xml version='1.0' encoding='UTF-8' ?> <EXPXML name="SCNB.xml" fileout="C:/temp/TransferBank/SCNB.txt" filetype="txt" processtype="file"> <INIT> double sum=0; Double d=null; Integer i = null; int reccount = 0; </INIT> <DATA> <COL type="string" width="1">P</COL> <!-- Record Type P= Payment record--> <COL type="string" width="4">PAY</COL> <!-- Payment Type PAY= Payroll--> <COL type="string" width="2">01</COL> <!-- Service Type = 01--> <COL type="string" width="16"></COL> <!-- Customer Reference--> <COL type="data" width="11">dbInq.getString("mbank_company","account")</COL><!-- �Ţ���ѭ�Ѻ���ѷ : 11 --> <COL type="data" width="10">DATE</COL> <!-- Credit Date or Value Date - 2 days: YYYY/MM/DD --> <COL type="data" width="35">dbInq.getString("memployee","efname").toUpperCase()+" "+dbInq.getString("memployee","elname").toUpperCase()</COL><!-- ����ʡ�� ��Ǿ�����˭� ����ѹ : 35 --> <COL type="data" width="3">dbInq.getString("mbank_company","bankid") </COL><!-- bankcode: 3 --> <COL type="data" width="4">dbInq.getString("accountno").substring(0,3)</COL><!--�����ҢҸ�Ҥ�� : 4 ��ҡ 3 ����á �ͧ�Ţ���ѭ�� ��ѡ�ҹ*--> <COL type="data" width="34">dbInq.getString("accountno")</COL> <!-- : 34--> <COL type="data" width ="15" decimalformat="###.00" blank="0" align="right">dbInq.getString("amount")</COL><!--�ըش(.)�ȹ���2���˹觴��� --> <COL type="formula">sum += d.parseDouble(dbInq.getString("amount"))</COL> <COL type="formula">reccount++</COL> <COL type="string">newline</COL> </DATA> <FOOT> <COL type="string" width="1">T</COL> <!-- File Type T= Trailer Record --> <COL type="data" width="5">fs.addBlank(5,"0",reccount)</COL> <COL type="data" width="15" decimalformat="###.00" blank="0" align="right">sum</COL><!-- �ӹǹ�Թ���: 15 9(12).9(2) �ըش(.)�ȹ���2���˹觴��� --> <COL type="string">newline</COL> </FOOT> </EXPXML>