Process Order Use Case Document

  • May 2020
  • PDF

This document was uploaded by user and they confirmed that they have the permission to share it. If you are author or own the copyright of this book, please report to us by using this DMCA report form. Report DMCA


Overview

Download & View Process Order Use Case Document as PDF for free.

More details

  • Words: 1,083
  • Pages: 5
Store System - Use Case Document Process Order Version 1.0

Description First draft

Changed By Richard Ashwell

Date 23/3/06

Brief Description:

A sales assistant processes a customer order. The customer pays for the order by cash or credit card. An invoice and a picking list or delivery note are produced.

Business Trigger:

A customer asks to purchase some goods

Preconditions:

The system is displaying the main menu

Basic Flow: Line

System Actor Action

System Response

1

The sales assistant asks the system to process a new order

The system asks the sales assistant for identification

2

The sales assistant identifies themselves to the system

The system displays a blank order screen with a blank order line to the sales assistant

3

The sales assistant enters the product number into the system (AF4)

The system displays the description, unit price and available stock to the sales assistant

4

The sales assistant enters the required quantity into the system (AF3)

The system displays the total price for the order line and order to the sales assistant

5

The system adds a blank order line to the order

6

Steps 3 to 5 may be repeated for a total of 10 order lines or to edit existing order lines

7

The sales assistant confirms completion of the order to the system (AF7)

The system asks the sales assistant for payment

8

The sales assistant enters the credit card details into the system

The system sends the credit card details and the total order value to the card handling system

9

The card handling system returns the card authorisation to the system (AF5)

The system asks the customer for a PIN Number

10

The customer enters the PIN number into the system

The system sends the card transaction to the card handling system

11

The card handling system confirms receipt of the card transaction

The system records the order together with the payment details

12

The system decrements the stock

13 14

The system prints a receipt to the sales assistant If there are items for immediate collection from the warehouse or for immediate delivery, then:

15 Post Condition:

© CRaG Systems 2006

The system prints a picking list for collection items and a delivery note for delivery items to the warehouse person The system displays the main menu to the sales assistant

The system is displaying the main menu

Page 1 of 5

Printed: 23/04/2003 15:03

Store System - Use Case Document Process Order Alternate Flow (AF1): Handle Invalid Sales Assistant Alternate Flow (AF2): Handle Invalid Product Number Alternate Flow (AF3): Make Backorder If at line 4 in the basic flow the quantity required is greater than the quantity available from stock, then: Line

System Actor Action

System Response

1

The system finds the regional warehouse nearest to the store that has sufficient stock to cover the difference and displays an additional order line as a backorder with the required quantity set to the difference between the original required and available quantities and the available stock set to that available in the regional warehouse

2

The system sets the required quantity of the original order line to the quantity available from stock in the store.

The use case restarts at line 5 of the basic flow Alternate Flow (AF4): Delete an Order Line If between lines 3 and 6 of the basic flow, the sales assistant re-enters a required quantity on an order line, then: Line

System Actor Action

System Response

1

The system deletes the currently selected order line

The use case restarts at line 6 of the basic flow Alternate Flow (AF5): Handle Credit Card Failure If at line 9 of the basic flow, the card is found to be invalid, then: Line

System Actor Action

System Response

1

The system displays the message ‘Invalid Card’ to the sales assistant

The use case restarts at line 8 of the basic flow Alternate Flow (AF6): Handle PIN Failure Alternate Flow (AF7): Address Required If at line 7 of the basic flow, an address is required, then: Line

System Actor Action

System Response

1

The sales assistant confirms completion of the order to the system

The system asks the sales assistant for the customer’s name.

2

The sales assistant enters the customer’s

The system displays the customer’s name to the

© CRaG Systems 2006

Page 2 of 5

Printed: 23/04/2003 15:03

Store System - Use Case Document Process Order name into the system

sales assistant

3

The sales assistant enters the customers postcode into the system

The system displays the partially completed address including a list of possible first lines to the sales assistant.

4

The sales assistant chooses the first line of the address that contains the customers house number from the list of first lines displayed

The system displays the completed address to the sales assistant

5

The system asks the sales assistant for payment

The use case restarts at line 8 of the basic flow Alternate Flow (AF8): Accept Cash Alternate Flow (AF9): Cancel Order Processing Alternate Flow (AF10): Add Charge for Delivered Items Alternate Flow (AF11): Handle No Order Line on Order Alternate Flow (AF12): Edit Order Line Alternate Flow (AF13): Select Item For Delivery Business Rules: 1 2

Backordered items must be displayed in red. The system must show any changes that occur to available stock whilst the order is being created

Non Functional Requirements: 1

The use case must complete in the fewest possible number of keystrokes - usability

Data Issues: 1

It must be possible to enter the product number either using a barcode scanner or via the keyboard

© CRaG Systems 2006

Page 3 of 5

Printed: 23/04/2003 15:03

Store System - Use Case Document Process Order Activity Diagram:

Display Order Screen

Identify Sales Assistant [identity re-entered]

[valid sales assistant]

Enter Product Number

Display Error Message

[cancel selected] [product number entered] [invalid product number]

[valid product number]

[more products required]

Display Product Details

[line abort selected] [choose stock purchase]

[cancel selected]

Enter Required Quantity [insufficent stock]

Add Backorder Line

[cancel selected] [cancel selected] [order complete and address required] Destroy Screen and Return to Main Menu

[order complete and no address required]

Enter Customer Details

[cancel selected]

[card details entered] [cash paid selected]

Authorize Payment

[payment refused]

Execute Order

[PIN failed] [payment authorised] [PIN validated] Validate PIN

© CRaG Systems 2006

Page 4 of 5

Printed: 23/04/2003 15:03

Store System - Use Case Document Process Order Prototype Screen:

© CRaG Systems 2006

Page 5 of 5

Printed: 23/04/2003 15:03

Related Documents

Use Case
May 2020 11
Use Case
November 2019 37
Use Case
May 2020 15
Change Order Process
October 2019 49