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

 


Add a Book                                   

 

Inputs                                   
     
ISBN #
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.
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, and are generated automatically when the book is added to the database.
Title
A string with a maximum length of 150 characters. Each title does not have to be unique.
Author
A string with a maximum length of 120 characters. The typical format of each author's name is as follows:

lastname, firstname givenname(s)

and if there are more than one author, the authors' will simply be entered in sequence. The authors' names do not need to be unique.
Publisher
A string with a maximum of 150 characters. Each publisher does not have to be unique.
Subject
A string with a maximum of 100 characters. The subject field contains subject key word(s) that are used to desribe the subject category of the book. If more than one key word is entered, they should be, but is not necessary to be, unique between them. Subject keyword(s) between books do not need to be unique.
Book Category
A pull-down menu containing the choices:

{overnight, two week, reserved}

Only one of the three choices can be selected. This list will be expandable.
Media Type
A pull-down menu containing the choices:

{Book, CD, CD-ROM, Film, Laserdisk, Journal}

Only one of the three choices can be selected. This list will be expandable.
Cost
A dollar figure representing the value of the book. Assumed to be either in American or Canadian funds.
Version (optional)
A decimal number of the form DDD, where the D represents a digit from 0 - 9. Thus, the version is a number from 0 - 999. This number is not mandatory.
Edition (optional)
A decimal number of the form DDD, where the D represents a digit from 0 - 9. Thus, the edition is a number from 0 - 999. This number is not mandatory.
Number of Copies
A decimal number of the form DDD, where the D represents a digit from 0 - 9. Thus, there could be from 0 - 999 copies of one particular book. This number generated automatically when the book is added to the database.
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 book data the book will be added to 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.
      A unique call number will be automatically generated by the system for the book.
      Number of copies will be automatically set to one by the system once the book has been added.

 

Imports                                   
     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. (All necessary fields must be complete)
      Book already exists in the database.

 

Description                                   
     
Add Book Window
This window contains text entry fields for: title of book, author(s), publisher, and subject. There are numeric entry fields for ISBN number, version, edition, number of copies, and floor. There are pull down menus for book category, media type, location, and circulation status. The cost field requires a dollar figure to be entered.

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.

Once all of the fields are error free, the system checks to see if there are duplicate books in the database by comparing the ISBN numbers. 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.

If duplicate ISBN numbers exist, the system will not allow the book to be added to the database.

If there are no errors, the book will be added to the database and a new 'Add Book' form will appear.

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

 

Walkthrough                                   
     The user fills in the appropriate data into the data fields and presses the 'ADD' button. If there is an error in one or more of the fields or the ISBN number is already in use, these errors are displayed in an error window once the ADD button has been pressed. Once all errors are corrected (if there were any), the ADD button is pressed to add the new book to the database. If at any time the user wishes to leave, clicking on the QUIT button will exit them from the 'Add Book' window.

 


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

Copyright ©1997 VoidWorks Software Inc.

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