States the purpose and scope of this document and gives an overview of the product.
This document defines the requirements on an inventory management system for a small bookstore (hereafter “the system”). Its readers are the owner of the bookstore who commissions the system, the developers who design and implement it, and those in charge of acceptance testing.
The system covers the book stock of a single store. It maintains the stock quantities through the delivery, sales and stocktake business, and lets clerks look up the current stock at any time.
Accounting, customer management, online sales and ordering from suppliers are outside the scope of the system. The scope per unit of business work is given under Business processes in scope.
The system is a web application used from the PCs and tablets in the store, and it runs on its own. Payment at the counter is left to an external payment service; the system receives the content of each completed sale (books and quantities) from the payment service and reduces stock accordingly.
For external interfaces and data, this document goes no further than the requirements to be met (the external interface requirements among others). The definition of the interfaces and the logical data model belong to the design document.
Shows the flow of data between Bookstore operations, which this system supports, and the parties outside the business (the external entities). The boundary of the diagram is Bookstore operations, not this system. The decomposition of the inside of the business is shown in the business model.
flowchart LR
P0(("Bookstore operations"))
customer["Customer"] -->|"Purchase"| P0(("Bookstore operations"))
P0(("Bookstore operations")) -->|"Receipt"| customer["Customer"]
P0(("Bookstore operations")) -->|"Order"| supplier["Supplier"]
supplier["Supplier"] -->|"Delivery"| P0(("Bookstore operations"))
For each unit of business work (a leaf process of the business model), shows the function of this system (the use case) that supports it. A unit with no function is outside the scope of this system and stays manual.
| No. | Business process | Description | Function |
|---|---|---|---|
| 1.1 | Place orders | Pick the books that are running low and order them from a supplier. | (manual) |
| 1.2 | Record deliveries | Check the delivered books and quantities against the delivery note, record them and add them to stock. | Delivery registration |
| 1.3 | Register books | Register a book newly taken into the range in the ledger by its ISBN. | Book registration |
| 1.4 | Register suppliers | Register a supplier the store newly deals with in the ledger. | Supplier registration |
| 2.1 | Take payment | Take payment for the books the customer has chosen and hand over a receipt. | (manual) |
| 2.2 | Record sales | Record the books and quantities of each completed sale and deduct them from stock. A sale that includes a book not in the ledger is recorded as pending. | Sales posting |
| 2.3 | Review pending sales | Match the books of a pending sale to books in the ledger, confirm the sale and deduct it from stock. | Pending sale review |
| 3.1 | Take stock | After closing, count the actual quantity of every book, reset stock to the counted figures and record the differences. | Stocktake |
| 3.2 | Look up stock | Find the current stock quantity of a book. | Stock inquiry |
Lists the main functions this system provides, in the order of the business flow.
| ID | Function | Summary | Actors |
|---|---|---|---|
| UC01 | Book registration | Register a book newly taken into the range by its ISBN. A registered book becomes subject to stock control. | Clerk |
| UC02 | Supplier registration | Register a supplier as a source of deliveries. | Clerk |
| UC03 | Delivery registration | Record the books and quantities delivered by a supplier and add them to stock. | Clerk |
| UC04 | Sales posting | Receive the books and quantities of a completed sale from the payment service and deduct them from stock. | Payment service |
| UC07 | Pending sale review | A clerk matches the books of a sale that is pending because it includes unregistered books to registered books and posts the sale to stock. | Clerk |
| UC05 | Stocktake | Record the counted quantities, reset stock to them and keep the differences as the stocktake record. | Clerk |
| UC06 | Stock inquiry | Look up the current stock quantity of a book. | Clerk, Owner |
The human roles that operate this system directly, and the functions each role is involved in.
| User | Role | Functions |
|---|---|---|
| Clerk | Handles deliveries, sales and stocktakes on the shop floor, and looks up stock. | Book registration, Supplier registration, Delivery registration, Pending sale review, Stocktake, Stock inquiry |
| Owner | The person responsible for the store. Reviews the state of stock and the results of stocktakes. | Stock inquiry |
The external systems this system works with, and the functions each is involved in.
| External system | Role | Functions |
|---|---|---|
| Payment service | Takes payment at the counter and notifies the system of each completed sale (books and quantities). | Sales posting |