.. _label-uc-customer-remove:

Remove Customer
***********************************************************************

Short Description
-----------------------------------------------------------------------

A customer with all connected data is removed from the system.

Actor(s)
-----------------------------------------------------------------------

Officer


Trigger(s)
-----------------------------------------------------------------------

- Imports (deleting existing data)
- Web form(s) submitted by authorized user


Result(s)
-----------------------------------------------------------------------

- A customer and all connected data was removed and archived.


Incoming Data
-----------------------------------------------------------------------

- Customer ID

Outgoing Data
-----------------------------------------------------------------------

- Message about successful/failed changes
- Archive entry of data removed from system with extra info
  (when/who)
- Log message


Precondition(s)
-----------------------------------------------------------------------

- Submitting user is authorized to do the requested modifications.


Postcondition(s)
-----------------------------------------------------------------------

Any entered data is valid.


Invariant(s)
-----------------------------------------------------------------------


Essential Steps
-----------------------------------------------------------------------

- Sending user authorization is checked.
- System receives infos about
  - what data fields of which user should be set to which values
  - submitting user
- Data is modified in system.
- User gets informed about operation success/fail.
- If operation fails, possibility to change input data is offered.


Open Issues
-----------------------------------------------------------------------



Remarks
-----------------------------------------------------------------------


.. raw:: latex

      \
