Sie sind auf Seite 1von 333

LEATHER LAB LTD COMPANY

Contents
CHAPTER 4.1: DEFINITION, INVESTIGATION AND ANALYSIS
4.1.1Description of the organization..........................................................................9
4.1.1.1 Site Plan...................................................................................................... 9
4.1.1.2 Number of staffs per jobs..........................................................................10
4.1.2 Organizational chart of the business leather lab.............................................11
4.1.3 Investigate the current system........................................................................12
4.1.4 Definition of problem....................................................................................... 12
4.1.5 Record findings................................................................................................ 13
Current Method use.................................................................................................. 16
4.1.6 Analyse findings.............................................................................................. 16
Letter of Permission request to carry out investigation............................................17
Approval Letter......................................................................................................... 18
Investigation plan..................................................................................................... 19
Methods of fact finding chosen.................................................................................19
Interview plan........................................................................................................ 19
Observation plan................................................................................................... 21
Study document plan............................................................................................ 21
Results of fact-finding methods................................................................................ 21
Interview Result..................................................................................................... 21
Observation Result................................................................................................ 25
Document analysis result...................................................................................... 26
Actual system description........................................................................................ 28
Evaluation of the actual system............................................................................... 29
1. Advantages of the actual system......................................................................29
2. Disadvantages of the actual system.................................................................29
4.1.6 Specify requirements: user, hardware, software.............................................31
Alternative solutions................................................................................................. 32
Evaluations of the solutions...................................................................................... 32
Employ more staffs:.............................................................................................. 32
Installation of hidden camera................................................................................33

LEATHER LAB LTD COMPANY


Expansion of office space......................................................................................
2
33
Using of separate drawers..................................................................................... 33
Special room......................................................................................................... 34
Computerized system........................................................................................... 34
Advantages and disadvantages of the computerized system...............................35
Hardware and software requirements......................................................................37
1. Hardware Requirements:................................................................................... 37
2. Software Requirements:.................................................................................... 37

CHAPTER 4.2: DESIGN


4.2.1 Nature of solutions.......................................................................................... 38
4.2.2 File Structure................................................................................................... 40
Database Design for Product Form........................................................................40
Database Design for employee form.....................................................................41
Database design for Customer form.....................................................................42
Database design for Order form............................................................................43
Database design for Order Details form................................................................44
4.2.3 Data structures/model..................................................................................... 45
Data relationship diagram..................................................................................... 45
Entity relationship diagram................................................................................... 45
4.2.4 Input design..................................................................................................... 46
Login Form............................................................................................................. 46
Main Menu Form:................................................................................................... 47
Product Form......................................................................................................... 49
EMPLOYEE FORM................................................................................................... 51
CUSTOMER FORM.................................................................................................. 54
ORDER FORM......................................................................................................... 57
4.2.5 Output design.................................................................................................. 60
Product LIST.......................................................................................................... 60
EMPLOYEE LIST...................................................................................................... 60
CUSTOMER LIST..................................................................................................... 61
ORDER LIST........................................................................................................... 61

LEATHER LAB LTD COMPANY


4.2.6 Process model.................................................................................................
3
62
4.2.6.1 SYSTEM FLOWCHARTS...............................................................................62
1. Product........................................................................................................... 62
2. Employee....................................................................................................... 66
3. Customer........................................................................................................ 70
4. ORDER............................................................................................................ 74
4.2.6.2 Flowchart to generate report.....................................................................75
Leather report.................................................................................................... 75
Employee record................................................................................................ 75
Customer report................................................................................................. 75
Order report....................................................................................................... 76
4.2.6.3 Pseudo code.............................................................................................. 77
Login form:......................................................................................................... 77
Main Menu:......................................................................................................... 77
Product Form:..................................................................................................... 78
Employee Form:................................................................................................. 80
Customer Form................................................................................................... 81
Order Form......................................................................................................... 83
4.2.7 Intended benefits............................................................................................ 84
4.2.8 Limits of the scope of the solution...................................................................84
File size of employee table.................................................................................... 85
File size of customer table..................................................................................... 85
File size of Order table........................................................................................... 85
4.2.9 Limitations of the system................................................................................ 86
4.2.10 Top down Design........................................................................................... 87
4.2.11 Modules......................................................................................................... 88
4.2.12 Test plan........................................................................................................ 89
1.0 Test plan for login form.................................................................................... 89
2.0 Test plan for Main Menu form..........................................................................89
3.0 Test plan for Product form............................................................................... 90
3.1 test plan for product form (field)..................................................................90
3.2 test plan for product form (button)..............................................................91
4.0 Test plan for employee form............................................................................92

LEATHER LAB LTD COMPANY


4.1 test plan for employee form (field)...............................................................92
4
4.2 test plan for employee form (button)...........................................................93
5.0 Test plan for customer form............................................................................. 94
5.1 test plan for customer form (field)...............................................................94
5.2 test plan for customer form (button)............................................................95
6.0 Test plan for order form...................................................................................96
6.1 test plan for order form (field)......................................................................96
6.2 test plan for order form (button)..................................................................96
7.0 Test plan for order details form.......................................................................97
7.1 test plan for order details form (field)..........................................................97
7.2 test plan for order details form (button).......................................................97
8.0 test plan for MDI CHILD form (button).............................................................97

CHAPTER 4.3 SOFTWARE DEVELOPMENT, TESTING AND INSTALLATION


4.3.1 Software Development.................................................................................... 98
4.3.1.1File structures............................................................................................ 98
Tblproduct:......................................................................................................... 98
tblemployee:...................................................................................................... 99
tblcustomer:..................................................................................................... 100
tblorder:........................................................................................................... 101
tblorderdetails:................................................................................................. 102
4.3.1.2 Relationship Diagram.............................................................................. 103
4.3.1.3 Entity relationship diagram.....................................................................103
4.3.1.4 Input Forms............................................................................................. 104
Login form:....................................................................................................... 104
Main Menu Form:.............................................................................................. 104
Product Form:................................................................................................... 105
Employee Form:............................................................................................... 105
Customer Form:................................................................................................ 106
Order Form:...................................................................................................... 106
4.3.1.5 Output Forms.......................................................................................... 107
Product Report:................................................................................................ 107
Employee Report:............................................................................................. 108

LEATHER LAB LTD COMPANY


Customer Report:.............................................................................................
5
109
Order Report:................................................................................................... 110
Order Detail Report:......................................................................................... 110
4.3.2 Programming................................................................................................. 111
Code behind the login form.................................................................................111
Code behind the Main Menu form.......................................................................111
Code behind the Product form............................................................................. 112
Code behind the Employee form.........................................................................114
Code behind the Customer Form.........................................................................116
Code behind the Order form................................................................................ 118
4.3.3 Testing a software solution............................................................................119
4.3.4 Planning for installation and use...................................................................179
4.3.5 Client and user testing.................................................................................. 182

CHAPTER 4.4: DOCUMENTATION


4.4.1 User Documentation...................................................................................... 184
4.4.1.1 Glossary..................................................................................................... 196
4.4.1.2 Software installation................................................................................... 196
4.4.1.3 Working with input forms...........................................................................200
Working with product form:................................................................................. 200
Working with employee form:.............................................................................. 206
Working with Customer form:..............................................................................212
Working with Order form:.................................................................................... 218
4.4.1.4 Generating Reports.................................................................................... 220
Generating Product Report.................................................................................. 220
Generating Employee Report.............................................................................. 221
Generating Customer Report...............................................................................222
Generating Order Report..................................................................................... 222
Generating Order details Report..........................................................................223
Exiting the software................................................................................................ 223
Opening Help document......................................................................................... 224
Backup.................................................................................................................... 224
4.4.1.5 Trouble shooting......................................................................................... 225

LEATHER LAB LTD COMPANY


4.4.1.6 Index..........................................................................................................
6
227
4.4.2 Technical Documentation..............................................................................228
tblproduct:........................................................................................................... 230
tblemployee:....................................................................................................... 231
tblcustomer:........................................................................................................ 232
tblorder:.............................................................................................................. 233
tblorderdetails:.................................................................................................... 234
4.4.2.2 Data Dictionary.......................................................................................... 235
4.4.2.3 Relationship Diagram................................................................................. 236
4.4.2.4 Entity relationship diagram........................................................................236
4.4.2.5 Navigation Path.......................................................................................... 237
4.4.2.6 Input Forms................................................................................................ 238
Login form:.......................................................................................................... 238
Main Menu Form:................................................................................................. 238
Product Form:...................................................................................................... 239
Employee Form:.................................................................................................. 239
Customer Form:................................................................................................... 240
Order Form:......................................................................................................... 240
4.4.2.7 Output Forms............................................................................................. 241
Product Report:.................................................................................................... 241
Employee Report:................................................................................................ 242
Customer Report:................................................................................................ 243
Order Report:....................................................................................................... 244
Order Detail Report:............................................................................................ 244
4.4.2.8 Program listing........................................................................................... 245
Code behind the login form.................................................................................245
Code behind the Main Menu form.......................................................................245
Code behind the Product form............................................................................. 246
Code behind the Employee form.........................................................................248
Code behind the Customer Form.........................................................................250
Code behind the Order form................................................................................ 252
4.4.2.9 Pseudocode................................................................................................ 253
Login form:.......................................................................................................... 253

LEATHER LAB LTD COMPANY


Main Menu:..........................................................................................................
7
253
Product Form:...................................................................................................... 254
_Toc390194164Employee Form:..........................................................................256
Customer Form.................................................................................................... 257
Order Form.......................................................................................................... 259
4.4.2.10 SYSTEM FLOWCHARTS.............................................................................. 260
1. Product............................................................................................................ 260
Add Product record........................................................................................... 260
Search Product record...................................................................................... 261
Modify Product record...................................................................................... 262
Delete Product record...................................................................................... 263
2. Employee........................................................................................................ 264
Add Employee record....................................................................................... 264
Search employee record..................................................................................265
Modify Employee record................................................................................... 266
Delete employee record................................................................................... 267
3. Customer......................................................................................................... 268
Add customer record........................................................................................ 268
Search customer record................................................................................... 269
Modify customer record.................................................................................... 270
Delete customer record.................................................................................... 271
4. ORDER............................................................................................................. 272
Flowchart to generate report..................................................................................273
Leather report..................................................................................................... 273
Employee record................................................................................................. 273
Customer report.................................................................................................. 273
Order report........................................................................................................ 274
4.4.2.11 Top down Design...................................................................................... 275
4.4.2.12 Modules.................................................................................................... 276
User Requirements................................................................................................. 287

LEATHER LAB LTD COMPANY


8

4.1 DEFINITION, INVESTIGATION


AND ANALYSIS
4.1.1Description of the organization
The company Leather Lab Ltd belongs to Fardeen Madarbocus. It is located
at Comlone road, Nouvelle-France. The company was opened in the year
2008 and is a manual based system. It deals in the importation of raw
materials (leather in rolls) and produces many products made with leather
such as bags, shoes, wallets, belts, laptop bags, jackets and mobile phone
cover. The opening and closing time of the company is from 8:30 Am to 4:30
Pm only week days.
4.1.1.1 Site Plan

LEATHER LAB LTD COMPANY


4.1.1.2 Number of staffs per jobs

There are 19 staffs working for the company including the owner. Details are
given below.
2 storekeeper: 1 supervisor / storekeeper
1 helper
12 production: 1 loader / unloader
6 machinists
1 supervisor/ designer
2 pattern makers
1 thread cutter
1 packager
2 vans: 2 salesmen/ delivery person/ drivers
1 accountant/ sales manager
1 customer support/ advisor/ marketing officer
Director/ owner of business/ Manager

LEATHER LAB LTD COMPANY


10

4.1.2 Organizational chart of the business leather lab

Director/Manager

2 Tailors

Product
Produced

Packing

LEATHER LAB LTD COMPANY


11

6
Machinists

LEATHER LAB LTD COMPANY


12
Sales
manager/Accountant

Marketing
Officer

Supervisor/Designer

LEATHER LAB LTD COMPANY


13

4.1.3 Investigate the current system


Raw materials (leather) are imported to manufacture goods.
Raw materials enter the warehouse.
Raw materials are sent to production.
designer design the products
machinist tail the product
products are sent to thread cutters and then packagers respectively.
Clients are informed when their products are ready so that they can come
and fetch it.

4.1.4 Definition of problem


When the business was opened in year 2008, there was no problem raised
with business. Due to the expansion of the business, there are certain
problems that arise.
Paper work has increased as there are many books such as stock logbooks,
production logbooks, sales receipts and many more.
Due to a lot of stress the supervisor/ storekeeper tends to forget when to
order raw materials and how much of product is to be delivered to whom and
when.
Also the supervisor/designer tends to forget when does the customer needs
the product and in what quantity resulting in overtime work of the staff which
leads to a loss. As overtime working means double payment.
Updating is difficult. Example is that if a client ordered 5 wallets but
cancels the first order to place a second one with a double quantity, the
designer has to go through the production order logbooks in order to cancel
the order. He has to look for the information entered in the order book.
The documents are not safe as personal information can be stolen. Also
information can be destroyed by natural disaster such as fire, cyclone, flood,
earthquake and many more.
The accountant/sales manager also has of lot of stress. He has to settle the
account for everything and has no rest.

LEATHER LAB LTD COMPANY


14
There is no proper control on the business.
For example, there is an order
of 10 belts. Instead of manufacturing 10 belts, 15 belts is produced. The 5
belts which are in excess are distributed among staffs. This leads to a loss of
raw materials as well as products and money. In other words, staffs take
advantage o f the complicated situation and steals products.

Due to these problems mentioned above the owner has decided to appoint
an analyst to convert the manual paper based system into a computerized
system. The owner thinks that when the manual paper based system will be
converted into a computerized based system, his problems will reduce and
thus leading to a peace of mind.

4.1.5 Record findings


STOCK LOG BOOK
Use: to store details on raw materials in stock

ORIGIN

DATA

DESCRIPTION

Stock log
book

Desc of R.m

This represents the description of the raw


material.
This represents the quantity of raw material in
the stock.
This represent the date on which the raw
material was bought.

Qty
Date of entry

LEATHER LAB LTD COMPANY


15

LEATHER LAB LTD COMPANY


PRODUCT LOG BOOK

16

Use: to store details on products in stock.

ORIGIN

DATA

DESCRIPTION

Product log
book

Desc of
product
Qty

This represents the description of the product.

price

This represents the quantity of product in the


stock.
This represents the price of each product.

ORDER LOG BOOK


Use: to store details on the order placed by a customer

LEATHER LAB LTD COMPANY


17

ORIGIN

DATA

DESCRIPTION

order book

Name
Add
T.num

This represents the name of a customer.


This represents address of the customer.
This represents the telephone number of the
customer.
This represents the description of product which
is ordered by a customer.
This represents the quantity of products which
is ordered by a customer.
This represents the date on which an order was
placed by a customer.
This represents the date on which an order
should be delivered to a customer.
This represents the price of each product which
is ordered by a customer
This represents the total price a customer
should pay.

Desc
Qty
O.Date
D.date
U.price
T.price

LEATHER LAB LTD COMPANY


18

Current Method use


Raw materials (leather) are imported. When the raw material is sent to the
warehouse, the information about the leathers is recorded into a stock log
book. Leather which customers want their product to be produced with is
sent to production to manufacture customers goods. The
supervisor/designer records how much leather enters the production room.
The supervisor/designer designs the product and the machinist tail the
product. After production, the products are sent to thread cutters and
packagers respectively. After packing, the storekeeper/supervisor log the
quantity of product manufactured. Then the supervisor/designer checks
which client had placed this order and the client is informed that their
product can be delivered to them and the customer come at nouvelle-France
to fetch their products and they can pay via bank, check or cash.

4.1.6 Analyse findings


The DfD
Material
Material
Check Material
Availability

Material

Pattern

Custom
er

Make design

Order

Order File

LEATHER LAB LTD COMPANY


Letter of Permission request 19
to carry out investigation

LEATHER LAB LTD COMPANY


Approval Letter

20

LEATHER LAB LTD COMPANY


21

Investigation plan
In investigation plan, I the analyst must know how the manual system of the
leather lab ltd company functions. For that I must carry out fact finding
methods. There are four types of fact finding methods namely the
Interview
Observation
Questionnaire and the
Document study

Methods of fact finding chosen


Interview of staffs and owner
Observation of how the system functions
Study of documents

Interview plan
The owner of the company, the supervisor/storekeeper, the
supervisor/designer, and the accountant/sales manager will be interviewed.
Below are the names of the persons to be interviewed:
The owner: Fardeen Madarbokus
The supervisor/storekeeper: Keshav Gooransingh
The supervisor/designer: Muzammil Jumun
The accountant/sales manager: Irfan mulung

Purpose of interviewing:
Interviews are done for me, the analyst to know how the manual system is
used by the user (staffs) so that I could better understand the problem and
find solutions to the problems. Interview is the asking of questions to the
staffs. Below are the list of questions asked to the owner and the staffs
respectively.

