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

Last change on this file since 10750 was 10749, checked in by uli, 11 years ago

Some use-cases, etc.

File size: 2.3 KB
Line 
1.. _label-uc-contract-remove:
2
3Use-Case: Remove a Contract
4***********************************************************************
5
6.. Description of a use case
7.. The description must be formulated as seen from system (not: actors)
8.. Describes those changes an (outside) actor can notice
9.. Short and abstract as possible, as long as necessary.
10.. Each use case must have at least one actor involved
11.. Each use case must have a trigger and a result
12
13
14Short Description
15-----------------------------------------------------------------------
16
17A contract is removed from system.
18
19Actor(s)
20-----------------------------------------------------------------------
21
22Staff
23
24
25Trigger(s)
26-----------------------------------------------------------------------
27
28- Imports (removing existing data)
29- Web form(s) submitted by authorized user.
30
31
32Result(s)
33-----------------------------------------------------------------------
34
35- Contract data of the given contract and all connected data (contract
36  add-ons, etc.) was removed from the system.
37- All removed data is archived.
38
39
40Incoming Data
41-----------------------------------------------------------------------
42
43- Contract ID
44
45Outgoing Data
46-----------------------------------------------------------------------
47
48- Message about contract removal.
49- (optional) regarding customer is informed by email or SMS.
50- Log message
51- Archive entry.
52
53
54Precondition(s)
55-----------------------------------------------------------------------
56
57- Contract ID must exist.
58- Submitting user must be authorized to perform the operation.
59
60
61Postcondition(s)
62-----------------------------------------------------------------------
63
64
65Invariant(s)
66-----------------------------------------------------------------------
67
68
69Essential Steps
70-----------------------------------------------------------------------
71
72- System validates contract ID.
73- Removed data is archived.
74- System removes the given contract and connected items (transactions,
75  contract-add-ons, etc.).
76- (optional) System informs regarding customer (email and/or SMS)
77
78
79Open Issues
80-----------------------------------------------------------------------
81
82
83
84Remarks
85-----------------------------------------------------------------------
86
87An ended contract is not the same as a removed contract.
88
89
90.. raw:: latex
91
92      \pagebreak[4]
Note: See TracBrowser for help on using the repository browser.