Delivery registration screen (SC04)
Selects a supplier, builds up the delivered books and quantities as lines, and confirms the delivery.

(Source of the layout)
| Item |
Content |
| Category |
Entry |
| Use cases |
UC03 Delivery registration |
| Item |
Direction |
References |
Description |
| Supplier |
Input |
Delivery.supplier_id |
Chosen from the registered suppliers. |
| Delivered at |
Output |
Delivery.delivered_at |
The system sets the date and time of confirmation. |
| ISBN |
Input |
Delivery line.isbn |
One book per line. |
| Title |
Output |
Book.title |
Looked up from the ISBN and shown. |
| Quantity |
Input |
Delivery line.quantity |
|
Actions
| Action |
Description |
Goes to |
| Select supplier |
Keeps the selected supplier as the source of the delivery and accepts lines. |
|
| Add line |
Shows the title of the book specified by ISBN and adds it to the lines with its quantity. If the ISBN is not registered, refuses to add the line and sends the user to the book registration screen to register the book first. |
Book registration screen (the ISBN is not registered) |
| Confirm |
Records the delivery, adds each line's quantity to the stock quantity of its book and returns to the menu screen. |
Menu screen |
| Back to menu |
Discards the delivery being entered and returns to the menu screen. |
Menu screen |