LEATHER LAB LTD COMPANY


Questions for the owner

22

When did you set up your business?


What your business deals in?
How many staffs are there in the company?
How do you record your data?
What data do you record?
How do you update your data?
Where do you record your data?
How many types of products do you manufacture?
What are the products you manufacture?
What information do you keep on your clients?
What are the problems you are facing with the actual system?
Do you have any idea how to solve the problem?
Do you think computerized could be a solution?
Are you and your staff computer literate?
What output do you want from the system?
Who else apart from you should be allowed to use the system?

Questions for staffs:


When did you join the company?
What is your job in this company?
What data do you record?
Where do you record the data?
What are the problems you are facing with the actual system?
Do you have any idea how to solve the problems?

LEATHER LAB LTD COMPANY


Do you think computerized could be23
the solution?
Are you computer literate?
Are you willing to undergo computer training?

Observation plan
Observation was chosen so that me the analyst could observe how the staffs
use the system and for me to have a clear indication on the manual system.

Study document plan


Study of documents also will be carried out so that I would know how, where
and what data do the staffs record.

Results of fact-finding methods


All the three types of the fact finding methods that is the interview,
observation and the study of documents will be carried out on the same day
that is on 04/04/13 but at different time.

Interview Result
The interview was taken at 10.30 am. Below are the questions and answers
which were asked to the owner and his staffs.

Questions and answers for owner:


When did you set up your business?
In year 2008.
What your business deals in?
Importation of raw materials (leather), manufacture of products with raw
materials.
How many staffs are there in the company?
There are 19 staffs
How do you record your data?
Data recorded are date, quantity, name and address of customer and
amount paid.
What data do you record?

LEATHER LAB LTD COMPANY


24 date, quantity in stock, quantity
Date of entry, date of delivered, order
sent, amount paid, name and address of client, quantity of product
manufactured, types of products manufactured.

How do you update your data?


By cutting the wrong data and then it is replaced by the new data
Where do you record your data?
the data are recorded into a stock log book, production log book, order log
book and the delivery log book.
How many types of products do you manufacture?
7 types of products.
What are the products you manufacture?
Bags, shoes, wallets, belts, laptop bags, jackets and mobile phone cover.
What information do you keep on your clients?
Their name, address, types of products ordered, quantity of products
ordered, order date, delivery date, amount paid.
What are the problems you are facing with the actual system?
There is no proper control upon the business as paperwork has increased.
It is becoming difficult for the staff to update data and due to the increased
in paperwork, it is leading to stress for the staffs who have to make records.
Due to the stress, the supervisors tend to forget when to deliver customer
products, thus staffs should work overtime leading to loss. Paper work also is
not safe as personal information can be stolen. Due to the uncontrollable of
the business, some staffs tend to steal products and raw materials.
Do you have any idea how to solve the problem?
No
Do you think computerized could be a solution?
May be yes
Are you and your staff computer literate?
Yes

LEATHER LAB LTD COMPANY


Do you want training?

25

Yes
What output do you want from the system (reminders)?
A message which informs my staffs on which day which product should be
delivered to whom and so on.
Who else apart from you should be allowed to use the system?
The supervisor/storekeeper, the supervisor/designer, the accountant/sales
manager.

Questions and answers for staffs:


Questions:
When did you join the company?
In which job do you involve?
What data do you record?
Where do you record the data?
What are the problems you are facing with the actual system?
Do you have any idea how to solve the problems?
Do you think computerized could be the solution?
Are you computer literate?
Do you want training for the new system?

Answers given by the supervisor/storekeeper:


In the year 2008.
To control the raw materials and products in the warehouse.
I record the quantity, type, date of raw material that enter the warehouse,
record the quantity , type, date of raw material sent to production, quantity
,type, date of products entered warehouse and quantity delivered.

LEATHER LAB LTD COMPANY


26 are recorded into a stock logbook.
Number of raw materials and products
The quantities delivered are recorded into a delivered log book.

Paper work is increasing so updating of data are becoming difficult.


No, I do not have any idea
May be it will be much easier to use a computerized system
Yes, I am computer literate
Yes, I need training for the new system.

Answers given by the supervisor/designer:


In the year 2008
Controls the order of clients.
I record the order date, quantity, type, name and address of clients and the
delivery date.
In the order log book.
Order level is increasing so paper based also is increasing. It is becoming
difficult to check when to return order.
No.
I think so.
Yes
Yes

Answers given by the accountant/sales manager:


In 2008
I control the income and the outgoing money as well as I calculates the
staffs salary per month.
The incoming, outgoing and the salary paid to staffs.
In an account log book

LEATHER LAB LTD COMPANY


27
I have no rest and I have to settle everything.
There is a lot of work to do.
This leads to stress. It is becoming difficult to calculate staffs salary because
they work overtime. Nowadays the company is making loss.

No
Yes, calculation will be much faster to do.
Yes
Yes

Observation Result
The observation was carried out at 11.45 am. Below are the observations
that I marked while observing how the staffs use the manual system.
I noticed that they make severe errors leading to confusion and stress.
They make errors while making the records and they sometimes misplace
the files from one place to another.
When they have to update data, they have to find where the data was
recorded and then cut the data to input the correct one. They have to search
for other data which should be change due to the updating of data. It takes a
lot of time thus it is a waste of time.
They have no proper control on the staffs. Staffs are wasting their time
when the supervisors are busy doing another work.
The supervisors and the accountant are so busy that they have no time for
having their lunch.
The accountant was calculating the income and outgoing money. When
rechecking the calculation, there is error in the calculation. So he has to
recalculate the income and outgoing money.

LEATHER LAB LTD COMPANY


28

LEATHER LAB LTD COMPANY


Document analysis result

29

Below are the documents that the company uses to store their data. There
are stock log book, order log book, delivery log book and production log
book. The document analysis was carried out at 14.00 pm.
STOCK LOG BOOK

The purpose of the stock log book is to record the amount of raw materials in
stock(purchase), description of raw material, and the date on which the raw
material was purchased.
PRODUCT LOG BOOK

LEATHER LAB LTD COMPANY


30

The purpose of the product log book is to record the description of product in
stock ,the quantity of the product and the unit price of each product.
ORDER LOG BOOK

The purpose of the order log book is to take order from clients. In the order
log book, the name, address, description of product, order date, delivery
date, quantity, unit price of product, and total price are recorded.

LEATHER LAB LTD COMPANY


31

Actual system description


Raw materials (leather) are imported to manufacture goods. When the raw
materials enter the warehouse, the supervisor signs a paper that proves that
the company has received the raw materials. Then the sales manager
approves everything. The payment of the raw materials is done via bank by
the manager to the importer.
The supervisor/ storekeeper record all the raw materials that enter the
warehouse in a stock logbook and he controls the stock. The supervisor
sends the leather to production room to manufacture goods. The
supervisor/storekeeper has to check when to place an order for leather. Then
he has to inform the marketing officer and afterwards the marketing officer
will inform the manager to place the order.
When the supervisor/designer receives the raw material that is leather, he
logs how much raw materials he received, the date when the raw material
enter the production room and the description of the raw material in a
production logbook.
After production the storekeeper/ supervisor logs how much product,
description of product, quantity of product and price of product a product
stock book. The storekeeper/ supervisor keeps record about how much
products are being delivered in the delivered logbook.
The supervisor/designer controls the order of customer. when a customer
place an order, he logs into the order logbook to record the date of the order
placed, types of products needed by the customer, quantity of the product,
customers name, address and delivery date. Very often, the
supervisor/designer has to check when an order is placed and when the
products need to be delivered.
The accountant/sales manager controls the income and outgoing money.
The supervisor/storekeeper and the supervisor/designer inform him about
how much raw materials need to be ordered and products have to be
delivered respectively. Then the accountant calculates the money to be paid
and the money to be received in an account logbook. He records the date,
amount of incoming and outgoing money. Also he calculates the salary of the
staffs in the end of the month. In a staff log book, everyday he logs the
name, date, absences, sick leave, time of arrival and departure and amount

LEATHER LAB LTD COMPANY


32 are paid, they receive a pay slip.
to be paid for each staff. When the staffs
The accountant keeps a copy of each staffs pay slip in the staff log book.

LEATHER LAB LTD COMPANY


33

Evaluation of the actual system


1. Advantages of the actual system
As all the information about the company leather lab ltd is stored in

papers, there is no chance that the documents will be affected by viruses.


As the company leather lab ltd uses papers to record their data (data are
recorded manually by writing), there is no problem if there is a power cut as
the manual system does not depend on electricity for the work to carry out.
The manual system of the company leather lab ltd does not need special
hardware and software to record their data.
As the company leather lab ltd uses papers to record all their data, so
there is no big wastage of money as papers are cheap.

2. Disadvantages of the actual system


As the company leather lab ltd record all their data on paper itself, paper
work is increasing leading to an increase in papers also.
As the paper work is increasing, a larger space is required for the owner to
store these documents. Thus, the office should be expand.
There is no proper control on the documents due to a large number of
papers.
Due to a lot of paper work, the staffs are stressing and they cannot
concentrate on their work.
Misplacing of the documents occurs very often by the staffs of the leather
lab ltd.
The documents of the leather lab ltd are confidential and these documents
are not secure. That is anyone can steal documents.
Due to the improper control of the business leather lab ltd, staffs are
getting the opportunity to steal raw materials plus the finished goods. This
leads to a big loss for the company leather lab ltd.
Updating of data in the log books are becoming very difficult as the
supervisors has to go through the log books where the previous data had

LEATHER LAB LTD COMPANY


34 a lot of time to search for the data
entered. This is a loss of time as it takes
to be changed.

The documents of the leather lab ltd can be destroyed by natural disasters
such as fire, cyclone, flood, earthquake and many more. Backings up of
these documents are very difficult and time consuming. The owner has to
employ a person specially to make the backups of the documents which can
lead to a waste of money when paying the person.
The supervisor/designer of the company leather lab ltd tends to forget
when does the customer needs the product and in what quantity resulting in
overtime work of the staff which leads to a loss. As overtime working means
double payment.
Due to a lot of stress the supervisor/ storekeeper tends to forget when to
order raw materials and how much of product is to be delivered to whom and
when.
The accountant/sales manager also has of lot of stress. He has to settle the
account for everything and has no rest.

LEATHER LAB LTD COMPANY


35

4.1.6 Specify requirements: user, hardware, software


User requirements
The new system should provide a good level of security to the documents.
Updating of data should be easy so that the staffs of Mr. Madarbocus do
not get confused and get stressed when updating the data.
The new system should contain a search facility so that it saves the time of
the staffs.
The new system of the leather lab ltd should provide a trouble shooting
guide so that the staffs can resolve their problems if they have failed to use
the system.
The new system of the leather lab ltd should be easy to use.
The new system of leather lab ltd should allow the user to enter a large
amount of data.

Signature (owner)
(System Analyst)

Signature

LEATHER LAB LTD COMPANY


36

Alternative solutions
Employ more staffs so that a better service could be provided to the
company leather lab ltd.
Installation of hidden camera in every section so that the owner could find
out who is working and who is not working. Not only that, but the owner Mr.
Madarbocus will also know who steals his products and documents also.
The office where the documents are stored can be expand so that there
will be larger space for the staffs to store their documents.
Log books can be classified by using separate drawers for each document
so that the staffs who record the data for the company leather lab ltd do not
get confused and do not displace the documents.
Special room could be build up to store the data and only the supervisors
who record data can get access to the room that is the documents will be
safer than when store the data in the office where everybody can get access.
The system could be computerized as it can provide the owner Mr.
Madarbocus with a better service and a better level of security for the
documents. The computerized system is categorized into two parts that is
the off-the-shelf software that is it is readily available and it can be used to
carry out different purposes at different situations. The other one is the tailor
made software which needs to be created by a programmer that is this
software is used for only a specific purpose. The owner will have to choose
one software only.

Evaluations of the solutions


Employ more staffs:

Advantages

Disadvantages

LEATHER LAB LTD COMPANY


37It will increase the budget of the
More staffs will give a better
service that is there will be no need
owner Mr. Madarbocus as he will has
for the staffs of the company leather to pay more staffs.
lab ltd to work overtime as the work The new staffs who will be
will be finished soon.
employed to work for leather lab ltd
will have to undergo training which is
costly.
The office space should be expand
as more staffs need to be employed.

LEATHER LAB LTD COMPANY


38

Installation of hidden camera

Advantages
The owner Mr. Madarbocus will
find out about how the employees
will be working and if his employees
cheat him by stealing goods and so
on.

Disadvantages
It is costly to install hidden camera
in every sections.
If the employees of the company
leather lab ltd get to know about the
installation of the hidden camera,
they will not behave as they usually
do.

Expansion of office space

Advantages
Due to the expansion of the office,
there will be more space to store
documents of the leather lab
company.

Disadvantages
It is costly to expand the office.
While expanding, the work should
be stopped or the employees should
be shifted to another building.
Expansion of the office of the
leather lab ltd company can be a
time consuming task.
Even after the office is expanded,
the problems like the misplacing of
the documents, loss of personal data
and the loss of data in natural
calamities will not resolve.

Using of separate drawers

Advantages
While using different drawers, the
documents of the leather lab ltd will
not be displace easily and finding a
file will be more easy and quick.

Disadvantages
This will lead to loss of
Mr.Madarbocus as he will have to
place an order for this special drawer.
Even the documents of leather lab
ltd will be classified in different
drawer; the documents still have a
chance to be misplaced by the
supervisors who uses these
documents. Then searching for the

LEATHER LAB LTD COMPANY


39documents will be time consuming as

before.

LEATHER LAB LTD COMPANY


Special room

40

Advantages
After documents will be stored in
the special room, it will be locked.
So the documents of the leather lab
ltd will be safe that is it will be free
from thieves.

Disadvantages
It will be costly to build up this
special room.
The thieves could get access to
the room when it will be opened.
The supervisors might forget to
lock the room.

Computerized system
Off-the-shelf software
Tailor made software
Advantages
It is cheap
The
software is
well tested.
The
software is
readily
available.

Advantages
The
software will
not contain
any unwanted
features.
The
software will
meet all the
requirements
that Mr.
Madarbocus
would like to
have in the
new system.

Disadvantage
Disadvantages
s software
The
may contain
unwanted
features.
The software
does not meet all
user
requirements.

It is expensive
to develop the
software for the
leather lab
company.
The software
takes a lot of time
to be developed.
After the
software leather
lab ltd will be
developed, the
software might
contain bugs.

LEATHER LAB LTD COMPANY


41

Advantages and disadvantages of the computerized system

Advantages
The computerized system will
provide a good level of security to
the documents of the leather lab ltd
as the software will be supported
with passwords.
Making of backups is very easy
and fast so there will be no problem
for Mr. Madarbocus about the loss of
documents in natural calamities as
backup can be done every day after
working hours.
The new system will be able to
generate a report for the owner
Mr.Madarbocus.
There will be software where the
salary of each employee will be
calculated very fast and then a
receipt for each employee will be
produced.
There will be different files in
which the supervisors could record
their data. The data will not
misplace and there will be searching
facilities .Also the updating of data
will be easy and fast.
There will be a troubleshooting
guide for the users get their
solutions if they would fail to use the
system.
There will be password protection
so that only authorized people can
access the software.

Disadvantages
It is very costly to create the
software for the company leather
lab ltd.
It is very time consuming for the
software leather lab ltd to be
developed.
The software might contain
debugs.
The staffs should be computer
literate to be able to use the new
system.
The staffs should be given training
as it is costly and time consuming.
special hardware and software are
required to create the new system
for the leather lab company.

LEATHER LAB LTD COMPANY


After the analyst found out about the 42
possible solutions, a meeting was
schedule with the owner Mr. Madarbocus where the analyst discusses the
possible solutions to the owner Mr. Madarbocus.

LEATHER LAB LTD COMPANY,


COMLONE ROAD, NOUVELLE-FRANCE
TEL: 6771013

Date: o4 May 2013


From: Mr. Fardeen Madarbocus
To: Mehnaz Diouman

APPROVAL LETTER
Dear Analyst,
I wish to inform you that after you have discussed the possible solutions to me,

I have chosen to go for the computerized system although it is a very costly


solution. I think that the computerized system will meet all my
requirements. I have decided to go to the tailor made software as the
software will be written as per my will and there will not be unwanted
features in the new system. My personal data will be protected by passwords
and making of backups also is very easy and fast. The new system will
provide me lots of facilities and the company will be properly controlled.

LEATHER LAB LTD COMPANY


43

Hardware and software requirements


1. Hardware Requirements:

Name

Specification

Reason

Keyboard

Logitech

Mouse

Logitech

Monitor

View sonic

Printer

Lexmark

To enter data about products, order,


payment, employee and customer.
To type to search data, to make
modification
To click on buttons such as add,
search, modify, delete, save, next,
previous, first, last and back to menu
To view error messages
To view product, employee, customer,
order documents
To print reports, letter, price list of
products
To store all application software,
antivirus and operating system
To store visual basic 6.0 software

