1 | .. _label-uc-contract-remove: |
---|
2 | |
---|
3 | Use-Case: Remove a Contract |
---|
4 | *********************************************************************** |
---|
5 | |
---|
6 | Short Description |
---|
7 | ----------------------------------------------------------------------- |
---|
8 | |
---|
9 | A contract is removed from system. |
---|
10 | |
---|
11 | Actor(s) |
---|
12 | ----------------------------------------------------------------------- |
---|
13 | |
---|
14 | Officer |
---|
15 | |
---|
16 | |
---|
17 | Trigger(s) |
---|
18 | ----------------------------------------------------------------------- |
---|
19 | |
---|
20 | - Imports (removing existing data) |
---|
21 | - Web form(s) submitted by authorized user |
---|
22 | |
---|
23 | |
---|
24 | Result(s) |
---|
25 | ----------------------------------------------------------------------- |
---|
26 | |
---|
27 | - Contract data of the given contract and all connected data (contract |
---|
28 | add-ons, etc.) was removed from the system. |
---|
29 | - All removed data is archived. |
---|
30 | |
---|
31 | |
---|
32 | Incoming Data |
---|
33 | ----------------------------------------------------------------------- |
---|
34 | |
---|
35 | - Contract ID |
---|
36 | |
---|
37 | Outgoing Data |
---|
38 | ----------------------------------------------------------------------- |
---|
39 | |
---|
40 | - Message about contract removal |
---|
41 | - (optional) Regarding customer is informed by email or SMS. |
---|
42 | - Log message |
---|
43 | - Archive entry |
---|
44 | |
---|
45 | |
---|
46 | Precondition(s) |
---|
47 | ----------------------------------------------------------------------- |
---|
48 | |
---|
49 | - Contract ID must exist. |
---|
50 | - Submitting user must be authorized to perform the operation. |
---|
51 | |
---|
52 | |
---|
53 | Postcondition(s) |
---|
54 | ----------------------------------------------------------------------- |
---|
55 | |
---|
56 | |
---|
57 | Invariant(s) |
---|
58 | ----------------------------------------------------------------------- |
---|
59 | |
---|
60 | |
---|
61 | Essential Steps |
---|
62 | ----------------------------------------------------------------------- |
---|
63 | |
---|
64 | - System validates contract ID. |
---|
65 | - Removed data is archived. |
---|
66 | - System removes the given contract and connected items (transactions, |
---|
67 | contract-add-ons, etc.). |
---|
68 | - (optional) System informs regarding customer (email and/or SMS). |
---|
69 | |
---|
70 | |
---|
71 | Open Issues |
---|
72 | ----------------------------------------------------------------------- |
---|
73 | |
---|
74 | |
---|
75 | |
---|
76 | Remarks |
---|
77 | ----------------------------------------------------------------------- |
---|
78 | |
---|
79 | An ended contract is not the same as a removed contract. |
---|
80 | |
---|
81 | |
---|
82 | .. raw:: latex |
---|
83 | |
---|
84 | \pagebreak[4] |
---|