























Study with the several resources on Docsity
Earn points by helping other students or get them with a premium plan
Prepare for your exams
Study with the several resources on Docsity
Earn points to download
Earn points by helping other students or get them with a premium plan
The problem of a company selling footballs and the inefficiencies of their current sales system. The solution proposed is to computerize the system using Ms Visual Basic software. The program will have a user-friendly interface and will allow for the input of all relevant sales data. The document also includes technical documentation, output design processes, and security measures.
Typology: Essays (high school)
1 / 31
This page cannot be seen from the preview
Don't miss anything!
























The company sells footballs of different sizes. Presently, the records of sales are stored
in a Register. At times, the salesman does not even remember to enter the sales records.
The bill is produced by a write up. Each sale transaction is written down on a bill and it is
given to the customer. A carbon copy is also produced simultaneously.
A great confusion is created at the end of the day when the owner, Jack Wolfskin, reviews
the sale transactions. This is so due to carelessness of the salesman by not entering all
sale transactions and by not storing the ones, which are produced.
While producing the bill, a calculator is needed to workout the total amount to be paid and
the total amount of footballs being sold. This present way is irritating for the customers, as
it is time consuming and very vulnerable total calculation mistakes.
Thus resulting a long que at the sales point and very angry customers.
The total list of all transactions carried out for the specific sales days is needed to be
appropriately laid out.
The records to be output are: Total Quantity, Total amount.
In order to solve the problem, the whole present system needs to be computerised. A
program will be created to replace the present system.
To create such a program, a software Ms Visual Basic will be used. This is a user-friendly
program and it will have the potential to create an appropriate program.
All valid details about each sale will be filled on the form, which will act as an electronic
bill. The salesman just needs to fill in the required details.
All the calculations will be done by the new system. Thus the salesman would need to
consult a calculator, and inevitably making mistakes and time wasting.
A save option will be given so that the salesman can save the valid data and use it for
further consulting with the owner. All the sales transactions will be saved on a disk for safe
storage and the disk will be kept in a secure compartment.
Initially, the salesman would forget to fill in the all the required details on the bill, leaving
out relevant information.
So this system would have a validation, “Empty Check”. This informs the salesman to fill
in all details. Therefore all relevant information will be saved and no further confusions
would occur.
Receipt No.
Customer Name
Time
Type
A
Size 6
Type
B
Size 3 Size 4 Size 5 Size 6
Type
C
Size 3 Size 4 Size 5 Size 6
Quantity
Quantity
Quantity
Total Quantity Total Amount ($)
Validation
Total($) A/B/C = Price of Football($) * Quantity A/B/C
Total Quantity = Quantity A + Quantity B + Quantity C
Total Amount = Total($) A + B + C
Receipt No. X
Customer Name XXXXXXXXX
Contact Number XXXXX
Date XX/XX/XX
Time XX:XX
Type
A/B/
C
Size 3 Size 4 Size 5 Size 6 Quantity X
Total Quantity
Input of Football
type, size and
quantity
Error
Yes
No
Password
Receipt No. - - Automatic -
Date - - Automatic -
Time - - Automatic -
Customer
Name
Type Check Ammar
Should be Accepted
Should NOT be Accepted
Should NOT be Accepted
Wrong type of Data
Wrong type of Data
Contact
Number
Type Check 12345
a
Should be Accepted
Should NOT be Accepted
Should NOT be Accepted
Wrong type of Data
Wrong type of Data
Quantity A Length
Check
Should be Accepted
Should NOT be Accepted
Should NOT be Accepted
Wrong type of Data
Wrong type of Data
Quantity B Length
Check
Should be Accepted
Should NOT be Accepted
Should NOT be Accepted
Wrong type of Data
Wrong type of Data
Quantity C Length
Check
Should be Accepted
Should NOT be Accepted
Should NOT be Accepted
Wrong type of Data
Wrong type of Data
Price of
Football($) A
Price of
Football($) B
Price of
Football($) C
Total($) A - - Automatic -
Total($) B - - Automatic -
Total($) C - - Automatic -
Total Quantity - - Automatic -
Total
Amount($)
Receipt No. - Automatic -
Date - Automatic -
Time - Automatic -
Customer
Name
Ammar
Should be Accepted
Should NOT be Accepted
Should NOT be Accepted
Accepted
Rejected
Rejected
Wrong type of Data
Wrong type of Data
Contact
Number
a
Should be Accepted
Should NOT be Accepted
Should NOT be Accepted
Accepted
Rejected
Rejected
Wrong type of Data
Wrong type of Data
Quantity A 50
Should be Accepted
Should NOT be Accepted
Should NOT be Accepted
Accepted
Rejected
Rejected
Wrong type of Data
Wrong type of Data
Quantity B 50
Should be Accepted
Should NOT be Accepted
Should NOT be Accepted
Accepted
Rejected
Rejected
Wrong type of Data
Wrong type of Data
Quantity C 50
Should be Accepted
Should NOT be Accepted
Should NOT be Accepted
Accepted
Rejected
Rejected
Wrong type of Data
Wrong type of Data
Price of
Football($) A
Price of
Football($) B
Price of
Football($)
Total($) A - Automatic -
Total($) B - Automatic -
Total($) C - Automatic -
Total
Quantity
Total
Amount($)
Date is displayed. It is
automatically generated
when the New button is
selected.
Displays the time at
the Point of sale. It
is automatically
generated when the
New button is
selected.
Displays receipt
number, which identifies
each bill. It is
automatically generated
when the New button is
selected.
Customer Name
is entered here.
Customer’s
contact
number is
entered here.
Calculates the
total by multiplying
the quantity with
the price.
Calculates the
sum of all
Amounts and the
quantities.
Closes the Form
and opens the
MainPage form. Allows salesman
to enter a
Customer name
and search for
his/her record.
Displays
the First
record,
which was
entered.
Displays
the Last
record,
which
was
entered.
Allows the
salesman to
enter a New
record.
Quantity is
entered
here.
A size is selected
from each type of
Football: A/B/C.
Saves the record,
as a Dat file. The
saved record is
displayed in a
Notebook file.
The
username is
entered here
The salesman’s
assigned password
is entered here
This button checks
whether the
username/password is
correct. And if it is,
then the program
starts running.
Coding for Bill Form
This form is based on a Bill system. It enables the user to enter relevant data and all the
calculations are done by the system to produce the required outcome. The user is given
options to Save, Open, Select Previous and Following records and to Search for a
record.
'The ballsRecrmtion for the Record Set
Private Type ballsRec
receipt As Integer
Date As String * 15
Time As String * 15
Name As String * 30
Number As Long
quantity As Integer
total As Integer
qtya As Integer
qtyb As Integer
qtyc As Integer
pricea As Integer
priceb As Integer
pricec As Integer
totala As Integer
totalb As Integer
totalc As Integer
End Type
'Creating Array of 150 balls in memory
Dim ballsFile(1 To 150) As ballsRec 'The array in which the data is saved
Dim NumberofRecord As Integer 'integer variable to hold total no of records
Dim i As Integer 'integer i to be used for the counter
Dim count2 As Integer
Private Sub Command10_Click()
'To view the Previous Customer
i = i - 1
If i >= 1 Then
disp (i) 'Call display function to show previous record
Else
i = 1
MsgBox "Beginning Of File"
End If
End Sub
Private Sub Command11_Click()
'To view Last Record
i = 1
disp (i) 'Call display function to show last record
End Sub