Hard disk

RAM
ROM
DVD-Drive

Sony

To be able to do backup in cds

2. Software Requirements:

Name

Specification

Reason

Burning software
Word Processor

Nero Essential
Microsoft word

To easily do backup of data


To type letter to customer

LEATHER LAB LTD COMPANY

Operating system

44
2007
Microsoft Access
2003
Windows XP

Antivirus

AVG antivirus

Software
development tool

Visual basic 6.0

Compression
software

WinZip

To create database for the


company leather lab
To make the computer run to be
able to create and use the
software leather lab
To protect the computer and the
system leather lab from viruses.
The antivirus will detect known
virus and will delete the virus.
To create the computerized
system that is the leather lab
software.
To reduce the size of files

LEATHER LAB LTD COMPANY

4.2 DESIGN
4.2.1 Nature of solutions

LEATHER LAB LTD COMPANY

4.2.2 File Structure


Database Design for Product Form
Product Table: Store details on product

Field

Data
type

Descriptio
n

Fiel
d
size

Validat
ion

Examp
le

product
code

string

Presence
check

L203

Descriptio
n

string

This is the
primary key of
the table.
This represents
the description
of product.

30

Black
leather

Quantity

integer

This represents
the quantity of
the product

Price

currency

This represents
the price of the
product.

Presence
check,
data type
check
Presence
check,
data type
check
Presence
check,
data type
check

30

250.00

LEATHER LAB LTD COMPANY

Database Design for employee form


Employee Table: store details on employee

Field

Data
Type

Descript Field
ion
Size

Validation Exam
ple

Employ
ee code

string

Presence
check

E002

Surnam
e

string

15

Presence
check, data
type check

Sing

Forena
me

string

15

Presence
check, data
type check

Sanjay

Address

string

40

Presence
check, data
type check

Royal
Road,
Soulliac

Date of
birth

Date/time

Presence
check

06/08/89

Phone
number

integer

This is the
primary key
of the table
This
represents
the
surname of
the
employee
This
represents
the
forename of
the
employee.
This
represents
the address
of the
employee.
This
represents
the date of
birth of the
employee.
This is the
phone
number of
the
employee.

Length check

6483822

LEATHER LAB LTD COMPANY

Database design for Customer form

Customer Table: store details on customer

Field

Data Descript Field Validat


type ion
size ion

Example

Custom
er code

string

Surnam
e

string

Forenam string
e

Address

string

This is the
key field of
the form.
This
represents
the
surname of
the
customer.
This
represents
the
forename of
the
customer.
This is the
address of
the
customer.

Presence
check

C302

30

Presence
check,
data type
check

Ramjan

30

Presence
check,
data type
check

Muzammil

30

Presence
check,
data type
check

Chemin soulliac,
Chemin Grenier

LEATHER LAB LTD COMPANY


Phone

Integer

This is the
7
Descriptio
phone
n
number
of
string
This is the key
the
field of the form.
customer.
string
This is the id 30
String
given
This
is to
thea
customer
email
Date/tim address
This is the
of date
e
at which a
the
customer placed
customer.
an order
Date/tim This is the
e
delivery date at
which the
product should
be delivered
currency This is the total
amount the
customer need
to pay

Length

7847848

Field
Data
number
type

Field
Validatio Examp
check
size n
le

Order
code
Custom
Email
er Code

Order
date

Delivery
date

Total
amount

Presence
O001
check
PresenceMuzammil@Hotmail.
C003
check com
Length
check
Presence
12/05/13
check

Presence
check

14/09/13

Data type
check

12365

Database design for Order form


Order Table: store details on order placed by customer

LEATHER LAB LTD COMPANY

Database design for Order Details form

Field

Data
type

Descript Field
ion
size

Validatio Exampl
n
e

Order
code

string

Presence
check

Oooo1

Product
code

string

Presence
check

P0005

Quantity

integer

Presence
check, Data
type check

Unit

integer

Data type
check

1500

subtotal

currency

This is the
key field of
the form.
This is the
id given to a
product
This is the
quantity of
product
which the
customer
ordered
This is the
unit price
of product
which has
been
ordered
This is the
sub total
price.

Data type
check

3000

LEATHER LAB LTD COMPANY


Order Details Table: store details on order placed by customer

LEATHER LAB LTD COMPANY

4.2.3 Data structures/model


Data relationship diagram
tblcustomer
ccode
sname
fname
add
pnum
email

tblorder

Ocode
Ccode
Odate
Ddate
tamount

Tblorderdetail
s
1

Ocode
Pcode
Quantity
Uprice
Stotal

tblemploye
e
ecode
sname
fname
add
dob
pnum

Entity relationship diagram


Customer

Oder/Order
Details

Employee

Product

tblproduct
pcode
desc
quantity
price

LEATHER LAB LTD COMPANY

4.2.4 Input design


Login Form
Purpose: to log in to main menu
LOGIN FORM
LEATHER LAB LTD COMPANY
Address :Comlone Road, Nouvelle France
TEL:6771013

Usernam

Password

Accep
t

Reject

COMPONE
NTS

NAME

CAPTIO
N

USE

Labels

lblloginform

Login form

Display the title of the form.

lblusername Username
lblpassword
Text box

Command
button

Password

Txtusernam
e
Txtpasswor
d
Cmdaccept

Accept

Cmdreject

Reject

To inform user where to enter


username
To inform user where to
Enter password.
To enter username.
To enter password.
To Accept username and
password.
To clear textboxes

LEATHER LAB LTD COMPANY

LEATHER LAB LTD COMPANY


Main Menu Form:
Purpose: to log into Leather, employee, customer, and order form or report.
Main Menu Backup Help Exit
MAIN MENU FORM
LEATHER LAB LTD COMPANY
Address :Comlone Road, Nouvelle France
TEL:6771013
Product Form

Product Report

Employee Form

Employee Report

Customer Form

Customer Report

Order Form

Order Report

Order Details
EXIT

LEATHER LAB LTD COMPANY


COMPONE
NTS

NAME

CAPTIO
N

Labels

Lblmainmenu

Main Menu Display the title of the


form.

Command
button

Cmdemployeefor
m

Employee
Form

To go to employee form.

Cmdcustomerform Customer
Form

To go to customer Form.

Cmdorderform

Order
Form

To go to order form.

Cmdproductform

Product
Form

To go to product form.

Cmdemployeerep
ort

Employee
report

To go to employee report.

Cmdcustomerrepo
rt

Customer
report

To go to customer report.

Cmdorderreport

Order
report

To go to order report.

Cmdorderdetailsre Order
port
details
report

To go to Order details
report

Cmdproductreport

To go to product report.

Product
report

USE

LEATHER LAB LTD COMPANY

LEATHER LAB LTD COMPANY


Product Form

Main Menu Backup Help Exit


PRODUCT FORM
LEATHER LAB LTD COMPANY
Address: Comlone Road, Nouvelle France
TEL:6771013

Product code
Description of Product
Quantity
Price

Save

Add

Next

Search
Last

Back to Main

First

LEATHER LAB LTD COMPANY

Compone Name
nts

Captio USE
n

Labels

Product
Form
Product
Code

lblproductform
lblproductcode

lbldescription

lblquantity

lblprice

Text Box

txtproductcode
txtdescription
txtquantity
txtprice

Command
buttons

cmdSave

To display the title of the


form.
To inform user where to
enter product code

Description To inform user where to


enter
Description of product.
Quantity
To inform user where to
enter
Quantity of product.
Price
To inform user where to
enter
Price of product
To enter product code.
To enter description of
product in product table.
To enter quantity of product
in product table.
To enter price of product in
product table.
Save
To Save product Record in
product table.

cmdAdd

Add

cmdDelete

Delete

cmdModify

Modify

cmdNext

Next

cmdPrevious

Previous

cmdSearch

Search

cmdFirst

First

To prepare for next product


data entry in product table
To Delete product record in
product table.
To Modify product record in
product
table
To go to Next product Record
in product table
To go to Previous product
record in product table.
To Search product record in
product table
To go to First product
Record in product table.

LEATHER LAB LTD COMPANY


cmdLast

Last

cmdBackMainM
enu

Back to
Main
Menu

To go to Last product Record


in product table.
To Back to Main Menu

EMPLOYEE FORM
Main Menu Backup Help Exit
EMPLOYEE FORM
LEATHER LAB LTD COMPANY
Address: Comlone Road, Nouvelle France
TEL:6771013

Employee code
Surname
Forename
Address
Date of birth
Phone Number
Add
Search
Last

Back to Main

First

LEATHER LAB LTD COMPANY

Compone Name
nts

Captio USE
n

Labels

Lblemployeefo
rm
lblEmployeeco
de
lblSurname

Employee
Form
Employee
code
Surname

lblForename

Forename

lblAddress

Address

lblDateofbirth

Date of
birth

To display the title of the


form.
To inform user where to enter
Employee code.
To inform user where to enter
Surname.
To inform user where to enter
Forename.
To inform user where to enter
Address.
To inform user where to enter
Date of birth

lblPhoneNumb
er

Phone
Number

To inform user where to enter


Phone Number

Text Box

txtEmployeeco
de
txtSurname
txtForename
txtAddress
txtdateofbirth
txtPhoneNumb
er

To enter employee code in


employee table.
To enter employee Surname
in employee table.
To enter employee Forename
in employee table.
To enter employee Address in
employee table.
To enter employee date of
birth in employee table.
To enter employee Phone
Number in employee table

LEATHER LAB LTD COMPANY

Command
buttons

cmdSave

Save

To Save employee Record in


employee table.

cmdAdd

Add

cmdDelete

Delete

cmdModify

Modify

cmdNext

Next

cmdPrevious

Previous

cmdSearch

Search

cmdFirst

First

cmdLast

Last

To prepare for next employee


data entry in employee
table
To Delete employee record in
employee table.
To Modify employee record in
employee table.
To go to Next employee Record
in employee table
To go to Previous employee
record in employee table.
To Search employee record in
employee table
To go to First employee Record
in employee table.
To go to Last employee Record
in employee table.

LEATHER LAB LTD COMPANY

CUSTOMER FORM

Main Menu Backup Help Exit


CUSTOMER FORM
LEATHER LAB LTD COMPANY
Address: Comlone Road, Nouvelle France
TEL:6771013

Customer code
Surname
Forename
Address
Phone Number
Email

Save

Add

Next

Previou

Modify
First

Last

Back to Main
Menu

LEATHER LAB LTD COMPANY

Compon
ents

Name

Caption

Use

Labels

Lblcustomerfor
m

Customer
form

To display the title of the


form.

lblCustomerco
de

Customer
code

To inform user where to


enter Customer code

Surname

To inform user where to


enter Customer Surname.

Forename

To inform user where to


enter Customer Forename.

Address

To inform user where to


enter Customer Address

Phone
Number

To inform user where to


enter Customer Phone
Number.

lblSurname

lblForename

lblAddress

lblPhoneNumb
er

lblEmail

Text box

cmdCustomerc
ode
cmdSurname
cmdForename

Email

To inform user where to


enter Customer Email
address.
To enter Customer code.
To enter Customer
Surname.
To enter Customer
Forename.

cmdAddress
To enter Customer Address.
cmdPhoneNum
ber

To enter Customer Phone


Number.

LEATHER LAB LTD COMPANY


cmdEmail
To enter Customer Email
address.

Command
buttons

cmdSave

Save

To Save customer Record in


customer table.

cmdAdd

Add

cmdDelete

Delete

cmdModify

Modify

cmdNext

Next

cmdPrevious

Previous

cmdSearch

Search

cmdFirst

First

cmdLast

Last

cmdBackMainM
enu

Back to
Main
Menu

To prepare for next


customer data entry in
customer table
To Delete customer record in
customer table.
To Modify customer record in
customer table.
To go to Next customer
Record in customer table
To go to Previous customer
record in customer table.
To Search customer record
in customer table
To go to First customer
Record in customer table.
To go to Last customer
Record in customer table.
To Back to Main Menu

LEATHER LAB LTD COMPANY

Main Menu Backup Help Exit

ORDER FORM
Delete record

ORDER FORM
LEATHER LAB LTD COMPANY
Address: Comlone Road, Nouvelle France
TEL:6771013

Order code
Customer code
Ordering Date

Save

Delivery Date
Add

Total Amount

Order details table


Order code

Product code

Quantity

unit price

subtotal
Populate
to list view

List view
Finish

LEATHER LAB LTD COMPANY


Component

Name

Caption

Use

Labels

Lblorderform

ORDER FORM

To display title of
the form.

lblordercode

Order Code

Lblcustomercode

Customer Code

lblorderdate

Order date

lbldeliverydate

Delivery date

To inform user
where to enter
order code
To inform user
where to enter
Customer code
To inform user
where to enter
Order date.
To inform user
where to enter
Delivery date

lbltotalamount

Total Amount

lblproductcode

Product Code

lblquantity
Quantity
lblunitprice

Unit price

lblsubtotal
Subtotal
Text box

Txtordercode

To inform user
where to enter
total amount the
customer need to
pay.
To inform user
where to enter
product code
To inform user
where to enter
Product quantity.
To inform user
where to enter
unit price.
To inform user
where to enter
subtotal
To enter order code

Txttotalamount

To enter total
amount that the
customer need to
pay.

Txtquantity

To enter the
quantity of

LEATHER LAB LTD COMPANY


product that a
customer ordered
To enter the unit
price of a product

txtunitprice
txtsubtotal

cmdSaveRecord

To enter subtotal
Save

To Save order
record.

cmdAddRecord

Add

Prepare textboxes
for next data
entry

cmdDeleterecord

Delete

To Delete order

cmdModifyrecord

Modify

cmdNextRecord

Next

cmdPreviousrecord

Previous

cmdSearchrecord

Search

cmdFirstRecord

First

cmdLastRecord

Last

cmdBackMainMen

Back to Main
Menu

Record
To Modify order
record
To go to Next order
Record.
Togo to Previous
order record.

To Search order
record.
To go to First order
Record.
To go to Last order
Record.
To Back to Main
Menu

LEATHER LAB LTD COMPANY

4.2.5 Output design


Product LIST

PRODUCT LIST
Product code
Price

Description of Product

X9999
99999

Quantity

XXX
99999
Based on

Field Used

Tblproduct

Product Code
Description of Product
Quantity
Price

EMPLOYEE LIST

EMPLOYEE LIST
Employee Code
Phone number
X9999
9999999

Surname
XXX

Based on

tblemployee

Forename
XXX
Field Used
Employee Code
Surname
Forename
Address
Date of Birth
Phone Number

Address
XXX

Date of birth
99/99/99

LEATHER LAB LTD COMPANY


CUSTOMER LIST

CUSTOMER LIST
Customer Code
Surname
Number LIST
Email
ODER
X9999

XXX
XXX

Order
List
9999999
Based on

Forename

Address

XXX

Phone

XXX

Field Used

Tblcustomer

Customer Code
Surname
Forename
Address
Phone Number
Email

ORDER LIST

ORDER LIST
Order Code
Total Amount
X9999
999999

Customer Code
X9999

Based on
Tblorder

Order Date
99/99/99

Field Used
Order Code
Customer Code
Order Date
Delivery Date
Total Amount

Delivery Date
99/99/99

LEATHER LAB LTD COMPANY


4.2.6 Process model
4.2.6.1 SYSTEM FLOWCHARTS
1. Product

Add Product record


START

Input
Product
Details

Valid
Validation

Add Product
record in
Product file

Error
Message
Product
file

STOP

LEATHER LAB LTD COMPANY


Search Product record
START

Input
Product
Details

Validation

Error
Message
Valid
Product
file

Search Product
record in leather
file

Is record found?
Yes

Display Product
record

No
Display Not in
file

STOP

LEATHER LAB LTD COMPANY


Modify Product record
START

Input
Product
Details

Valid
Validation

Error
Message
Product
file

Search Product
record in Product
file
Is record found?
Yes

Display Product
record

No
Input
new
data

Display Not in
file

STOP

Product
file

Update record
in l Product file

LEATHER LAB LTD COMPANY


Delete Product record

START

Input
Product
Details

Valid
Validation

Error
Message
Product
file

Search Product
record in Product
file
Is record found?
Yes

Display Product
record

No
Display Not in
file

Delete record
in Product file

STOP

Product
file

LEATHER LAB LTD COMPANY


2. Employee

Add Employee record

START

Input
Employ
ee
Details

Valid
Validation

Add employee
record in
employee file

Error
Message
Employe
e file

STOP

LEATHER LAB LTD COMPANY


Search employee record

START

Input
Employ
ee
Details

Valid
Validation

Error
Message
Employe
e file

Search employee
record in
employee file

Is record found?
Yes

Display employee
record

No
Display Not in
file

STOP

LEATHER LAB LTD COMPANY


Modify Employee record
START

Input
Employ
ee
Details

Valid
Validation

Error
Message

Employe
e file

Search employee
record in
employee file

Is record found?

