Project

General

Profile

Batch » History » Version 1

Soh Keong, 10/12/2023 10:09 AM

1 1 Soh Keong
{{toc}}
2
3
h1. Batches
4
5
h2. Report
6
7
Program Class : GenHKRPDaily
8
Steps         :
9
# Call webservice (EcHkMemberController.getRPBalanceExpiryDateList) get HK & MC RP balance with expiry date.
10
# Write RP to file name : RPyymmdd.HK
11
12
h2. PurgeRP
13
14
Program Class : ECpurgeRP
15
Run Indicator : 
16
> 0  - First Time run only, For earn and get from table MEMBER_ACCOUNT
17
> 1  - Subsequence to Calculate Earn and Utilize RP from table TRANSACTION
18
> 2  - Calculate Utilized RP and Deduct from ProcessDate Balance
19
> 3  - Purge expired RP
20
> -3 - Roll back (4)
21
> -2 - Roll back (2)