Mukandi Tuckshop Stock Management E.T Muranganwa 5045
Mukandi Tuckshop Stock Management E.T Muranganwa 5045
Mukandi Tuckshop Stock Management E.T Muranganwa 5045
STOCK MANAGEMENT
SYSTEM
2020
5045
MUKANDI TUCKSHOP STOCK MANAGEMENT SYSTEM
Contents
DEFINATION OF THE PROBLEM.........................................................................................................3
INTODUCTION...................................................................................................................................3
Research instruments........................................................................................................................4
SECTION B: Design..........................................................................................................................15
CONSIDERATION OF ALTERNATIVE SOLUTION................................................................................15
JUSTIFICATION............................................................................................................................16
PROPOSED SOLUTION................................................................................................................16
DATASTRUCTURES...........................................................................................................................16
STOCK DETAILS..........................................................................................................................16
Data capture forms..........................................................................................................................18
Overall plan.....................................................................................................................................23
OUTPUT DESIGN..........................................................................................................................24
TEST STRATEGY..........................................................................................................................25
Pseudo codes...................................................................................................................................27
FLOWCHARTS..................................................................................................................................31
Code Listings....................................................................................................................................34
Stock Form:..........................................................................................................................................35
User Details Form:...............................................................................................................................40
USER DOCUMENTATION..................................................................................................................45
Installation.......................................................................................................................................45
Navigating the system.....................................................................................................................49
Exiting the system............................................................................................................................50
Section d: testing and evaluation........................................................................................................51
Testing.............................................................................................................................................51
Testing for standard data................................................................................................................52
Testing for extreme data.................................................................................................................52
Testing for invalid data....................................................................................................................53
Error messages (from abnormal data).............................................................................................53
Sample runs.....................................................................................................................................54
Achievements of the system............................................................................................................57
Limitations/weaknesses of the system.............................................................................................58
Opportunities for future developments............................................................................................58
ELTON T. MURANGANWA
Page 2
MUKANDI TUCKSHOP STOCK MANAGEMENT SYSTEM
INTODUCTION
Mukandi Tuck Shop was established in 2004 in Mukandi District Mash-East Province. The Tuck shop
was later developed by the School Development Association and officially opened in 2005 .It serves
students of Mukandi High School, the working staff and the people of Mukandi .The Tuck Shop is run
by an employee, the employee is under the School Development Association. The worker keeps
records of the products and the supplier of the goods that they sell in the tuck shop .The problem or
issue began when the population size in Mukandi grew or increased and this led to difficulties in
manipulation of data and this led to a drop in the sales of the tuck shop profits i.e. reduced profit
income.
BACKGROUND
Peter Chinofamba, SDA chairperson came up with the idea of a Tuck Shop as an alternative of solving
scarcity of local shops in the area and to raise profits for the School Development Association to
assist in the financial difficulties faced by the School. In the early days the tuck shop gave a sensible
amount of revenue but ever since the schools development, more goods were on demand and it
became more hard to keep the records due to the large number of paperwork which were used
handed over to the School Development Association for final reconciliation, some of the records
were misplaced and this led to wrong calculations of items such as profits and stock. The existing
system uses 2 counter books and an extra 72page book for special notes and reminders. The 2 main
books used are namely Daily Sales book and the Inventory/Stock book.
ELTON T. MURANGANWA
Page 3
MUKANDI TUCKSHOP STOCK MANAGEMENT SYSTEM
Cancelling out a figure from the sales day book makes work messy.
Records can’t be updated easily.
Books can easily be misplaced since space in the room is becoming scarce.
Debtors maybe forgotten or remain uncontrolled.
Net profit determination maybe inaccurate.
Research instruments
(Please kindly answer the questions below by ticking in the appropriate Box or filling in where
necessary. There is no limit to the number of questions to be answered)
For how many years have you been buying from the tuck shop?
Have you ever waited for a long period before being served?
YES NO
Have you ever been given change which is too much or too little?
YES NO
ELTON T. MURANGANWA
Page 4
MUKANDI TUCKSHOP STOCK MANAGEMENT SYSTEM
YES NO
Have you ever heard other customers complaining about the Tuck shop?
YES NO
Would you recommend other customers to buy from the Tuck shop according to the
experience you had?
YES NO
YES NO
Has there ever been a situation where a loss has been recorded due to an error during stock
taking and you were required to pay more?
YES NO
Has there ever been an incident whereby stock books were stolen or destroyed or distorted
and this affected your purchase?
………………………………………………………………………………………………
………………………………………………………………………………………………
What do you think about the computerisation of the tuck shop’s system?
………………………………………………………………………………………………
…………...
For Additional Comments Please Write Over Leaf (Other Side of This Page)
THANK YOU FOR YOUR CO-OPERATION
I also conducted some interviews with the tuck shop employee to gather more information
pertaining to the current system.
ELTON T. MURANGANWA
Page 5
MUKANDI TUCKSHOP STOCK MANAGEMENT SYSTEM
The current system is directly affected by two stakeholders: The Customer and the tuck shop
employee and hence I had to conduct two separate interviews with these individuals. The following
are some of the major questions which I asked during the interviews.
Interview Guides
Interview 1:(Interview with the S.D.A Bursar – Mrs Mungati)
Question 1. Can you give a brief background on the current system, that is when ad why it was
formed?
……………………………………………………………………………………………………………………………………………………………
……………………………………………………………………………………………………………………………………………………………
……………………………………………………………………………………………………………………………………………………….
……………………………………………………………………………………………………………………………………………………………
……………………………………………………………………………………………………………………………………………………………
………………………………………………………………………………………………………………………………………………………..
……………………………………………………………………………………………………………………………………………………………
…………………………………………………………………………………………………………………………………………………………..
……………………………………………………………………………………………………………………………………………………………
……………………………………………………………………………………………………………………………………………………………
…………………………...............................
Question 5. Are there any security measures and back up procedures in place for safeguarding these
records?
……………………………………………………………………………………………………………………………………………………………
……………………………………………………………………………………………………………………………………………………………
………………………………………………………………………………………………………………………………………………………..
……………………………………………………………………………………………………………………………………………………………
……………………………………………………………………………………………………………………………………..
Question 7.Do you have any problems you are experiencing pertaining to record keeping and any
other part?
……………………………………………………………………………………………………………………………………………………………
……………………………………………………………………………………………………………………………………………………………
………………………………………………………………………………
ELTON T. MURANGANWA
Page 6
MUKANDI TUCKSHOP STOCK MANAGEMENT SYSTEM
Question 8.Do you think computerizing the system would improve on efficiency of the system and
its reliability?
……………………………………………………………………………………………………………………………………………………………
……………………………………………………………………………………………………………………………………………………………
……………………………………………………………………………………………………
Question 9. If the system was to be computerized what are the qualities and features, you would
expect in the computerized system?
……………………………………………………………………………………………………………………………………………………………
……………………………………………………………………………………………………………………………………………………………
…………………………………………………………………………………………
ELTON T. MURANGANWA
Page 7
MUKANDI TUCKSHOP STOCK MANAGEMENT SYSTEM
PRODUCT
PRODUCT IN STOCK
CUSTOMER PROCESS
DETAILS TRANSACTION
ELTON T. MURANGANWA
Page 8
MUKANDI TUCKSHOP STOCK MANAGEMENT SYSTEM
PRODUCT
AVALIBLE
ACCEPT MONEY
CALCULATE CHANGE
ANYTHING
ELSE ?
ISSUE CHANGE
ISSSUE
PRODUCT
END
ELTON T. MURANGANWA
Page 9
MUKANDI TUCKSHOP STOCK MANAGEMENT SYSTEM
Searching of records for customer service is quite slow since recording and searching is
done manually.
The security measures that have been put into place are inefficient, the lock and key way
is easy to unlock and access records.
Labour and stationery have posed a large expense to the tuck shop as the worker has to
do extra work.
Backup of information is quite poor as it involves duplicating records which is tiresome
and time consuming, this type of backup makes records vulnerable to distraction by
natural disasters.
The paperwork, box filling and drawer system of storing records is taking up a lot of space
and some work staff do not find it user friendly.
There is a large number of errors since human errors cannot be seen right away, one error
may affect many records and correcting them is strenuous.
Calculations that are carried out are time consuming and stressful since most calculations
require manual input.
FEASIBILITY STUDY
The aim of this stage is to understand the problems and determine whether it is worth proceeding
with the development of the new system. There are basically 5 factors to be considered under
feasibility study:
ELTON T. MURANGANWA
Page 10
MUKANDI TUCKSHOP STOCK MANAGEMENT SYSTEM
Technical Feasibility
Technical Feasibility – this deals with a look at existence of the necessary technology in terms of the
skills and equipment for the establishment of the new system.
The system answers the question of whether it will be able to achieve the outlined objectives. The
proposed system will be able to cope with the changes in technology and hence will remain feasible
for long period.
The current system only improves the working condition and hence does not result in redundancies.
However the system does require retraining of staff for them to be able to use the system effectively
and efficiently. In terms of the adequacy of the system to the tuck shop operational methods, this
system will be quite compatible with the work practises and procedure.
Economic Feasibility
Economic Feasibility – is concerned with the cost effectiveness of the proposed system. It deals with
the cost benefit analysis of the development of a new system i.e. whether benefits outweigh the
costs? Costs – in terms of both the development and projected running costs and benefits in terms
of the tangible/ monetary or non tangible such as improved customer confidence.
The system is designed to overcome the problem of increased costs from stationery, storage and
maintenance of storage rooms. The cost of development is economic in terms of affordability and
running costs are the main benefits as these will be decreased.
Legal Feasibility
Legal Feasibility – whether the new system may breach the legal framework of the environment in
which it is going to operate such violations against the Data Protection Act.
The system complies with all governmental policies relating to data integrity and does not go against
the Data Protection Act outplayed by the INTERNATIONAL COMPUTER SOCIETY.
Schedule Feasibility
Schedule Feasibility – looks primarily at the time frame of completion of the new system i.e. how
long it will take for the system to be completed.
Designing and development of this new system is to take approximately 3-4 weeks, which is within
the stipulated time frame/deadline.
ELTON T. MURANGANWA
Page 11
MUKANDI TUCKSHOP STOCK MANAGEMENT SYSTEM
Requirements specifications
Users Requirements
The main user of the system is Mrs. Mungati. Her main requests are that the system:
I. Which cannot be easily tempered with by unauthorised users, either using user accounts
or other alternatives
II. Records total inventory in the tuck shop, including product names, barcodes and
suppliers’ numbers.
III. Retains all records of tuck shop transactions that include credit sales, cash sales, credit
purchases, cash purchases, goods returns inwards/outwards etc.
IV. Is user friendly and easy to make use of after appropriate training
V. Provides backup facilities in case of any deliberate or natural disasters to occur.
VI. Has an offline service to avoid disturbances in terms of power cuts and virus attacks on
the main system.
VII. Consistency in all its operations.
System Requirements
Hardware Requirements
MINIMUM RECOMMENDED
Intel Celeron 2.4GHZ processor Intel corei5/core I7 processor
4GB RAM BETTER THAN 4GB RAM
120GB HDD 150GB HDD/SDD or higher
1280*600 monitor with Intel HD graphics adapter 1366*768 monitor with AMD Radeon E5 graphics card
Hardware Requirements
HARD DISK
A minimum of 4 Gigabytes for storing the operating system and databases with record of
marks as well as Visual Studio used for programming.
MONITOR
In order to show the mark order system clearly using many colours, a 1280x600 monitor
with Intel HD graphics adapter.
KEYBOARD
Used to input text into the computer for commands and data entry when inputting student
data or when coding in Visual Studio.
MOUSE
ELTON T. MURANGANWA
Page 12
MUKANDI TUCKSHOP STOCK MANAGEMENT SYSTEM
Used for opening, closing info on the stock files. It is also used for grouping, moving and
deleting files. It is also used to for resizing size and position of pictures pasted into the
word document.
PROCESSOR
A 2.4 GHz processor speed is recommended for smooth running of Visual Studio as well
as the Windows Operating System
CANON PRINTER
A canon printer is needed for printing the system documentation and produces very high
quality hard copy output. The print rate is very quick if a large number of pages are to be
printed. They also make low noise and are great for the workplace.
Software Requirements
Microsoft Windows 8/10 64-bit processor.
Microsoft office WORD 2013 professional or better, for typing documents
MICROSOFT ACCESS 2013 PROFESSIONAL or Better to make databases.
Adobe Reader version (11.0) is required to view reports exported in Portable
Document Format (PDF).
Visual Basic studio 2005 professional, for developing the program which the
company is to use. Includes Microsoft Visual.net (2010) the programming language
that will be used to code the program.
ESET Endpoint security antivirus, for providing the system with security from
malicious software.
Google chrome browser as a user friendly fast browsing platform.
Database.
User friendly.
Improve Efficiency.
Above all, the system should be able to meet all the user requirements.
Objectives
By the end of the project, the system should be able to:
Eliminate the problems of having different format of records due to different operating
personnel.
Reduce paper work.
Calculate accurately.
Print records.
Allow records to be deleted.
Update stocks automatically.
Access and retrieve stored records.
Backup all information and data pertaining to the tuck shop database.
Allow easy accessing and retrieving of information.
A system which is accurate and perfect (error detection)
A system with backup facilities.
SECTION B: Design
A ready-made software package can be an off the shelf software package, such as MAVERICK
PT2019. This software can be purchased from general software selling stores. This software is used
to run the tuck shop, it uses passwords which ensures security ,it records every transactions that will
be done and makes reports and queries .It creates tables and sheets that are used when transacting.
Advantages
ELTON T. MURANGANWA
Page 14
MUKANDI TUCKSHOP STOCK MANAGEMENT SYSTEM
o There are no resources wasted (time & money) in implementing the software system.
o The software will operate successfully as it is tried and tested, having all errors debugged.
o Can provide features which satisfy all the above system requirements
o Warranties are provided in case of software failure.
o The systems are up to date.
o The software will be fully computerized, so all subsystems will then be computerized.
o Maybe used by other organisations or similar small establishments so help maybe sort from
these other entities.
Disadvantages
o The Software package can be very expensive.
o It may be general-purpose software, which is only designed to meet specific needs and
might not be able to meet intended system requirements.
o It may take time for the users to familiarize with the software.
o The ready-made software may not take the user specified problems and expectations into
account hence may fail to deliver expected results.
JUSTIFICATION
PROPOSED SOLUTION
After a careful appraisal and exploration of the available alternative solution to the problem at hand,
the choice of solution will be to develop a tailored (custom) software which defecates most of the in-
house problems undergone with the existing system.
This is due to the number of advantages the new proposed solution has to the stakeholders of which
some are:
o It is tailor-made to the users’ specifications to best serve all needs therefore it is guaranteed
that the software will meet their requirements as compared to the alternative.
ELTON T. MURANGANWA
Page 15
MUKANDI TUCKSHOP STOCK MANAGEMENT SYSTEM
o This chosen choice allows upgrading to be done, hence in this process modern technology
will be implemented in the system, alas, enabling the system to be upgraded and be able to
keep up with the technological evolution.
DATASTRUCTURES
STOCK DETAILS
SUPPLIERS FILE
FIELD NAME FIELD TYPE SIZE SAMPLE VALIDATION
DATA ITEM
Supplier Name Text 10 PEPSI CO. Alphabetical
Characters
Supplier ID Text 5 Qrt55 >=5
Date of Delivery Date and Time 8 14/03/2020 DD/MM/YYYY
Check-In-Time Time 7 1200hrs HHMM
Size of Order Text 20 4crates*30 soft >=20
brought in drinks
ELTON T. MURANGANWA
Page 16
MUKANDI TUCKSHOP STOCK MANAGEMENT SYSTEM
CUSTOMERS FILE
FIELD NAME FIELD TYPE SIZE SAMPLE VALIDATION
DATA ITEM
Customer Name Text 10 Volt holdings Alphabetical
Characters
Customer ID Text 4 ZZZ453 >=5
Date of Delivery Date and Time 8 21/10/2020 DD/MM/YYYY
Check-In-Time Time 17 1100hrs HHMM
Size of Order Text 20 90cases sprite >=20
brought in
INPUT DESIGN
Data capture forms
Stock details
ELTON T. MURANGANWA
Page 17
MUKANDI TUCKSHOP STOCK MANAGEMENT SYSTEM
SUPPLIES FILE
SCREEN LAYOUTS
SUPLLIERS INFO
TRANSACTIONS INFO
ELTON T. MURANGANWA
Page 18
MUKANDI TUCKSHOP STOCK MANAGEMENT SYSTEM
USERS INFO
ELTON T. MURANGANWA
Page 19
MUKANDI TUCKSHOP STOCK MANAGEMENT SYSTEM
STOCK INFO
MAIN MENU
ELTON T. MURANGANWA
Page 20
MUKANDI TUCKSHOP STOCK MANAGEMENT SYSTEM
LOGIN SCREEN
WELCOME SCREEN
ELTON T. MURANGANWA
Page 21
MUKANDI TUCKSHOP STOCK MANAGEMENT SYSTEM
Overall plan
LOGIN
Proceed
ELTON T. MURANGANWA
Page 23
MUKANDI TUCKSHOP STOCK MANAGEMENT SYSTEM
OUTPUT DESIGN
ELTON T. MURANGANWA
Page 24
MUKANDI TUCKSHOP STOCK MANAGEMENT SYSTEM
TEST STRATEGY
I used the black box testing methods
Black box testing is when a program is said to be a black box and it is tested according to
specification. Different values are entered for variables to see if the program can cope with them this
includes standard (typical/normal), extreme (borderline) and abnormal data values. For effective
analysis of the efficiency of Mukandi Tuck shop system it is easier to use the output because
Mukandi tuck shop system that is used by a large number of people therefore the user output
requirements are large than the hard code analyses or any other principles of solution testing. It is
easier to identify errors within the program by making use of comparison between initial objectives
and delivered output of the project. It is also easier as it may be aided by simple customer
participation through questionnaires that they may fill for the model project before the final project
is done.
ELTON T. MURANGANWA
Page 25
MUKANDI TUCKSHOP STOCK MANAGEMENT SYSTEM
Normal data
This is data that is accepted because it is valid and adheres to the validation rules that are defined on
creating the system, and is within the accepted range of data, for example:
TEST FILE NAME DATA ITEM DATA TYPE TEST DATA COMMENT
In the above table, the Customer ID adheres to the validation rule of XXNN which
follows that the customer ID should begin with two letters followed by two
numbers.
The supplier ID and Item number also adhere to the validation rule.
Extreme data
This is data which is of the correct data type and format, however it lies on the upper and lower
boundaries and hence the term extreme data. I used the Supplier file to test for extreme data:
Range 5
Abnormal data
This is data which is not in the specified range and lies outside the upper and lower limits; therefore
it becomes meaningless to a particular field and produce error messages. The data does not adhere
to validation rules.
ELTON T. MURANGANWA
Page 26
MUKANDI TUCKSHOP STOCK MANAGEMENT SYSTEM
Pseudo codes
START
Clear textboxes
Enter (username, password, first name, surname, access level, salary, phone number, address)
Else
End if
Else
End if
Else
ELTON T. MURANGANWA
Page 27
MUKANDI TUCKSHOP STOCK MANAGEMENT SYSTEM
Print (“ARE YOU SURE YOU WANT TO DELETE, THE RECORD WILL BE REMOVED
PERMANENTLY”)
End if
Else
End if
Else
End if
ELTON T. MURANGANWA
Page 28
MUKANDI TUCKSHOP STOCK MANAGEMENT SYSTEM
Repeat
Input Supplies details
Until Record is a new and valid one
Else Update Supplies Table and Stock Table
End if
Close Supplies Table
Close Mukandi tuck shop stock management system Database
END
ELTON T. MURANGANWA
Page 29
MUKANDI TUCKSHOP STOCK MANAGEMENT SYSTEM
FLOWCHARTS
Start
ELTON T. MURANGANWA
Page 31
Click save
MUKANDI TUCKSHOP STOCK MANAGEMENT SYSTEM
NO
yes
YES
Module adding user
Start
Click save
NO
Is data valid?
ELTON T. MURANGANWA
Page 32
YES
Save record
MUKANDI TUCKSHOP STOCK MANAGEMENT SYSTEM
Code Listings
End Sub
Technical Documentation
LOGIN FORM
End Sub
UsernameTxt.SetFocus
PasswordTxt.SetFocus
UsernameTxt.Text = ""
ELTON T. MURANGANWA
Page 33
MUKANDI TUCKSHOP STOCK MANAGEMENT SYSTEM
PasswordTxt.Text = ""
UsernameTxt.SetFocus
Me.Hide
DashboadForm.Show
Else
UsernameTxt.SetFocus
End If
Stock Form:
Public db As Database
Public rs As Recordset
Dim lv As ListItem
Dim str As String
Dim posit As String
Me.Hide
MainMenuForm.Show
ELTON T. MURANGANWA
Page 34
MUKANDI TUCKSHOP STOCK MANAGEMENT SYSTEM
End Sub
End Sub
display
Else
clear
End If
End Sub
Sub clear()
'the textboxes will be cleared'
ELTON T. MURANGANWA
Page 35
MUKANDI TUCKSHOP STOCK MANAGEMENT SYSTEM
invoiceNumber_txt.Text = ""
stockNumber_txt.Text = ""
itemNumber_txt.Text = ""
itemCode_txt.Text = ""
productName_txt.Text = ""
unitPrice_txt.Text = ""
quantity_txt.Text = ""
End Sub
Sub display()
invoiceNumber_txt.Text = rs!invoice_number
stockNumber_txt.Text = rs!stock_number
itemNumber_txt.Text = rs!item_number
itemCode_txt.Text = rs!item_code
productName_txt.Text = rs!product_name
unitPrice_txt.Text = rs!unit_price
quantity_txt.Text = rs!quantity
DTPicker1.Value = rs!purchase_date
posit = ListView1.ListItems.Count
Set lv = ListView1.ListItems.Add(, , rs("invoice_number"))
lv.SubItems(1) = rs("stock_number")
lv.SubItems(2) = rs("item_number")
lv.SubItems(3) = rs("item_code")
lv.SubItems(4) = rs("product_name")
lv.SubItems(5) = rs("unit_price")
ELTON T. MURANGANWA
Page 36
MUKANDI TUCKSHOP STOCK MANAGEMENT SYSTEM
lv.SubItems(6) = rs("quantity")
lv.SubItems(7) = rs("purchase_date")
rs.MoveNext
Wend
End Sub
End Sub
rs.AddNew
'Another empty record will appear which will allow you to enter another information
rs.Fields("invoice_number").Value = invoiceNumber_txt.Text
rs.Fields("stock_number").Value = stockNumber_txt.Text
rs.Fields("item_number").Value = itemNumber_txt.Text
rs.Fields("item_code").Value = itemCode_txt.Text
ELTON T. MURANGANWA
Page 37
MUKANDI TUCKSHOP STOCK MANAGEMENT SYSTEM
rs.Fields("product_name").Value = productName_txt.Text
rs.Fields("unit_price").Value = unitPrice_txt.Text
rs.Fields("quantity").Value = quantity_txt.Text
rs.Fields("purchase_date").Value = DTPicker1.Value
str = ListView1.ListItems.Count + 1
Set lv = ListView1.ListItems.Add(, , invoiceNumber_txt.Text)
lv.SubItems(1) = stockNumber_txt.Text
lv.SubItems(2) = itemNumber_txt.Text
lv.SubItems(3) = itemCode_txt.Text
lv.SubItems(4) = productName_txt.Text
lv.SubItems(5) = unitPrice_txt.Text
lv.SubItems(6) = quantity_txt.Text
lv.SubItems(7) = DTPicker1.Value
rs.Update
clear
End Sub
Public db As Database
ELTON T. MURANGANWA
Page 38
MUKANDI TUCKSHOP STOCK MANAGEMENT SYSTEM
Public rs As Recordset
Dim lv As ListItem
rs.AddNew
clear
End Sub
Me.Hide
MainMenuForm.Show
End Sub
gender_combo.AddItem ("Male")
gender_combo.AddItem ("Female")
role_combo.AddItem ("Admin")
role_combo.AddItem ("Shopkeeper")
role_combo.AddItem ("Manager")
ELTON T. MURANGANWA
Page 39
MUKANDI TUCKSHOP STOCK MANAGEMENT SYSTEM
role_combo.AddItem ("Supervisor")
rs.MoveFirst
display
Else
clear
End If
End Sub
Sub display()
userId_txt.Text = rs!user_id
userName_txt.Text = rs!user_name
password_txt.Text = rs!Password
firstName_txt.Text = rs!first_name
lastName_txt.Text = rs!last_name
gender_combo.Text = rs!gender
role_combo.Text = rs!role
posit = ListView1.ListItems.Count
lv.SubItems(1) = rs("user_name")
lv.SubItems(2) = "*********"
lv.SubItems(3) = rs("first_name")
lv.SubItems(4) = rs("last_name")
lv.SubItems(5) = rs("gender")
ELTON T. MURANGANWA
Page 40
MUKANDI TUCKSHOP STOCK MANAGEMENT SYSTEM
lv.SubItems(6) = rs("role")
rs.MoveNext
Wend
End Sub
ListView1.ListItems.Remove ListView1.SelectedItem.Index
End Sub
If Me.gender_combo.Text = "" Then MsgBox "Please fill up gender", vbExclamation: Exit Sub
If Me.role_combo.Text = "" Then MsgBox "Please fill up role", vbExclamation: Exit Sub
rs.AddNew
ELTON T. MURANGANWA
Page 41
MUKANDI TUCKSHOP STOCK MANAGEMENT SYSTEM
rs.Fields("user_id").Value = userId_txt.Text
rs.Fields("user_name").Value = userName_txt.Text
rs.Fields("password").Value = password_txt.Text
rs.Fields("first_name").Value = firstName_txt.Text
rs.Fields("last_name").Value = lastName_txt.Text
rs.Fields("gender").Value = gender_combo.Text
rs.Fields("role").Value = role_combo.Text
str = ListView1.ListItems.Count + 1
lv.SubItems(1) = userName_txt.Text
lv.SubItems(2) = "*******"
lv.SubItems(3) = firstName_txt.Text
lv.SubItems(4) = lastName_txt.Text
lv.SubItems(5) = gender_combo.Text
lv.SubItems(6) = role_combo.Text
rs.Update
clear
End Sub
Sub clear()
userId_txt.Text = ""
userName_txt.Text = ""
password_txt.Text = ""
firstName_txt.Text = ""
ELTON T. MURANGANWA
Page 42
MUKANDI TUCKSHOP STOCK MANAGEMENT SYSTEM
lastName_txt.Text = ""
End Sub
USER DOCUMENTATION
Installation
Open CD-ROM drive and insert disc into the computer CD-ROM
ELTON T. MURANGANWA
Page 43
MUKANDI TUCKSHOP STOCK MANAGEMENT SYSTEM
ELTON T. MURANGANWA
Page 44
MUKANDI TUCKSHOP STOCK MANAGEMENT SYSTEM
ELTON T. MURANGANWA
Page 45
MUKANDI TUCKSHOP STOCK MANAGEMENT SYSTEM
At first the computer will automatically launch the new system. However a shortcut is
created on desktop. Run this shortcut [double click the icon].
After clicking the shortcut a login form opens ups, in order to access the main menu you
firstly have to input a correct password and a welcome form will be displayed.
ELTON T. MURANGANWA
Page 46
MUKANDI TUCKSHOP STOCK MANAGEMENT SYSTEM
ELTON T. MURANGANWA
Page 47
MUKANDI TUCKSHOP STOCK MANAGEMENT SYSTEM
This is the login page. There are two buttons; one allows user to continue [LOGIN] and one
to leave the system [EXIT]. In this case select ‘LOGIN’ to proceed.
When correct username and password it will open the welcoming page that has the proceed
button to allow user to access the data base of the inventory system.
ELTON T. MURANGANWA
Page 48
MUKANDI TUCKSHOP STOCK MANAGEMENT SYSTEM
This is the main menu that is user friendly allowing authorised user to navigate through the
records of the system and also addition of necessary information within the stock management
system data base.
From the main menu, right click the reports button, now this form, allows easy navigation of
the user to access the reports or saved records of all the stock proceedings of the tuck shop.
To exit the system click back on any of the pages opened then it will go back to the main menu, where
there is another button to exit to the login page and then click the “exit” button to exit the system.
ELTON T. MURANGANWA
Page 49
MUKANDI TUCKSHOP STOCK MANAGEMENT SYSTEM
This involves the studying of the program code and testing every possible path
at least once. To ensure the efficiency of the system, I have designed a test
strategy. This will reduce runtime errors and logic errors. The strategy
includes four stages of testing:
ELTON T. MURANGANWA
Page 50
MUKANDI TUCKSHOP STOCK MANAGEMENT SYSTEM
When the user inputs his/her data which lies in the range and possessing the correct data
type a message box will appear notifying the user that the information is loaded into the
system.
Testing data at the boundaries which will be accepted as there are still within the range as a result
the data will be accepted.
ELTON T. MURANGANWA
Page 51
MUKANDI TUCKSHOP STOCK MANAGEMENT SYSTEM
ELTON T. MURANGANWA
Page 52
MUKANDI TUCKSHOP STOCK MANAGEMENT SYSTEM
Sample runs
ELTON T. MURANGANWA
Page 53
MUKANDI TUCKSHOP STOCK MANAGEMENT SYSTEM
ELTON T. MURANGANWA
Page 54
MUKANDI TUCKSHOP STOCK MANAGEMENT SYSTEM
ELTON T. MURANGANWA
Page 55
MUKANDI TUCKSHOP STOCK MANAGEMENT SYSTEM
ELTON T. MURANGANWA
Page 56
MUKANDI TUCKSHOP STOCK MANAGEMENT SYSTEM
been improved by the use of the keyboard and mouse to input data.
Presentation of records is now more professional and neater
Inputs
The system restricts data input to using the keyboard, memory devices and the
mouse only.
Processing
The system is not able to sort data or records in any other required manner
except that in which it is entered
Data security
The system does not allow the creation of back up files.
Access security
There are no access levels within the system all users are treated equally
The system source code can be developed a bit to include a procedure that will make
available the option of access levels which are useful in restricting data only to the
rightful people intended.
The system can be further developed so as to allow data input from different devices
other than the keyboard alone.
A procedure can be added to the system code to allow it to place records in the order
that the user requires.
The program needs to be developed such that it allows creation of back up files.
ELTON T. MURANGANWA
Page 57
MUKANDI TUCKSHOP STOCK MANAGEMENT SYSTEM
ELTON T. MURANGANWA
Page 58