Display employee
record
Yes

No

Input
new
data

Display Not in
file

STOP

Employe
e file

Modify record
in employee
file

LEATHER LAB LTD COMPANY


Delete employee record
START

Input
Employ
ee
Details

Valid
Validation

Error
Message

Employe
e file

Search employee
record in
employee file

Is record found?
Yes

Display employee
record

No
Display Not in
file

STOP

Employe
e file

Delete record
in employee
file

LEATHER LAB LTD COMPANY


3. Customer

Add customer record


START

Input
custom
er
Details

Valid
Validation

Add Customer
record in
customer file

Error
Message

Custome
r file

STOP

LEATHER LAB LTD COMPANY


Search customer record
START

Input
custom
er
Details

Valid
Validation

Error
Message
Custome
r file

Search Customer
record in
customer file

Is record found?

Display customer
record
Yes

No
Display Not in
file

STOP

LEATHER LAB LTD COMPANY


Modify customer record
START

Input
custom
er
Details

Valid
Validation

Error
Message
Custome
r file

Search Customer
record in
customer file

Is record found?

Display customer
record
Yes

No
Input
new
data

Display Not in
file

STOP

Custome
r file

Modify record
in customer
file

LEATHER LAB LTD COMPANY


Delete customer record

START

Input
custom
er
Details

Valid
Validation

Error
Message
Custome
r file

Search Customer
record in
customer file

Is record found?

Display customer
record
Yes

No
Display Not in
file

STOP

Custome
r file

Modify record
in customer
file

LEATHER LAB LTD COMPANY


4. ORDER
START

Input order
code, customer
code, quantity,
unit price

Calculate
subtotal

Calculate total

Total,
subtotal

Add order
record to
database

Order file,
tblorder
detail

STOP

LEATHER LAB LTD COMPANY


4.2.6.2 Flowchart to generate report
Leather report
Retrieve all leather
record generate
report

Leather
file

Leather
list

Employe
e file
Employee record
Retrieve all
employee record
generate report
Employee
list

Customer report
Retrieve all customer
record generate
report

Custome
r file

Customer
list

Order report
Retrieve all order
record generate
report

Order file

LEATHER LAB LTD COMPANY

Order list

4.2.6.3 Pseudo code


Login form:
Input username
Input password

LEATHER LAB LTD COMPANY


If (username and password = valid), THEN
Main Menu displayed
ELSE
Msgbox display Please Try Again
ENDIF

Main Menu:
User input choice
If choice= Leather Form, THEN
Leather Form displayed
ELSEIF choice= Employee Form, THEN
Employee Form displayed
ELSEIF choice= Customer Form, THEN
Customer Form displayed
ELSEIF choice=Order Form, THEN
Order Form displayed
ELSEIF choice= Leather Report, THEN
Leather Report displayed
ELSEIF choice= Employee Report, THEN
Employee Report displayed
ELSEIF choice= Customer Report, THEN
Customer Report displayed
ELSEIF choice= Order Report, THEN
Order Report displayed
ELSEIF choice=Exit, Then
Close main menu
ENDIF

LEATHER LAB LTD COMPANY

Product Form:
User enter choice
IF choice=Add, THEN
Clear text boxes for next data entry
User enter product details
New product record added in table product
ELSEIF choice= Search, THEN
User input product code
Search leather code in leather table
IF (leather code=found), THEN
product record displayed
ELSE
Msgbox display Not in File
ENDIF
ELSEIF choice = modify, THEN
User input product code
Search product code in product table
IF (product code=found), THEN
Product record displayed
User makes modification
Modify product table
ELSE
Msgbox display Not In File
ENDIF
ELSEIF choice=Delete, THEN
Search product code in product table

LEATHER LAB LTD COMPANY


IF (product code=found), THEN
product record displayed
Delete record in file
ENDIF
ELSEIF choice=Back to Main Menu, THEN
Main Menu displayed
ELSEIF choice=First, THEN
First product record in the product table is displayed
ELSEIF choice=Last, THEN
Last product record in the product table is displayed
ELSEIF choice=Next, THEN
Next product record in the product table is displayed
ELSEIF choice=Previous, THEN
Previous product record in the product table is displayed
ENDIF

Employee Form:
User enter choice
IF choice=Add, THEN
Clear text boxes for next data entry
User enter employee details
New employee record added in table employee
ELSEIF choice= Search, THEN
User input employee code
Search employee code in employee table

LEATHER LAB LTD COMPANY


IF (Employee code=found), THEN
Employee record displayed
ELSE
Msgbox display Not In File
ENDIF
ELSEIF choice = modify, THEN
User input employee code
Search leather code in employee table
IF (employee code=found), THEN
Employee record displayed
User makes modification
Modify employee table
ELSE
Msgbox display Not In File
ENDIF
ELSEIF choice=Delete, THEN
Search employee code in employee table
IF (employee code=found), THEN
Employee record displayed
Delete record in file
ENDIF
ELSEIF choice=Back to Main Menu, THEN
Main Menu displayed
ELSEIF choice=First, THEN
First employee record in the employee table is displayed
ELSEIF choice=Last, THEN

LEATHER LAB LTD COMPANY


Last employee record in the employee table is displayed
ELSEIF choice=Next, THEN
Next employee record in the employee table is displayed
ELSEIF choice=Previous, THEN
Previous employee record in the employee table is displayed
ENDIF
Customer Form
User enter choice
IF choice=Add, THEN
Clear text boxes for next data entry
User enter customer details
New customer record added in table customer
ELSEIF choice= Search, THEN
User input customer code
Search customer code in customer table
IF (customer code=found), THEN
Customer record displayed
ELSE
Msgbox display Not In File
ENDIF
ELSEIF choice = modify, THEN
User input customer code
Search customer code in customer table
IF (customer code=found), THEN
Customer record displayed
User makes modification
Modify customer table

LEATHER LAB LTD COMPANY


ELSE
Msgbox display Not In File
ENDIF
ELSEIF choice=Delete, THEN
Search customer code in customer table
IF (customer code=found), THEN
Customer record displayed
Delete record in file
ENDIF
ELSEIF choice=Back to Main Menu, THEN
Main Menu displayed
ELSEIF choice=First, THEN
First customer record in the customer table is displayed
ELSEIF choice=Last, THEN
Last customer record in the customer table is displayed
ELSEIF choice=Next, THEN
Next customer record in the customer table is displayed
ELSEIF choice=Previous, THEN
Previous customer record in the customer table is displayed
ENDIF
Order Form
User enter choice
IF choice=Add, THEN
Order form prepare for next data entry (clear text boxes)
ELSEIF choice= Save, THEN
User enter order details
Subtotal and total calculated displayed

LEATHER LAB LTD COMPANY


Add record in tblorderdetail and tblorder
ENDIF

LEATHER LAB LTD COMPANY

4.2.7 Intended benefits


It is easy for the user to search a record
It is easy for the user to modify a record
It is easy for the user to go to the first record
It is easy for the user to go to the last record
It is easy for the user to add a new record
It is easy for the user to delete an existing record
It is easy for the user to make backups easily
It data are more secure due to the use password
There is less chance for the owner to lose his data as there is backup facility.

4.2.8 Limits of the scope of the solution


File size estimation
File size of product table
The product table will consist of approximately 50 products.

Field

product
code
Descriptio
n of
product
Quantity
Price

Field
size(by
tes)
5

Size of one product record = 44 bytes


Size of 50 product record = 44*50
= 2200 bytes
File size of product table = 2200*10%

30

3
6

=2420 bytes

LEATHER LAB LTD COMPANY

File size of employee table


The employee table will consist of approximately 30 employees.

Field

Employee
code
Surname
Forename
Address
Date of
birth
Phone
number

Field
Size(by
tes)

Size of one employee record = 91 bytes


Size of 50 employee record = 91*30

5
15
15
40
8

= 2730 bytes
File size of employee table = 2730*10%
=3003 bytes

File size of customer table


The customer table will consist of approximately 200 customers

Field

Customer
code
Surname
Forename
Address
Phone
Number
Email

Field

Order
code
Custome
r Code
Order
Date
Delivery
Date
Total
Price

Field
Size(by
tes)
5
15
15
40
8
30

Field
Size(by
tes)
5
5
8
8
6

Size of one customer record =113 bytes


Size of 50 customer record = 131*200
= 22600 bytes
File size of customer table = 22600*10%
=24860 bytes

File size of Order table


The order table will consist of approximately 500 orders

Size of one order record =32 bytes


Size of 50 order record = 32*500
= 16000 bytes

LEATHER LAB LTD COMPANY


File size of order table = 16000*10%
=17600 bytes

Overall file size=17600+24860+3003+2420


=47883/1024
=46.76 kb

4.2.9 Limitations of the system


The system cannot calculate and produce salary for the employees.
The system cannot calculate the profit and loss for the company.

4.2.10 Top down Design


1.0 Login
2.0Main Menu

LEATHER LAB LTD COMPANY


3.0
Product
form

4.0
employ
ee form

5.0
custom
er form

3.1
Save
Record

4.1
Save
Record

5.1
Save
Record

6.1
Save

3.2
Add
Record

4.2
Add
Record

5.2
Add
Record

6.2
Add
Record

3.3
Delete
Record

4.3
Delete
Record

5.3
Delete
Record

6.3
Populat
e to list
view

3.4
Modify
Record

4.4
Modify
Record

3.5
Next
Record

4.5
Next
Record

3.6
Previous
Record

4.6
Previous
Record

3.7
Search
Record

4.7
Search
Record

3.8
First
Record

4.8
First
Record

3.9
Last
Record

4.9
Last
Record

5.4
Modify
Record

7.0
product
report

8.0
employ
ee
report

9.0
custom
er
report

10.0
order
report

6.4
Finish

5.5
Next
Record
5.6
Previous
Record
5.7
Search
Record
5.8
First
Record

5.9
Last
Record
4.2.114.10
Modules
3.10
Back Number
Back
1.0
This is5.10
the login
Back

2.0

6.0
order
form

Description

form which verifies username and password which control


user access to the system
This is the main menu from where the user chooses which form or report he

11.0
Exit

LEATHER LAB LTD COMPANY


3.0
3.1
3.2
3.3
3.4
3.5
3.6
3.7
3.8
3.9
3.10
4.0
4.1
4.2
4.3
4.4
4.5
4.6
4.7
4.8
4.9
4.10
5.0
5.1
5.2
5.3
5.4
5.5
5.6
5.7
5.8
5.9
5.10
6.0
6.1
6.2
6.3
6.4
7.0
8.0
9.0
10.0
11.0

needs to open.
This is the product form in which product details are stored.
This is where the user needs to click to save a product record.
When the user click on this button, the form is prepared for next data entry.
This is used to delete a product record.
This is used to modify a product record
To view next product record.
To view previous product record
To search a product record
To view the first product record
To view the last product record
To go back to main menu
This is the employee form in which employee details are stored
This is where the user needs to click to save an employee record.
When the user click on this button, the form is prepared for next data entry.
This is used to delete an employee record.
This is used to modify an employee record
To view next employee record.
To view previous employee record
To search a employee record
To view the first employee record
To view the last employee record
To go back to main menu
This is the customer form in which customer details are stored
This is where the user needs to click to save a customer record.
When the user click on this button, the form is prepared for next data entry.
This is used to delete a customer record.
This is used to modify a customer record
To view next customer record.
To view previous customer record
To search a customer record
To view the first customer record
To view the last customer record
To go back to main menu
This is the order form in which order details is stored.
This is where the user needs to click to save an order record.
When the user click on this button, the form is prepared for next data entry.
Order details will be gathered to list view
Update database to save order record
This is the product report where the product list are viewed
This is the employee report where the employee list are viewed
This is the customer report where the customer list are viewed
This is the customer forename
This is to close the software

LEATHER LAB LTD COMPANY


4.2.12 Test plan
1.0 Test plan for login form
Test
number
1

Test data

Test
purpose
Test login
from with
valid data

Username: Leather
Lab Company
Password: company
Click Accept button
Username: lab
Test login
Password: ltd
from with
Click Accept button invalid
data
Click Reject button Clear
textboxes

Test
type
Normal

Expected result

abnorma
l

The main menu should not be


displayed

The main menu should be


displayed

The textboxes should be


cleared

2.0 Test plan for Main Menu form


Test
number
4
5
6
7
8
9
10
11
12
13

Test data

Test purpose

Expected result

Click Product Form


button
Click employee form
button
Click customer form
button
Click order form
button
Click product report
button
Click employee report
button
Click customer report
button
Click order report
button
Click order details
report button
Click Exit button

Open product
form
Open employee
form
Open customer
form
Open order form

The product form should be opened

Open product
report
Open employee
report
Open customer
report
Open order
report
Open order detail
report
Close main menu

The product report should be opened

The employee form should be opened


The customer form should be opened
The order form should be opened

The employee report should be opened


The customer report should be opened
The order report should be opened
The order detail report should be
opened
The main menu form should be closed

3.0 Test plan for Product form


3.1 test plan for product form (field)

Test

Test data

Test purpose

Test type

Expected result

LEATHER LAB LTD COMPANY


number
14

P0016

Product code

Normal

15

Product code

abnormal

16

P9999

Product code

extreme

17

grey Jackets

Description

normal

18

223234

Description

abnormal

19

Description

extreme

20

Dark brown
laptop bags
leather
3

Quantity

normal

21

Lp79

Quantity

abnormal

22

Quantity

extreme

23

2500

Price

normal

24

ygkug

Price

abnormal

25

6000000

Price

extreme

Product with ID P0016 should


be displayed
Product with ID P should not
be displayed
Product with ID P9999 should
be displayed
The product grey jacket
should be displayed
The product 223234 should
not be displayed
The product Dark brown
laptop bags leather should be
displayed
The quantity of the product
should be displayed
The quantity of the product
should not be displayed
The quantity of the product
should be displayed
The price of the product
should be displayed
The price of the product
should not be displayed
The price of the product
should be displayed

LEATHER LAB LTD COMPANY


3.2 test plan for product form (button)

Test
number
26

27
28

29

30
31

Test data

Test purpose

Expected result

ProductID:P0023
Description: Blue
jacket
Quantity:8
Price:3000
Click Save button
Click Add button

Add new
product record

Product record should be saved

Prepare form for


next data entry

Textboxes should be cleared

Product ID: P0023


Description: black
jacket
Quantity: 8
Price: 3000
Click Delete
button
ProductID:P0008
Price:from 1000 to
1500
Click modify
button
Click Next button

Delete a
product
record

Product record with ID P0023 should be


deleted in database

Modify product
record

Product record with ID P0008 should be


modified in database.

To move to next
record
To move to
previous record
Search product
record

Next record in the database should be


displayed
Previous record in the database should
be displayed
Product record with ID P0006 should be
displayed

To go to first
record
To go to last
record
To go back to
main menu

First record should be displayed

33

Click previous
button
ProductID:P0006
Click search
button
Click first button

34

Click Last button

35

Click back to main


menu button

32

Last product record should be displayed


Main menu form should be displayed

LEATHER LAB LTD COMPANY

4.0 Test plan for employee form


4.1 test plan for employee form (field)

Test
number
36

Test data

Test purpose

Test type

Expected result

employee code

Normal

37

employeeID:E001
9
employeeID: E

employee code

abnormal

38

ID: E0000

employee code

extreme

39

Surname: Singh

Employee
surname

Normal

Employee record with ID


E0019 should be displayed
Employee record with ID E
should not be displayed
Employee record with ID
E0000 should be displayed
The employees surname
should be displayed

40

Surname: 53433

abnormal

41

Forename: Raj

42

Forename: 9774

43
44

Address: royal
road, curepipe
DOB: 12/12/1995

45

DOB: 31/31/31

Employee
surname
Employee
forename
Employee
forename
Employee
address
Employee date of
birth
Employee date of
birth

46

Pnum:7123654

Employee phone
number

normal

47

Pnum:71236fgx

Employee phone
number

abnormal

Normal
abnormal
normal
normal
abnormal

The employees surname


should not be displayed
The employees forename
should be displayed
The employees forename
should not be displayed
The employees address
should be displayed
The employees date of
birth should be displayed
The employees date of
birth should not be
displayed
The employees phone
number should be
displayed
The employees phone
number should not be
displayed

LEATHER LAB LTD COMPANY

4.2 test plan for employee form (button)

Test
number
48

49
50

51

52
53
54

55
56

Test data

Test purpose

Expected result

Employeecode:E002
5
Surname:Sahay
Forename:Karishma
Address:Rose-Belle
DOB:12/12/65
Phone
number:57894621
Click Save button
Click Add button

Save employee
record

Employee record should be saved

Prepare form for


next data entry
Delete employee
record

Textboxes should be cleared

Employee code:
E0025
Surname: Sahay
Forename: Karishma
Address: Rose-Belle
DOF: 12/12/1965
Pnum: 57894621
Click Delete button
Ecode:E0008
Modify
Phone number : from employee record
51000235 to 1451253
Click modify
button
Click Next button
To move to next
record
Click previous
To move to
button
previous record
Ecode:E0006
Search employee
Click Search
record
button
Click first button
To go to first
record
Click Last button
To go to last
record

