Project

General

Profile

Wiki » History » Version 1

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

1 1 Soh Keong
{{toc}}
2
3
h1. Wiki
4
5
h2. Specification
6
7
See [[Batch]]
8
See [[WebService]]
9
10
h2. Description
11
12
<pre>
13
RP 2023 - expiry on 31 Dec 2024
14
RP Jan - Jun 2024 - expiry on 31 Dec 2025 (period 1.5 years)
15
RP Jul - Dec 2024 - expiry on 30 Jun 2026 (period 1.5 years)
16
RP Jan - Jun 2025 - expiry on 31 Dec 2026 (period 1.5 years)
17
18
19
20
21
============================================================
22
    In the backend, we need to prepare 3 separate pieces of code for these changes because each condition is different:
23
        Starting from 1st Nov 2023, the current balance should be updated to December 31, 2024.
24
25
    On 4 Jan 2024, the balance for 2023 should be adjusted by subtracting the earnings and utilization for January 2024.
26
        The reason for updating only on January 4, 2024, is that POS sales data is imported daily, and in case of any late imports, we need to deduct the utilization and account for returns related to December 2023 sales that were imported in January 2024.
27
28
    The program will run by transaction for six months:
29
        RP from January to June 2024 will expire on December 31, 2025 (a period of 1.5 years).
30
        RP from July to December 2024 will expire on June 30, 2026 (a period of 1.5 years).
31
        RP from January to June 2025 will expire on December 31, 2026 (a period of 1.5 years).
32
</pre>
33
34
h2. SCM
35
36
h3. Batch
37
38
<pre>
39
Host: svn+ssh://192.168.2.66/svn/ecosway-batch
40
Path: /ecosway-batch/src-ecos
41
Class: ECpurgeRP , GenHKRPDaily
42
Tag: HEAD
43
</pre>
44
45
h3. Web Service
46
47
<pre>
48
Host: svn+ssh://192.168.2.66/svn/OnlineControllerDaoService
49
Path: /OnlineControllerDaoService
50
Tag: HEAD
51
</pre>