Lecture No.
18
CASE STUDY: Connie’s Convenience Store - A point of
Sale System
The System
Identify the purpose of the system
develop an overall purpose statement in 25 words or less. Why this system?
Why now?
Keep the overall goal, the critical success factor, always before you.
“To support, to help, to facilitate, ...”
Connie’s Wish List
scan items and automatically price them
know whether an item is on sale
automatically total the sale and calculate tax
handle purcahses and returns
handle payments with cash, check, or charge
authorize checks and cards
calculate change when working with cash or checks
record all of the information about a customer transaction
_____________________________________________________________________
© Copyright Virtual University of Pakistan
CS504-Software Engineering – I VU
balance the cash in the drawer with the amount recorded by the point-of-sale
system.
Why ?
speed up checkout time
reduce the number of pricing errors
reduce the labour required to ticket the item with a price, originally and when
prices change.
Summary
to help each cashier work more effectively during checkout, to keep good records
of each sale, and to store more efficient store operations.
Identify system features
Be certain to include features that cover the following
1. log important information
2. conduct business
3. analyze business results
4. interact with other systems
Identify features for logging important information
to maintain prices based upon UPC
to maintain tax categories (categories, rates, and effective dates)
to maintain the authorized cashiers
to maintain what items we sell in a store
to log the results of each sale in a store
Identify features for conducting business
to price each item, based upon its UPC
to subtotal, calculate tax, and total
to accept payment by cash, check, or charge
Identify features for analyzing business results
to count how many of each item sold
to count how much we received in cash, check, or credit card sales
to assess how each cashier is performing
to assess how each store is performing
Identify features for working with interacting systems
to obtain authorization from one or more credit (or check) authorization
system
_____________________________________________________________________
© Copyright Virtual University of Pakistan
CS504-Software Engineering – I VU
SELECTING OBJECTS
Select Actors
the actor is:
person
Select Participants
the Participants are:
cashier
head cashier
customer
Cashier and Head Cashier
Is there a difference between head cashier and cashier in terms of their behavior
and knowledge?. If no then we don not need a separate class for head cashier.
Customer
customer. You must have a way to know about customer objects; otherwise it
should not be put in the domain model.
Select Places
The places are:
store
shelf
Shelf
The system does not keep track of the shelves.
Select Transactions
Significant Transactions are:
sale
every sale is a collection of sale line items
return
payment
session
Select Container Classes
The store is a container class.
a store contains
cashiers
registers
items
Select Tangible Things
Tangible things in store:
_____________________________________________________________________
© Copyright Virtual University of Pakistan
CS504-Software Engineering – I VU
item
register
cash drawer
Tax Category (Descriptive things)
Session
Is it important? It is important in order to evaluate a cashier’s performance.