Detailed
Design Document Department of Computer
Science Page maintainer: Terrence
Asgar-Deen |
Deleting an order is described in the above diagram. The user passes the purchase order number to the system. The system searches for the order corresponding to this purchase order number and flags it as inactive (deleted).
The returned status corresponds to the success of the operation. If the order is successfully flagged as deleted in the Order datastore, the status returns Successful.
Process ID | 1.C.4 |
---|---|
Process Name | Delete Order |
Inputs | purchase order number |
Outputs | None |
Permissible User | Administrator, Salesperson |
Assumptions | All information entered is syntactically correct. |
Error Conditions | The Purchase order number entered does
not exist. Successful |
Name | order |
---|---|
Kind | Data movement in DFD |
Type | Instance of an Entity |
Description | This data element corresponds to a complete instance of the Entity Order. |
Name | purchase order number |
---|---|
Kind | Primary Key |
Type | Integer |
Description | The primary key attribute of entity Order. The maximum length is 8 digits. The format is the type integer. This number corresponds to a unique number which describes one purchase order made by a customer. |
Name | status |
---|---|
Kind | Data movement in DFD |
Type | Return Message |
Description | This data element corresponds to an error message being returned from an operation. An error message may be both successful and unsuccessful. Unsuccessful error messages are further subcategorized into different errors based on the possible errors that can occur in an operation. |