
Requirements Document for a Retail Business Management System
(Data and Constraints)
1. Introduction
The objectives of the Retail Business Management System (RBMS) are to allow
• clerks of the business to check product inventory and product sales discount information;
• authorized managers of the business to additionally check sales statistics, order products,
hire/fire employees, etc.
Note: This system is not meant to be a complete retail business management system. Much
simplification is made to make the system more manageable as a course project.
2. Information to be contained
The following information will be stored in RBMS.
1) Employee information
• For each employee, we keep the following information. (Suggested attribute names
are in parentheses): An employee id number (eid), a name (ename), an address
(address), a telephone number (telephone#), the date when the employee started to
work (start_date) and position (position).
• An employee can be either a manager or a clerk; that is, the position has only two
possible values, “clerk” and “manager”.
• For each clerk, we also keep a salary rate (hourly_rate) and the number of hours
worked in the current pay period (hours).
• For each manager, we keep the following additional information: the date when the
employee was promoted to a manager (prom_date) and an annual salary rate (salary).
Note that managers do not have hourly rate and hours.
• All employees are uniquely identified by eid.
• In addition, the following are assumed to be true: (a) clerks who start to work on the
same day have the same hourly rate; (b) managers who are promoted at the same
time have the same annual salary rate; (c) no clerk can work for more than 100 hours
per pay period (two weeks); and (d) different addresses have different telephone
numbers.
2) Product information
• Each product represents one type of items sold at the retail business. For each
product, we keep: a product id number (pid), a product name (pname), quantity on
hand (qoh), a threshold that will trigger a reminder to increase inventory if the
quantity on hand falls below the threshold (qoh_threshold), unit purchase price from
the supplier (original_price), a description about the product (description), the
current discount category (discnt_category), and the current discount rate
PAGE 1