You are on page 1of 1

Easy Coupon Application requirements

Burger paints want you to make an application named “Easy Coupon” for them to make it convenient
for its sales managers to prepare lists against their paint coupons. A sales manager receives up to 500
coupons a day from different dealers and it is extremely difficult for them to prepare list against
coupons by writing coupon number of each coupon on pages category wise. The application will help
him by automatically arranging coupons in categories and make lists by scanning all the coupons using
barcode printed on the coupon. Complete requirements of the system are as follows:

A paint coupon is a card, upon which customer gets a cashback after purchasing paint. Customer
receives cashback from dealer(shopkeeper). The dealer handovers collected coupons to sales managers.
Sales mangers have to prepare list of coupons each day and parcel that list with coupons to company’s
head office. A coupon is either of a bucket or drum, represented on coupon by ‘B’ or ‘D’ respectively. A
drum coupon is of more worth then bucket. The coupon is against a range of products, and category of
product is written on the coupon. Possible categories of products against which the coupon might be are
wall putty, wall primer, waterbased primer, synthetic enamel, weathercoat and NU emulsion. Each
coupon has a 6-digit unique coupon number and coupon price written on the coupon. The rule is that all
the coupons of a certain product (like wall putty) and certain size(bucket or drum) will have same price.
The last thing a coupon have on it is a barcode, which comprises of the string stored in it representing
coupon information as key value pair like {coupon_number=”123456”, product=”wall putty”, size=”D”,
price=”400”}.

The easycoupon application will let sales manager to create a list of coupons. To do so, sales manager
will first give the name of the list, and list will be initially empty. Then he will use barcode scanner to
scan the coupons one by one. The list will update itself by adding each coupon in respective category. As
a new coupon is added into or removed from a category, the total amount against that category as well
as the grand total (which is sum of amounts against coupons of each category) will be updated. The
system must allow user to view coupons list in both categorized and uncategorized form. It must also
support to sort coupons according to coupon number or in same order in which he has scanned the
coupons. The total coupons in a category and in whole list must also be visible to him. If there is no
coupon in a category, that category must not appear in list. After the sales manager has finished
scanning all the coupons, he will signal that list is complete now and the list will be saved (but will
remain opened). He can print, edit or delete the list at any time after its creation. The system must
additionally perform the following functionalities:

 Search a list by name/creation date/last updated date


 Search a coupon from all lists by coupon number
 Search a coupon from a specific list
 Delete a list
 Split a list into two lists
 Merge two lists

You might also like