Employee record with ID E0025 should


be deleted

Employee record with ID E0008 should


be modified in database.

Next record in the database should be


displayed
Previous record in the database should
be displayed
Employee record with ID E0006 should
be displayed
First Employee record should be
displayed
Last Employee record should be
displayed

LEATHER LAB LTD COMPANY


57

Click back to main


menu button

To go back to
main menu

Main menu form should be displayed

5.0 Test plan for customer form


5.1 test plan for customer form (field)

Test
number
58

Test data

Test purpose

Test type

Expected result

customerID:C0011

customer code

Normal

59

customerID: C

customer code

abnormal

60

customerID: E0001

customer code

extreme

61

Surname: Singh

customer
surname

Normal

62

Surname: 133243

customer
surname

abnormal

63

Forename: Raj

customer
forename

Normal

64

Forename: 789123

customer
forename

abnormal

65

Address: curepipe

normal

66

Pnum:7123654

customer
address
customer
phone number

67

Pnum:71236fgx

customer
phone number

abnormal

Customer record with


ID C0001 should be
displayed
Customer record with
ID C should not be
displayed
Employee record with
ID C0000 should be
displayed
The customers
surname should be
displayed
The customers
surname should not be
displayed
The customers
forename should be
displayed
The customers
forename should not be
displayed
The customers address
should be displayed
The customers phone
number should be
displayed
The customers phone
number should not be

normal

LEATHER LAB LTD COMPANY


68

Email:Shoaib@gmail.co
m

customer email
address

normal

displayed
The customers email
address should be
displayed

5.2 test plan for customer form (button)

Test
number
69

70

71

Test data

Test purpose

Expected result

Customercode:C0017
Surname:Sahay
Forename:Karishma
Address:Rose-Belle
Phone number:57894621
Email:Sahay@hotmail.co
m
Click Save button
Click Add button

Save Customer
record

Customer record should be saved

Prepare form
for next data
entry
Delete
Customer
record

Textboxes should be cleared

Modify
Customer
record

Customer record with ID C0008


should be modified in database.

To move to
next record
To move to
previous record

Next record in the database should


be displayed
Previous record in the database
should be displayed

73

Customer code: C0009


Surname: sigh
Forename: Raj
Address: royal road,
curepipe
Phone number:7451214
Email:Raj@yahoo.com
Click Delete button
Customercode:C0008
Phone number: from
57461325 to 1451253
Click modify button
Click Next button

74

Click previous button

72

Customer record with ID E0009


should be deleted

LEATHER LAB LTD COMPANY


75

76
77
78

Customercode:C0006
Click Search button

Search
customer
record
Click first button
To go to first
record
Click Last button
To go to last
record
Click back to main menu To go back to
button
main menu

Customer record with ID C0006


should be displayed
First Customer record should be
displayed
Last Customer record should be
displayed
Main menu form should be
displayed

6.0 Test plan for order form


6.1 test plan for order form (field)

Test
number
79

Test data

Test purpose

Test type

Expected result

Order code:029

Order code

Normal

80

Customer
Code:C0006

customer code

Normal

81

Order Date:12/06/13 Order date

normal

82

Delivery
date:06/06/14

Delivery date

normal

Order record with ID 029


should be displayed
Customer record with ID
C0006 should be
displayed
The order date should be
displayed
The delivery date should
be displayed

83

Total amount:88400

Total amount

normal

The total amount should


be displayed

6.2 test plan for order form (button)

Test
number
Test
number
84

Test data

Test purpose

Expected result

Test data

Test purpose

Expected result

ordercode:O0020
Customer
code:C0009

Save order
record

Order record should be saved in


tblorder in database

LEATHER LAB LTD COMPANY


Order date:25/07/13
Delivery
date:03/08/13
Total amount:12648
Click Save button

7.0 Test plan for order details form


7.1 test plan for order details form (field)

Test
number
86

Test data

Test purpose

Test type

Expected result

Order code: 03

Order code

Normal

87

Product Code:P0006 Product code

Normal

88

Quantity:7

Quantity

normal

89

Unit price:2500

Unit price

normal

90

Subtotal:75000

Subtotal

normal

Order record with ID 03


should be displayed
Product record with ID
P0006 should be
displayed
The quantity of the
product should be
displayed
The unit price of the
product should be
displayed
The subtotal should be
displayed

7.2 test plan for order details form (button)

Test
number
91

Test data

Test purpose

Expected result

ordercode:O0020
Product code: P0009
Quantity:5
Unitprice:7500

Populate to list
view

The order details should be added to list


view

LEATHER LAB LTD COMPANY

92
93

sub amount:37500
Click Populate to
list view button
Click Finish button

Finish

Click Back To Main


Menu button

To go to main
menu form

The order record should be saved in


database.
Main menu form should be displayed

8.0 test plan for MDI CHILD form (button)


Test number
93
94
95

Test data
Backup
Exit
Main Menu

Test purpose
Do backup
Exit the software
Go to Main menu

96

Help

Open help document

Expected result
Backup should be successful.
The software should be closed.
The Main menu should be
displayed.
The Help document should be
opened.

4.3 SOFTWARE DEVELOPMENT, TESTING


AND INSTALLATION
4.3.1 Software Development
The computerized system that is the interfaces created in the software visual
basic 6.0.The interfaces are the login form, the main menu, the product,
employee, customer, order forms and reports. The database of which are
linked with these interfaces are created on the ms access 2003.the tables
that are created using the ms access are the product table which store
details on product, the employee table which store details on employee, the
customer table which store details on customer, the order and order details
table which store details on the order that a customer place.

LEATHER LAB LTD COMPANY


4.3.1.1File structures
Tblproduct: store details on products

tblemployee: stores details on employees

LEATHER LAB LTD COMPANY

LEATHER LAB LTD COMPANY


tblcustomer: store details on customers

LEATHER LAB LTD COMPANY

tblorder: store details on order placed by a customer

LEATHER LAB LTD COMPANY

tblorderdetails: Store details on the order a customer place

LEATHER LAB LTD COMPANY

4.3.1.2 Relationship Diagram

4.3.1.3 Entity relationship diagram


Customer

Oder/Order
Details

Employee

Product

LEATHER LAB LTD COMPANY


4.3.1.4 Input Forms
Login form: to gain access to main menu

Main Menu Form: contain product, employee, customer and order forms

and reports

LEATHER LAB LTD COMPANY

LEATHER LAB LTD COMPANY


Product Form: Store details on product

Employee Form: Stores details on employee

LEATHER LAB LTD COMPANY


Customer Form: Stores details on customer

Order Form: Stores details on the order placed by customer

LEATHER LAB LTD COMPANY

4.3.1.5 Output Forms


Product Report: stores and display the number of product record

LEATHER LAB LTD COMPANY

LEATHER LAB LTD COMPANY


Employee Report: Stores and display the number of employee record

LEATHER LAB LTD COMPANY


Customer Report: Stores and display the number of customer record

LEATHER LAB LTD COMPANY


Order Report: Stores and display the number of order record

Order Detail Report: Stores the details of an order

LEATHER LAB LTD COMPANY


4.3.2 Programming
Code behind the login form

Code behind the Main Menu form

LEATHER LAB LTD COMPANY


Code behind the Product form

LEATHER LAB LTD COMPANY

LEATHER LAB LTD COMPANY

LEATHER LAB LTD COMPANY


Code behind the Employee form

LEATHER LAB LTD COMPANY

LEATHER LAB LTD COMPANY

LEATHER LAB LTD COMPANY

LEATHER LAB LTD COMPANY


Code behind the Customer Form

LEATHER LAB LTD COMPANY

LEATHER LAB LTD COMPANY

LEATHER LAB LTD COMPANY

Code behind the Order form

LEATHER LAB LTD COMPANY

4.3.3 Testing a software solution


1

Username: Leather Test login


Lab Company
from with
Password: company valid data
Click Accept
button

Norma
l

The main menu


should be displayed

Main menu is
displayed

LEATHER LAB LTD COMPANY

Username: lab
Password: ltd
Click Accept
button

Test login
from with
invalid data

abnorma
l

The main menu


should not be
displayed

The main menu is


not displayed

LEATHER LAB LTD COMPANY


3

Click Reject button

Click Product
Form button

Click employee

Clear textboxes

The textboxes
should be cleared

Open product The product form should


form
be opened

Open employee

The textboxes is
cleared

The product form is


opened

The employee form

The employee form

LEATHER LAB LTD COMPANY


form button

Click customer
form button

Click order form


button

form

Open customer
form

Open order
form

should be opened

The customer form


should be opened

The order form should


be opened

is opened

The customer form is


opened

The order form is


opened

LEATHER LAB LTD COMPANY

Click product
report button

Open product
report

The product report should


be opened

The product report is


opened

LEATHER LAB LTD COMPANY


9

Click employee
report button

Open employee
report

The employee report


should be opened

The employee report is


opened

LEATHER LAB LTD COMPANY

LEATHER LAB LTD COMPANY


10

Click customer
report button

Open customer
report

The customer report


should be opened

The customer report is


opened

LEATHER LAB LTD COMPANY


11

12

Click order
report button

Click order
details report
button

Open order
report

Open order
detail report

The order report should


be opened

The order detail report


should be opened

The order report is


opened

The order detail report


is opened

LEATHER LAB LTD COMPANY


13

Click Exit
button

Close main
menu

The main menu form


should be closed

The main menu form is


closed

Test
number

Test data

Test purpose

Test type

Expected result

Result

14

P0016

Product code

Normal

Product with ID P0016


should be displayed

Product with ID
P0016 is displayed

LEATHER LAB LTD COMPANY


Test
number

Test data

Test purpose

Test type

Expected result

Result

15

Product code

abnormal

Product with ID P
should not be displayed

Product with ID P
is not displayed

Test
number
16

Test data

Test purpose

Test type

Expected result

Result

P9999

Product code

extreme

Product with ID
P9999 should be
displayed

Product with ID
P9999 is displayed

LEATHER LAB LTD COMPANY


Test
number
17

Test data

Test purpose

Test type

Expected result

Result

grey
Jackets

Description

normal

The product grey


jacket should be
displayed

The product grey


jacket is
displayed

Test
number

Test data

Test purpose

Test type

Expected result

Result

18

223234

Description

abnormal

The product 223234


should not be displayed

The product
223234 is not
displayed

LEATHER LAB LTD COMPANY


Test
number
19

Test data

Test
Test
purpose
type
Description extreme

Expected result

Result

The product Dark


brown laptop bags
leather should be
displayed

The product Dark


brown laptop bags
leather is be
displayed

Test
number

Test data

Test
purpose

Test
type

Expected result

Result

20

Quantity

normal

The quantity of the


product should be
displayed

The quantity of the


product is displayed

Dark brown
laptop bags
leather

LEATHER LAB LTD COMPANY


Test
number
21

Test data
Lp79

Test
purpose
Quantity

Test
type
abnorma
l

Expected result

Result

The quantity of the


product should not
be displayed

The quantity of the


product is not
displayed

LEATHER LAB LTD COMPANY


Test
number
22

Test data

Test
number

Test data

23

2500

Test
purpose
Quantity

Test type

Expected result

Result

extreme

The quantity of the


product should be
displayed

The quantity of the


product is displayed

Test
purpose

Test
type

Expected result

Result

Price

normal

The price of the


product should be
displayed

The price of the


product is displayed

LEATHER LAB LTD COMPANY


Test
number
24

Test data

Test
number
25

Test data

ygkug

6000000

Test
purpose
Price

Test
type
abnorma
l

Expected result

Result

The price of the


product should not
be displayed

The price of the


product is not
displayed

Test
purpose
Price

Test
type
extreme

Expected result

Result

The price of the


product should be
displayed

The price of the


product is displayed

LEATHER LAB LTD COMPANY


Test
number
26

Test data
ProductID:P0023
Description: Blue jacket
Quantity:8
Price:3000
Click Save button

Test
purpose
add new
product
record

Expected
result
Product record
should be saved

Result
Product
record is
saved

LEATHER LAB LTD COMPANY


Test
number
27

Test data

Test purpose

Expected result

Result

Click Add
button

Prepare form for next


data entry

Textboxes should
be cleared

Textboxes is cleared

Test
number
28

Test data
Product ID: P0023
Description: black jacket
Quantity: 8
Price: 3000
Click Delete button

Test purpose

Expected
result
Delete a
Product record
product with ID P0023
record
should be
deleted

Result
Product
record with
ID P0023 is
deleted in
database

LEATHER LAB LTD COMPANY

LEATHER LAB LTD COMPANY


Test
number
29

Test data

Test purpose

ProductID:P0008
price: from 1000 to 1500
Click modify button

Modify product
record

Test

Test data

Test purpose

Expected result

Expected
result
Product record
with ID P0008
should be
modified in
database.

Result

Result
Product
record with
ID P0008 is
modified in
database

LEATHER LAB LTD COMPANY


number
30

Click
Next
button

To move to next Next record in the


record
database should be
displayed

Next record in the


database is displayed

Test
number
31

Test data

Test purpose

Expected result

Result

Click
previous
button

To move to
previous record

Previous record in the


database should be
displayed

Previous record in the


database is displayed

Test
number

Test data

Test purpose

Expected result

Result

LEATHER LAB LTD COMPANY


32

ProductID:P000
6
Click search
button

Search product
record

Product record with


ID P0006 should be
displayed

Product record with ID


P0006 is displayed

Test
number
33

Test data

Test purpose

Expected result

Result

Click first
button

To go to first
record

First record should be


displayed

First record is
displayed

Test
number

Test data

Test purpose

Expected result

Result

LEATHER LAB LTD COMPANY


34

Click Last
button

To go to last
record

Last product record


should be displayed

Last product record is


displayed

LEATHER LAB LTD COMPANY


Test
number
35

Test data

Test purpose

Expected result

Result

Click back to
main menu
button

To go back to
main menu

Main menu form


should be displayed

Main menu form is


displayed

Test
number
36

Test data

Test purpose Test type

Expected result

Result

employeeID:E001
9

employee
code

Employee record
with ID E0019
should be
displayed

Employee
record with
ID E0019 is
displayed

Normal

LEATHER LAB LTD COMPANY


Test
number
37

Test data

Test purpose Test type

Expected result

Result

employeeID: E

employee
code

abnormal

Employee record
with ID E should
not be displayed

Employee
record with
ID E is not
displayed

Test
number
38

Test data

Test purpose Test type

Expected result

Result

ID: E0000

employee
code

Employee record
with ID E0000
should be
displayed

Employee
record with
ID E0000 is
displayed

extreme

LEATHER LAB LTD COMPANY


Test
number
39

Test data

Test purpose Test type

Expected result

Surname: Singh

Employee
surname

The employees
The
surname should be employees
displayed
surname is
displayed

Test
number
40

Test data
Surname:
53433

Test
purpose
Employee
surname

Normal

Result

Test type

Expected result

Result

abnormal

The employees
surname should
not be displayed

The employees
surname is not
displayed

LEATHER LAB LTD COMPANY

Test
number
41

Test data
Forename:
Raj

Test
purpose
Employee
forename

Test type
Normal

Expected result

The employees
forename should
be displayed
Test number Test data
Test purpose Test type
Expected
result
42
Forename:
Employee
abnormal The employees
9774
forename
forename should
not be displayed

Result
The employees
forename is
displayed
Result
The employees
forename is not
displayed

LEATHER LAB LTD COMPANY

LEATHER LAB LTD COMPANY


Test
number
43

Test data

Test
purpose
Address: royal Employee
road, curepipe address

Test
number
44

Test data
DOB:
12/12/199
5

Test
purpose
Employee
date of birth

Test type

Expected result

Result

normal

The employees
address should be
displayed

The employees
address is
displayed

Test
type
normal

Expected result

Result

The employees
date of birth should
be displayed

The employees date of


birth is displayed

LEATHER LAB LTD COMPANY


Test
number
45

Test data

Test
number
46

Test data

DOB:
31/31/31

Pnum:712365
4

Test
purpose
Employee
date of birth

Test
purpose
Employee
phone
number

Test
type
abnorma
l

Test
type
normal

Expected result

Result

The employees
date of birth should
not be displayed

The employees date


of birth is displayed

Expected result

Result

The employees
phone number
should be
displayed

The employees
phone number is
displayed

LEATHER LAB LTD COMPANY


Test
number
47

Test data

Test
purpose
Pnum:71236fgx Employee
phone
number

Test
type
abnorma
l

Expected result

Result

The employees
phone number
should not be
displayed

The employees
phone number is not
displayed

LEATHER LAB LTD COMPANY


Test
number
48

Test data
Employeecode:E0025
Surname:Sahay
Forename:Karishma
Address: Rose-Belle
DOB:12/12/65
Phone number:57894621
Click Save button

Test purpose

