Document Navigator For The Design Index
Previous Section
(Summary)
This Section
(Book Administration)
Next Section
(Customer Administration)
Previous (Add A Book) Add Book Copy Next (Delete A Book)

 


Add Book Copy                                   

 

Inputs                                   
     
ISBN number
A ten digit number unique to a specific book title but not to any one specific book. The number has the form of D-DD-DDDDDD-D, where D is a decimal digit from 0 - 9.
Location
A pull-down menu containing all of the branches that belong to the Springfield Library. This menu currently contains only the main branch, but is expandable as the Springfield Library expands.
Floor
A decimal number of the form DD, where D represents a digit from 0 - 9. Thus, a particular book can only be on a floor from 0 - 99.
Circulation Status
A pull-down menu containing the choices: {available, on loan, overdue, on hold, out of circulation} Only one of these choices can be selected.

 

Outputs                                   
     Upon acceptance and verification of the ISBN number, the following will be display in a window: ISBN #, title, author, publisher, subject, book category, media type, cost of book, version, edition.
      If an unrecoverable error (such as read write errors to the databse) occurs the module will output the error code to the error handling module.

 

Imports                                   
     From Books data store
  • ISBN number
  • title
  • author
  • publisher
  • subject
  • book category
  • media type
  • cost of book
  • version
  • edition
     From automatic generator
  • call number
  • number of copies
     NOTE: The automatic generator will generate a unique integer for the call number for that particular book. The value will be in sequential order ranging from 0 - 999999999. The number of copies will be set to 1 when the book is originally added.

 

Error conditions                                   
      Syntax errors on inputs to the fields with required formats.
      Input missing from field. (ISBN number not specified.)
      Book does not exist in database.

 

Description                                   
     
Add Book Copy Window
This window contains numeric entry fields for ISBN number.

Buttons present: OK, CANCEL

OK
Once selected, the system checks for correctly formatted input in the ISBN field. If there are errors, a message box will appear and display an error message.

Buttons Present: OK

Selecting 'OK' will close the message box. Once the ISBN number is error free the system checks to see if there is a book in the database with that ISBN number. If no book exists, a message box will appear stating that the book does not exist and will ask whether the user wants to add this as a new book to the datatbase.

Buttons Present: YES, NO

Selecting 'YES' will bring up the 'Add Book' window from which the user can add the new book. Selecting 'NO' will close the message box.

Once it has been verified that the book exists in the database, a window will appear containing the book information and empty fields requiring the location, floor, and circulation status of the new book to be added.

Buttons Present: ADD, QUIT

ADD
Once selected, the system checks to see if all of the appropriate fields have been entered correctly and there is an entry for each necessary field. If there are any format errors in the information fields, a message box will pop up and display a message with a list of each field that was incorrectly entered.

Buttons Present: OK

Selecting 'OK' will close the message box. If there are no errors, the book copy will be added to the database and a new 'Add Book Copy' form will appear.

QUIT
If selected, any data entered into any of the fields will be lost, the book copy will not be added to the database, and the window will be closed.
CANCEL
If selected, the 'Add Book Copy' window will be closed.

 

Walkthrough                                   
     The user fills in the ISBN number of the book that he/she wants to add a book copy to and presses the 'OK' button. If there is an error with the syntax of the ISBN number or the ISBN number cannot be found in the database, these errors are displayed in an error window. Once all errors are corrected (if there were any), the 'OK' button is pressed at which time the data for the book that will have a copy added is displayed. The user then preoceeds to enter in data for the appropriate fields and presses the 'ADD' button. If there are any errors with the data added, this will be displayed in an error window. Once all errors are corrected (if there were any), pressing the 'ADD' button will add the book copy to the database. If, at any time, the user wants to leave, clicking on the respective QUIT or CANCEL buttons will exit them from the window.

 


Document Navigator For The Design Index
Previous Section
(Summary)
This Section
(Book Administration)
Next Section
(Customer Administration)
Previous (Add A Book) Add Book Copy Next (Delete A Book)

Copyright ©1997 VoidWorks Software Inc.

Send mail to the Group Leader or the Webmaster
Pages created and maintained with Mortar