.. _label-uc-contract-manage: Manage Contract Data *********************************************************************** Short Description ----------------------------------------------------------------------- A contract is modified by an officer. Actor(s) ----------------------------------------------------------------------- Officer Trigger(s) ----------------------------------------------------------------------- - Imports (modifying existing data) - Web form(s) submitted by authorized user Result(s) ----------------------------------------------------------------------- - Contract data of the given contract is modified. - Any optional supplementary contract can be booked for the new contract. Incoming Data ----------------------------------------------------------------------- - Contract ID, names and values of parameters to change Outgoing Data ----------------------------------------------------------------------- - Message about contract modification - (optional) Regarding customer is informed by email or SMS. - Log message Precondition(s) ----------------------------------------------------------------------- - Contract ID must exist. - Submitting user must be authorized to perform the operation. Postcondition(s) ----------------------------------------------------------------------- - The contractual parameters were checked for validity. Invariant(s) ----------------------------------------------------------------------- Essential Steps ----------------------------------------------------------------------- - System receives contract ID and any optional parameters specifying the data to change in the contract. - Data is validated. - If passed-in parameters are invalid, user is offered a possibility to fix the invalid data. - System updates the given contract. Open Issues ----------------------------------------------------------------------- Remarks ----------------------------------------------------------------------- .. raw:: latex \