Detailed Design Document
CPSC 451 Supplier Group #1

Department of Computer Science
University of Calgary
27 February 1997

Page maintainer: Terrence Asgar-Deen
terrence@cpsc.ucalgary.ca

  • Terrence Asgar-Deen
  • Patrick Chan
  • Thomas Hui
  • Carsten Jaeger
  • Matthew Johnson
  • Brian Low
  • Hoang Nguyen
  • Kevin Pattison
  • Csaba Suveges
  • Jeremy Tang
  • Leena Thakkar
  • Al-Amin Vira
  • Lin Zhang

  • Delete Order

     

    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.


    P-Spec

    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

    Data Elements (Data Dictionary)

    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.
    For example: 95822454

    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.