Stocktake (UC05)
Record the counted quantities, reset stock to them and keep the differences as the stocktake record.
| Item |
Content |
| Actors |
Clerk |
| Business processes |
3.1 Take stock |
| Precondition |
The store is closed, and no delivery registration or sales posting takes place. |
| Postcondition |
The stock quantity of each book has been reset to the counted quantity and the differences remain as the stocktake record. |
Main scenario
| # |
Clerk |
System |
| 1 |
Starts the stocktake. |
Records the current stock quantity of every book as the baseline of the stocktake and accepts counted quantities. |
| 2 |
Enters the counted quantity of each book. |
Shows the difference from the baseline quantity for each book. |
| 3 |
Confirms the stocktake. |
Replaces the stock quantity of each book with the counted quantity and saves the differences as the stocktake record. |
Exceptions
| Step |
Condition |
System |
| 3 |
Some books have no counted quantity entered. |
Refuses to confirm and points out the books without a count. |
Requirements
| ID |
Requirement |
Rationale |
Priority |
| R09 |
Stock reset on stocktake The system shall replace the stock quantity of each book with the counted quantity entered when a stocktake is confirmed. |
|
Mandatory |
| R10 |
Recording of stocktake differences The system shall save the difference between the baseline stock quantity and the counted quantity of each book as the stocktake record when a stocktake is confirmed. |
Investigating the cause of a difference later (loss, an unposted sale, an input error) needs the value before the reset. |
Mandatory |
| R11 |
No stock movement during a stocktake The system shall not accept changes to stock quantities through delivery registration, sales posting or pending sale review between the start and the confirmation of a stocktake. |
If stock moves during a stocktake, a difference between baseline and count cannot be told apart from a business posting. |
Important |