Expected
result
Save employee Employee
record
record should
be saved

Result
Employee
record is
saved

LEATHER LAB LTD COMPANY

Test
number
49

Test data

Test purpose

Expected result

Result

Click Add
button

Prepare form for next


data entry

Textboxes should be
cleared

Textboxes is
cleared

LEATHER LAB LTD COMPANY

Test
number
50

Test data
Employee code: E0025
Surname: Sahay
Forename: Karishma
Address: Rose-Belle
DOF: 12/12/1965
Pnum: 57894621
Click Delete button

Test
purpose
Delete
employee
record

Expected result

Result

Employee record
with ID E0025
should be deleted

Employee
record with
ID E0025 is
deleted

LEATHER LAB LTD COMPANY

LEATHER LAB LTD COMPANY

Test
number
51

Test data
Ecode:E0008
Phone number : from 51000235
to 1451253
Click modify button

Test
purpose
Modify
employe
e record

Expected result

Result

Employee record
with ID E0008
should be modified in
database.

Employee
record with ID
E0008 is
modified in
database.

LEATHER LAB LTD COMPANY

Test
number
52

Test data

Test purpose

Expected result

Click Next
button

To move to next Next record in the


record
database should be
displayed

Result
Next record in the
database is displayed.

LEATHER LAB LTD COMPANY


Test
number
53

Test data

Test purpose

Expected result

Result

Click
previous
button

To move to
previous record

Previous record in the


database should be
displayed

Previous record in the


database is displayed .

Test
number
54

Test data

Test purpose

Expected result

Result

Employee record with ID


E0006 should be
displayed

Employee record with


ID E0006 is
displayed .

Ecode:E0006 Search
Click
employee
Search
record
button

LEATHER LAB LTD COMPANY

Test
number
55

Test data

Test purpose

Expected result

Result

Click first
button

To go to first
record

First Employee record


should be displayed

First Employee record


is displayed.

LEATHER LAB LTD COMPANY

Test
number
56

Test data

Test purpose

Expected result

Result

Click Last
button

To go to last
record

Last Employee record


should be displayed

Last Employee record


is displayed

LEATHER LAB LTD COMPANY


Test
number
57

Test data

Test
number
58

Test data

Test purpose

Click back
To go back to
to main
main menu
menu button

customerID:
C0011

Test
purpose
customer
code

Expected result

Result

Main menu form should


be displayed

Main menu form is


displayed

Test
type
Normal

Expected result

Result

Customer record
with ID C0011
should be displayed

Customer record
with ID C0011 is
displayed

LEATHER LAB LTD COMPANY

Test
number
59

Test data

Test
number

Test data

customerID
:C

Test
purpose
customer
code

Test type

Expected result

Result

abnormal

Customer record
with ID C should
not be displayed

Customer record
with ID C is not
displayed

Test
purpose

Test
type

Expected result

Result

LEATHER LAB LTD COMPANY


60

customerID
: C0000

customer
code

extreme

Employee record
with ID C0000
should be displayed

Customer record
with ID C000 is
displayed

LEATHER LAB LTD COMPANY


Test
number
61

Test data

Test
number
62

Test data

Surname:
Singh

Surname:
133243

Test
purpose
customer
surname

Test
type
Normal

Expected result

Result

The customers
surname should be
displayed

The customers
surname is
displayed

Test
purpose
customer
surname

Test type

Expected result

Result

abnormal

The customers
surname should not
be displayed

The customers
surname is not
displayed

LEATHER LAB LTD COMPANY

Test
number
63

Test data

Test
number
64

Test data

Forename:
Raj

Forename:
789123

Test
purpose
customer
forename

Test type

Expected result

Result

Normal

The customers
forename should be
displayed

The customers
surname is
displayed

Test
purpose
customer
forename

Test type

Expected result

Result

abnormal

The customers
forename should
not be displayed

The customers
surname is
notdisplayed

LEATHER LAB LTD COMPANY

LEATHER LAB LTD COMPANY


Test
number
65

Test data

Test
number
66

Test data

Address:
curepipe

Pnum:7123
654

Test
purpose
customer
address

Test type

Expected result

Result

normal

The customers
address should be
displayed

The customers
address is displayed

Test
purpose
customer
phone
number

Test type

Expected result

Result

normal

The customers
phone number
should be displayed

The customers
phone number is
displayed

LEATHER LAB LTD COMPANY


Test
number
67

Test data

Test
number
68

Test data

Pnum:7123
6fgx

Email:Shoaib
@gmail.com

Test
purpose
customer
phone
number

Test
purpose
customer
email
address

Test type

Expected result

Result

abnormal

The customers
phone number
should not be
displayed

The customers
phone number is
not displayed

Test
type
normal

Expected result

Result

The customers
email address
should be displayed

The customers
email address is
displayed

LEATHER LAB LTD COMPANY

Test
number
69

Test data

Test purpose

Customercode:C0017
Surname:Sahay
Forename:Karishma
Address:Rose-Belle
Phone number:57894621
Email:Sahay@hotmail.com
Click Save button

Save Customer
record

Expected
result
Customer
record should
be saved

Result
Customer
record is
saved

LEATHER LAB LTD COMPANY

Test
number
70

Test data

Test purpose

Expected result

Result

Click Add
button

Prepare form for next


data entry

Textboxes should be
cleared

Textboxes is
cleared

LEATHER LAB LTD COMPANY

Test
number
71

Test data
Customer code: C0017
Surname: Sahay
Forename: Karishma
Address Rose-Belle
Phone number: 57894621
Email: Sahay@hotmail.com
Click Delete button

Test
purpose
Delete
Customer
record

Expected result

Result

Customer record
with ID C0017
should be deleted

Customer
record with ID
C0017 is
deleted

LEATHER LAB LTD COMPANY

Test
number
72

Test data
Customercode:C0008
Phone number: from
57461325 to 1451253
Click modify button

Test
purpose
Modify
Customer
record

Expected result

Result

Customer record
with ID C0008
should be modified
in database.

Customer record
with ID C0008 is
modified in
database.

LEATHER LAB LTD COMPANY

LEATHER LAB LTD COMPANY

Test
number
73

Test data
Click Next button

Test
purpose
To move to
next record

Expected result

Result

Next record in the


database should be
displayed

Next record in the


database is
displayed.

LEATHER LAB LTD COMPANY


Test
number
74

Test data

Test
number
75

Test data

Click previous button

Customercode:C0006
Click Search button

Test
purpose
To move to
previous
record

Expected result

Result

Previous record in
the database should
be displayed

Previous record in
the database is
displayed

Test
purpose
Search
customer
record

Expected result

Result

Customer record
with ID C0006
should be displayed

Customer record
with ID C0006 is
displayed

LEATHER LAB LTD COMPANY

Test
number
76

Test data
Click first button

Test
purpose
To go to
first record

Expected result

Result

First Customer
record should be
displayed

First Customer
record is displayed

LEATHER LAB LTD COMPANY

Test
number
77

Test data
Click Last button

Test
purpose
To go to last
record

Expected result

Result

Last Customer
record should be
displayed

Last Customer
record is displayed

LEATHER LAB LTD COMPANY

Test
number
78

Test data

Test
number
79

Test data

Click back to main


menu button

Order
code:029

Test
purpose
Order
code

Test
purpose
To go back
to main
menu

Expected result

Result

Main menu form


should be displayed

Main menu form is


displayed

Test type

Expected result

Result

Normal

Order record with


ID 029 should be
displayed

Order record with


ID 029 is displayed

LEATHER LAB LTD COMPANY

Test
number
80

Test data

Test
purpose
Customer
customer
Code:C0006 code

Test type

Expected result

Result

Normal

Customer record
with ID C0006
should be displayed

Customer record
with ID C0006 is
displayed

Test
number
81

Test data

Test type

Expected result

Result

normal

The order date


should be displayed

The order date is


displayed

Order
Date:12/06/
13

Test
purpose
Order date

LEATHER LAB LTD COMPANY

Test
number
82

Test data

Test
number
83

Test data

Delivery
date:06/06/14

Test
Test type
purpose
Delivery normal
date

Test
purpose
Total
Total
amount:88400 amount

Expected result

Result

The delivery date


should be displayed

The delivery date is


displayed

Test type

Expected result

Result

normal

The total amount


should be displayed

The total amount is


displayed

LEATHER LAB LTD COMPANY

Test
number
84

Test data

Test purpose

Expected result

Result

ordercode:034
Customer
code:C0009
Order date:25/07/13
Delivery
date:03/08/13
Total amount:12648
Click Save button

Save order
record

Order record
should be saved
in tblorder in
database

Order record is
saved in tblorder in
database

LEATHER LAB LTD COMPANY

Test
number
85

Test data

Test purpose

Expected result

Result

Click Add button

Prepare form for


next data entry

Textboxes
should be
cleared

Textboxes is
cleared

LEATHER LAB LTD COMPANY

Test
number
86

Test data

Test purpose

Order code:

Order code

Test
type
Normal

Expected result

Result

Order record with ID

Order record

LEATHER LAB LTD COMPANY


03

Test
number
87

Test data

Test purpose

Product
Code:P0006

Product code

Test
number

Test data

Test purpose

03 should be
displayed

with ID 03 is
displayed

Test
type
Normal

Expected result

Result

Product record with


ID P0006 should be
displayed

Product record
with ID P0006
should be
displayed

Test
type

Expected result

Result

LEATHER LAB LTD COMPANY


88

Quantity:7

Quantity

normal

The quantity of the


product should be
displayed

The quantity of
the product is
displayed

Test
number
89

Test data

Test purpose

Expected result

Result

Unit
price:2500

Unit price

Test
type
normal

The unit price of the


product should be
displayed

The unit price of


the product is
displayed

Test
number
90

Test data

Test purpose

Subtotal:7500
0

Subtotal

Test
number
91

Test data

Test
number
92

Test data

ordercode:O0020
Product code:
P0009
Quantity:5
Unitprice:7500
sub amount:37500
Click Populate to
list view button

Click Finish
button

Test
type
normal

Expected result

Result

The subtotal should


be displayed

The subtotal is
displayed

Test
purpose
Populate to
list view

Expected result

Result

The order details should


be populate to the list
view

The order details is


populate to the list
view

Test
purpose
Finish

Expected result

Result

The order record should


be saved in database.

The order record is


saved in
tblorderdetails in
database.

LEATHER LAB LTD COMPANY


Test
number
93

Test data
Click Back To
Main Menu
button

Test
purpose
To go to
main menu
form

Expected result

Result

Main menu form should


be displayed

Main menu form is


displayed.

LEATHER LAB LTD COMPANY

Test
number
94

Test data
Backup

Test
purpose
Do backup

Expected result

Result

Backup should be
successful.

Backup is
successful.

LEATHER LAB LTD COMPANY

Test
number
95

Test data

Test
number
96

Test data

Exit

Main Menu

Test
purpose
Exit the
software

Expected result

Result

The software
should be closed.

The software is
closed.

Test
purpose
Go to Main
menu

Expected result

Result

The Main menu


should be
displayed.

The Main menu is


displayed

LEATHER LAB LTD COMPANY


Test
number
97

Test data
Help

Test
purpose
Open help
document

Expected result

Result

The Help document


should be opened.

The Help document


is opened.

LEATHER LAB LTD COMPANY

4.3.4 Planning for installation and use


There are 4 methods of installing the new system which is also known as
changeover methods. These changeover methods are the:
Pilot changeover
Parallel changeover
Direct changeover
Phase changeover
A meeting was schedule with the owner so that I could discuss the changeover
methods with him.

LEATHER LAB LTD COMPANY


Royal-Road,
Nouvelle-France,
03/o2/14
Mr. Fardeen Madarbocus,
The Owner,
Leather Lab Ltd Company,
Comlone Road,
Nouvelle-France
Dear Sir,
Re: Installation about the software to your company
I Miss Mehnaz Diouman appointed as analyst hereby am asking you
permission to come and discuss the different ways that the new system leather lab
can be installed and also ask you the permission to train your staffs that will be
using the new system. Please let me know when I can come to carry out these
tasks. Thank you for taking my letter into consideration. I look forward to hear from
you,
Yours sincerely,

Miss Mehnaz Diouman

LEATHER LAB LTD COMPANY


LEATHER LAB LTD COMPANY,
COMLONE ROAD, NOUVELLE-FRANCE
TEL: 6771013

Date: 12 February 2014


From: Mr. Fardeen Madarbocus
To: Mehnaz Diouman

APPROVAL LETTER
Dear Analyst,
After considering the pros and cons of the different methods of software
installation into consideration, I have decided to go for the parallel changeover
method because it will be a precaution for me and my staffs in case of the new
system failure. You can come on 14/02/14 for the installation of the software as well
as you can train my staffs. Thank you.

Yours faithfully,

4.3.5 Client and user testing


On 14 February 2014 I went to install the new system of the leather lab company at

LEATHER LAB LTD COMPANY


Nouvelle-France as well as it took me the whole day to train the staffs how to use
the new system.

LEATHER LAB LTD COMPANY


LEATHER LAB LTD COMPANY,
COMLONE ROAD, NOUVELLE-FRANCE
TEL: 6771013

Date: 20 February 2014


From: Mr. Fardeen Madarbocus
To: Mehnaz Diouman

USER ACCEPTANCE LETTER


Dear Analyst,
I wish to inform you that my staffs are very comfortable with the new
computerized system and they have no problem in using this system. I hope all the
problems will be solved out very soon and thank you very much for your
involvement.

LEATHER LAB LTD COMPANY

4.4DOCUMENTATION
4.4.1 User Documentation
Table of Contents
4.4.1 USER DOCUMENTATION
4.4.1 User Documentation...................................................................................... 184
4.4.1.1 Glossary..................................................................................................... 189
4.4.1.2 Software installation................................................................................... 189
Opening software................................................................................................... 191
4.4.1.3 Working with input forms...........................................................................193
Working with product form:................................................................................. 193
Working with employee form:.............................................................................. 199
Working with Customer form:..............................................................................205
Working with Order form:.................................................................................... 211
4.4.1.4 Generating Reports.................................................................................... 213
Generating Product Report.................................................................................. 213
Generating Employee Report.............................................................................. 214
Generating Customer Report...............................................................................215
Generating Order Report..................................................................................... 215
Generating Order details Report..........................................................................216
Exiting the software................................................................................................ 216
Opening Help document......................................................................................... 217
Backup.................................................................................................................... 217
4.4.1.5 Trouble shooting......................................................................................... 218
4.4.1.6 Index.......................................................................................................... 220
4.4.2 Technical Documentation..............................................................................221
tblproduct:........................................................................................................... 224
tblemployee:....................................................................................................... 225
tblcustomer:........................................................................................................ 226

LEATHER LAB LTD COMPANY


tblorder:.............................................................................................................. 227
tblorderdetails:.................................................................................................... 228
4.4.2.2 Data Dictionary.......................................................................................... 229
Unit......................................................................................................................... 229
This is the unit price of product which has been ordered......................................229
Subtotal.................................................................................................................. 229
This is the sub total price....................................................................................... 229
4.4.2.3 Relationship Diagram................................................................................. 230
4.4.2.4 Entity relationship diagram........................................................................230
4.4.2.5 Navigation Path.......................................................................................... 231
4.4.2.6 Input Forms................................................................................................ 232
Login form:.......................................................................................................... 232
Main Menu Form:................................................................................................. 232
Product Form:...................................................................................................... 233
Employee Form:.................................................................................................. 233
Customer Form:................................................................................................... 234
Order Form:......................................................................................................... 234
4.4.2.7 Output Forms............................................................................................. 235
Product Report:.................................................................................................... 235
Employee Report:................................................................................................ 236
Customer Report:................................................................................................ 237
Order Report:....................................................................................................... 238
Order Detail Report:............................................................................................ 238
4.4.2.8 Program listing........................................................................................... 239
Code behind the login form.................................................................................239
Code behind the Main Menu form.......................................................................239
Code behind the Product form............................................................................. 240
Code behind the Employee form.........................................................................242
Code behind the Customer Form.........................................................................244
Code behind the Order form................................................................................ 246
4.4.2.9 Pseudocode................................................................................................ 247
Login form:.......................................................................................................... 247
ELSE....................................................................................................................... 247

LEATHER LAB LTD COMPANY


