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

 


Delete a Book Copy                                   

 

Inputs                                   
     
Call number
A unique number that specifies a specific book in the database. The call number is of the form DDDDDDDDD, where D represents a digit from 0 - 9. Call numbers can vary in length and range from 0 - 999999999.

 

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, call number, location, floor, circulation status, due date (if any), and customer number (if any). Once a user accepts to proceed with the book's deletion, the book will be removed from the database.
     If an unrecoverable error (such as read write errors to the database) 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
  • call number
  • location
  • floor
  • circulation status
      From loans data store
  • due date (if any)
      From customer data store
  • customer number (if any)

 

Error conditions                                   
     Syntax error on input to the call number field.
     Input missing from field. (Call number not specified.)
     Book does not exist in database.
     Book is out on loan or is on hold.

 

Description                                   
     
Delete Book Window
This window contains a numeric entry for the call number.

Buttons Present: DELETE, QUIT

DELETE
Once selected, the system checks if the call number has been entered correctly. If there is a format error or the call number has not been filled in, a message box will pop up and display an error message.

Buttons Present: OK

Selecting 'OK' will close the message box.

Once the call number is error free the system checks to see if there is a book in the database with that call number. If no book exists, a message box will appear and display an error message.

Buttons Present: OK

Selecting 'OK' will close the message box.

Once it has been verified that the book exists in the database, a check is made to determine whether the book is out on loan or currently being held. If this is the case, a message box will appear and display an error message.

Buttons Present: OK

Selecting 'OK' will close the message box. Note: A deletion of a book cannot proceed if it is currently out on loan is on hold.

If there are no errors, the 'View Book Copy' window will appear containing the book information for that book copy and a message window asking whether the book should really be deleted.

Buttons Present: YES, NO

Selecting 'YES' will remove the book from the database. Selecting 'NO' will return the user to the 'Delete Book' window without deleting the book.

QUIT
If selected the 'Delete Book' window will be closed.

 

Walkthrough                                   
     The user fills in the call number of the book that he/she wishes to delete and presses the 'Delete' button. If there is an error with the syntax of the call number or the call 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 DELETE button is pressed at which time the data for the book to be deleted is displayed, and the the user is asked whether the deletion should proceed. If the user selects the 'YES' button, the book will be permanently removed from the database. If the user wants to go back without deleting the book, the 'NO' button should be pressed. If, at any time, the user wishes to leave, clicking on the QUIT button will exit them from the 'Delete Book' window.

 


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

Copyright ©1997 VoidWorks Software Inc.

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