User interface design

Shows the screens this system presents to its users: the screen list, the screen flow diagram, and a screen definition (layout, input and output items, actions) for each screen.

Screens

ID Screen Category Use cases Description
SC01 Menu screen Menu Shown right after start-up; the entry point to the screens of each business area.
SC02 Book registration screen Entry UC01 Book registration Registers a book newly taken into the range by entering its ISBN, title and publisher. After registering, the next book can be entered straight away.
SC03 Supplier registration screen Entry UC02 Supplier registration Registers a supplier by entering its name and contact details. After registering, the next supplier can be entered straight away.
SC04 Delivery registration screen Entry UC03 Delivery registration Selects a supplier, builds up the delivered books and quantities as lines, and confirms the delivery.
SC08 Pending sale review screen Entry UC07 Pending sale review Lists the sales that are pending because they include unregistered books, matches each line to a registered book and confirms the review.
SC05 Stocktake screen Entry UC05 Stocktake Starts a stocktake to fix the baseline stock quantities, takes the counted quantity of each book to show the differences, and confirms the stocktake.
SC06 Stock list screen List UC06 Stock inquiry Searches for books by title or ISBN and lists the matching books with their current stock quantities.
SC07 Book history screen Detail UC06 Stock inquiry, UC01 Book registration Shows one book's current stock quantity and its delivery, sale and stocktake history. Also used to show the registered book when book registration hits a duplicate ISBN.

Of the categories, a menu is an entry point that leads to other screens, an entry screen takes input and creates data, a list screen searches and lists several records, and a detail screen shows one record in full. The menu comes first, then the screens in the order of their use cases.

Screen flow

stateDiagram-v2
  direction TB
  [*] --> SC01
  SC01 : Menu screen
  SC02 : Book registration screen
  SC03 : Supplier registration screen
  SC04 : Delivery registration screen
  SC08 : Pending sale review screen
  SC05 : Stocktake screen
  SC06 : Stock list screen
  SC07 : Book history screen
      SC01 --> SC02 : Choose book registration
      SC01 --> SC03 : Choose supplier registration
      SC01 --> SC04 : Choose delivery registration
      SC01 --> SC08 : Choose pending sale review
      SC01 --> SC05 : Choose stocktake
      SC01 --> SC06 : Choose stock inquiry
      SC02 --> SC07 : Enter ISBN [a book with the same ISBN is registered]
      SC02 --> SC01 : Back to menu
      SC03 --> SC01 : Back to menu
      SC04 --> SC02 : Add line [the ISBN is not registered]
      SC04 --> SC01 : Confirm
      SC04 --> SC01 : Back to menu
      SC08 --> SC02 : Match book [the ISBN is not registered]
      SC08 --> SC01 : Back to menu
      SC05 --> SC01 : Confirm [every book has a count]
      SC05 --> SC01 : Back to menu
      SC06 --> SC07 : Select book
      SC06 --> SC01 : Back to menu
      SC07 --> SC06 : Back to list

Actions that complete within a screen (searching, adding a line and the like) do not change the screen and so do not appear in this diagram.

Sales posting (UC04), which the payment service initiates, has no screen and is handled within the external interface requirements. Pending sale review (UC07), which clears up a notification that became pending, is done by a clerk and so has a screen. The two transitions from the delivery registration screen and the pending sale review screen to the book registration screen correspond to the exception “The ISBN is not registered” of delivery registration (UC03) and the exception “The specified ISBN is not registered” of pending sale review, and the transition from the book registration screen to the book history screen on a duplicate ISBN corresponds to the exception “A book with the same ISBN is already registered” of book registration (UC01).

Screen definitions

For each screen, its layout, input and output items, and actions. What a screen holds is defined by the tables of input and output items and actions; the layout is a drawing of their arrangement. There are 8 screens, Menu screen, Book registration screen, Supplier registration screen, Delivery registration screen, Pending sale review screen, Stocktake screen, Stock list screen, Book history screen, in the same order as the screen list.