Delivery registration (UC03)

Record the books and quantities delivered by a supplier and add them to stock.

Item Content
Actors Clerk
Business processes 1.2 Record deliveries
Precondition The supplier of the delivery and the delivered books are registered.
Postcondition The delivery is recorded and the delivered quantity has been added to the stock quantity of each book.

Main scenario

# Clerk System
1 Selects the supplier. Keeps the selected supplier as the source of the delivery and accepts books.
2 Specifies a delivered book by ISBN and enters the quantity. Shows the title and adds the book to the delivery lines.
3 Confirms the delivery. Records the delivery and adds each line's quantity to the stock quantity of its book.

Exceptions

Step Condition System
2 The ISBN is not registered. Refuses to add the line and prompts for book registration first.

Requirements

ID Requirement Rationale Priority
R04 Stock addition on delivery
The system shall add the delivered quantity to the stock quantity of each book on the lines when a delivery is confirmed.
If stock does not reflect a delivery immediately, the results of stock inquiries cannot be trusted. Mandatory
R05 Rejection of unregistered books on delivery
The system shall not add an unregistered ISBN to the lines of a delivery.
Accepting an unregistered book on a delivery creates stock with neither title nor publisher. Mandatory