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

Last change on this file since 14310 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
RevLine 
[10749]1.. _label-uc-contract-remove:
2
[10781]3Remove a Contract
[10749]4***********************************************************************
5
6Short Description
7-----------------------------------------------------------------------
8
9A contract is removed from system.
10
11Actor(s)
12-----------------------------------------------------------------------
13
[10780]14Officer, Customer
[10749]15
16
17Trigger(s)
18-----------------------------------------------------------------------
19
20- Imports (removing existing data)
[10753]21- Web form(s) submitted by authorized user
[10749]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
[10753]40- Message about contract removal
41- (optional) Regarding customer is informed by email or SMS.
[10749]42- Log message
[10753]43- Archive entry
[10749]44
45
46Precondition(s)
47-----------------------------------------------------------------------
48
49- Contract ID must exist.
50- Submitting user must be authorized to perform the operation.
[10780]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.
[10749]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,
[10780]71  supplementary contracts, etc.).
[10753]72- (optional) System informs regarding customer (email and/or SMS).
[10749]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
[10780]88      \
Note: See TracBrowser for help on using the repository browser.