Project

General

Profile

BankFile » History » Version 4

Soh Keong, 07/31/2012 05:20 PM

1 1 Soh Keong
h1. Bank File
2
3 3 Soh Keong
This is an offline application that will generate total 4 files.
4 1 Soh Keong
# Banamex bank file (text file)
5
# Others bank file (text file)
6
# Banamex bank finance Report (csv file)
7
# Exception Report (csv file)
8
9 3 Soh Keong
h2. Properties file
10 1 Soh Keong
11 3 Soh Keong
+db.config+
12 1 Soh Keong
# *user* - database user
13
# *password* - database password
14
# *dbUrl* - database url (jdbc:db2://{IP}:{port}/{dbName})
15
# *logPath* - logger file path
16
# *financeRptPath* - path where the text file and csv file will generate to
17 3 Soh Keong
18
+properties/config.properties+
19 1 Soh Keong
# *bankBranchNumber* - Bank branch number (4 digits)
20
# *bankAccountNumber* - Bank account number (20 digits)
21
22
h3. Step to startup
23
24
*Make sure the value in properties/config.properties file is correct
25
26
Windows / Linux
27 4 Soh Keong
---------------------
28 1 Soh Keong
1. Open Command promp/console and go to BanamexBankFile folder
29
30
2. type below command (without quote). Date will be today date if not enter.
31
> 	A. 'java -jar banamexBankFile.jar' OR
32
33
> 	B. 'java -jar banamexBankFile.jar {date}' (06/2012)
34
35
3. Bank file, Finance report and log will be generate as in config.properties
36 2 Soh Keong
37
h2. SCM
38
39
<pre>
40
Host: cwyrnd2-server [IP address:192.168.2.11]
41
Path: d:/source/ecoswayNew
42
Module: MxBankFile
43
Tag: HEAD
44
</pre>