Project

General

Profile

BankFile » History » Revision 4

Revision 3 (Soh Keong, 07/31/2012 01:53 PM) → Revision 4/10 (Soh Keong, 07/31/2012 05:20 PM)

h1. Bank File 

 This is an offline application that will generate total 4 files. 
 # Banamex bank file (text file) 
 # Others bank file (text file) 
 # Banamex bank finance Report (csv file) 
 # Exception Report (csv file) 

 h2. Properties file 

 +db.config+ 
 # *user* - database user 
 # *password* - database password 
 # *dbUrl* - database url (jdbc:db2://{IP}:{port}/{dbName}) 
 # *logPath* - logger file path 
 # *financeRptPath* - path where the text file and csv file will generate to 

 +properties/config.properties+ 
 # *bankBranchNumber* - Bank branch number (4 digits) 
 # *bankAccountNumber* - Bank account number (20 digits) 

 h3. Step to startup 

 *Make sure the value in properties/config.properties file is correct 

 Windows / Linux 
 --------------------- ----------------- 
 1. Open Command promp/console and go to BanamexBankFile folder 

 2. type below command (without quote). Date will be today date if not enter. 
 >  	 A. 'java -jar banamexBankFile.jar' OR 

 >  	 B. 'java -jar banamexBankFile.jar {date}' (06/2012) 

 3. Bank file, Finance report and log will be generate as in config.properties 

 h2. SCM 

 <pre> 
 Host: cwyrnd2-server [IP address:192.168.2.11] 
 Path: d:/source/ecoswayNew 
 Module: MxBankFile 
 Tag: HEAD 
 </pre>