One line of a sales notification, a book and its quantity. The notified ISBN is kept as received, and the match to a registered book is held separately.
| Attribute | Type | Required | PK | References | Description |
|---|---|---|---|---|---|
| sale_id | string | ✓ | ✓ | Sale.sale_id | The sale the line belongs to. |
| line_no | integer | ✓ | ✓ | The running number of the line within the sales notification. | |
| notified_isbn | string | ✓ | The ISBN notified by the payment service. An unregistered ISBN is recorded as received. | ||
| isbn | string | Book.isbn | The registered book that corresponds to the notified ISBN. Empty while unregistered, and filled by a clerk's review. | ||
| quantity | integer | ✓ | The number of copies sold. |
Used by: UC04 Sales posting (C), UC07 Pending sale review (RU), UC06 Stock inquiry (R)
Implements: Sales records
Shown on: Pending sale review screen (SC08)