summaryrefslogtreecommitdiffstats
path: root/ADD/chapter6.tex
blob: 8d1a50797b4f12d583893603a19fd39e612a73eb (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
443
444
445
446
447
448
449
450
451
452
453
454
455
456
457
458
459
460
461
462
463
464
465
466
467
468
469
470
471
472
473
474
475
476
477
478
479
480
481
482
483
484
485
486
487
488
489
490
\chapter{User Scenarios}
This chapter will illustrate all the use cases derived from the requirements.
Each requirement is modeled in the use case diagram as a single use case.
The use case diagram is shown below.
\textit{TODO add figure of use case diagram}

In the following sections, a sequence diagram is modeled and described for each
individual use case.
\section*{Add a new claim}
An employee can add a claim to the claim list of a policy, first the claim has to be created.
\begin{figure}
    \begin{center}
        \epsfxsize=10cm
        \begin{turn}{270}
            \epsffile{Images/Addclaim.eps}
      \end{turn}
    \end{center}
\end{figure}


\section*{Add a new client}
An employee can add a new client to the system.
\begin{figure}
    \begin{center}
        \epsfxsize=10cm
        \begin{turn}{270}
            \epsffile{Images/Addclient.eps}
        \end{turn}
    \end{center}
\end{figure}


\section*{Add a new cross sell opportunity}
First the employee is checked to see if he/she has the right authorization level  (of the Business department).
If he has the appropriate level, he can add an up sell opportunity to the up sell
opportunities list. After it is added, the system will check if their are any insurances
which apply to the opportunity.
\begin{figure}
    \begin{center}
        \epsfxsize=10cm
        \begin{turn}{270}
            \epsffile{Images/Addcrosssellopportunity.eps}
        \end{turn}
    \end{center}
\end{figure}

\section*{Add an new individual insurance}
First the employee is checked to see if he/she has the right authorization level ( of the Business department).
If he has the appropriate level, he can create a new insurance.
\begin{figure}
    \begin{center}
        \epsfxsize=10cm
        \begin{turn}{270}
            \epsffile{Images/Addindividualinsurance.eps}
        \end{turn}
    \end{center}
\end{figure}

\section*{Add an new insurance package}
First the employee is checked to see if he/she has the right authorization level ( of the Business department).
If he has the appropriate level, he can create a new insurance package and add single insurances.
\begin{figure}
    \begin{center}
        \epsfxsize=10cm
        \begin{turn}{270}
            \epsffile{Images/Addinsurancepackage.eps}
        \end{turn}
    \end{center}
\end{figure}

\section*{Add a new payment}
An employee can add a new payment to the a client-policy pair.
\begin{figure}
    \begin{center}
        \epsfxsize=10cm
        \begin{turn}{270}
            \epsffile{Images/Addpayment.eps}
        \end{turn}
    \end{center}
\end{figure}

\section*{Add a new proposal}
First the employee is checked to see if he/she has the right authorization level ( of the Business department).
If he has the appropriate level, he can create a new insurance proposal. After the proposal has been created,
the system will check if there are any cross or up sell opportunities that apply to the insurance used in the
proposal. After the two checks, the risks which the proposal insures are created and added to the risk list
of the proposal.
\begin{figure}
    \begin{center}
        \epsfxsize=10cm
        \begin{turn}{270}
            \epsffile{Images/Addproposal.eps}
        \end{turn}
    \end{center}
\end{figure}

\section*{Add a new representative}
An employee can add a representative to a clients list of representatives. Before the representative can
be added to list, it has to be created.
\begin{figure}
    \begin{center}
        \epsfxsize=10cm
        \begin{turn}{270}
            \epsffile{Images/Addrepresentative.eps}
        \end{turn}
    \end{center}
\end{figure}

\section*{Add a new risk}
Before a risk can be added to the risks list of a insurance proposal, it has to be created.
\begin{figure}
    \begin{center}
        \epsfxsize=10cm
        \begin{turn}{270}
            \epsffile{Images/Addrisk.eps}
        \end{turn}
    \end{center}
\end{figure}

\section*{Add a new type of client}
First the employee is checked to see if he/she has the right authorization level.
If he has the appropriate level, he can create a new client type.
\begin{figure}
    \begin{center}
        \epsfxsize=10cm
        \begin{turn}{270}
            \epsffile{Images/Addtypeofclient.eps}
        \end{turn}
    \end{center}
\end{figure}

\section*{Add a new up sell opportunity}
First the employee is checked to see if he/she has the right authorization level  (of the Business department).
If he has the appropriate level, he can add an up sell opportunity to the up sell
opportunities list. After it is added, the system will check if their are any insurances
which apply to the opportunity.
\begin{figure}
    \begin{center}
        \epsfxsize=10cm
        \begin{turn}{270}
            \epsffile{Images/Addupsellopportunity.eps}
        \end{turn}
    \end{center}
\end{figure}

\section*{Do basic calculations via website}
If a user is logged in at the website he can create an insurance proposal. If the proposal is created
and the risks (1..N) are specified, it is used to calculate a premium amount. After the premium amount
has been calculated, the proposal and the risks (1..N) will be deleted again.
\begin{figure}
    \begin{center}
        \epsfxsize=10cm
        \begin{turn}{270}
            \epsffile{Images/Basiccalculationsviawebsite.eps}
        \end{turn}
    \end{center}
\end{figure}

\section*{Convert a proposal into a policy}
First the employee is checked to see if he/she has the right authorization level.
If he has the appropriate level, he can convert the proposal into a policy. A new policy
is created and a payment info will be created and will be attached to it.
\begin{figure}
    \begin{center}
        \epsfxsize=10cm
        \begin{turn}{270}
            \epsffile{Images/Convertproposal.eps}
        \end{turn}
    \end{center}
\end{figure}

\section*{Delete a payment}
First the employee is checked to see if he/she has the right authorization level.
If he has the appropriate level, he can delete a payment.
\begin{figure}
    \begin{center}
        \epsfxsize=10cm
        \begin{turn}{270}
            \epsffile{Images/Deletepayment.eps}
        \end{turn}
    \end{center}
\end{figure}

\section*{Delete a policy}
First the employee is checked to see if he/she has the right authorization level.
Then the policy, the payment info ,the payment (1..N) attached to it and
the claims (1..M) attached to it will be deleted.
The proposal attached to it will not be deleted, because it can be reused.
\begin{figure}
    \begin{center}
        \epsfxsize=10cm
        \begin{turn}{270}
            \epsffile{Images/Deletepolicy.eps}
        \end{turn}
    \end{center}
\end{figure}

\section*{Delete a proposal}
First the employee is checked to see if he/she has the right authorization level.
Then the proposal and the risks (1..N) attached to it will be deleted. Because of the deleted
proposal, the attached policy will also be deleted if there exists one. The Payment info, claims (1..K)
and the payments (1..M) attached to the policy will be deleted last.
\begin{figure}
    \begin{center}
        \epsfxsize=10cm
        \begin{turn}{270}
            \epsffile{Images/Deleteproposal.eps}
        \end{turn}
    \end{center}
\end{figure}

\section*{Edit a claim}
An employee can edit an existing claim.
\begin{figure}
    \begin{center}
        \epsfxsize=10cm
        \begin{turn}{270}
            \epsffile{Images/Editclaim.eps}
        \end{turn}
    \end{center}
\end{figure}

\section*{Edit a client}
An employee can edit an existing client.
\begin{figure}
    \begin{center}
        \epsfxsize=10cm
        \begin{turn}{270}
            \epsffile{Images/EditClient.eps}
        \end{turn}
    \end{center}
\end{figure}

\section*{Edit an individual insurance}
First the employee is checked to see if he/she has the right authorization level.
If he has the appropriate level, he can edit a single insurance.
\begin{figure}
    \begin{center}
        \epsfxsize=10cm
        \begin{turn}{270}
            \epsffile{Images/Editindividualinsurance.eps}
        \end{turn}
    \end{center}
\end{figure}

\section*{Edit an insurance package}
First the employee is checked to see if he/she has the right authorization level.
If he has the appropriate level, he can edit an insurance package.
\begin{figure}
    \begin{center}
        \epsfxsize=10cm
        \begin{turn}{270}
            \epsffile{Images/Editinsurancepackage.eps}
        \end{turn}
    \end{center}
\end{figure}

\section*{Edit a payment}
An employee can edit an existing payment.
\begin{figure}
    \begin{center}
        \epsfxsize=10cm
        \begin{turn}{270}
            \epsffile{Images/Editpayment.eps}
        \end{turn}
    \end{center}
\end{figure}

\section*{Edit a policy}
An employee can edit an existing policy.
\begin{figure}
    \begin{center}
        \epsfxsize=10cm
        \begin{turn}{270}
            \epsffile{Images/Editpolicy.eps}
        \end{turn}
    \end{center}
\end{figure}

\section*{Edit risk}
An employee can edit an existing risk.
\begin{figure}
    \begin{center}
        \epsfxsize=10cm
        \begin{turn}{270}
            \epsffile{Images/Editrisk.eps}
        \end{turn}
    \end{center}
\end{figure}

\section*{Edit a type of client}
First the employee is checked to see if he/she has the right authorization level.
If he has the appropriate level, he can edit a client type.
\begin{figure}
    \begin{center}
        \epsfxsize=10cm
        \begin{turn}{270}
            \epsffile{Images/Edittypeofclient.eps}
        \end{turn}
    \end{center}
\end{figure}

\section*{Employee management}
First the employee is checked to see if he/she has the right authorization level  (of the Business department).
If he has the appropriate level, he can search, add or remove a salary record from the list of salary records. If a salary record is added
to the list, it first has to be created. When removing a salary record from the list, it will be deleted.
\begin{figure}
    \begin{center}
        \epsfxsize=10cm
        \begin{turn}{270}
            \epsffile{Images/Employeemanagement.eps}
        \end{turn}
    \end{center}
\end{figure}

\section*{Generate government report}
A report can be generated which contains all details of an insurance policy.
\begin{figure}
    \begin{center}
        \epsfxsize=10cm
        \begin{turn}{270}
            \epsffile{Images/Generatereport.eps}
        \end{turn}
    \end{center}
\end{figure}

\section*{Do internal career tracking}
First the employee is checked to see if he/she has the right authorization level  (of the Business department).
If he has the appropriate level, he can search, add or remove a career step from the list of career steps. If a career step is added
to the list, it first has to be created. When removing a career step from the list, it will be deleted.
\begin{figure}
    \begin{center}
        \epsfxsize=10cm
        \begin{turn}{270}
            \epsffile{Images/Internalcareertracking.eps}
        \end{turn}
    \end{center}
\end{figure}

\section*{Manage a time sheet}
When a employee wants to manage his timesheets,
he can add, search and remove timesheets. Before he adds a timesheet to his timesheet list, he must first create it. If he removes a timesheet from his timesheet list, the timesheet will be deleted.
\begin{figure}
    \begin{center}
        \epsfxsize=10cm
        \begin{turn}{270}
            \epsffile{Images/ManageTimesheet.eps}
        \end{turn}
    \end{center}
\end{figure}

\section*{Query a client}
An employee can query a client.
\begin{figure}
    \begin{center}
        \epsfxsize=10cm
        \begin{turn}{270}
            \epsffile{Images/Queryclient.eps}
        \end{turn}
    \end{center}
\end{figure}

\section*{Query an insurance package}
First the employee is checked to see if he/she has the right authorization level (of the Business department).
If he has the appropriate level, he can query the insurance package.
\begin{figure}
    \begin{center}
        \epsfxsize=10cm
        \begin{turn}{270}
            \epsffile{Images/Queryinsurancepackage.eps}
        \end{turn}
    \end{center}
\end{figure}

\section*{Query a payment}
An employee can query a payment.
\begin{figure}
    \begin{center}
        \epsfxsize=10cm
        \begin{turn}{270}
            \epsffile{Images/Querypayment.eps}
        \end{turn}
    \end{center}
\end{figure}

\section*{Query a policy}
An employee can query a policy.
\begin{figure}
    \begin{center}
        \epsfxsize=10cm
        \begin{turn}{270}
            \epsffile{Images/Querypolicy.eps}
        \end{turn}
    \end{center}
\end{figure}

\section*{Query a proposal}
An employee can query a proposal.
\begin{figure}
    \begin{center}
        \epsfxsize=10cm
        \begin{turn}{270}
            \epsffile{Images/QueryProposal.eps}
        \end{turn}
    \end{center}
\end{figure}

\section*{Query a risk}
An employee can query a risk.
\begin{figure}
    \begin{center}
        \epsfxsize=10cm
        \begin{turn}{270}
            \epsffile{Images/Queryrisk.eps}
        \end{turn}
    \end{center}
\end{figure}

\section*{Remove a claim}
An employee can remove a claim from a insurance policy list of claims. If the claim is
removed from the list, it will be deleted.
\begin{figure}
    \begin{center}
        \epsfxsize=10cm
        \begin{turn}{270}
            \epsffile{Images/Removeclaim.eps}
        \end{turn}
    \end{center}
\end{figure}

\section*{Remove a cross sell opportunity}
First the employee is checked to see if he/she has the right authorization level ( of the Business department).
If he/she has the appropriate level, he can remove an cross sell opportunity from the list.
\begin{figure}
    \begin{center}
        \epsfxsize=10cm
        \begin{turn}{270}
            \epsffile{Images/Removecrosssellopportunity.eps}
        \end{turn}
    \end{center}
\end{figure}

\section*{Remove a representative}
An employee can remove a representative from a clients list of representatives. If the representative is
removed from the list, it will be deleted.
\begin{figure}
    \begin{center}
        \epsfxsize=10cm
        \begin{turn}{270}
            \epsffile{Images/Removerepresentative.eps}
        \end{turn}
    \end{center}
\end{figure}

\section*{Remove a risk}
An employee can remove a risk from a insurance proposal list of risk. If the risk is
removed from the list, it will be deleted.
\begin{figure}
    \begin{center}
        \epsfxsize=10cm
        \begin{turn}{270}
            \epsffile{Images/Removerisk.eps}
        \end{turn}
    \end{center}
\end{figure}

\section*{Remove an up sell opportunity}
First the employee is checked to see if he/she has the right authorization level ( of the Business department).
If he/she has the appropriate level, he can remove an up sell opportunity from the list.
\begin{figure}
    \begin{center}
        \epsfxsize=10cm
        \begin{turn}{270}
            \epsffile{Images/Removeupsellopportunity.eps}
        \end{turn}
    \end{center}
\end{figure}

\section*{Search caller details}
the system will show the caller details, if the caller is known to the system. A caller is known if he/she is
stored as a client.
\begin{figure}
    \begin{center}
        \epsfxsize=10cm
        \begin{turn}{270}
            \epsffile{Images/Searchcallerdetails.eps}
        \end{turn}
    \end{center}
\end{figure}