Bakery Database Management System Documentation
Bakery Database Management System Documentation
Cathy’s
BAKERY DATABASE MANAGEMENT SYSTEM
bakery
Page | 1
NAME : FAITH
SURNAME : DZIRIPI
YEAR : 2019
Page | 2
1. SELECTION ,INVESTIGATION AND ANALYSIS
2. DESIGN
2.1 ALTERNATIVEMETHODS……………………………………………………...…..18
2.2 JUSTIFICATION………………...........................................................................23
2.3 INPUTDESIGN…………………………...…………………….……………....…….21
2.4 OUTPUT DESIGN…………….…………………………………………………......23
2.5 TEST PLAN………………………………….……………………………….............25
3. SOFTWARE DEVELOPMENT
3.1TECHNICAL
DOCUMENTATION...........................................................29
3.2. PSEUDOCODES……………….…………………………..........……………………..31
3.3. FLOWCHARTS………………………………………….………………..…….……....32
3.4. PROGRAM LISTING.………………………………………….……………...…...…...33
3.5 USER DOCUMENTATION …..………………………….………………………….….33
5. APPENDIX
Page | 3
SECTION A: Selection, Investigation and
Analysis
Cathy’s Bakery located in Dangamvura was created on the 11th of January 2019 which accomodates a maximum
of fifteen (15) people; the customer requests an order to the sales man using the Bakery Production Book
provided by the sales man where there is a list of all the products to be ordered in this Bakery including bread,
muffins and all other different bakery products. The taken order is then recorded in the Orders book which is
used for recording orders. The customer then pays for her/his selected goods in credit, cash using different
methods like swipe and eco-cash which is a little expensive since charges are recently increasing day in and day
out due to economical factors. If the customer pays the order in cash, he/she is given a receipt . The money paid
is then recorded in the Stock Book for record keeping. If it is a credit order, the customer is given an invoice for
record keeping once again .The Customer List is to be recorded daily at the end of each day for record keeping
and to trace creditors and the profit for the day. The customer comes to collect her products at a due order date
which she/he would have been given by the salesman. After every week reports on Bakery Orders production,
Bakery Staff List are made by the Bakery clerk for record keeping and trace any embezzlements or shortages
Page | 4
Interview Guide
1 When did you start your business?
...................................................................................................................................................................
2. What was your ambition in starting this big business in an area like Mutare?
……………………………………………………………………………………………………………………….
………………………………………………………………………………………………………………………..
…………………………………………………………………………………………………………………………..
……………………………………………………………………………………………………………………………
……………………………………………………………………………………………………………………………
7.With this manual system, how many workers do you need per working process?
...........................................................................................................................................................................
8.In line with the number of workers, is the number of workers not affecting your procedures and profit makings?
…………………………………………………………………………………………………………………………
duty? ................................................................................
Questionnaires
Page | 5
Answer:
Yes No
Answer:
Answer
Cash: Credit:
9. 14. Do you have a backup of all the information about your business progressions?
Yes: No:
10. What is the maximum and minimum number of baked products do you sell per day??
Maximum: : Minimum:
SYSTEM
Page | 6
At Cathy’s Bakery no back-up copies are stored and if the current books are lost or accidentally burnt then all
records will be lost. It is difficult to retrieve product or customer records as they are not stored on a disk where
there is direct access to the information about them. There is a big risk of calculation errors e.g. when calculating
the price of a certain number of products when selling them and when entering them in their respective books.
There are many cases of compiling wrong daily product orders reports due to errors on quantity bought. There is
also poor letter quality of customer records. Products are easily stolen because some of them are intentionally
not entered in the books or written in wrong figures. They are also stolen easily because of the exposure of the
system to everyone in the company i.e. any worker can access the record books easily without any password
needed as the system is manual and also he/she can make alterations to the records which will at the end result
in having many losses and little profits and there by leading to the decline of the business.
Inputs: In the Orders Book,there is the input of customeer ID,first name,surname,product name,amount
and quantity
In the Staff Book,there is the input of Worker’s ID,First name,surname and duty
Output: After the records are recorded the paper that has the details of the customer is ripped out of the output
book and the paper is given to the customer as a receipt. The receipt contains the following details, first name,
Process: There is recording of customer records in the books. There is also recording of orders ordered
records .The tearing of pages that would act as receipts is also included
STORAGE: After the process the books are then put into a small lockable wooden box for safe keeping
♣ It takes a lot of time to find a customer name who ordered the product since the customer names are
written randomly.
Page | 7
♣ The clerk might record wrong order customer records due to tiredness ,repetitive work like recording
♣ There is deterioration of pages flipping over in search of customer name that comes to collect or to pay
♣ There are many calculations involved on Bakery and therefore, there are high cases of compiling wrong
♣ The Bakery may run out of products on stock without being aware since there is no stock update.
♣ If the clerk transfers to another bakery of the organization, it will be difficult for the new clerk to see
clearly the handwriting of the other. This will result in wrong product production reports transferred from
one book to another e.g. from Bakery production book to Bakery book
♣ Much storage space is needed for increasing the volume of product orders record books as they
♣ There is no controlled access to the customer records as any unauthorized individuals can gain access
♣ The compiled monthly product orders reports look untidy due to presence of product order errors.
Strengths
♣ Orders are taken at anytime of the day since there is no need for electricity
♣ No health problems like eye problems or Repetitive Strain Injury (RSI) due to the long or incorrect use of
computers since the person will be using free hand to take the orders
Page | 8
♣ Responding to prompts during bakery stock records displaying and printing.
♣ Selecting menu options when a required task is to be done e.g. when saving the document.
Scroll Mouse
A mouse is a small device used to point to and select items on your computer screen and it is a vital requirement
for this system.
Either an optical USB type, wireless or the more vintage PS2 type this system
offers equal support for them. For a laptop or notebook the touchpad will do just
fine.
Output Devices
Page | 9
♣ Display Bakery Product Production reports.
♣ Display Bakery product stock menu on which a user can select a required option.
♣ Display Bakery stock input to guide the operator when entering the data on product orders.
♣ Display error messages on product code to inform the user to make corrections to the product code error.
Page | 10
Storage Devices
♣ Store created product orders records, outstanding product orders and stock for future use.
♣ Speed up the product record retrieval during record processing, record deletion modification and daily orders
report production.
♣ Temporarily storing Bakery Orders application instructions and data during use by the processor.
Page | 11
CD-ROM Drive
♣ To backup Bakery Orders System files so that data is recovered in case of accidental loss.
Page | 12
The system will be able to run on a 2.8 GHz Intel processor as it is very fast in processing product orders that is
to speed the searching of product orders records and making daily product orders calculations involved in the
system.
♣ Compares the product orders records inputs on the screen with the stored product orders and inform the
Software Requirements
Page | 13
An operating system that have a user interface with acceptable graphics which support graphical software like
1) Microsoft office 2016 package that have got other software in them and also which can link with the
other programs
3) An anti-virus to protect the data from infection by malware. For example Norton, Avast or Smadav
Page | 14
1.6 Aims
to:
Page | 15
♣ Create back-up copies to recover lost customer records if there is any event of data loss.
♣ Keep orders records safe for a long time since they are stored on a disk.
♣ No Bakery calculation errors can be encountered as long as the correct orders are entered.
♣ It is easy to retrieve customer records as records would be stored on a disk which offers direct access
to data.
♣ Improved letter quality of the orders records so that it is easier to read for any customer.
♣ To minimize lots of paper work that may lead to misplacement of records leading also to loss of records
Objectives
♣ The system should calculate profit and loss per weekly basis.
♣ It should save the time finished for every production process in order to range the time for which the
♣ There is no need for entering the on a calculator as the salesman just type in the price of the product
♣ There is no need for writing the details of the dealer somewhere as the data will be saved electronically.
♣ It should allow the user to add, save or delete the records electronically.
♣ It should minimize calculation errors as the data is calculated electronically without any human
interference.
Page | 16
PLEASE REFER TO APPENDIX
2SECTION B: DESIGN
2.1 Consideration of alternative methods
Alternative solutions
There are many ways of enhancing a system to a better version and this includes:
This is the software designed to do more than one task but the company will be inclined to buy because the
Page | 17
Advantages
a. It not exposed to many errors as many users will be using it and if there was an error, it could have
Disadvantages
There is need to contact the service providers if the system corrupt or malfunctions than to buy
Phased Implementation
This is a process when the current system is not removed but the analyst upgrades the running the update
parallel to the current system in case of malfunction of the upgrade, he could simply switch back to current
system.
Advantages
Disadvantages
a. It is not reliable
b. It is not efficient
Page | 18
Custom made software
This is whereby a program is developed from the user’s need that is Golden Bakery’s need. This is done using
Advantages
c. The system is made with the design for that particular company
d. All the problems that the current system will be facing are solved in the new system.
f. There are no complications as all the steps are written in the documented booklet.
Disadvantages
From the three available options above the first two options will be rejected because they are more
disadvantageous than advantageous seemed not to cater for all the problems that a company is facing.
Page | 19
2.3 INPUT DESIGN
Data Capture forms
Login form
Orders
Page | 20
Staff
Utensils
Page | 21
2.4 OUTPUT DESIGN
Page | 22
Data Structures or File Design
Shown below are the 2 structures which were chosen:
ORDERS FORM
Field Name Field Data Type
ID AUTONUMBER
First Name TEXT
Surname TEXT
Product Name TEXT
Amount NUMBER
Quantity NUMBER
STAFF
Page | 23
2.5 Test plan/Test Strategy: BLACKBOX
TESTING
Black box testing
This type of testing will allow me to discover errors in the system that may be invisible to me because of my
knowledge as to how the system was programmed. The personnel doing this testing will not be aware of the
coding of the software or how it goes around a problem. This method eliminates bias in the testing. The values
to be tested should include typical values, borderline values and values which are not acceptable. The reasons
for use of Black Box testing are that the program is tested according to its specifications and different values are
entered for variables to determine whether the program can cope with them. Black box testing will include use of
It is used to test if all the modules of the system are working correctively like producing the expected results.
Justification
Below are my previous results for alpha testing that is testing for extreme, normal and abnormal data.
Page | 24
EXTREME DATA
“Faith Johnson” is rejected as extreme data because it is not a short text but instead 2
short texts
NORMAL DATA
Page | 25
Field name Field type Tested data Tested data
“Faith” is accepted as normal data for it had an expected outcome because it is a short
text
ABNORMAL DATA
Page | 26
Name Short text 0000 Rejected
“0000” is rejected as abnormal data because it is not even a short text but numbers
Page | 27
3SECTION C: SYSTEM
DEVELOPMENT
3.2 PSEUDOCODES
If password matches
Then
Show task menu
Else
Display ”Password is incorrect”
End If
End
START
ENTER RECORDS
IF DATA IS SAVED
THEN
DISPLAY “DATA SAVED”
ELSE
DISPLAY “DATA NOT SAVED”
END IF
END
Page | 28
3.3 Flowcharts for Modules
Delete
Start
Main Menu
Stop
ORDERING PROCESS
V.D.U
Storage
Entry
Input data validation
V.D.U
Customer’s
details
Page | 29
3.4 Codes/program listings
LOG IN MODULE
EndIf
EndSub
EndClass
SAVING AN ORDER
DELETING A UTENSIL
Page | 30
PrivateSub Button2_Click(ByVal sender AsSystem.Object, ByVal e
AsSystem.EventArgs) Handlesbtndel.Click
UtensilsBindingSource.RemoveCurrent()
EndSub
EndIf
Page | 31
♣ Insert CD labelled CATHY’S BAKERY into E or D drive
♣ After installation, a login form will appear and input the username as “Faith” and the password as “0000”
Page | 32
♣ After inputting the password and username, a dialogue box will appear
♣ When you are done inputting the username and password then choose any button you want on the
Page | 33
♣ If you want to view the orders ,click on the orders button and even add an order or remove an order
♣ You can even save or delete an order by clicking the add or delete button
♣ The staff and their duty data is found on the staff button
Page | 34
♣ One can also add a staff member or remove a member
Page | 35
♣ You can found out more about the person who developed the system and the sole purpose by choosing
♣ Tools are found on the tools button e.g. the tool name and tool number
Page | 36
♣ All information can be viewed through clicking a button which houses the data you need
Page | 37
Page | 38
4 SECTION D: TESTING AND
EVALUATION
4.1 User testing
USER TESTING FOR SAVING AN ORDER IN ORDERS FORM
NORMAL DATA:
Page | 39
EXTREME DATA:
ABNORMAL DATA:
Page | 40
id 1 accepted
First name lindy accepted
surname museka accepted
Product name cake accepted
amount 1000 accepted
quantity 100 accepted
Page | 41
With the computerised Cathy’s Bakery Orders System a number of achievements were made according to the
Achievements
4.3 Limitations
Every organization has its drawbacks. The drawbacks of the computerised solution are:
♣ The System cannot automatically update the Bakery Stocks without the user updating on his/her own.
Page | 42
♣ The system cannot create file generation i.e. Grandfather-Father-Son files for recovery of data in the event
Page | 43
♣ Use of access levels to alter data that can affect other files to prevent falsification of data in the
Bakery system.
♣ The interface can still be improved and made more attractive by the use of more complex and
attractive controls
Page | 44
APPENDIX
Page | 45
Page | 46
Page | 47
Page | 48
Page | 49
Page | 50
Page | 51
Page | 52
Page | 53