Project

General

Profile

Description » History » Version 1

Soh Keong, 11/05/2020 12:01 PM

1 1 Soh Keong
{{toc}}
2
3
h1. Online Registration function
4
5
h3. Activation 
6
7
> Upon successfully Registration (with full profile info provided),  online system trigger the +IUpdateMemberDetail+ WS call to flag the activation for free gift.
8
 
9
h3. Store Pickup 
10
11
> If user choose the option to pickup the starter/business kit from store, online system will trigger the +IPromoService+ WS call by pass in promocode and qty = 99, to inform WS System that this user choose to pickup from store. (If choose sent by warehouse, WS call will NOT be triggered).
12
13
> POS will query to WS system to check (via +IPromoSerice+ WS) whether any record exist with this promocode attached with the user, if exist and qty = 99, then allow to self pickup and update qty=100; otherwise if not exist or qty=100, then disallow to pickup.
14
 
15
h3. Newsletter free eRC 
16
17
> If user choose to subscribe to newsletter during registration, user entitled earned free 10 eRC (pending requirement confirmation). Online System trigger +eTrxProcess+ WS by pass in Sales (S) salestype, invNo, invDate, EarnedPoint=10 and expiryDate = last day of the month of (orderDate + 3 years), to inform WS system the earn eRC by member.
18
19
h1. Sales function
20
21
h3. Check eRC/eAcct balance 
22
23
> online system trigger the +iGetMemberDetail+ WS call to query on the eRC/eAcct balance by pass in countryID and memberId etc. 
24
25
> WS system based on CountryID to return the related currency rate, and eRC/eAcct amount balance in MYR.
26
27
> online system will need to convert the value into required currency value based on the response currency exchange rate (cater for other country mall). 
28
29
> online system to check whether sufficient for utilization, based on the converted (if applicable) eRC/eAcct balance amount.
30
31
h3. Lock eRC/eAcct account
32
33
> Online system perform eRC/eAcct account lock by trigger +eTrxSalesLock+ WS call to secure the sufficient balance for utilization for the sale transaction. 
34
35
h3. Sales – Earned/Utilization of eRC/eAcct 
36
37
> Upon complete purchase process, online system trigger +eTrxProcess+ WS call to send in the sales (S) request on the earned/utilization of eRC or/and utilization of eAcct. 
38
39
> EarnedPoint and UtilizedPoint parameter is the eRC value (in +ve), while Amt is the eAcct value (in +ve, MYR).  
40
41
> ExpiryDate is refer to the earned eRC expiry date which is last day of the month of (orderDate + 3 years).    
42
43
> CurrencyRate is based on the response exchange rate via Check Balance call. This is required to send to WS system during sales request call, to keep track the rate to be used during that moment.
44
45
> WS system will unlock the eRC/eAcct account upon successfully process this sales request. 
46
47
h3. Unlock eRC/eAcct account
48
49
> There are 3 ways to unlock the account:
50
>> # Via request call to eTrxSalesLock – this trigger by client system to unlock.
51
>> # Via the eTrxProcess call – successfully process, WS system itself perform unlock action.
52
>> # Via WS backend daemon process to unlock it, if the account idle for 15 mins.  
53
54
h1. Return function
55
56
h3. Return – Earned/Utilization of eRC/eAcct 
57
58
> Upon complete return process, online system trigger +eTrxProcess+ WS call to send in the return ( R )request to offset the earned/utilization of eRC or/and utilization of eAcct. 
59
60
> Pass in –ve value for eRC EarnedPoint and UtilizedPoint parameter , and pass in –ve value (in MYR) for eAcct parameter , to offset previous value.
61
62
> For the return earnedPoint logic, WS system will use passed in OriginalOrderDate to look up on BonusMonth for deduction. If BonusMonth not found, will use FIFO method to deduct.
63
64
> For the return utilizedPoint logic, the point will return to pool with its expiry date based on the passed in expiry date parameter (which derive from last day of the month of (current date + 1 month)).
65
66
h1. Adjustment function (via control center) 
67
68
> online system trigger +eTrxProcess+ WS call to send in Adjustment (A) request:
69
70
h3. Upward adjustment of eRC/eAcct
71
72
> for eRC, will be +ve value for EarnedPoint parameter, and expiryDate based on user input.
73
74
> for eAcct, will be +ve value for Amt parameter. 
75
76
h3. Downward adjustment of eRC/eAcct 
77
78
> for eRC, will be +ve value for UtilizedPoint parameter, and expiryDate set as null.
79
80
> for eAcct, will be -ve value for Amt parameter. 
81
82
*Note:* eRC adjustment API also need to cater for eCosway membership, therefore memberType field is needed to indicate Cosway (C) or eCosway (E).
83
84
85
h1. eAcct Withdrawn Request 
86
87
> online system trigger +eTrxWithdraw+ WS call to inform WS system that member request to withdraw all his/her eAcct balance to pay out.
88
89
>  Inv No : REMITYYYYMMDD (Eg: REMIT20161202)
90
91
> Inv Date : Remit date (Eg: 20161202)
92
93
> Amount : 0 ( Web Service will bypass this value and take the eAcc balance instead )
94
95
h1. Cosway/eCosway Mall – eRC ePin creation/update
96
97
> online system trigger +IMemberPinProcess+ WS call for ePin creation or update.
98
99
> new added parameter: memberType to indicate C = Cosway; E = eCosway.