EAccount Adjustment » History » Version 1
Soh Keong, 08/22/2022 05:11 PM
1 | 1 | Soh Keong | h1. EAccount Adjustment |
---|---|---|---|
2 | |||
3 | h2. Steps |
||
4 | |||
5 | 1. Format excel file to correct format |
||
6 | |||
7 | !eAccount_1.png! |
||
8 | |||
9 | 2. Make sure amount format Not comma(,) thousand and 2 decimal |
||
10 | 3. upload file to src-ecos |
||
11 | |||
12 | 4. put the script /script/EAdjustment.sh |
||
13 | |||
14 | upward / downward |
||
15 | |||
16 | eg. upward : |
||
17 | #/usr/java/jdk/bin/java -classpath $CP eAccountUpwardAdjustment eacct_adj_list_TPM_03_01_2022_AutoPay_wani_up.xls |
||
18 | |||
19 | eg. downward: |
||
20 | #/usr/java/jdk/bin/java -classpath $CP eAccountDownwardAdjustment eacct_adj_list_TPM_03_01_2022_AutoPay_wani_down.xls |
||
21 | |||
22 | |||
23 | 5. run script /script/EAdjustment.sh |
||
24 | |||
25 | 6. check db record in transaction table: |
||
26 | select * from TRANSACTION_032022 where TRX_CODE = '2300' and TRX_DATE = '2022-03-03' and USER_ID = 'System' |
||
27 | |||
28 | 7. compile record to new excel file. |
||
29 | |||
30 | 8. check sum value is same : |
||
31 | select SUM(TRX_AMT_LOCAL) from TRANSACTION_032022 where TRX_CODE = '2300' and TRX_DATE = '2022-03-03' and USER_ID = 'System' |
||
32 | |||
33 | !eAccount_2.png! |
||
34 | !eAccount_3.png! |
||
35 | |||
36 | 9. check exception file at path: |
||
37 | /usr/ecosway/batches/src-ecos/eAccountAdjustment/ |
||
38 | |||
39 | !eAccount_4.png! |