Msgbox display Please Try Again.........................................................................247
ENDIF...................................................................................................................... 247
Main Menu:.......................................................................................................... 247
ELSEIF choice= Employee Form, THEN...............................................................247
ELSEIF choice= Customer Form, THEN................................................................247
ELSEIF choice=Order Form, THEN.......................................................................247
ELSEIF choice= Leather Report, THEN.................................................................247
ELSEIF choice= Employee Report, THEN.............................................................247
ELSEIF choice= Customer Report, THEN.............................................................247
ELSEIF choice= Order Report, THEN....................................................................248
ELSEIF choice=Exit, Then.................................................................................... 248
ENDIF...................................................................................................................... 248
Product Form:...................................................................................................... 248
User input Product code......................................................................................... 248
ELSE....................................................................................................................... 248
Msgbox display Not in File...................................................................................248
ENDIF...................................................................................................................... 248
ELSEIF choice = modify, THEN...............................................................................248
ELSE....................................................................................................................... 249
Msgbox display Not In File...................................................................................249
ENDIF...................................................................................................................... 249
ELSEIF choice=Delete, THEN..................................................................................249
ENDIF...................................................................................................................... 249
ELSEIF choice=Back to Main Menu, THEN...........................................................249
ELSEIF choice=First, THEN..................................................................................249
ELSEIF choice=Last, THEN.................................................................................. 249
ELSEIF choice=Next, THEN.................................................................................. 249
ELSEIF choice=Previous, THEN............................................................................249
ENDIF...................................................................................................................... 249
Employee Form:.................................................................................................. 250
User input employee code...................................................................................... 250
ELSE....................................................................................................................... 250
Msgbox display Not In File...................................................................................250

LEATHER LAB LTD COMPANY


ENDIF...................................................................................................................... 250
ELSEIF choice = modify, THEN...............................................................................250
ENDIF...................................................................................................................... 250
ELSEIF choice=Delete, THEN..................................................................................251
Main Menu displayed.............................................................................................. 251
First employee record in the employee table is displayed......................................251
Last employee record in the employee table is displayed......................................251
Next employee record in the employee table is displayed.....................................251
ENDIF...................................................................................................................... 251
Customer Form.................................................................................................... 251
User input customer code...................................................................................... 252
ELSE....................................................................................................................... 252
Msgbox display Not In File...................................................................................252
ENDIF...................................................................................................................... 252
ELSEIF choice = modify, THEN...............................................................................252
ENDIF...................................................................................................................... 252
ELSEIF choice=Delete, THEN..................................................................................252
Main Menu displayed.............................................................................................. 253
First customer record in the customer table is displayed.......................................253
Last customer record in the customer table is displayed.......................................253
Next customer record in the customer table is displayed.......................................253
ENDIF...................................................................................................................... 253
Order Form.......................................................................................................... 253
ELSEIF choice= Save, THEN................................................................................ 253
ENDIF...................................................................................................................... 253
4.4.2.10 SYSTEM FLOWCHARTS.............................................................................. 254
1. Product............................................................................................................ 254
Add Product record........................................................................................... 254
Search Product record...................................................................................... 255
Modify Product record...................................................................................... 256
Delete Product record...................................................................................... 257
2. Employee........................................................................................................ 258
Add Employee record....................................................................................... 258

LEATHER LAB LTD COMPANY


Search employee record..................................................................................259
Modify Employee record................................................................................... 260
Delete employee record................................................................................... 261
3. Customer......................................................................................................... 262
Add customer record........................................................................................ 262
Search customer record................................................................................... 263
Modify customer record.................................................................................... 264
Delete customer record.................................................................................... 265
4. ORDER............................................................................................................. 266
Flowchart to generate report..................................................................................267
Leather report..................................................................................................... 267
Employee record................................................................................................. 267
Customer report.................................................................................................. 267
Order report........................................................................................................ 268
4.4.2.11 Top down Design...................................................................................... 269
4.4.2.12 Modules.................................................................................................... 270
User Requirements................................................................................................. 281

LEATHER LAB LTD COMPANY

4.4.1.1 Glossary

Name

Meaning

Record

A record consist a number of fields which consists of one data


item e.g. Quantity, Description
Database is a table like structure which consists of related files.
Backup is the copying the database to another medium in case of
system failure.
Numeric data means the data should be number form
Text data means the data should be in alphabetical form.
Reports are used to display the contents of the database.
A folder contains multiple of files.
A file is a resource for storing information.
Password is a code used to access the system
It is a form of problem solving

Database
Backup
Numeric data
Text data
Report
Folder
File
Password
Trouble
shooting
index
Drop down
list

It is a list of words which can be found in a document.


It is like a list box which will allow the user to choose only one value.

4.4.1.2 Software installation


1. Locate and open folder package found on CD

2. Locate and double click on the setup.exe file

3. The following screen will be displayed

LEATHER LAB LTD COMPANY

4. Click on OK Button and the following screen will be displayed.

5. Click on the setup button. The following screen will be displayed.

LEATHER LAB LTD COMPANY

LEATHER LAB LTD COMPANY


6. Click on button Continue. The following will be displayed

Opening software
1. Click on start All program click on projectleather

LEATHER LAB LTD COMPANY


2. The login form will be displayed

3. Enter Username: Leather Lab Company and Password: companyto


access system leather lab.
4. Click on button Accept
5. Main menu will be displayed

LEATHER LAB LTD COMPANY


4.4.1.3 Working with input forms
Working with product form:

Opening Product Form


1. on main menu click on Product Form button. Product form will be displayed

Adding new product record


1.
2.
3.
4.
5.

Open Product form


On Product form click on button ADD
Enter Product details
Click on button Save
Message box Product Record successfully saved in database will be displayed.

LEATHER LAB LTD COMPANY


Searching an existing product record
1.
2.
3.
4.
5.

Open Product form


On Product form click on button Search
Enter Product code
Click on button ok
The product code that you entered will be displayed

Modify an existing product record


1. Open Product form
2.Search the Product to be modified
3.Change the details wherever necessary
4. On Product form click on button modify
5. Message box Are you sure to modify product record will be displayed.
6. Click on button yes.
7. Message box Product Record successfully modified in database will be
displayed.

LEATHER LAB LTD COMPANY

Deleting an existing product record


1.
2.
3.
4.
5.

Open product form.


Search the product record
Click on button Delete.
Message box Are you sure to delete this product record will be displayed.
Click on button Yes.

LEATHER LAB LTD COMPANY

To go to next product record


1. Open product form.
2. Click on button Next.

LEATHER LAB LTD COMPANY


To go to previous product record
1. Open product form.
2. Click on button Previous.

To go to First product record


1. Open product form.
2. Click on button First.

LEATHER LAB LTD COMPANY


To go to Last product record
1. Open product form.
2. Click on button Last.

To go Back to Main Menu


2. Click on button Back to Main Menu.

LEATHER LAB LTD COMPANY


Working with employee form:

Opening employee Form


1. on main menu click on Employee Form button. Employee form will be displayed

Adding new employee record


1. Open Employee form
2. On Employee form click on button ADD
3. Enter Employee details
4. Click on button Save
5. Message box Employee Record successfully saved in database will be
displayed.

LEATHER LAB LTD COMPANY


Searching an existing employee record
1.
2.
3.
4.
5.

Open Employee form


On Employee form click on button Search
Enter Employee code
Click on button ok
The Employee code that you entered will be displayed

Modify an existing employee record


1. Open Employee form
2.Search the Employee to be modified
3.Change the details wherever necessary
4. On Employee form click on button modify
5. Message box Are you sure to modify Employee record will be displayed.
6. Click on button yes.
7. Message box Employee Record successfully modified in database will be
displayed.

LEATHER LAB LTD COMPANY

Deleting an existing employee record


1.
2.
3.
4.
5.

Open Employee form.


Search the Employee record
Click on button Delete.
Message box Are you sure to delete this Employee record will be displayed.
Click on button Yes.

LEATHER LAB LTD COMPANY

To go to next employee record


1. Open Employee form.
2. Click on button Next.

LEATHER LAB LTD COMPANY


To go to previous employee record
1. Open Employee form.
2. Click on button Previous.

To go to First employee record


1. Open Employee form.
2. Click on button First.

LEATHER LAB LTD COMPANY


To go to Last employee record
1. Open Employee form.
2. Click on button Last.

To go back to Main Menu


2. Click on button Back to Main Menu.

LEATHER LAB LTD COMPANY


Working with Customer form:

Opening customer Form


1. on main menu click on Employee Form button. Customer form will be displayed

Adding new customer record


1. Open Customer form
2. On Customer form click on button ADD
3. Enter Customer details
4. Click on button Save
5. Message box Customer Record successfully saved in database will be
displayed.

LEATHER LAB LTD COMPANY

LEATHER LAB LTD COMPANY


Searching an existing customer record
1.
2.
3.
4.
5.

Open Customer form


On Customer form click on button Search
Enter Customer code
Click on button ok
The Customer code that you entered will be displayed

Modify an existing customer record


1. Open Customer form
2.Search the Customer to be modified
3.Change the details wherever necessary
4. On Customer form click on button modify
5. Message box Are you sure to modify Customer record will be displayed.
6. Click on button yes.
7. Message box Customer Record successfully modified in database will be
displayed.

LEATHER LAB LTD COMPANY

Deleting an existing customer record


1.
2.
3.
4.
5.

Open Customer form.


Search the Customer record
Click on button Delete.
Message box Are you sure to delete this Customer record will be displayed.
Click on button Yes.

LEATHER LAB LTD COMPANY

To go to next customer record


1. Open Customer form.
2. Click on button Next.

LEATHER LAB LTD COMPANY


To go to previous customer record
1. Open Customer form.
2. Click on button Previous.

To go to First customer record


1. Open Customer form.
2. Click on button First.

LEATHER LAB LTD COMPANY


To go to Last customer record
1. Open Customer form.
2. Click on button Last.

To go back to Main Menu


1. Click on button Back to Main Menu.

LEATHER LAB LTD COMPANY


Working with Order form:

Opening Order Form


1. on main menu click on Employee Form button. Customer form will be displayed

Adding new Order record


1. Open Customer form
2. On Customer form click on button ADD
3.The order code will be displayed. Click on the dropdown list to choose customer
code, order date and delivery date respectively
4. Click on button Save.
5. The order code in the order details will automatically displayed when the button
save is clicked. Use the dropdown list to choose the product code, enter the
quantity of the product, the click on the Unit text box. The unit price of the
product will be displayed automatically. Then click on the subtotal textbox. The
sub total also will be displayed automatically.
6. Click on button Populate to order list.
7. If the same customer wants to place another order, repeat step 5.
8. When all orders have been taken, click on button finish .the following screen
will be displayed.

LEATHER LAB LTD COMPANY

To go back to Main Menu


1. Click on button Back to Main Menu.

LEATHER LAB LTD COMPANY

4.4.1.4 Generating Reports


Generating Product Report
1. On Main menu click on check button Product Report. The following will be
displayed

LEATHER LAB LTD COMPANY

Generating Employee Report


1. On Main menu click on check button Employee Report. The following will be
displayed

LEATHER LAB LTD COMPANY

Generating Customer Report


1. On Main menu click on check button Customer Report. The following will be
displayed

Generating Order Report


1. On Main menu click on check button Order Report. The following will be
displayed

LEATHER LAB LTD COMPANY

Generating Order details Report


1. On Main menu click on check button Order details Report. The following will be
displayed

LEATHER LAB LTD COMPANY


Exiting the software
1. on main menu click on Exit button. Desktop will be displayed

Opening Help document


1. on menu bar click on Help button

Backup
1. on menu bar click on Backup button
2. The following will be displayed

LEATHER LAB LTD COMPANY

3. Click on backup button.


4. The following will be displayed.

5. Click on button ok

4.4.1.5 Trouble shooting

Solution:
1. Click on OK button to close the message box.
2. Re enter the code.

LEATHER LAB LTD COMPANY

Solution:
1. Click on OK button to close the message box.
2. Enter only Text data for description.

Solution:
1. Click on OK button to close the message box.
2. Text box should not be left blank. Enter the Quantity of the Product.

Solution:
1. Click on OK button to close the message box.
2. The price should be entered in numeric data.

Solution:
1. Click on OK button to close the message box.
2. The employees surname should be entered in text data.

LEATHER LAB LTD COMPANY


Solution:
1. Click on OK button to close the message box.
2. The employees forename should be entered in text data.

Solution:
1. Click on OK button to close the message box.
2. The phone number should be entered in numeric data.

LEATHER LAB LTD COMPANY

4.4.1.6 Index
Record
Database
Backup
Numeric Data
Text Data
Report
Folder
File
Package
Password
Trouble Shooting
Index

LEATHER LAB LTD COMPANY

4.4.2 Technical Documentation


Table of Contents
4.4.2 Technical Documentation
4.4.2 Technical Documentation..............................................................................221
tblproduct:........................................................................................................... 224
tblemployee:....................................................................................................... 225
tblcustomer:........................................................................................................ 226
tblorder:.............................................................................................................. 227
tblorderdetails:.................................................................................................... 228
4.4.2.2 Data Dictionary.......................................................................................... 229
4.4.2.3 Relationship Diagram................................................................................. 230
4.4.2.4 Entity relationship diagram........................................................................230
4.4.2.5 Navigation Path.......................................................................................... 231
4.4.2.6 Input Forms................................................................................................ 232
Login form:.......................................................................................................... 232
Main Menu Form:................................................................................................. 232
Product Form:...................................................................................................... 233
Employee Form:.................................................................................................. 233
Customer Form:................................................................................................... 234
Order Form:......................................................................................................... 234
4.4.2.7 Output Forms............................................................................................. 235
Product Report:.................................................................................................... 235
Employee Report:................................................................................................ 236
Customer Report:................................................................................................ 237
Order Report:....................................................................................................... 238
Order Detail Report:............................................................................................ 238
4.4.2.8 Program listing........................................................................................... 239
Code behind the login form.................................................................................239
Code behind the Main Menu form.......................................................................239

LEATHER LAB LTD COMPANY


Code behind the Product form............................................................................. 240
Code behind the Employee form.........................................................................242
Code behind the Customer Form.........................................................................244
Code behind the Order form................................................................................ 246
4.4.2.9 Pseudocode................................................................................................ 247
Login form:.......................................................................................................... 247
Main Menu:.......................................................................................................... 247
Product Form:...................................................................................................... 248
_Toc390193812Employee Form:..........................................................................250
Customer Form.................................................................................................... 251
_Toc390193832Order Form................................................................................. 253
4.4.2.10 SYSTEM FLOWCHARTS.............................................................................. 254
1. Product............................................................................................................ 254
Add Product record........................................................................................... 254
Search Product record...................................................................................... 255
Modify Product record...................................................................................... 256
Delete Product record...................................................................................... 257
2. Employee........................................................................................................ 258
Add Employee record....................................................................................... 258
Search employee record..................................................................................259
Modify Employee record................................................................................... 260
Delete employee record................................................................................... 261
3. Customer......................................................................................................... 262
Add customer record........................................................................................ 262
Search customer record................................................................................... 263
Modify customer record.................................................................................... 264
Delete customer record.................................................................................... 265
4. ORDER............................................................................................................. 266
Flowchart to generate report..................................................................................267
Leather report..................................................................................................... 267
Employee record................................................................................................. 267
Customer report.................................................................................................. 267
Order report........................................................................................................ 268

LEATHER LAB LTD COMPANY


4.4.2.11 Top down Design...................................................................................... 269
4.4.2.12 Modules.................................................................................................... 270
User Requirements................................................................................................. 281

LEATHER LAB LTD COMPANY

4.4.2.1 File structures


tblproduct: store details on products

LEATHER LAB LTD COMPANY

tblemployee: stores details on employees

LEATHER LAB LTD COMPANY


tblcustomer: store details on customers

LEATHER LAB LTD COMPANY

tblorder: store details on order placed by a customer

LEATHER LAB LTD COMPANY

tblorderdetails: Store details on the order a customer place

LEATHER LAB LTD COMPANY

4.4.2.2 Data Dictionary


Fields
product code
Description
Quantity
Price
Employee code
Surname
Forename
Address
Date of birth
Phone number
Customer code
Surname
Forename
Address
Phone number
Email
Order code
Order date
Delivery date
Total amount

Description
This represents the id given of a
product
This represents the description of
product.
This represents the quantity of the
product
This represents the price of the
product.
This represents the id of employee
This represents the surname of the
employee
This represents the forename of the
employee.
This represents the address of the
employee.
This represents the date of birth of
the employee.
This is the phone number of the
employee.
This represents the id of customer
This represents the surname of the
customer.
This represents the forename of the
customer.
This is the address of the customer.
This is the phone number of the
customer
This is the email address of the
customer
This represents the id of an order
This represents the date on which the
order was placed
This is the delivery date on which the
product should be delivered
This is the total amount the customer
need to pay

LEATHER LAB LTD COMPANY


Unit
Subtotal

This is the unit price of product which


has been ordered
This is the sub total price.

LEATHER LAB LTD COMPANY

4.4.2.3 Relationship Diagram

4.4.2.4 Entity relationship diagram


Customer

Oder/Order
Details

Employee

Product

LEATHER LAB LTD COMPANY

4.4.2.5 Navigation Path

LEATHER LAB LTD COMPANY

LEATHER LAB LTD COMPANY

4.4.2.6 Input Forms


Login form: to gain access to main menu

Main Menu Form: contain product, employee, customer and order


forms and reports

LEATHER LAB LTD COMPANY

Product Form: Store details on product

Employee Form: Stores details on employee

LEATHER LAB LTD COMPANY

LEATHER LAB LTD COMPANY


