The record of one book within one stocktake. Keeps the stock quantity at the start as the baseline, and records the difference from the counted quantity at confirmation.
| Attribute | Type | Required | PK | References | Description |
|---|---|---|---|---|---|
| stocktake_id | string | ✓ | ✓ | Stocktake.stocktake_id | The stocktake the line belongs to. |
| isbn | string | ✓ | ✓ | Book.isbn | The book counted. A line for every book is created when the stocktake starts. |
| baseline_quantity | integer | ✓ | The stock quantity the system held when the stocktake started. | ||
| counted_quantity | integer | The number of copies the clerk counted. Empty until entered. | |||
| difference | integer | The counted quantity minus the baseline quantity. Recorded when the stocktake is confirmed. |
Used by: UC05 Stocktake (CU), UC06 Stock inquiry (R)
Implements: Stocktake records
Shown on: Stocktake screen (SC05)