Sale

The record of one sales notification received from the payment service. The content of the notification is saved first; posting to stock follows.

Attribute Type Required PK References Description
sale_id string ✓ ✓ The number that identifies one sales notification.
notified_at datetime ✓ When the notification was received from the payment service and acknowledged.
status string ✓ Either confirmed (posted to stock) or pending (includes an unregistered book and awaits a clerk's review).

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)