Customer Form: Stores details on customer

Order Form: Stores details on the order placed by customer

LEATHER LAB LTD COMPANY

4.4.2.7 Output Forms


Product Report: stores and display the number of product record

LEATHER LAB LTD COMPANY

LEATHER LAB LTD COMPANY


Employee Report:
Stores and display the number of employee record

LEATHER LAB LTD COMPANY


Customer Report: Stores and display the number of customer record

LEATHER LAB LTD COMPANY


Order Report: Stores and display the number of order record

Order Detail Report: Stores the details of an order

LEATHER LAB LTD COMPANY


4.4.2.8 Program listing
Code behind the login form

Code behind the Main Menu form

LEATHER LAB LTD COMPANY


Code behind the Product form

LEATHER LAB LTD COMPANY

LEATHER LAB LTD COMPANY

LEATHER LAB LTD COMPANY


Code behind the Employee form

LEATHER LAB LTD COMPANY

LEATHER LAB LTD COMPANY

LEATHER LAB LTD COMPANY

LEATHER LAB LTD COMPANY


Code behind the Customer Form

LEATHER LAB LTD COMPANY

LEATHER LAB LTD COMPANY

LEATHER LAB LTD COMPANY

Code behind the Order form

LEATHER LAB LTD COMPANY

LEATHER LAB LTD COMPANY

4.4.2.9 Pseudocode
Login form:
Input username
Input password
If (username and password = valid), THEN
Main Menu displayed
ELSE
Msgbox display Please Try Again
ENDIF

Main Menu:
User input choice

LEATHER LAB LTD COMPANY


If choice= Leather Form, THEN
Leather Form displayed
ELSEIF choice= Employee Form, THEN
Employee Form displayed
ELSEIF choice= Customer Form, THEN
Customer Form displayed
ELSEIF choice=Order Form, THEN
Order Form displayed
ELSEIF choice= Leather Report, THEN
Leather Report displayed
ELSEIF choice= Employee Report, THEN
Employee Report displayed
ELSEIF choice= Customer Report, THEN
Customer Report displayed
ELSEIF choice= Order Report, THEN
Order Report displayed
ELSEIF choice=Exit, Then
Close main menu
ENDIF

Product Form:
User enter choice
IF choice=Add, THEN
Clear text boxes for next data entry
User enter leather details
New Product record added in table Product

LEATHER LAB LTD COMPANY


ELSEIF choice= Search, THEN
User input Product code
Search Product code in Product table
IF (Product code=found), THEN
Product record displayed
ELSE
Msgbox display Not in File
ENDIF
ELSEIF choice = modify, THEN
User input Product code
Search Product code in Product table
IF (Product code=found), THEN
Product record displayed
User makes modification
Modify Product table
ELSE
Msgbox display Not In File
ENDIF
ELSEIF choice=Delete, THEN
Search Product code in Product table
IF (Product code=found), THEN
Product record displayed
Delete record in file
ENDIF
ELSEIF choice=Back to Main Menu, THEN

LEATHER LAB LTD COMPANY


Main Menu displayed
ELSEIF choice=First, THEN
First Product record in the Product table is displayed
ELSEIF choice=Last, THEN
Last Product record in the Product table is displayed
ELSEIF choice=Next, THEN
Next l Product record in the Product table is displayed
ELSEIF choice=Previous, THEN
Previous Product record in the Product table is displayed
ENDIF

Employee Form:
User enter choice
IF choice=Add, THEN
Clear text boxes for next data entry
User enter employee details
New employee record added in table leather
ELSEIF choice= Search, THEN
User input employee code
Search employee code in leather table
IF (Employee code=found), THEN
Employee record displayed
ELSE
Msgbox display Not In File

LEATHER LAB LTD COMPANY


ENDIF
ELSEIF choice = modify, THEN
User input employee code
Search leather code in employee table
IF (employee code=found), THEN
Employee record displayed
User makes modification
Modify employee table
ELSE
Msgbox display Not In File
ENDIF
ELSEIF choice=Delete, THEN
Search employee code in employee table
IF (employee code=found), THEN
Employee record displayed
Delete record in file
ENDIF
ELSEIF choice=Back to Main Menu, THEN
Main Menu displayed
ELSEIF choice=First, THEN
First employee record in the employee table is displayed
ELSEIF choice=Last, THEN
Last employee record in the employee table is displayed
ELSEIF choice=Next, THEN
Next employee record in the employee table is displayed

LEATHER LAB LTD COMPANY


ELSEIF choice=Previous, THEN
Previous employee record in the employee table is displayed
ENDIF

Customer Form
User enter choice
IF choice=Add, THEN
Clear text boxes for next data entry
User enter customer details
New customer record added in table leather
ELSEIF choice= Search, THEN
User input customer code
Search customer code in customer table
IF (customer code=found), THEN
Customer record displayed
ELSE
Msgbox display Not In File
ENDIF
ELSEIF choice = modify, THEN
User input customer code
Search customer code in customer table
IF (customer code=found), THEN
Customer record displayed
User makes modification
Modify customer table
ELSE

LEATHER LAB LTD COMPANY


Msgbox display Not In File
ENDIF
ELSEIF choice=Delete, THEN
Search customer code in customer table
IF (customer code=found), THEN
Customer record displayed
Delete record in file
ENDIF
ELSEIF choice=Back to Main Menu, THEN
Main Menu displayed
ELSEIF choice=First, THEN
First customer record in the customer table is displayed
ELSEIF choice=Last, THEN
Last customer record in the customer table is displayed
ELSEIF choice=Next, THEN
Next customer record in the customer table is displayed
ELSEIF choice=Previous, THEN
Previous customer record in the customer table is displayed
ENDIF

Order Form
User enter choice
IF choice=Add, THEN
Order form prepare for next data entry (clear text boxes)
ELSEIF choice= Save, THEN
User enter order details

LEATHER LAB LTD COMPANY


Subtotal and total calculated displayed
Add record in tblorderdetail and tblorder
ENDIF

LEATHER LAB LTD COMPANY

4.4.2.10 SYSTEM FLOWCHARTS


1. Product
Add Product record
START

Input
Product
Details

Valid
Validation

Add Product
record in
Product file

Error
Message
Product
file

STOP

LEATHER LAB LTD COMPANY


Search Product record
START

Input
Product
Details

Validation

Error
Message
Valid
Product
file

Search Product
record in leather
file

Is record found?
Yes

Display Product
record

No
Display Not in
file

STOP

LEATHER LAB LTD COMPANY


Modify Product record
START

Input
Product
Details

Valid
Validation

Error
Message
Product
file

Search Product
record in Product
file
Is record found?
Yes

Display Product
record

No
Input
new
data

Display Not in
file

STOP

Product
file

Update record
in l Product file

LEATHER LAB LTD COMPANY


Delete Product record

START

Input
Product
Details

Valid
Validation

Error
Message
Product
file

Search Product
record in Product
file
Is record found?
Yes

Display Product
record

No
Display Not in
file

Delete record
in Product file

STOP

Product
file

LEATHER LAB LTD COMPANY


2. Employee
Add Employee record

START

Input
Employ
ee
Details

Valid
Validation

Add employee
record in
employee file

Error
Message
Employe
e file

STOP

LEATHER LAB LTD COMPANY


Search employee record

START

Input
Employ
ee
Details

Valid
Validation

Error
Message
Employe
e file

Search employee
record in
employee file

Is record found?
Yes

Display employee
record

No
Display Not in
file

STOP

LEATHER LAB LTD COMPANY


Modify Employee record
START

Input
Employ
ee
Details

Valid
Validation

Error
Message

Employe
e file

Search employee
record in
employee file

Is record found?

Display employee
record
Yes

No

Input
new
data

Display Not in
file

STOP

Employe
e file

Modify record
in employee
file

LEATHER LAB LTD COMPANY


Delete employee record
START

Input
Employ
ee
Details

Valid
Validation

Error
Message

Employe
e file

Search employee
record in
employee file

Is record found?
Yes

Display employee
record

No
Display Not in
file

STOP

Employe
e file

Delete record
in employee
file

LEATHER LAB LTD COMPANY


3. Customer
Add customer record
START

Input
custom
er
Details

Valid
Validation

Add Customer
record in
customer file

Error
Message

Custome
r file

STOP

LEATHER LAB LTD COMPANY


Search customer record
START

Input
custom
er
Details

Valid
Validation

Error
Message
Custome
r file

Search Customer
record in
customer file

Is record found?

Display customer
record
Yes

No
Display Not in
file

STOP

LEATHER LAB LTD COMPANY


Modify customer record

START

Input
custom
er
Details

Valid
Validation

Error
Message
Custome
r file

Search Customer
record in
customer file

Is record found?

Display customer
record
Yes

No
Input
new
data

Display Not in
file

STOP

Custome
r file

Modify record
in customer
file

LEATHER LAB LTD COMPANY


Delete customer record

START

Input
custom
er
Details

Valid
Validation

Error
Message
Custome
r file

Search Customer
record in
customer file

Is record found?

Display customer
record
Yes

No
Display Not in
file

STOP

Custome
r file

Modify record
in customer
file

LEATHER LAB LTD COMPANY


4. ORDER
START

Input order
code, customer
code, quantity,
unit price

Calculate
subtotal

Calculate total

Total,
subtotal

Add order
record to
database

Order file,
tblorder
detail

STOP

LEATHER LAB LTD COMPANY

Flowchart to generate report


Leather report
Retrieve all leather
record generate
report

Leather
file

Leather
list

Employe
e file

Employee record
Retrieve all
employee record
generate report
Employee
list

Customer report
Retrieve all customer
record generate
report
Customer
list

Custome
r file

LEATHER LAB LTD COMPANY


Order report
Retrieve all order
record generate
report
Order list

Order file

LEATHER LAB LTD COMPANY


4.4.2.11 Top down Design
1.0 Login
2.0Main Menu

3.0
Product
form

4.0
employ
ee form

3.1
Save
Record

4.1
Save
Record

5.1
Save
Record

3.2
Add
Record

4.2
Add
Record

5.2
Add
Record

3.3
Delete
Record

4.3
Delete
Record

5.3
Delete
Record

3.4
Modify
Record

4.4
Modify
Record

5.4
Modify
Record

3.5
Next
Record

4.5
Next
Record

5.5
Next
Record

3.6
Previous
Record

4.6
Previous
4.7
Record
Search
Record

5.6
Previous
Record

3.7
Search
Record
3.8
First
Record
3.9
Last
Record
3.10
Back

4.8
First
Record
4.9
Last
Record
4.10
Back

5.0
custom
er form

5.7
Search
Record
5.8
First
Record
5.9
Last
Record
5.10
Back

6.0
order
form

6.1
Save
6.2
Add
Record

6.3
Populat
e to list
view

6.4
Finish

7.0
product
report

8.0
employ
ee
report

9.0
custom
er
report

10.0
order
report

11.
0
Exit

LEATHER LAB LTD COMPANY


4.4.2.12 Modules
Number
1.0
2.0
3.0
3.1
3.2
3.3
3.4
3.5
3.6
3.7
3.8
3.9
3.10
4.0
4.1
4.2
4.3
4.4
4.5
4.6
4.7
4.8
4.9
4.10
5.0
5.1
5.2
5.3
5.4
5.5
5.6
5.7
5.8
5.9
5.10
6.0
6.1
6.2
6.3
6.4

Description

This is the login form which verifies username and password which control user
access to the system
This is the main menu from where the user chooses which form or report he needs
to open.
This is the product form in which product details are stored.
This is where the user needs to click to save a product record.
When the user click on this button, the form is prepared for next data entry.
This is used to delete a product record.
This is used to modify a product record
To view next product record.
To view previous product record
To search a product record
To view the first product record
To view the last product record
To go back to main menu
This is the employee form in which employee details are stored
This is where the user needs to click to save an employee record.
When the user click on this button, the form is prepared for next data entry.
This is used to delete an employee record.
This is used to modify an employee record
To view next employee record.
To view previous employee record
To search a employee record
To view the first employee record
To view the last employee record
To go back to main menu
This is the customer form in which customer details are stored
This is where the user needs to click to save a customer record.
When the user click on this button, the form is prepared for next data entry.
This is used to delete a customer record.
This is used to modify a customer record
To view next customer record.
To view previous customer record
To search a customer record
To view the first customer record
To view the last customer record
To go back to main menu
This is the order form in which order details is stored.
This is where the user needs to click to save an order record.
When the user click on this button, the form is prepared for next data entry.
Order details will be gathered to list view
Update database to save order record

LEATHER LAB LTD COMPANY


7.0
8.0
9.0
10.0
11.0

This is the product report where the product list are viewed
This is the employee report where the employee list are viewed
This is the customer report where the customer list are viewed
This is the customer forename
This is to close the software

LEATHER LAB LTD COMPANY

4.5 EVALUATION
4.5.1 Design Objectives
The new system should allow the user to enter data on products, employee,
customer and orders placed by a customer and record these data in a file for later
use.
Achievement: Successful. There are product, employee, customer and order forms
where the user can enter data on products, employee, customer, and order placed
by customer respectively. Below are the snapshots of these forms. Add, button..

LEATHER LAB LTD COMPANY


The new system should allow the user to delete data on product, employee,
customer and order forms.
Achievement: Successful. There is a delete button on each form that is the
product, employee, customer and order forms. Below is a snapshot of a form where
there is a delete button.

The new system should allow the user to modify data on product, employee,
customer and order forms.
Achievement: Successful. There is aModify button on each form that is the
product, employee, customer and order forms. Below is a snapshot of a form where
there is a Modify button.

LEATHER LAB LTD COMPANY


The new system should allow the user to search data on product, employee,
customer and order forms.
Achievement: Successful. There is a Search button on each form that is the
product, employee, customer and order forms. Below is a snapshot of a form where
there is a Search button.

LEATHER LAB LTD COMPANY


The new system should allow the user to generate reports.
Achievement: Successful. There are reports of each form in the main menu form
from which user can select the required report.

LEATHER LAB LTD COMPANY


The new system should allow the user to view the first record in a form.
Achievement: Successful. There is a First button on each form which allows the
user to go to first record in the form

The new system should allow the user to view the last record in a form.
Achievement: Successful. There is a Last button on each form which allows the
user to go to last record in the form

LEATHER LAB LTD COMPANY


The new system should allow the user to go to next record in a form.
Achievement: Successful. There is a Next button on each form which allows the
user to go to next record in the form.

The new system should allow the user to go to previous record in a form.
Achievement: Successful. There is a Previous button on each form which allows
the user to go previous record in the form.

The new system should allow the user to provide backup regularly.

LEATHER LAB LTD COMPANY


Achievement: Successful. There is a Backup button on each form. When the
backup button is clicked on, backup of files get started.

The new system should allow the user to a help option


Achievement: Successful. There is a Help button on each form. When the help
button is clicked on, a help document is displayed.

LEATHER LAB LTD COMPANY


The new system should allow the user to a security that is password should be
used for data to be confidential.
Achievement: Successful. There is a login form where user needs to enter
username and password to get access to the system leather lab.

LEATHER LAB LTD COMPANY


The new system should inform the user about wrong data entry.
Achievement: Successful. There is a message box that appears when there is a
wrong data entry in each form.

The new system should provide the user with dropdown list so that data entry is
faster and easy.
Achievement: Successful. There is a dropdown list in the order form that makes
data entry faster.

LEATHER LAB LTD COMPANY


The new system should be user friendly so that there will not be difficulties in
using the system.
Achievement: Successful. The system is a menu based where users are given
space and options to fill the form.

User Requirements
The new system should provide a good level of security to the documents.
Achievement: Successful. For the users to access the system leather lab, a
username and password is required.

LEATHER LAB LTD COMPANY


Updating of data should be easy so that the staffs of Mr. Madarbocus do
not get confused and get stressed when updating the data.
Achievement: Successful. There is a button Modify on each form which allow
the user to update their data.

The new system should contain a search facility so that it saves the time of
the staffs.
Achievement: Successful. There is a button Search on each form which allows
the user to search the required data.

LEATHER LAB LTD COMPANY


The new system of the leather lab ltd should provide a trouble shooting
guide so that the staffs can resolve their problems if they have failed to use
the system.
Achievement: Successful. There is a button Help on each form. When the user
will click on the Help button, a help document will be displayed.

The new system of the leather lab ltd should be easy to use.
Achievement: Successful. The system is a menu based where users are given
space and options to fill the form.

LEATHER LAB LTD COMPANY


The new system of leather lab ltd should allow the user to enter a large
amount of data.

LEATHER LAB LTD COMPANY

LEATHER LAB LTD COMPANY

LEATHER LAB LTD COMPANY

LEATHER LAB LTD COMPANY

LEATHER LAB LTD COMPANY

LEATHER LAB LTD COMPANY

LEATHER LAB LTD COMPANY

LEATHER LAB LTD COMPANY

LEATHER LAB LTD COMPANY

LEATHER LAB LTD COMPANY

Das könnte Ihnen auch gefallen