Project

General

Profile

Batch » History » Version 2

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

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