Documentos de Académico
Documentos de Profesional
Documentos de Cultura
28 March 2007
28 March 2007
28 March 2007
Order - If an item that a customer wishes to purchase is out of stock he/she is presented with an order form and asked to fill it and make a payment which is equivalent to half the value of his/her purchase. This order is then sent along with other orders to the manufacturer. An example of an order form is shown below;
28 March 2007
Purchases - Purchases are made by the company usually every month. The order clerk sends an order to the manufacturer along with any special orders. The manufacturer then ships the equipment which will reach the company within two weeks along with an invoice. When the goods arrive again the assistant makes the necessary changes to the stock levels. An example of a purchases invoice is shown below
28 March 2007
Stock-levels of goods - At the end of each week the assistant checks all the sales invoices and makes the necessary changes to the stock-levels of all the products that have been sold. So then when the stock level reaches the reorder level the management can be notified to restock. A product card is used to keep a record of each product held in stock. An example of a product card is shown below.
Product Card Product Code : Brand Name : Description Cost Price : Rs. Selling Price: Rs. . Quantity-in-hand as at // : ........................
Processes 1. Storing records of all transactions done Adding, amending and deleting sales, purchases and product records. 2. Storing records of suppliers and customers Adding, amending and deleting suppliers and customers records. 3. Calculating sales and purchases figures Using multiplications to calculate the Sub-Totals. Using multiplications to calculate the VAT. Using multiplications to calculate the Discounts Using additions and subtractions to calculate the Total Amount.
28 March 2007
28 March 2007
Purchases
Sales
Check the products which have been sold the most. According to finances decide which goods deserve to be restocked.
If customer shows interest in a particular product give them more details about it.
Check if there are any special orders and include them too in the list of goods to be ordered.
Prepare copies of the invoice. Collect the money from the customer and encourage him/her to visit again.
When supplier replies with details collect the necessary money needed to pay for the purchase.
When goods arrive transfer the balance money to the supplier's a/c.
28 March 2007
Check the products which have been sold the most by using a query
When supplier replies via email with details collect necessary money to pay for purchase
28 March 2007
28 March 2007
10
28 March 2007
11
28 March 2007
12
Both the solutions are discussed below and after comparing their various advantages and disadvantages the best will be chosen. Solution 1 - The manual system can be improved by employing more personnel thereby reducing their workload and increasing their efficiency which will then reduce the mistakes made by them. But employing more personnel means paying more salaries and added cost every month for allowances and things like that. Also more filing cabinets can be bought so that all the files can be stored in a very systematic way thereby enabling searching to be more easier and faster and also more importantly increasing customer satisfaction. For this to be done the company will have to shift premises because the current place is already packed and also good filing cabinets are pretty expensive. Solution 2 - If the system were to be automated there would be no need to employ more personnel instead the current lot could be professionally trained to use the automated system. This will also cost a fair amount of money. Also another advantage is that the vast amount of space taken to store all the files could be drastically reduced because a computer system does not take up much space. Also all the files can be stored very systematically. Searching for files is very quick and calculations can be performed accurately in an instant. Conclusion - The Board of Management came to a conclusion that it would go ahead with automating the system rather than improving the current manual system. Even though the initial cost of implementing an automated system would be high due to the purchasing of computers and the training given to the personnel it would be worth it in the long run as the maintaining of computers is not that expensive and most importantly customer satisfaction would be increased due to the speed with which things will be done.
28 March 2007
13
28 March 2007
14
Software Requirements
As it was decided already to automate the system the following software is considered to implement the system; Database - One or more large structured sets of persistent data, usually associated with software to update and query the data. A simple database might be a single file containing many records, each of which contains the same set of fields where each field is a certain fixed width. Advantages 1. Files can be linked thus enabling them to be easily updated. 2. Information can be stored in a systematic way, which provides the user with flexibility in organizing, displaying and printing information. 3. Data duplication can be minimized. 4. Validation techniques help to reduce errors. 5. Production of reports and forms can be done easily. 6. Database production is simple (on certain packages). 7. Debugging is easy. Disadvantages 1. 2. 3. 4. Staff is not familiar with the software needed to generate the systems. Requires some knowledge on the part of the user. Certain databases cannot be used in a multi-user network. Calculations are not readily available.
Spreadsheet - A type of application program which manipulates numerical and string data in rows and columns of cells. The value in a cell can be calculated from a formula which can involve other cells. A value is recalculated automatically whenever a value on which it depends changes. Different cells may be displayed with different formats. Advantages 1. 2. 3. 4. 5. Can be used directly in spreadsheet programs. User can make own calculations and graphics to suit individual needs. HTML presentations of data easy to generate. Graph generating tools are available. Automatic updation - if one cell is updated then connected cells will be automatically updated.
28 March 2007
15
Disadvantages 1. 2. 3. 4. 5. 6. Not enough validation techniques. No proper report tools. Large number of manual inputs. Difficult to use different access rights. Data duplication will be high. Difficult to implement a set of related tables.
Conclusion When comparing with the objectives stated previously such as reducing data duplication a database system would best suit the requirements so it was chosen ahead of a spreadsheet package. The next step would be to decide on how to create a suitable Database. The following methods were considered; Methods 1. Commercial Packages. 2. High-Level Programming Languages - Due to its requirement of highly skilled programmers its was decided not to use high-level programming languages to create the database. Commercial Packages Option 1 - Microsoft Access 2000/XP Advantages 1. 2. 3. 4. 5. 6. 7. Programming skills are not required to use the program. It is the most affordable package. Small user database can be developed quickly. Easy to use because of GUI tools and wizards. Data duplication can be minimized. Debugging is easy. It has the following facilities available to create a very user friendly system quickly. * Queries, tables, forms, reports and macros can be created by either using a wizard or design view. *Switchboards can also be created which make it easier to open relevant items.
28 March 2007
16
Disadvantages 1. 2. 3. 4. 5. Bad transactional control. Not designed for multi-user applications. Cannot handle very large amounts of data. Not very flexible. Not very robust.
Option 2 - SQL Server Advantages 1. 2. 3. 4. Low implementation costs. Data Management applications and services. Self-tuning and management capabilities. Easy to use Business Intelligence (BI) tools. Disadvantages 1. Not very elastic. 2. Expensive both to buy and to maintain. The Chosen Software The chosen software is "Microsoft Access 2000/XP". It was chosen ahead of other database packages such as SQL Server because of its non-requirement of qualified programmers, its affordability, its user friendliness and the availability of facilities such as forms, queries, tables and reports which are very essential for the system. Basically it is the only database package that can help achieve most of the objectives stated in Chapter 1.
28 March 2007
17
Alternative Configuration 01 AMD Sempron 2200+ 1.5 GHz processor Asus 256 MB PC 100 SDRAM Maxtor Atlas 10K III 18.4 GB Hard Disk Sony CRX 230EE CD-RW Drive SmartDisk VST USB Floppy Disk Drive 15" View Sonic E55B Monitor (1280x1024) Adesso Multimedia PS/2 keyboard Fujitsu Wireless Mouse with scroll Jaton 3D Force MX 4000 64 MB VGA Card Lexmark Z 735 Ink-jet printer Viper UPS
Estimated Total cost Rs. 40,000/Alternative Configuration 02 Intel Pentium D 960 3.6 GHz processor 512 MB Dell Dimension 4400 DDR RAM Seagate Barracuda 7200.7 40 GB Hard Disk NEC ND-3550A Dual Layer DVD+RW Writer Teac 235HF Floppy Disk Drive Adesso Multimedia USB+PS/2 Keyboard Microsoft Wireless Laser Mouse 5000 19" View Sonic E90fb Monitor (1792x1344) Asus Extreme GeForce 6600 256 MB VGA Card Lexmark E232 Laser Printer DCP UPS
Estimated Total cost Rs. 55,000/Conclusion Alternative Configuration 02 was chosen because it exceeds the minimum requirements and is the best configuration available. Even though the initial investment is a little big it would be worthwhile because buying the best means that you don't have to upgrade it very often. Also it is the current trend to buy the latest computers in the market. A 3.6 GHz processor and 512 MB RAM was chosen so that then the system will be very fast which will please customers due to the speed with which their requests are attended to and the speed in which their invoices are prepared. A 40 GB hard disk was chosen so that about 2 years records could be stored. A DVD-RW writer was chosen instead of a normal CD-ROM so that constant backups can be taken of the system so as to prevent any loss if ever the hard disk fails. A VGA card and a large 19" monitor was chosen so as to provide the user with a very clear picture which then reduces his/her chance of getting eyesight problems due to the continuous use of the computer. A laser printer was chosen
28 March 2007
18
ahead of a normal ink-jet printer because of the quality of the printouts and the speed. A UPS is a necessity in a country like Sri Lanka where power loss is a frequent occurrence .
System Flowchart
28 March 2007
19
28 March 2007
20
Purchases
28 March 2007
21
11 50 5 5 2 2
Customer Table Field Name Customer ID (key field) Customer Name Address E-mail Contact No. Description The key field of the record. It is the unique number by which each customer is identified. The customer's name. The customer's address. The customer's email address. The customer's contact number. Field Size 4 Field Type Numeric Validation Presence Check as it is the key field. Input Mask; #### Format Check
25 50 20 12
28 March 2007
22
Supplier Table Field Name Supplier Code (key field) Supplier Name Address Website E-mail Contact No. Fax No. Description The key field of the record. It is the unique number by which each supplier is identified. The supplier's name. The supplier's address. The supplier's website. The supplier's e-mail address. The supplier's contact number. The supplier's fax number. Field Size 3 Field Type Text Validation Presence Check as it is the key field. Input Mask; LL0 Format Check Format Check
11 50 30 20 12 12
Purchases Table Field Name Invoice No. (key field) Date Supplier Code Product Code Quantity Sub-Total Shipping Charges Final Total Description The key field of the record. It is the unique number by which each purchase is identified. The date on which the purchase was made. The unique number by which the supplier is identified. The unique number by which the product is identified. The quantity purchased of the product. The sub-total of all the products purchased. The charges taken by the supplier to ship the goods to the company. The final total inclusive of shipping charges. Field Size 5 Field Type Text Justification Presence Check as it is the key field. Input Mask; \P0000 Format Presence Check
6 3
Date/time Text
6 2 5 5 7
Presence Check Format Check Format Check Format Check Format Check
28 March 2007
23
Sales Table Field Name Description Invoice No. The key field of the record. It (key field) is the unique number by which each sale is identified. Date The date on which the purchase was made. Customer The unique number by which ID the customer is identified. Product Code Quantity Sub-Total VAT Total Less Discounts Grand Total The unique number by which the product is identified. The quantity sold of the product. The sub-total of all the products sold. The amount of VAT charged on the sale. The total which includes the VAT. The amount of discount allowed on the sale. The grand total which is inclusive of VAT and discount allowed. Field Size 5 6 4 6 2 7 5 7 5 7 Field Type Text Date/time Numeric Presence Check Text Numeric Currency Currency Currency Currency Currency Presence Check Format Check Format Check Format Check Format Check Format Check Format Check Validation Presence Check as it is the key field. Input Mask; \S0000 Format Check
28 March 2007
24
Relationships
A relationship links two or more tables together. The relationships of the Cricket Shop's database is shown below using a diagram:-
PURCHASES
1 1 1 1
SUPPLIER
PRODUCT
CUSTOMER
SALES
The relationship between the product and the purchases table is one to many. The relationship between the product and the sales table is one to many. The relationship between the supplier and the purchases table is one to many. The relationship between the customer and the sales table is one to many.
28 March 2007
25
Process Design
The following algorithm was used to create a select query; Eg. Searching for a customer Begin Open Customer table Enter Customer ID While not end of Customer table do Read next customer record If Customer ID = Customer.CustomerID then Display Customer Details End If End while Close Table End All search queries were created based on the above algorithm with each table and field changing according to the field which needed to be searched. The following algorithm was used to create an update query; Eg. Calculating the VAT field Begin VAT=0 Open Sales table Enter Invoice Number If Invoice Number = Sales.InvoiceNumber then VAT = Sub-Total*10/100 Update Sales.VAT End If Close Table End All update queries were created based on the above algorithm with each table and field changing accordingly to the field which needed to be updated.
28 March 2007
26
Query Design
Update Queries Sales VAT
This query is used to calculate the VAT amount on the sales Sales Total
This query is used to add the sub-total and the VAT amount.
28 March 2007
27
Sales Discounts
This query is used to calculate the discounts allowed on the total sale. Grand Total
This query is used to calculate the total amount that the customer has to pay.
28 March 2007
28
Final Total
This query is used to calculate the total amount that the company has to pay the supplier it is purchasing the goods from. Select Queries Customer Search
28 March 2007
29
Product Search
28 March 2007
30
Purchases Search
28 March 2007
31
Form Design
It was considered as an alternative to use pictures as command buttons but was not used as many users would not understand what the pictures meant. 1. Customer Form
The unique number that identifies the customer The customer's name The customer's address The customer's e-mail
Can be used to search for a particular customer Saves the current record Lets you enter a new record Takes you to the previous record
28 March 2007
32
2. Product Form
The company's logo The form label The unique number that identifies the product
Clicking on the combo box displays a list of brand names out of which one is selected The product's description is entered here The prices at which the product was purchased at and is sold at is entered here The quantity remaining in stock of the product
The level at which an order has to be placed for more stock Takes you to the next record Saves the current record Lets you to enter a new record Can be used to search for a particular product
28 March 2007
33
3. Supplier Form
The unique number that identifies the supplier The supplier's name The supplier's address The supplier's website The supplier's e-mail The supplier's contact and fax numbers
Takes you to the next record Saves the current record Lets you to enter a new record Can be used to search for a particular supplier Takes you to the previous record
28 March 2007
34
4. Sales Form
The company's logo The form label The unique number that identifies each sale The date on which the sale took place
Is explained below
The product subform contains the following fields; Product Code, Brand Name, Description, Selling Price and Quantity. The 'New' button lets you enter a new record, the 'Save' button saves the current record and the 'Search' button enables you to search for a particular sale.
28 March 2007
35
5. Purchases Form
The form label The unique number that identifies each purchase
The product subform contains the following fields; Product Code, Brand Name, Description, Cost Price and Quantity. The 'New' button lets you enter a new record, the 'Save' button saves the current record and the 'Search' button enables you to search for a particular purchase.
28 March 2007
36
Report Design
1. Total Sales
The company's logo and the report label in the report header
The chosen fields in the page header and their details in the detail section of the report.
28 March 2007
37
2. Products Sold
The company's logo and the report label in the report header
The chosen fields in the page header and their details in the detail section of the report.
A button which calculates the total of the quantity sold of all the products.
Menu Design
Main menu (Switchboard)
Go to reports
Go to forms
Total Sales
Products Sold
Sales form
Supplier
form
Product form
Purchases
from
Customer form
28 March 2007
38
TEST PLAN
Product Table Test No.
01
Field Name
Product Code
Type of Validation
Length Check
Input Mask
LL0000
02
Combo Box
None
Puma
BAS Vampire
Type Check None 12500 125o0 The system should accept it.
03
04 05
None 99
15500 24
15o00 2y
06
Re-order Level
Format Check
99
1o
An error message should be displayed because the data entered is violating the input mask '99'
Field Name
Customer ID
Type of Validation
Presence Check
Input Mask
9999
Invalid
Null Value
Invalid
An error message should be displayed because the field was left blank.
28 March 2007
39
08
Contact No.
Format Check
000000000099
0112733155
011273
An error message should be displayed because the data entered is violating the input mask '000000000099'
Field Name
Supplier Code
Type of Validation
Length Check
Input Mask
Invalid
An error message should be displayed because the entry is of the incorrect length.
LL0
Same as in 'Customer' Table Format Check 000000000099 0096650555666 7 009345 The system should accept it. An error message should be displayed because the data entered is violating the input mask '000000000099'
10
28 March 2007
40
Field Name
Invoice No.
Type of Validation
Length Check
Input mask
/P0000
12
Date
Format Check
00/00/00
21/10/2006
21/10/06
13
Same as in 'Supplier' Table Same as in 'Product' Table Format Check 99 24 2k The system should accept it. An error message should be displayed because the data entered is violating the input mask '99 An error message should be displayed due to the invalid data type entered.
14 15 16
28 March 2007
41
Type of Validation
Length Check
Input Mask
\S0000
Date Customer ID Product Code Quantity Sub-Total 18 19 20 21 VAT Total Less Discounts Grand Total Type Check Type Check Type Check Type Check None None None None
Same as in 'Purchases' Table Same as in 'Customer' Table Same as in 'Product' Table Same as in 'Purchases' Table Same as in 'Purchases' Table 2500 27500 2062.50 25437.5 0 250o 275o0 2o62.5o 25437.5 o An error message should be displayed due to the invalid data type entered.
28 March 2007
42
Type
Update
Task
To calculate the VAT on sales To calculate the Sales Total
Sales Total
Update
0000
Sales Discounts
Update
1204 Total:Rs.19,250
0000
Grand Total
Update
Final Total
Update
0000
Nothing should be updated A blank record should be displayed A blank record should be displayed
Customer Search
Select
11191 Pimp 123 The desired record should be displayed. The desired record should be displayed.
Product Search
Select
SL1234
SL123
28 March 2007
43
Sales Search
Select
To search for a sales record To search for a purchase record. To search for a particular supplier
1704
0000
The desired record should be displayed. The desired record should be displayed. The desired record should be displayed.
A blank record should be displayed A blank record should be displayed A blank record should be displayed
Purchases Search
Select
1811
0000
Supplier Search
Select
WO1 Woodworm
W1 W00dwo
Note: The numbers in brackets next to each bullet is the page number in which the creation of that particular option is shown in detail.
28 March 2007
44
Implementation of Design
28 March 2007
45
Text
2 7
Text Text
Text
2 7
Text Text
28 March 2007
46
Due to the creation of the two above mentioned tables a few fields in the sales and purchases tables were deleted so as to prevent unwanted data duplication. The fields deleted were product code and quantity from both the tables. Also test no. 13 was deleted as the field is now non-existent. Also in the product subforms for both the sales and purchases forms were modified the changes made are stated below:Product Subform in the Sales form:Deleted product code was replaced by selling products' product code. Brand Name remained unchanged. Description remained unchanged. Selling Price remained unchanged. Deleted quantity was replaced by selling products' quantity sold. A new field Line Total from 'Selling Products' was added to the subform. Product Subform in the Purchases form:Deleted product code was replaced by purchasing products' product code. Brand Name remained unchanged. Description remained unchanged. Cost Price remained unchanged. Deleted quantity was replaced by purchasing products' quantity ordered. A new field Line Total from 'Purchasing Products' was added to the subform. A few more queries which were not able to be created previously were created and are shown below:Sales Quantity in hand
This query updates the quantity in hand of a particular product after a sale has been made.
28 March 2007
47
This query updates the quantity in hand of a particular product after a purchase has been made. Both these queries were included in their respective forms namely sales and purchases using command buttons.
28 March 2007
48
The relationships between all the tables in the database changed due to the addition of the two above mentioned tables. The new relationships are shown below:-
The relationship between the product and the purchasing products table is one to many. The relationship between the product and the selling products table is one to many. The relationship between the sales and the selling products table is one to many. The relationship between the purchases and the purchasing products table is one to many. The relationship between the supplier and the purchases table is one to many. The relationship between the customer and the sales table is one to many. It was decided to create a password for the database as a whole with the security of the system in mind because if there wasnt a password anyone would be able to access the database and modify data at will. It is shown on Page No.60 how the password of the system was created.
28 March 2007
49
The following illustrates how the system was implemented: Creation of tables
Clicking on ' Create table in Design view' opens up the following window:-
Once a field name is entered a data type can be chosen from the list of values displayed
A field size is entered to limit the number of characters that can be entered in that particular field . As in this field the limit is 6.
An input mask determines the pattern of all the data which will be entered in the field.
28 March 2007
50
Once all the required fields are designed along with their data type, field size and input mask a primary key is chosen:-
The field that is to be made the key field is highlighted and then the mouse rightclicked on then the following menu appears and primary key is chosen.
Once the table has been designed and the primary key chosen the table is saved by doing the following:-
This button is clicked on and then the following pop-up shown on the right appears The name of the table is entered and then the 'OK' button is chosen and then the creation of your table is complete
28 March 2007
51
Creation of forms
Clicking on this button displays all the tables and queries in the database
Transfers a selected field Transfers all the fields from the table or query
Once all the fields that need to be on the form have been selected this button is clicked
28 March 2007
52
28 March 2007
53
You can either chose to open the form to enter information or to modify the form's design
The forms of the company were modified by adding the logo in the form header and also by having command buttons to save the record, search for a particular record, add a new record, arrows to move to and forth the records and the necessary queries in each form. It is shown in the next page how to create command buttons:-
28 March 2007
54
In the above window 'Modify the form's design' is selected and the 'Finish' button is clicked then the following window appears:-
Clicking on this icon and then drawing in the place that you want your command button to be anywhere in the detail section opens up the following window shown below
All the categories of command buttons are displayed here and for the one selected all their actions are displayed on to the right
28 March 2007
55
Clicking on the 'Next' button after selecting what you want your command button to be opens up the following window:-
Once your choice has been made this button is clicked and the creation of your command button is complete
Creation of queries
1. Select Queries
Shown below is how to create a select query to find and display a particular product's record
28 March 2007
56
After selecting all the tables that you need to create your query this button is clicked
Clicking on the 'Close' button after doing the above-mentioned opens up the following window:-
All the fields that need to be included in the query can be included by just clicking on them
The fields that need to be displayed are ticked by using the checkboxes and a criteria for the data to be displayed is entered within brackets
After doing the needful the query is saved and the creation of a select query to find and display a particular product's record is complete.
28 March 2007
57
2.Update queries As with select queries even to create update queries design view is used. Shown below is how to create an update query to calculate the VAT on Sales in the sales invoice. After adding the sales table to the query the following is done:-
The field that needs to be updated which is 'VAT' in this instance is entered here
A criteria for the 'VAT' to be updated is entered here. How the 'VAT' field is going to be updated is entered here
28 March 2007
58
After doing the above the query is saved and the creation of an update query to calculate the VAT on sales is complete.
Creation of reports
28 March 2007
59
After the fields which are required for the report are chosen the Next button is clicked and the following window is opened;
After the layout and orientation for the report is selected the Next button is clicked resulting in the opening of the following window;
28 March 2007
60
After the style of the report is chosen the Next button is clicked a window appears in which the report is given a name and saved.
Creation of a password
The database needs to be opened exclusively for a password to be created. Once it has been opened exclusively the following is done to create the password;
The password which is to be cricketshop is entered and verified and then the OK button clicked. Thus the creation of a password for the database is complete.
28 March 2007
61
Creation of a switchboard
A switchboard makes it easier to open forms, queries and reports. It is shown below how to create a switchboard:-
A new switchboard has to be created for Cricket Shop so when 'New' is clicked on the window shown on the left appears and name of the switchboard is entered Once the switchboard has been created it is made the default one so then whenever the database is opened it is the one that opens
To enable the switchboard to open forms and reports it needs to be edited. When the 'Edit' button is clicked in the above window the following window opens:-
28 March 2007
62
For a form or a report to be added to the switchboard the 'New' button is clicked
When the 'New' button is clicked the following window opens:The name of the form or report is entered here
The form or the report needed to be opened is chosen from here and 'OK' clicked For a form to be opened 'Open Form in Add Mode' is chosen and for a report to be opened 'Open Report' is chosen
The above will be done everytime for a report or a form to be opened. The procedures mentioned above are how the new system was created and implemented and shown below is how the system can be used.
28 March 2007
63
Clicking on this button opens up a new product form as shown on the next page
28 March 2007
64
After all the product's details have been entered the 'Save' button is clicked and the entering of a new product record to the system is complete.
28 March 2007
65
The VAT, Total, Discount and Grand Total fields will be calculated by clicking on their respective command buttons. When one of those command buttons are clicked the following will be displayed:-
28 March 2007
66
The invoice number which in this case is 1555 is entered and then 'OK' clicked. Then the following window appears:-
When 'Yes' is clicked the respective field (VAT or Total or Less Discounts or Grand Total) is calculated. When the preparation of the invoice is over after entering the necessary data and doing the necessary calculations the invoice is printed to be presented to the customer. This is done by clicking on the 'Print' command button present in the form. Also the command button 'Save' is clicked on so as to save the invoice for future references by the company. After the invoice is printed the stocks also need to be updated. How that is done is shown below:First the command button 'Update Stocks' in the form is clicked then the following is displayed:-
28 March 2007
67
After the invoice number which in this case is 1555 is entered and 'OK' clicked the following is displayed:-
As two products were sold this process has to be done twice once for each product. The first product which was sold had Product Code KO1234 is entered first and 'OK' entered. Then the following is displayed:-
After 'Yes' is clicked the quantity-in-hand of the product with product code KO1234 is updated in the product table. This process is repeated once again for the other product sold but when the product code is asked GN1788 is entered instead of KO1234.
28 March 2007
68
After all the supplier's details have been entered the 'Save' button is clicked and the entering of a new supplier to the system is complete.
28 March 2007
69
After all the customer's details have been entered the 'Save' button is clicked and the entering of a new customer to the system is complete.
28 March 2007
70
The Final Total will be calculated by clicking on its respective command button. When the command button is clicked the following is displayed:-
28 March 2007
71
The invoice number which in this case is 1233 is entered and 'OK' clicked resulting in the appearance of the following window:-
When 'Yes' is clicked the Final Total is calculated. The 'Save' button is clicked so that the invoice can be viewed when needed. Also the stock levels of the products need to be updated. It is done by clicking the 'Update Stocks' button which results in the following window appearing:-
The invoice number which in this case is 1233 is entered and 'OK' clicked resulting in the appearance of the following window:-
28 March 2007
72
The product code which in this instance is KO1234 is entered and 'OK' clicked resulting in the appearance of the following window:-
When 'Yes' is clicked the stock level of the product which was purchased is updated in the product table.
28 March 2007
73
Once the Product Search query is opened a window similar to the one shown above appears and asks for the product code. For eg. if the product that needs to be found is KO1234. It is entered and 'OK' clicked. Then that particular product if it is there in stock will appear:-
This means that this particular product is available. That is how a particular product can be searched for.
28 March 2007
74
As shown above, when the Customer Search query is opened a window asking for the Customer ID appears. If the user wishes to enter the Customer ID he can do so or he could skip the Customer ID window and move on to enter the Customer Name in the Customer Name window as shown below:-
Either the Customer ID or the Customer Name has to be entered and then that particular customer's record will be displayed if it exists after clicking on the 'OK' button:-
28 March 2007
75
As shown above, when the Sales Search query is opened a window asking for the Invoice Number appears. The invoice number of the record that needs to be found is entered which in this eg.1909 and the 'OK' button clicked. Then that particular sales record is displayed:-
28 March 2007
76
As shown above, when the Purchases Search query is opened a window asking for the Invoice Number appears. The invoice number of the record that needs to be found is entered which in this eg.1233 and the 'OK' button clicked. Then that particular purchases record is displayed:-
28 March 2007
77
As shown above, when the Supplier Search query is opened a window asking for the Supplier Code appears. If the user wishes to enter the Supplier Code he can do so or he could skip the Supplier Code window and move on to enter the Supplier Name in the Supplier Name window as shown below:-
Either the Supplier Code or the Supplier Name has to be entered and then that particular supplier's record will be displayed if it exists after clicking on the 'OK' button:-
28 March 2007
78
28 March 2007
79
Test Results
After the system has been implemented it is necessary to test all the fields to see if they would detect any invalid data entered according to the Test Plan which was created in the 'Design' stage of the solution; Shown below is a table which states whether each test in the test plan was a success or a failure and the page no. of the screenshots which show the tests in detail. Test No. 01 02 03 04 05 06 07 08 09 10 11 12 Test Result It was a success It did not take place as expected. The modifications made to correct the problem and the re-test are shown along with the failed test. It was a success. It was a success. It was a success. It was a success. It was a success. It was a success. It was a success. It was a success. It was a success. The test was a success but there was another problem with the entering of data to this field. This problem and the modifications made are shown along with the test result. This test was deleted. Reasons given on page no. 47 It was a success. It was a success. It was a success. It was a success. It was a success. It was a success. It was a success. It was a success. Page No. of screenshot 80 80,81 81 81 82 82 82 82 83 83 84 84,85
13 14 15 16 17 18 19 20 21
85 85 86 86 86 86 86 86
28 March 2007
80
Test No. 1 Expected outcome when invalid data is entered - An error message should be displayed because the entry is of the incorrect length.
As you can see from the above screenshot the achieved outcome tallies with the expected outcome of the Test Plan. Test No. 2 Expected outcome when invalid data is entered - An error message should be displayed because the item which was entered is not from the list of values given by the combo box.
As you can see from the above screenshot the outcome achieved was not the expected one because the data entered was not from the list of values displayed on the left and a error message was expected to be displayed but it was not. The modifications made to achieve the expected outcome from the Test Plan are shown below:The reason for the error message not being displayed was because in the lookup table properties the 'Limit To List' property was set to 'No'. That was changed to 'Yes' and the field was tested again. This time an error message similar to the one which was expected was displayed;
28 March 2007
81
Test No. 3 & 4 Expected outcome when invalid data is entered - An error message should be displayed due to the invalid data type entered.
As shown in the two above screenshots both tests achieved their expected outcomes.
28 March 2007
82
Test Nos. 5 & 6 Expected outcome when invalid data is entered - An error message should be displayed because the data entered is violating the input mask '99' Invalid data could not be entered in the two fields because of their input masks. Only numbers could be entered because when alphabets are entered nothing appears. So there could be no mistakes in the entering of data in those two fields namely 'Quantity in hand' and 'Re-order Level'. Test No. 7 Expected outcome when invalid data is entered - An error message should be displayed because the field was left blank.
As shown in the above screenshot the expected outcome was achieved. Test No. 8 Expected outcome when invalid data is entered - An error message should be displayed because the data entered is violating the input mask '000000000099'
28 March 2007
83
Test No. 9 Expected outcome when invalid data is entered - An error message should be displayed because the entry is of the incorrect length.
As shown in the above screenshot the expected outcome was achieved. Test No. 10 Expected outcome when invalid data is entered - An error message should be displayed because the data entered is violating the input mask '000000000099'
28 March 2007
84
Test No. 11 Expected outcome when invalid data is entered - An error message should be displayed because the entry is of the incorrect length.
As shown in the above screenshot the expected outcome was achieved. Test No. 12 Expected outcome when invalid data is entered - An error message should be displayed because the data entered is violating the input mask '00/00/0000'
As shown in the above screenshot the expected outcome was achieved. But there was another problem with this field in both the 'Purchases' and 'Sales' tables. When correct values were entered sometimes the system automatically changed the values as it thought correct. Screenshots are shown below;
28 March 2007
85
Before
After
As you can see above when an invalid date is entered in the 'Before' screenshot the system instead of detecting the error and displaying an error message changes the date in a way which it thinks is correct but is still wrong. There is no way that this problem can be corrected so this has to be considered a weakness of the Microsoft Access Package. The user has to make sure that he is entering the correct date everytime for this mistake not to occur. Test No. 13 was deleted. The reasons for its deletion is explained fully on Page No.46 Test Nos. 14, 15 & 16 Expected outcome when invalid data is entered - An error message should be displayed due to the invalid data type entered.
28 March 2007
86
As shown in the three above screenshots all three of the tests achieved their expected outcomes. Test No. 17 Expected outcome when invalid data is entered - An error message should be displayed because the entry is of the incorrect length.
As shown in the above screenshot the expected outcome was achieved. Test Nos. 18, 19, 20 and 21 Expected outcome when invalid data is entered - An error message should be displayed due to the invalid data type entered. As with Test Numbers 14,15 and 16 when alphabets were entered instead of numbers the four fields in Test Numbers 18,19,20 and 21 displayed error messages as expected. Most of the tests went according to the Test Plan while a few needed some modifications to function as expected.
28 March 2007
87
28 March 2007
88
28 March 2007
89
28 March 2007
90
28 March 2007
91
Slazenger V389Pro
28 March 2007
92
A password for the whole system was created but user groups could not be created because it required a qualified programmer to create them.
28 March 2007
93
The Hardware
The hardware performed upto expectations and will not need to be changed for some time unless ofcourse as mentioned in the 'Future Developments' the company decides to introduce online sales and open another branch and network the two branches.
28 March 2007
94
The Software
For now the software chosen 'Microsoft Access' is satisfactory. It is user-friendly and was able to achieve most of the requirements of the user from the new system except for a few which is mentioned in the 'Weaknesses of the system'. In the future when the company obtains higher profits and the company is able to afford to hire a qualified programmer it may be decided to use a High-Level programming language which will help in creating a very fast and flexible database. However for now it is good enough for a company like 'Cricket Shop'
28 March 2007
95
User Feedback
A month after the system was implemented the manager in charge of the store was interviewed to get his comments on the new system and its performance. Given below is the transcript of the interview: Interviewer: Is the system user friendly? Manager: Most definitely, it is very user friendly. Interviewer: What about the accessing and entering of data? Manager: Data can be accessed within a matter of a few seconds and the entering of data is very quick. Interviewer: What are the features that have been most useful? Manager: One very useful feature has been the detection of invalid data by the system and another very useful feature has been the automatic calculations made to the payment fields like VAT. Interviewer: How has the system in general affected your organization? Manager: Well, it has greatly minimized the many previously tedious tasks such as searching for a particular product. Interviewer: Any comments made by either the customers or the suppliers? Manager: The customers are very happy with the error-free invoices they receive and the suppliers have nothing to complain about as all their payments are made on time. Interviewer: What are your views on the huge amounts invested by the company on the system? Manager: I think in the long-term that it is a worthwhile investment because other costs such as purchasing of new files, paper, filing cabinets etc. will not be incurred anymore. Also the benefits derived from the new system has been enormous. Interviewer: In your opinion what do you think can be done to further improve the system? Manager: It would be nice if Access Rights could be set for different employees because now even the cleaner is able to access the system as he knows the password and modify data at will.
28 March 2007
96
28 March 2007
97