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

  • List Orders

     

    Listing orders is described in the above diagram. The user selects a specific criterion from a list of available criteria and passes this to the system. Orders corresponding to this criterion are then retrieved from the Order datastore and returned to the user.

    Reports may be generated based on the aforementioned criteria. This simplification of the system allows for generated reports that correspond directly to the information that the user wishes to view. For example, when the user selects the criterion that lists orders "By Purchase Order Number", a report can be generated directly from the information that is returned to the user simply using the print features of the system.

    The returned status corresponds to the success of the operation. If orders are successfully retrieved from the datastore, the status returns Successful. If orders corresponding to the selected criterion do not exist, the corresponding error message is returned.


    P-Spec

    Process ID 1.C.5
    Process Name List Orders
    Inputs order criteria
    Outputs orders
    Permissible User Administrator, Salesperson
    Assumptions All information entered is syntactically correct.
    Error Conditions Successful

    Data Elements (Data Dictionary)

    Name order criteria
    Kind Data movement in DFD
    Type Integer
    Description This data element corresponds to an integer that is used to specify the type of information that is to be displayed. For example, criteria 2 may display only a particular customer's orders.

    Name orders
    Kind Data movement in DFD
    Type Instance of an Entity
    Description This data element corresponds to one or more complete instances of the Entity Order.

    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.