source: main/eko-disco-specs/trunk/use-cases/contract-remove.rst @ 11096

Last change on this file since 11096 was 10781, checked in by Henrik Bettermann, 11 years ago

Shorten use case titles.

Link data entities to use cases only if necessary/interesting.

File size: 2.2 KB
Line 
1.. _label-uc-contract-remove:
2
3Remove a Contract
4***********************************************************************
5
6Short Description
7-----------------------------------------------------------------------
8
9A contract is removed from system.
10
11Actor(s)
12-----------------------------------------------------------------------
13
14Officer, Customer
15
16
17Trigger(s)
18-----------------------------------------------------------------------
19
20- Imports (removing existing data)
21- Web form(s) submitted by authorized user
22
23
24Result(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
32Incoming Data
33-----------------------------------------------------------------------
34
35- Contract ID
36
37Outgoing 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
46Precondition(s)
47-----------------------------------------------------------------------
48
49- Contract ID must exist.
50- Submitting user must be authorized to perform the operation.
51- Customers can only remove the contract if it has not yet been
52  concluded and no transactions have been made.
53  If customers accidentally added a contract they can
54  subesequently remove it to correct their mistake.
55
56
57Postcondition(s)
58-----------------------------------------------------------------------
59
60
61Invariant(s)
62-----------------------------------------------------------------------
63
64
65Essential Steps
66-----------------------------------------------------------------------
67
68- System validates contract ID.
69- Removed data is archived.
70- System removes the given contract and connected items (transactions,
71  supplementary contracts, etc.).
72- (optional) System informs regarding customer (email and/or SMS).
73
74
75Open Issues
76-----------------------------------------------------------------------
77
78
79
80Remarks
81-----------------------------------------------------------------------
82
83An ended contract is not the same as a removed contract.
84
85
86.. raw:: latex
87
88      \
Note: See TracBrowser for help on using the repository browser.