Stocktake screen (SC05)
Starts a stocktake to fix the baseline stock quantities, takes the counted quantity of each book to show the differences, and confirms the stocktake.

(Source of the layout)
| Item |
Content |
| Category |
Entry |
| Use cases |
UC05 Stocktake |
| Item |
Direction |
References |
Description |
| Started at |
Output |
Stocktake.started_at |
|
| ISBN |
Output |
Stocktake line.isbn |
Every book, one per line. |
| Title |
Output |
Book.title |
|
| Baseline |
Output |
Stocktake line.baseline_quantity |
The stock quantity at the start. |
| Counted |
Input |
Stocktake line.counted_quantity |
|
| Difference |
Output |
Stocktake line.difference |
Recalculated each time a count is entered. |
Actions
| Action |
Description |
Goes to |
| Start stocktake |
Records the current stock quantity of every book as its baseline quantity and accepts counts. |
|
| Enter count |
Takes the counted quantity of a book and shows the difference from its baseline quantity. |
|
| Confirm |
Replaces the stock quantity of each book with its counted quantity, saves the differences as the stocktake record and returns to the menu screen. If some books have no count, refuses to confirm and points them out. |
Menu screen (every book has a count) |
| Back to menu |
Returns to the menu screen with the stocktake still in progress. Opening this screen again resumes the entry of counts. |
Menu screen |