Book registration (UC01)
Register a book newly taken into the range by its ISBN. A registered book becomes subject to stock control.
| Item |
Content |
| Actors |
Clerk |
| Business processes |
1.3 Register books |
| Precondition |
The ISBN of the book to register is known. |
| Postcondition |
The book is registered and under stock control with a stock quantity of 0. |
Main scenario
| # |
Clerk |
System |
| 1 |
Enters the ISBN of the book. |
Checks the format of the ISBN and accepts the title and publisher. |
| 2 |
Enters the title and publisher and confirms the registration. |
Registers the book and adds it to stock with a stock quantity of 0. |
Exceptions
| Step |
Condition |
System |
| 1 |
The ISBN is malformed. |
Points out the error and asks for the ISBN again. |
| 1 |
A book with the same ISBN is already registered. |
Shows the registered book and abandons the registration. |
Requirements
| ID |
Requirement |
Rationale |
Priority |
| R01 |
ISBN format check The system shall accept a book registration only when the ISBN entered has 13 digits and a correct check digit. |
A book registered under a wrong ISBN cannot be matched against delivery or sales notifications. |
Mandatory |
| R02 |
No duplicate ISBN registration The system shall not register a second book under an ISBN that is already registered. |
Two stock records for the same book split the stock quantity and corrupt inquiries and stocktakes. |
Mandatory |