Renewing a Book
Renew a Book
To renew a book in the customers possession the librarian must
choose the transactions option and then select renew from the
available pull down modules. The following information will be
required to issue a renew:
Interface Definitions:
Inputs to module:
- Selection for menu options.
Inputs by User:
- Borrower's ID#
- Book(s) to renew
Outputs
- Conformation message or rejection message.
Data Abstraction
ID#="string"
Book Title="string"
Design:
Environment: GUI (graphical user interface)
Interface: Pop-up window. (See picture files for a view.)
The user ID# will be entered in a text box by the user.
The books will be selected from a list box displaying the books
currently signed out by the user. When the renew book button is
depressed the module will check whether or not the books are able
to be renewed. (i.e. fail if there is a hold on it)
Completion of this module is performed by:
- Pressing Renew Book(s) - this will cause the module to check
if task may be completed but does not change the database.
- Pressing Done - this will renew all books specified that are
in a position to be renewed.
- Pressing Cancel - this will exit the module without doing
anything to the database.
Sub-Modules:
Error Handling:
- Syntax error is borrower is not located in the database. When
an error of this nature is detected the user will be informed
and hinted that another ID# might be tried.
- If the user attempts to renew a book that can not be renewed
for some reason an error is reported. Under this circumstance
the user is informed with a message box and is then returned to
the module where other renewals may be attempted.
- Imports:
Exports:
- The book(s) renewed will have there database return times
updated to reflect the renewal of the book.