Upload
rivpolyonline
View
2
Download
0
Embed Size (px)
Citation preview
1
ABSTRACT
This research is aimed at designing and implementing of sales analysis system for Mr. Biggs Fast Food. It is set of alleviating the problems the company encountered during sales computation in the past. It describes and explain the computerization of sales and how to calculate due cash sold by the cashier and sales person. The project gives a detailed way of calculating the entire sales record of Mr. Bigg’s PLC, including their budgeting, sales record, transaction, stock at hand etc. and how the result is stored in the database of the company as well as the system required for the computerization and tabulation of different financial areas of the company. This project is also of great advantages because it helps to analysis sales record and calculation, daily sales of the company, this is done to reduce insecurity of the company fund and sales record, because it is, manually done, the record may be incorrect.
2
CHAPTER ONE
1.0 INTRODUCTION
For the past decades a number a number of papers had been
published on sales and marketing management. Sales and
marketing activity can be analyzed in term of various means and
purpose for the review to the Mr. Bigg’s Fast Food in Port-Harcourt.
It is possible to identity five different aspect or philosophies which
should help.
1.1 BACKGROUND OF STUDY
Mr. Bigg’s In Nigeria’s first chain fast food restaurant owned by
conglomerate united Africa Company of Nigeria, Founded 1973 In
Nigeria Head Quarter Ojota, Lagos State.
There are currently around 170 Locations in Nigeria, including the
country’s first drive through with another five (5) locations in
Ghana and 10 locations in South Africa.
The restaurant is styled after Mc Donald’s and is known for the
Red and Yellow color scheme and meat pies. Mr. Biggs history
begin with the coffee shops inside Kingsway department stores in
1960s.In 1973, these shop were rebranded as Kingsway
3
Rendezvous, which became Mr. Bigg’s in 1986.The Chain saw
rapid expansion after becoming one of the first Nigeria companies
to sell franchise to investors.
Mr. Biggs specially is the meat pie, a common lunch might also
include scotch eggs, a sugared donut, chicken and a soft drinks
while western face such as human burgers is served. Nigerian
Delicious such as jollof rice and moin moin are more popular,
Birthday cakes are also a popular product, and Mr. Bigg’s Bakery
offer cakes at parties.
1.2 PURPOSE OF STUDY
In the past year, the Mr. Bigg’s has witnessed a lot of set back and
this set back has made them not to flourish in the past through
the Mr. Bigg’s product has great value but it has still brought about
other competition. Other problem encountered may be as a result
of their inability to produce software that will analyses raw fact
into information for the future use of the company and also group,
they organize their environment to avoid theft and insecurity in the
company i.e. Mr. Bigg’s PLC.
4
1.3 SIGNIFICANT OF STUDY
Sales analysis examines sales reports to see what goods and
services have and have not sold well. The analysis is used to
determine how to stock inventory, how to measure the
effectiveness of a sales force, how to set manufacturing capacity
and to see how the company is performing against its goals.
1.4 SCOPE OF STUDY
This project is primary concerned for Mr. Bigg’s PLC with a
special focus on Mr. Bigg’s Port-Harcourt, Nigeria. However this
research focused on the design and implementing sales analysis,
software in other to calculate due cash sold by the person or
cashier including the budgeting, sales record, stock at hand, daily
transaction etc. and how the result is stored in the database of the
company as well as the software a required for the computerization
and tabulation of different in amount area of the company.
1.5 OJECTIVE OF STUDY
The Objective of this review is to analyze and design sales software
and true database which will be used in the day to day activities of
the company, let us take a look at the computer and the manual
computation, Computer has being built in such a way that the
5
things which are going to be computed will be easier for the user
rather than manual computation, these has created the need to
built a software for computational analysis, as in financial
department. It will be easier to calculate with the computer rather
than using manual which may result to a lot of mistakes in the
computation.
The sales of Mr. Bigg’s product records were conducted in all
level, class and sections of the companies, the record keeping sales
forecasting, budget planning department, the quantity control unit
and the security sections.
1.6 DEFINITION OF TERMS
1. DATA: Theses are raw facts which are not yet processed.
In this project the programmer are unprocessed data because
they are not put in place to give the required output. Data
can also be seen as unprocessed information.
2. INFORMATION: Information are the processed and
unprocessed fact which are yet to gather or put together, or
processed already e.g this project will have no value if the
reason why it is written is not yet fulfilled, but when the
6
reasons is fulfilled we say that there is an information which
means that the information is now processed.
3. DATA ANALYSIS: Data analysis is the process of analyzing
and putting data in the appropriate position and
implementation in order to resourcetiate goods accountability
of the company.
4. INPUT: Input is the device with which the computations
are going to be queued in the computer and also data to be
processed.
5. OUTPUT: Outputs are inputs which are processed by a
computer or the user, in order to get the required information
through the output devices such as the printers the visual
display unit and the matrix dot printer.
6. DATA SECURITIES: This is one of the important aspects of
system control. It is the control of data, to prevent its loss,
misuse or disclosure of that particular data to another
person. This type of control is called data security.
7
CHAPTER TWO
2.0 LITERATURE REVIEW
This chapter is to review or give the literature review of the
sales analysis, database and application of computer being an
electronic data processing in a sales system. We are also going to
review the sales of Nigeria Mr. Bigg’s for the past years. The sales
and marketing activity can be analyzed in terms of various well
known business philosophers and they gave their own review on
sales analysis as follows.
Sales analysis as is define as the breakdown of figure by
region product, customer, and market etc. for a given person as
control measure. It is also define as an analysis of sales by week,
month, period or year to project trend, identify problem and
measure a retailer’s performance. (BRADOMORE, 1995)
Sales analysis is defined as a profession which uses the
knowledge and skills inherent in an engineering education in order
to see products, system or services needed by industrial,
manufacturing, processing, mining or construction firms or by any
public or commercial services institution or utility. A salesman is
trained to give service to the customer from whom ultimately the
8
company profit is received, the salesman fully understand the
purpose and use of control forms employed in the case of cash
sales.(George ,1986)
Sales is define as a personal presentation of a product or
services to a customer or potential customer by a representative of
a company or organization (e.g. a salesman) attempting to sell the
product or services. It is also seen as the form of marketing
activities associated with selling a product or services. (DANNY,
1984)
Sales is the general activity of selling, is an occasion for buying a
special reduced price or at a state of being purchasable or an
agreement /contract in which property is transferred from the
seller (vendor) to the buyer (vendee) for a fixed price in money paid
or agreed to be paid by the buyer.(Ebimen,2009)
In bookkeeping, accounting and finance, Net sales are
operating revenues earned by a company when it sells its product.
Sales Analysis application provides the ability quantify and
analyze sales prices for properties located within Richland County.
It also involves gathering, classifying, comparing and studying of
company sales data, it may simply involve the comparison of total
9
company sales in two different time or period, Sales analysis uses
sales figure to evaluate a firm current performance. (RICHARD,
2005).
Salesman as a person who sought out or convince buyers to buy
their product rather than that of their competitors, to achieve that
such an individual should have a great deal of product expertise
and be gifted hunter of prospects.(INGRAM, 1984).
Salesman is the act of successfully persuading prospect or
customers to buy product or services from which they can derive
suitable benefit thereby increasing their total satisfaction.
(SHAPIRIO, 2010)
2.1 SALES MANAGEMENT FOR THE PAST
Over twenty five years ago Mr. Bigg’s PHC manufacturing had
a hierarchical structure of employment. A national sales director
or manager is responsible for a number of territory salesman, the
number was generally between five and twelve for each though
they are some examples where area sales manager had twenty
sales men reporting to them. (PETER, 1994)
Retailers stock where countered, new orders taken and point
of sales material arranged for display. However fast changes were
10
just over the horizon, the first that can be readily identify in selling
over the past twenty year is that selling itself has become more
specialize. The status of the person doing the sales has been
enhanced and substantial income now exists. Now to be a
salesman in this company you have to be a potential driver and at
least a holder of GCE or SSCE certificate.
In the case of stock keeper he must have a good knowledge
of account that is an NDE holder or an experience worker in
account section of the company. Sales promotion has also
developed into a highly specialized part of the business of
marketing and selling product. Once restricted to television and
radio advertisement. Sales promotion now includes the work of
creating and designing. Company with coupons, free offer
competitions, event sponsorship, reduce price packs, labor- made
campaigns for individual retailer franchise operation now exist.
In the company, at least one meant for each worker daily,
painting of shops and canteen for customers. The growth in
communication (telephone) has increased the selling and
marketing over the past twenty five years with this company now
use its territory or depot sales force to pursue only qualify lead i.e.
aim of (a target) to allow for its motion.
11
2.2 PROSPECT IN THE SALES MANAGEMENT
The production of business correspondent and report in
many sales offices has progressed from individually type. The
retype “top copies” and their carbons to word processed letters are
to be sent are placed in another file. An individual address letter
for each person is produce by merging the letter file with the name
and address file and directing the output file to and electronic
printer, where the printer has a sheet feeder attachment capable
of storing letter headed paper. Later can be printed without further
human intervention.
This has been replaced as of 1993 with the desktop
publishing thus effectively bringing back on white artwork,
lettering and graphics into the normal sales offices that already
has a desktop computer. The additions are a type setting software
package and a laser printer. In the process of computering the
work did by ADEOLA ADEOYE (MBA UNILAG OF THE
DEPARTMENT OF ACCOUNT) wage section on the computer pay
roll analysis in a good work and still in use at present. The software
covers the payment of worker wages, allowance, overtime and
bonus. The software was developed using QBASIC AND FEX BASE
language. Also another software entitle NBC general ledger was
12
carried out by MR AKANI KAYODE (BSC COMPUTER UNILAG) the
head of the computer section MR BIGG’S, he use lotus 1-2-3r3
package. This software work only on the account of the company
data or sales value and the expenditure of all sales depots are
collected through the plant using radio message. This figures are
sent to ENUGU for computation daily , thus the figure used are
directly from the sale supervisor, stock keeper, the cashier and
salesman from different route and depot. Hence there is need for
computer and well design software in each depot for fastness and
accuracy up till this present time calculation on the daily sales,
the record of each salesman, the cash flow in each depot and stock
keeping are carried out by manual work.
With is work the most common approach to computerized
sales prospect and time management recording with an automated
forward facilities in plant and depot of the company. To update the
prospect database to provide sales management with an accurate
and effective central mechanism that can automatically print daily
statement, recording actual sales report and clearly flagged priority
contact. This can be of great help to sales management and sales
people as an aid to focusing on priorities and good security.
13
Before the invention of computers, things were done manually e.g.
calculation, filling of documents EST. But computer made it
possible for the easy and efficient jobs to be carried out and
evaluation of company resources, so that there will be source of
revenue for the proposed company need, for analytical research
and methods in doing or carrying out the activities in an equal and
optimum proximity.
Data were collected using questionnaire and direct interviews,
information were gathered directly from the plant managers, sales
managers, security officers and all those responsible for the
development of the software, the data so far collected for crates as
unit and a crate is made up of 24 bottles for accountability, these
valuable goods and products where classified and rated according
to the record of the company based on these information the
software is designed with the ability to add new records, retrieve
records modify old records and delete absolute records.
An increasing number of companies are now making use of
computer system more accurately formed as automatics data
processing or electronic data processing in a more effective way to
control activity and decision making.
14
The computer has been programmed in a very processed manner
and in consequences it is necessary to be quite specified and
accurate with regard to the computer input information which in
turn will ensure valid and accurate output data being obtained
After processing the accomplishment of this requirement means
that the business operation of the company has to be studied and
modified in accurate and accordance with the computer
requirement. A procedure of these is known as system analysis
and design and therefore defines as a process of analyzing
interpreting a business organization, accessing the requirement
and designing procedures to facilitate the work.
2.3 TECHNIQUES
System analysis is primarily based with facts finding or gathering
of information about an existing procedures of a system analysis
begins by interpreting and understanding the present companies
operations. In this case, the analysis is only based on the sales
management department of the MR BIGGS was converted by facts:
1. Gathering information: This has been a great tool towards
the achievement of the company organization and be
achieved through study records.
15
2. By sampling and assessment: In the procedure and records
of this work, sampling of data are used to spot checks
(random intervals of the program).
2.3.1 MAIN CONCEPT
There are four main concepts used in data analysis. They are as
follows.
1. Entity types
2. Relation type attribute type
3. Attribute type
4. Permitted values
These probably are recognized as any relevant information which
is needed by the organization to give MR BIGGS PHC.
2.3.2 ENTITY TYPES
Entity types are anything relevant to the enterprise about which
information needs to be carried out or kept. The term is used in
data analysis as an ENTITY TYPES this also describe a group or
classification of entities relevant to the company which fits a giver
definition or discussion. This definition is based largely on the
activities of an organization and how it views the classifications.
An entity which is a noun is like a person, place, thing or action
16
because it is performed by man are recognizable type of data
collected for the analysis of the company or organization. The one
copied directly here is used by MR BIGGS PLC
Classification
Collectives
ENTITY TYPES ENTITY (OR OCCURENCEOF ENTITY
SNACKS MEAT PIE, PRODUCT
BEVERAGES MATT, COKE, FANTA
AFRICA DISHES JOLLOF RICE, FRIED RICE
USERNAME MR. PALIMOTE JUSTICE
MR. PAUL ESISO
Table 1: show the entity types and entity occurrence
2.3.2.1 CLASSIFICATION
A classification entity type is conception ally classified one and
only one other entity type according to one inherent property or
quality of what entity type. The “classes “of the classifying entity
type group the entities of cases we use the classification of
vehicle according to the number of crates of drinks they can
17
carry, the company uses this to forecast the quality of crates
expected to be sold by the user (salesman) of the vehicle, this
quality is always referred to as “TARGET” the classification is
made up four levels and the grouping is successive detailed in
categories of the vehicle as follows in Table 2:
CLASSIFIED ENTITY TYPE CLASS (ENTITY TYPE)
BEVERAGES FANTA 6 QUANTITY
COKE 7 QUANTITY
SPRITE 2 QUANTITY
MALT 10 QUANTITY
Table 2: the classified and entity type
The above can further be represented graphically by:
CLASSIFIED
BEVERAGES
ENTITY TYPE CLASS TYPE OF
BEVERAGES
18
2.3.2.2 COLLECTIVES
A collective is a group of abstract or concrete objects which are
collected or assembled together and given a name to describe them
as a group mostly they are merely a firm of entity types which
needs to be recognized in the case of Mr. Biggs Phc they do not
need a special structure. This is represented graphically as,
ITEM ENTITY
BEVERAGES FANTA
COKE
SPRITE
MALT
Table3 show the item and entity
2.3.3 RELATIONSHIP TYPE
Relationship is an association between two entities or within an
entity, which is of interest to the enterprise as information. A
relationship type is a classification that is based on verbs used in
describing the relationship and type to which the entity belongs.
19
Mathematically R is a set of relationship, for instance r, is an n-
type of entities C1, C2 and each entity is a number of entity.
CASHIER TYPE OF ITEM TARGET
S1 A N 91,200
S2 B N 57,000
S3 C N 45,000
S4 D N 34,200
Table3: show the cashier type of item and target
In this case the type of vehicle from the relationship between the
salesman and the target (the expected amount to be realized by
each salesman). Here the amount is for types and kind of vehicles
used by a salesman depicts which of the type he belongs.
2.3.4 RELATIONSHIP TYPE OF DEGREE
1. ONE –TO-ONE
One entity is an entity that has relation with one another entity
(one and only one) example Item and their relationship is also
having a record in a table to have its matching record in another
table. The mapping is shown below;
20
CASHIER CODE NUMBER
ITEM PRODUCT ID
2. ONE-TO-MANY
An entity of one entity may have the relationship type with
one or more entities of another or the same entity type. It is also
an instance where a record in table A will have many matching
record and a record in table B have only one. Theoretically this can
be shown as;
CASIER CODE NUMBER
MR PALI IDFANTA 60
MR JOHN N TCOKE 142
MR JOHN MBA IDDONUT672
CASHIER NAME ITEM ID DATE
MR PALI IDFANTA60 I6/5/09
TCOKE 142 18/5/09
IDDONUT672 22/5/09
MR JOHN N TCOKE142 I9/5/09
21
IDDONUT672 18/5/09
IDFANTA60 20/5/09
MR JOHN MBA IDDONET672 I8/5/09
IDFANTA60 17/5/09
TCOKE142 20/5/09
Table4: show the table for one to many relation shipe
3. MANY-TO-MANY
Two or more salesman can play a route and two routes can be
played by other salesman this implies that many entity type may
have the relationship type with many entities of the other or the
same entity type. The relationship type and the relationship degree
stated above are treated as applied by Mr Bigg’s PHC.
2.3.5 ATTRIBUTE TYPES
An attributes is a descriptive property associated with one
entity. Thus an attribute type that is classified of properties of the
entity of certain type` which fit a given definition therefore each
entity has a particular property called attribute that describes it
i.e. the salesman entity are describe by his name, Item number
used in selling the goods he plays, his code number.
22
An important constraint on entities of an entity type is the
“key” or “uniqueness”. Constraints on entity attribute. An entity
type whose values are district for each individual entity, such as
attribute is called “KEY ATTRIBUTE” and its value can be used to
identify each entity in particular the code number of each
salesman serves as his company identity number and he can easily
be identified by it, hence this serves as key to his records attribute
type are illustrated in table below.
2.3.6 PREMITTED VALUES
A permitted value is one of the values which an attribute type is
allowed to have. An attribute type is effectively a classification of
permitted values giving a name that describe what values they
have in common i.e. what properly of an entity type they are
describing, each simple attribute of an entity type is associated
with a value set (or domain) of alphanumeric characters, that
specifies the set of value that may be assigned to the attribute for
each individual entities.
An attribute type which may have the permitted range of
values. Any rage is simply a short end way of writing out every
permitted value in the range.
23
2.4 SYSTEM DEVELOPMENT
The user responsibility in the system development stage
includes gathering input data preparing a test that will validate the
accuracy of the answer generated from the system. The assemble
of the input data is made especially difficult in planning
application by a poor data management interface. If special files
must be created and new data acquired the time and expenses of
data preparation can exceed that of preparing or acquiring the
computing system software.
The validation of the computing system is a step the user
should not try to skip the user of computing system must define
the system objectives and decision variables and work with expert
on formulation of an appropriate model and solution technique.
24
2.5 DATA SECURITY
One important aspect of system control of a data is to prevent its
loss, misuse or disclosure. This type of control is called” data
security”.
Data security is the protection of data in the case of this work, its
security will depend and concerned the protection and preventing
of data from loss e.g. in the file security method it is used during
updates. The data security also concerned with preventing the
misused or unwanted modification of data in particular due to
access by unauthorized persons. Lastly it also prevents the
disclosure of data to unauthorized persons. The use of backup
copies, like floppy should be secured from data loss and the use of
password to prevent an unauthorized use of the software and
measures taken in this programming to ensure this security.
25
CHAPTER THREE
3.0 ANALYSIS AND DESIGN
This chapter talk about system analysis and design of the
program, the architectural structure of the program, database
design and entity, relation diagram, entity diagram, flowchart
diagram of the program and step by step procedure in designing
the program.
3.1 DATABASE DESIGN
The entity relationship diagram for newly proposed system is
illustrated below:
Below are the entities used and their attributes including their
datatype.
ENTITIES IN THE DATABASE.
1. Item Reg
2. NewStore
3. DailySales
4. UserAccount
The Attributes and datatype in each entities are as listed below in table 5:
26
Table New Store Table Name: Daily Sales
1 Item ID(PK) Short Text Field Name Data Type
2 Newstore
Short
Text 1 Customername Short Text
3 Date Date 2 Phoneno Number
3 Contactaddress Short Text
4 Salesdate Date/Time
Table Name:Item Reg 5 Short Text Short Text
Field Name Data
Type 6 Instore Short Text
1 ItemID
Short
Text 7 Price Currency
2 ItemName
Short
Text 8 Quantity Number
3 Categories Short Text 9 customerfee Currency
4 Quantity Short Text 10 Amtpaid Currency
5 Prices
Short
Text 11 customerbal Currency
6 DateRegister Date/Time 12 cashierid Short Text
Table Name: User Account
Field Name Data Type
1 Username Short Text
2 First Name Short Text
3 Password Short Text
4 Group Short Text
5 Date Date/Time Table 5: show the entity attributes and there
data type
27
3.2 ENTITY DIAGRAM
User Account
ITEM REG
Group
Passw
ord
First
Name User
name
(PK)
Date
Registe
r
Item Reg
Item
ID(pk)
Categori
es Quant
ity
Item
Name
Date
Regist
er
Price
UserID
Figure1 Entity diagram for
user account
Figure2: Entity diagram for
Item reg
28
DAILY SALES
3.3 E-R RELATIONAL DATABASE MODEL DIAGRAM
e
Cont
act
Us
Custo
mer
Name
Amt
Paid
Daily Sales Custom
er Bal
Phone Cashier
ID
Item ID
Price
Quantity
USER ACCOUNT
First Name
Username (PK)
Password
Date
Group
ITEM REG
Item ID (PK)
Item Name
Date Register
Price
Quantity
Categories
Username
DAILY SALES
Customername
Phoneno
Contactaddress
Salesdate
Itemid
Instore
Price
Quantity
Customerfee
Amtpaid
Customerbal
Cashiered
Figure3 Entity diagram for
Daily Transaction
Figure4 Entity diagram for E-R
Relational database model diagram
29
3.4 DESIGN METHODOLOGY
In the Software Development process, Software Design phase
involves decomposing a Software System into modules and
defining the relationship among these constituent modules.
Usually, a combination of two or more design methodologies is
employed in execution of a project. In the case of Sales Analysis
System, the following design methodologies were employed:
1. Top-Down Design Approach: This involves dividing a
system into subsystems or modules and each subsystem
being further divided into even smaller subs. This process of
division is repeated until each module is sufficiently small
enough to be conveniently implemented as an independent
entity that performs a clearly defined operation.
The top-down design of this project is as follows in fig 4:
30
Fig 4: Top-down design of the SAS Project.
2. Object Oriented Design: This involves the use of models to
build a system. These models are implemented through
abstract data types called Objects and Classes. An Object is
an entity which has both properties (data) and operations
(methods).
3.5 PROGRAM FUNCTIONALITIES.
VB.Net is a Graphical User Interface programming language and a
complete framework of an object oriented languages, and makes
use of forms to interact with the user. The form is a visual object,
which provides a means of collecting input from the user, receiving
31
commands from the user and displaying output to the user, if
necessary.
Listed below are operations that can be carried out with the use of
the VB.net application, and the corresponding Visual Basic Form
used to perform them.
Register a New Item- FrmRegItem
Edit Item - Frmedititem
View all Item in Stock – Frmviewitem
Make Daily Transaction - Frmtransaction
Print Report of all Daily Transaction – frmreportdaily
3.6 MODULE SPECIFICATION
Program module can be define as the difference sub-program that
perform different operations in the whole program, starting from
the term” sub-program” which are used to describe a component
part of a program, the term sub-program may hereby refer to any
of the statement forming part of a program used to a program
specific task. However, in the work the sub-program were properly
constructed and self-contained, performing a well-defined
operations on well-defined data, furthermore the half and internal
structure which is independent of the main program that contains
them. Hence with these properties they can be referring to as
32
program module. Consequently, the defined modules in the
program are specified below according to the files name and a brief
explanation on task they perform.
TITLE MODULE: This module is like a splash page or
welcome screen that display the title of the application.
LOGIN MODULE: This module is designed for security
purposes. It is a password program which demand for the
user password or key to enter into the main program.
Actually if he/she does not need the password then he is
authorized user.
CONTROLPANEL MODULE: Control panel Module is a
submenu module where someone is to take decision on which
of the sales file of the Items he/she want to work on. It is a
linear menu.
USER MODULE: This is where administrator create account
for user that can be able to access the program.
ADDER MODULE: This module will serve as adder i.e. it is
a program that will add new records to the database files
which has already been created i.e. this program will be
captured by the data for all entering fields in the records of
33
new salesman and store them in the database already in
existence.
TRANSACTION MODULE: This module is where all daily
sales transaction is been carry out.
VIEW MODULE: This is a module where you can use to view
all the transaction, items, and user in the database.
REPORT: This is a module where you can you print the
transaction report
LOGOUT: This module help you to exit for the system
34
3.7 ALGORITHMS
This is a step by step procedure which is expected to be carried
out in a program, is where the main logic of a program is
embedded. However it is difficult to prove that an algorithms is
correct or valid when the main program is not yet written. This
course reveals how algorithms and program are inseparable. Below
are the module and algorithms of my program.
LOGIN MODULE
Step1: Display the login module
Step2: Enter Username and password
Step3: If Username and password=true then
Login successful
Else
Display Error Message
Step4: Return
SWITCHBOARD MODULE
Step1: Display the switchboard module
35
Step2: Display the Menus
(a) Create Item
(b) Edit Item
(c) Transaction
(d) Report
(e) Logout
Step3: Choose Option
Step4: Transfer Control to the appropriate subroutine
Step5: If Option=E the Step 8
Step6: Confirm if User still want to continue
Step7: If Option is YES then Step 2
Step8: Return
ADD/CREATE ITEM MODULE
Step1: Display the create item module
Step2: Enter the Item Details
Step3: Read the Record
Step4: Save Data to database
36
Confirm if user want to enter more item
If Yes then Step2
If No Then Exit Sub
Step5: Return
EDIT ITEM MODULE
Step1: Display the Edit item module
Step2: Select your Item
Step3: Enter item Details
Step4: Update the Record
Step5: Return
DAILY TRANSACTION MODULE
Step1: Display the Module
Step2: Enter the customer details
Step3: Compute the record
Step4: Store the transaction details to database
Step5: Print Transaction Details
Step6: Return
37
REPORT MODULE
Step1: Display the Report module
Step2: Display the Report
Step3: Return
LOGOUT MODULE
Step1: Display the a dialog message box
Step2: If true then exit sub
Else
Return Step 1
Step: Return
38
3.8 FLOWCHART
Flowchart is a diagrammatical or pictorial representation of the
program give a physical structure of the program or algorithm in
form of a diagram. Below show the pictorial representation of the
program.
LOGIN MODULE
Login Module
Enter Login
Information
SELECT BUTTON
LOGIN
Validate Login
Information
Login
CLOSE
Terminate the
Program
END
Display
Controlpanel
Unload Me
T F
Display error
mesage
Figure5 Show the flowchart
for login module
39
CONTROL PANEL MODULE
YES
NO
Option
A,B,C,D,
,E
Display menu
Add Item
Edit Item
Transaction
Report
Logout
A
B
C
D
E
Make
selection
Control Panel
Add Item
Edit Item
Transaction
Report
Logout
Return Figure6 Show the flowchart
for Control panle module
40
ADD/CREATE ITEM MODULE
ADD/CREATE
ITEM
Enter All Required
Information about the
SELECT
CLOSE
Stop (Return)
CLEAR
Clear Fields
Create
Validate Item
Information
Store Book in
Database
Display message
“Item already
exists”
Item
Access
ID
Exists
T
F
Figure7 Show the flowchart
for Add Item
41
EDIT ITEM MODULE
Select Item
Display Item
Enter New
Item
Edit Item
Module
Make
Selection
Update Delete End
Return
Figure 8 Show the flowchart
for Edit Item
42
DAILY TRANSACTION MODULE
Enter
Transaction
details
Make
Selection
Compute Store End
Return
Transaction
module
Preview
Display
Result Display
Receipt
Save to Database
Figure9 Show the flowchart
for Daily Transaction
43
REPORT MODULE
Display the Report
Details
Report Module
Figure10 Show the flowchart
for Report Module
Return
44
LOGOUT MODULE
Display Message
Confirm NO
YES
Logout
Module
Return
Figure11 Show the flowchart
for logout module
45
CHAPTER FOUR
4.0 IMPLEMENTATION AND RESULT
This chapter show the sources code and output of the program, how to
run the program, reason for choice of language for the program, merit
of coding in visual basic.
4.1 SOURCES CODE
Public Class frmlogin
Private Sub TextBox1_TextChanged(ByVal sender As System.Object, ByVal e As
System.EventArgs) Handles TextBox1.TextChanged
End Sub
Private Sub Button1_Click(ByVal sender As System.Object, ByVal e As System.EventArgs)
Handles Button1.Click
Dim user, pass As String user = TextBox1.Text
pass = TextBox2.Text
If user = "" Then
MsgBox("Please Enter UserName", MsgBoxStyle.Exclamation, "Mising Parameters")
TextBox1.Focus()
Exit Sub End If
If pass = "" Then
MsgBox("Please Enter Password", MsgBoxStyle.Exclamation, "Mising Parameters")
TextBox2.Focus()
Exit Sub End If
Dim str As String
Try
str = Me.UseraccountTableAdapter.GetData.FindByUserid(TextBox1.Text).Userid
Dim pwd As String
pwd =
Me.UseraccountTableAdapter.GetData.FindByUserid(TextBox1.Text).password
If pwd = TextBox2.Text Then
MsgBox("Password Verify", MsgBoxStyle.Exclamation, "Success")
Dim gp As String
gp = Me.UseraccountTableAdapter.GetData.FindByUserid(TextBox1.Text).group
If gp = "1" Then
Me.Dispose()
frmswitchboard.Show()
Else
Me.Dispose()
frmswitchboard.Show()
46
frmswitchboard.CreateToolStripMenuItem1.Visible = False
frmswitchboard.CreateToolStripMenuItem.Visible = False
frmswitchboard.ViewToolStripMenuItem.Visible = False frmswitchboard.ReportToolStripMenuItem.Visible = False
frmuseredit.Button3.Visible = False
'TextBox1.Text = "" 'TextBox2.Text = ""
End If
Else MsgBox("Invalid Password")
End If
Catch ex As Exception
MsgBox("User does not exist")
End Try End Sub
Private Sub Button2_Click(ByVal sender As System.Object, ByVal e As System.EventArgs)
Handles Button2.Click
Me.Close() End Sub
Private Sub frmlogin_Load(ByVal sender As System.Object, ByVal e As System.EventArgs)
Handles MyBase.Load
'TODO: This line of code loads data into the 'BiggsDatabaseDataSet.useraccount' table.
You can move, or remove it, as needed. Me.UseraccountTableAdapter.Fill(Me.BiggsDatabaseDataSet.useraccount)
End Sub
End Class
Public Class frmswitchboard
Private Sub NewToolStripMenuItem_Click(ByVal sender As System.Object, ByVal e As
System.EventArgs) Handles NewToolStripMenuItem.Click
End Sub
Private Sub UserUserAccountToolStripMenuItem_Click(ByVal sender As System.Object,
ByVal e As System.EventArgs)
End Sub
Private Sub PictureBox1_Click(ByVal sender As System.Object, ByVal e As
System.EventArgs) Handles PictureBox1.Click
End Sub
Private Sub LogoutToolStripMenuItem_Click(ByVal sender As System.Object, ByVal e As
System.EventArgs) Handles LogoutToolStripMenuItem.Click
Dim logout As String
logout = MsgBox("Are you Sure you want to Logout", vbYesNo, "Logout")
If logout = vbYes Then
Me.Dispose()
47
frmlogin.Show()
End If End Sub
Private Sub CalculatorToolStripMenuItem_Click(ByVal sender As System.Object, ByVal e
As System.EventArgs) Handles CalculatorToolStripMenuItem.Click
Shell("CALC.EXE")
End Sub
Private Sub NotepadToolStripMenuItem_Click(ByVal sender As System.Object, ByVal e As
System.EventArgs) Handles NotepadToolStripMenuItem.Click
Shell("NOTEPAD.EXE")
End Sub
Private Sub CreateToolStripMenuItem1_Click(ByVal sender As System.Object, ByVal e As
System.EventArgs) Handles CreateToolStripMenuItem1.Click
frmuseraccount.Show()
End Sub
Private Sub EditToolStripMenuItem1_Click(ByVal sender As System.Object, ByVal e As
System.EventArgs) Handles EditToolStripMenuItem1.Click
frmuseredit.Show()
End Sub
Private Sub ItemsToolStripMenuItem_Click(ByVal sender As System.Object, ByVal e As
System.EventArgs) Handles ItemsToolStripMenuItem.Click
frmitems.Show()
End Sub
Private Sub UpdateToolStripMenuItem_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles UpdateToolStripMenuItem.Click
frmedititem.Show()
End Sub
Private Sub DailyTransactionToolStripMenuItem_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles DailyTransactionToolStripMenuItem.Click
frmtransaction.Show()
End Sub
Private Sub UserAccountToolStripMenuItem_Click(ByVal sender As System.Object, ByVal
e As System.EventArgs) Handles UserAccountToolStripMenuItem.Click frmviewuser.Show()
End Sub
Private Sub TransactionToolStripMenuItem1_Click(ByVal sender As System.Object, ByVal
e As System.EventArgs) Handles TransactionToolStripMenuItem1.Click frmviewsales.Show()
End Sub
Private Sub StoreItemToolStripMenuItem_Click(ByVal sender As System.Object, ByVal e
As System.EventArgs) Handles StoreItemToolStripMenuItem.Click
frmviewitem.Show() End Sub
Private Sub DailySalesToolStripMenuItem_Click(ByVal sender As System.Object, ByVal e
As System.EventArgs) Handles DailySalesToolStripMenuItem.Click
SALESREPORT1.Show()
End Sub
48
Private Sub KeybBoardShortcutToolStripMenuItem_Click(ByVal sender As System.Object,
ByVal e As System.EventArgs) Handles KeybBoardShortcutToolStripMenuItem.Click frmkeyboard.Show()
End Sub
Private Sub AboutSoftwareToolStripMenuItem_Click(ByVal sender As System.Object,
ByVal e As System.EventArgs) Handles AboutSoftwareToolStripMenuItem.Click
frmaboutus.Show() End Sub
Private Sub DeveloperToolStripMenuItem_Click(ByVal sender As System.Object, ByVal e
As System.EventArgs) Handles DeveloperToolStripMenuItem.Click
frmdeveloper1.Show() End Sub
Private Sub frmswitchboard_Load(ByVal sender As System.Object, ByVal e As
System.EventArgs) Handles MyBase.Load
End Sub End Class
Public Class frmtransaction
Private Sub frmtransaction_Load(ByVal sender As System.Object, ByVal e As
System.EventArgs) Handles MyBase.Load 'TODO: This line of code loads data into the 'BiggsDatabaseDataSet.itemreg' table. You
can move, or remove it, as needed.
Me.ItemregTableAdapter.Fill(Me.BiggsDatabaseDataSet.itemreg)
'TODO: This line of code loads data into the 'BiggsDatabaseDataSet.dailysales' table.
You can move, or remove it, as needed.
Me.DailysalesTableAdapter.Fill(Me.BiggsDatabaseDataSet.dailysales) 'TODO: This line of code loads data into the 'BiggsDatabaseDataSet.newstore' table. You
can move, or remove it, as needed.
Me.NewstoreTableAdapter.Fill(Me.BiggsDatabaseDataSet.newstore)
End Sub
Private Sub Button2_Click(ByVal sender As System.Object, ByVal e As System.EventArgs)
Handles Button2.Click
Me.Dispose()
End Sub
Private Sub Button4_Click(ByVal sender As System.Object, ByVal e As System.EventArgs)
Handles Button4.Click
frmreceipt.Show()
Dim datetime As String datetime = DateTimePicker1.Value
frmreceipt.Label8.Text = TextBox1.Text
frmreceipt.Label12.Text = TextBox2.Text
frmreceipt.Label14.Text = TextBox3.Text
frmreceipt.Label15.Text = datetime
frmreceipt.Label19.Text = TextBox6.Text frmreceipt.Label20.Text = ComboBox1.Text
frmreceipt.Label21.Text = TextBox6.Text
frmreceipt.Label22.Text = TextBox4.Text
frmreceipt.Label23.Text = TextBox9.Text
frmreceipt.Label17.Text = TextBox5.Text
frmreceipt.Label24.Text = TextBox10.Text
49
Me.Dispose()
End Sub
Private Sub ComboBox1_SelectedIndexChanged(ByVal sender As System.Object, ByVal e
As System.EventArgs) Handles ComboBox1.SelectedIndexChanged
Try
TextBox8.Text =
ItemregTableAdapter.GetData.FindByitemid(ComboBox1.SelectedValue).prices TextBox7.Text =
NewstoreTableAdapter.GetData.FindByitemid(ComboBox1.SelectedValue).newstore
Catch ex As Exception
End Try End Sub
Private Sub TextBox4_TextChanged(ByVal sender As System.Object, ByVal e As
System.EventArgs) Handles TextBox4.TextChanged
TextBox9.Text = Val(TextBox8.Text) * Val(TextBox4.Text)
End Sub
Private Sub Button1_Click(ByVal sender As System.Object, ByVal e As System.EventArgs)
Handles Button1.Click
TextBox10.Text = Val(TextBox5.Text) - Val(TextBox9.Text)
End Sub
Private Sub Button3_Click(ByVal sender As System.Object, ByVal e As System.EventArgs)
Handles Button3.Click
Try
If TextBox4.Text > TextBox7.Text Then
MsgBox("Please check the Item Instore", vbInformation, "Error") TextBox4.Focus()
Exit Sub
End If
Dim customername, phoneno, contactadd, cashier, idemid As String Dim instore, price, fee, amtpaid, quantity, balance As Integer
customername = TextBox1.Text
phoneno = TextBox2.Text
contactadd = TextBox3.Text
idemid = ComboBox1.Text instore = TextBox7.Text
price = TextBox8.Text
quantity = TextBox4.Text
fee = TextBox9.Text
amtpaid = TextBox5.Text balance = TextBox10.Text
cashier = TextBox6.Text
Me.DailysalesTableAdapter.Insert(customername, phoneno, contactadd,
DateTimePicker1.Value, idemid, instore, price, quantity, fee, amtpaid, balance, cashier)
Me.DailysalesTableAdapter.Update(Me.BiggsDatabaseDataSet.dailysales)
MsgBox("Transaction Made Successful", MsgBoxStyle.Information, "Save") TextBox11.Text = Val(TextBox7.Text) - Val(TextBox4.Text)
With NewstoreTableAdapter.Update(idemid, TextBox11.Text, idemid)
End With
Catch ex As Exception
End Try
50
End Sub
Private Sub PictureBox1_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles PictureBox1.Click
End Sub
End Class
Public Class frmedititem
Private Sub Button2_Click(ByVal sender As System.Object, ByVal e As System.EventArgs)
Handles Button2.Click
Me.Dispose()
End Sub
Private Sub Button3_Click(ByVal sender As System.Object, ByVal e As System.EventArgs)
Handles Button3.Click
Dim msg As String = MsgBox("Are You sure you want to Delete this Item from
DATABASE?", MsgBoxStyle.YesNo + MsgBoxStyle.Question, "Confirm Delete")
If msg = vbNo Then Exit Sub
End If
Dim username As String
username = ComboBox1.Text
Me.ItemregTableAdapter.Delete(username)
Me.ItemregTableAdapter.Update(Me.BiggsDatabaseDataSet.itemreg)
With NewstoreTableAdapter
.Delete(username) Me.NewstoreTableAdapter.Fill(Me.BiggsDatabaseDataSet.newstore)
End With
MsgBox("Record Deleted Successfully!", MsgBoxStyle.OkOnly, "Comfirm Delete")
End Sub
Private Sub frmedititem_Load(ByVal sender As System.Object, ByVal e As
System.EventArgs) Handles MyBase.Load
'TODO: This line of code loads data into the 'BiggsDatabaseDataSet.newstore' table. You
can move, or remove it, as needed.
Me.NewstoreTableAdapter.Fill(Me.BiggsDatabaseDataSet.newstore)
'TODO: This line of code loads data into the 'BiggsDatabaseDataSet.itemreg' table. You can move, or remove it, as needed.
Me.ItemregTableAdapter.Fill(Me.BiggsDatabaseDataSet.itemreg)
Me.Width = "592"
Me.Height = "190"
End Sub
Private Sub ComboBox1_SelectedIndexChanged(ByVal sender As System.Object, ByVal e
As System.EventArgs) Handles ComboBox1.SelectedIndexChanged
Try
TextBox1.Text =
ItemregTableAdapter.GetData.FindByitemid(ComboBox1.SelectedValue).itemid TextBox2.Text =
ItemregTableAdapter.GetData.FindByitemid(ComboBox1.SelectedValue).itemname
TextBox3.Text =
ItemregTableAdapter.GetData.FindByitemid(ComboBox1.SelectedValue).categories
TextBox4.Text =
ItemregTableAdapter.GetData.FindByitemid(ComboBox1.SelectedValue).prices
51
TextBox7.Text =
NewstoreTableAdapter.GetData.FindByitemid(ComboBox1.SelectedValue).newstore
Me.Width = "592" Me.Height = "600"
Catch ex As Exception
End Try
End Sub
Private Sub Button1_Click(ByVal sender As System.Object, ByVal e As System.EventArgs)
Handles Button1.Click
Dim itemid, itemname, categories As String
Dim prices, quantity As Double
itemid = TextBox1.Text itemname = TextBox2.Text
categories = TextBox3.Text
prices = TextBox4.Text
quantity = TextBox5.Text
If itemid = "" Then
MsgBox("Missing Parameters,Enter itemID", MsgBoxStyle.Exclamation, "Error") TextBox1.Focus()
Exit Sub
End If
If itemname = "" Then
MsgBox("Missing Parameters,Enter Item Name", MsgBoxStyle.Exclamation, "Error") TextBox2.Focus()
Exit Sub
End If
If categories = "" Then
MsgBox("Missing Parameters,Enter Discription", MsgBoxStyle.Exclamation, "Error")
TextBox3.Focus() Exit Sub
End If
Me.ItemregTableAdapter.Update(itemid, itemname, categories, quantity, prices,
DateTimePicker1.Value, itemid) Me.ItemregTableAdapter.Fill(Me.BiggsDatabaseDataSet.itemreg)
MsgBox("Record Updated Successfully", MsgBoxStyle.Information, "Update")
TextBox8.Text = Val(TextBox7.Text) + Val(TextBox5.Text)
With NewstoreTableAdapter.Update(itemid, TextBox8.Text, itemid)
End With End Sub
End Class
Public Class frmitems
Private Sub Button1_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles Button1.Click
Dim itemid, itemname, categories As String
Dim prices, quantity As Double
itemid = TextBox1.Text
itemname = TextBox2.Text
categories = TextBox3.Text prices = TextBox4.Text
quantity = TextBox5.Text
If itemid = "" Then
MsgBox("Missing Parameters,Enter itemID", MsgBoxStyle.Exclamation, "Error")
TextBox1.Focus()
Exit Sub
52
End If
If itemname = "" Then
MsgBox("Missing Parameters,Enter Item Name", MsgBoxStyle.Exclamation, "Error") TextBox2.Focus()
Exit Sub
End If
If categories = "" Then
MsgBox("Missing Parameters,Enter categories", MsgBoxStyle.Exclamation, "Error")
TextBox3.Focus() Exit Sub
End If
Try
Me.ItemregTableAdapter.Insert(itemid, itemname, categories, quantity, prices, DateTimePicker1.Value)
MsgBox("Item register successful", MsgBoxStyle.Information, "Success")
With NewstoreTableAdapter
.Insert(itemid, quantity)
Me.NewstoreTableAdapter.Fill(Me.BiggsDatabaseDataSet.newstore) End With
Catch ex As Exception
MsgBox("Item Already Exist", MsgBoxStyle.Critical, " Error")
End Try End Sub
Private Sub frmitems_Load(ByVal sender As System.Object, ByVal e As System.EventArgs)
Handles MyBase.Load
'TODO: This line of code loads data into the 'BiggsDatabaseDataSet.newstore' table. You
can move, or remove it, as needed. Me.NewstoreTableAdapter.Fill(Me.BiggsDatabaseDataSet.newstore)
'TODO: This line of code loads data into the 'BiggsDatabaseDataSet.itemreg' table. You
can move, or remove it, as needed.
Me.ItemregTableAdapter.Fill(Me.BiggsDatabaseDataSet.itemreg)
End Sub
Private Sub Button3_Click(ByVal sender As System.Object, ByVal e As System.EventArgs)
Handles Button3.Click
TextBox1.Text = ""
TextBox2.Text = "" TextBox3.Text = ""
TextBox4.Text = ""
TextBox5.Text = ""
TextBox1.Focus()
End Sub
Private Sub Button2_Click(ByVal sender As System.Object, ByVal e As System.EventArgs)
Handles Button2.Click
Me.Dispose()
End Sub
End Class Public Class frmloading
Private Sub Timer1_Tick(ByVal sender As System.Object, ByVal e As System.EventArgs)
Handles Timer1.Tick
ProgressBar1.Value += 5
Label1.Text = "loading...." & ProgressBar1.Value & "%"
53
If ProgressBar1.Value = ProgressBar1.Maximum Then
Timer1.Enabled = False
Me.Hide() frmlogin.Show()
Me.Hide()
End If
End Sub
Private Sub frmloading_Load(ByVal sender As System.Object, ByVal e As
System.EventArgs) Handles MyBase.Load
End Sub
End Class Public Class frmtransaction
Private Sub frmtransaction_Load(ByVal sender As System.Object, ByVal e As
System.EventArgs) Handles MyBase.Load
'TODO: This line of code loads data into the 'BiggsDatabaseDataSet.itemreg' table. You
can move, or remove it, as needed. Me.ItemregTableAdapter.Fill(Me.BiggsDatabaseDataSet.itemreg)
'TODO: This line of code loads data into the 'BiggsDatabaseDataSet.dailysales' table.
You can move, or remove it, as needed.
Me.DailysalesTableAdapter.Fill(Me.BiggsDatabaseDataSet.dailysales)
'TODO: This line of code loads data into the 'BiggsDatabaseDataSet.newstore' table. You can move, or remove it, as needed.
Me.NewstoreTableAdapter.Fill(Me.BiggsDatabaseDataSet.newstore)
End Sub
Private Sub Button2_Click(ByVal sender As System.Object, ByVal e As System.EventArgs)
Handles Button2.Click
Me.Dispose()
End Sub
Private Sub Button4_Click(ByVal sender As System.Object, ByVal e As System.EventArgs)
Handles Button4.Click
frmreceipt.Show()
Dim datetime As String
datetime = DateTimePicker1.Value
frmreceipt.Label8.Text = TextBox1.Text frmreceipt.Label12.Text = TextBox2.Text
frmreceipt.Label14.Text = TextBox3.Text
frmreceipt.Label15.Text = datetime
frmreceipt.Label19.Text = TextBox6.Text
frmreceipt.Label20.Text = ComboBox1.Text frmreceipt.Label21.Text = TextBox6.Text
frmreceipt.Label22.Text = TextBox4.Text
frmreceipt.Label23.Text = TextBox9.Text
frmreceipt.Label17.Text = TextBox5.Text
frmreceipt.Label24.Text = TextBox10.Text
Me.Dispose()
End Sub
Private Sub ComboBox1_SelectedIndexChanged(ByVal sender As System.Object, ByVal e
As System.EventArgs) Handles ComboBox1.SelectedIndexChanged
Try
54
TextBox8.Text =
ItemregTableAdapter.GetData.FindByitemid(ComboBox1.SelectedValue).prices
TextBox7.Text = NewstoreTableAdapter.GetData.FindByitemid(ComboBox1.SelectedValue).newstore
Catch ex As Exception
End Try
End Sub
Private Sub TextBox4_TextChanged(ByVal sender As System.Object, ByVal e As
System.EventArgs) Handles TextBox4.TextChanged
TextBox9.Text = Val(TextBox8.Text) * Val(TextBox4.Text)
End Sub
Private Sub Button1_Click(ByVal sender As System.Object, ByVal e As System.EventArgs)
Handles Button1.Click
TextBox10.Text = Val(TextBox5.Text) - Val(TextBox9.Text)
End Sub
Private Sub Button3_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles Button3.Click
Try
If TextBox4.Text > TextBox7.Text Then
MsgBox("Please check the Item Instore", vbInformation, "Error")
TextBox4.Focus() Exit Sub
End If
Dim customername, phoneno, contactadd, cashier, idemid As String
Dim instore, price, fee, amtpaid, quantity, balance As Integer
customername = TextBox1.Text
phoneno = TextBox2.Text
contactadd = TextBox3.Text
idemid = ComboBox1.Text
instore = TextBox7.Text price = TextBox8.Text
quantity = TextBox4.Text
fee = TextBox9.Text
amtpaid = TextBox5.Text
balance = TextBox10.Text
cashier = TextBox6.Text Me.DailysalesTableAdapter.Insert(customername, phoneno, contactadd,
DateTimePicker1.Value, idemid, instore, price, quantity, fee, amtpaid, balance, cashier)
Me.DailysalesTableAdapter.Update(Me.BiggsDatabaseDataSet.dailysales)
MsgBox("Transaction Made Successful", MsgBoxStyle.Information, "Save")
TextBox11.Text = Val(TextBox7.Text) - Val(TextBox4.Text) With NewstoreTableAdapter.Update(idemid, TextBox11.Text, idemid)
End With
Catch ex As Exception
End Try
End Sub
Private Sub PictureBox1_Click(ByVal sender As System.Object, ByVal e As
System.EventArgs) Handles PictureBox1.Click
End Sub
End Class
62
4.3 HOW TO RUN THE PROGRAM
To Run the Program several stop must be taking place. The
following are some of the steps you need.
1. Insert your disk containing the program into your disk
drive.
2. Open my computer or explore your computer.
3. Locate the Disk Drive Directory.
4. Open the folder containing your program and install the
software.
5. Double-click on the program file to run the application.
4.4 REASON FOR CHOICE OF LANGUAGE
The programming language gives the programmer a way to
provide instruction.VB.Net Programming language is a very
powerful version of BASIC (Beginners All-Purpose Symbolic
Instruction Code). The VB. Net ’s language is used to compose
a processing script (event procedures, General sub procedure
e.t.c).For each command button. The processing script
63
contains the instructions the computer will follow when the
user click the command button.
4.5 MERIT OF CODING IN VISUAL BASIC
Visual basic dot Net and indeed other member of the visual
studies family visual, it visual FoxPro e.t.c) has gained wide
acceptance in companies around the globe. Programming in
VB is a lot easier and a fun. Even the casual user will be
amazed of what he can do with the just few keystrokes and
putting together some controls/object on a form in this
research visual basic.net A component of Microsoft, while the
database are implemented with Microsoft access.
The features of vb, which have made the development process
easier and made it gain wide popularity, are as follows.
a) It provides tools that make it easier for the develop to
create good Curls.
b) VB Development environment (IDE) is user friendly for
instance, on screen (e.g the quick into box) feature makes for
easy recall of statement syntax
c) It is a message driven programming, supporting
modularization and graphical user interface (GUI) Designs.
64
Visual Basic provides database tools (E.g. data access object
DAO) it is implemented based, on the object oriented
programming (OOP) parading the latest in software
engineering. To this end VB Supports code and compound re-
user, classes, object creation and instancing amongst others.
On the other end, Microsoft access provides simplified
abstraction for the implementation of the relational database
architecture the tables created and generated are maintained
as .mdb files in access with the data access object(DAO)
supported by Access VB Provides Statement properties and
method like Add New,Find,Edit,Delete e.t.c For appending
searching and editing records at programme runtime.
Microsoft access and visual basic indeed provide a powerful
pairs (Back-End and front end respectively) development and
deployment of the automated real estate properly
management system.
65
4.6 LIMITATION OF CODING
Visual basic unlike other programming languages.
a) Cannot run without the forms designed, this is why is said
to be object oriented. However it takes a lot of
programming time.
b) It is sometimes cumbersome to code the graphical user
interface control on a form even when such a simple task
(with few codes) is to be performed.
c) VB makes programs unnecessary long-since exotic code
are needed to support the forms and their bound controls.
d) With Data Access Object (DAO), the “Add New” method
cannot append data records, to an empty existing. Rather
and required that at least one record should be in table.
66
CHAPTER FIVE
5.0 SUMMARY, CONCLUSION AND RECOMMENDATION
5.1 SUMMARY
Sales Analysis System in a company is an adequate measure
to improve the performance and operation in the company. Sales
analysis systems help to compute the record of sales, calculate the
daily sales record, helps to process and keep stock of items as
knowing the Date, Quantity, Items, Minimum and maximum
number of the Items on the store and also improves the sales
system by checking and enabling efficient planning, it also
enhance proper maintenance and utilization of the sales
resources.
Finally, in depending a sales analysis system the individual should
understand the basic for sales taking of keeping the factor that
affects the sales record in the company.
5.2 CONCLUSION
Mr. Bigg’s PLC and other sales company have encountered
many problems that influence sales practice and care in the
company. Such problems are sales analysis management, Lack of
67
computation of record, dispensing in sales preparation, lack of
daily sales record etc.
Apart from this the company face another problem like
1) Time Constraint: Paper record(s) used by the company
caused delay in retrieval of information. As a result decision
making is also delay.
2) Inaccurate Information: Humans are not perfect
information may be wrong recorded or calculated.
3) Lack of File:Someone can accidentally misplace and destroy
files. Among all those sales management seems to be the
major problem in Mr. Bigg’s PLC.
So with the use of sales analysis system the Mr. Bigg’s PLC will
improve the analysis system. Which has been designed, make
sales functions faster and easier in real time. Those System can
search a lot of items in the company calculate and compute the
sales record in purchase and delivery records. Those functions
are powerful and useful in customer safety and cost
containment the workload in sales management in each section
of the sale department as well as in different unit was reduced.
68
5.3 RECOMMENDATION:
I will recommend the MR BIGG’S PLC and other sales
company should apply a computerized sales analysis program
so that there will be an improve in their performance generally.
This program is fully equipped and structured to enhance
understanding. The following is recommended to serve as a
guide for the actual implementation, Test-Run and maintenance
of the system.
a) The program should be reviewed from time to ensure that it
is running at optical level.
b) The computer room should be secured from data theft, five
and must be clean and well lightened.
c) Training must be conducted for the staff of payroll
department on the use of the system.
d) Online form, which included pay slip and voucher, must be
proceeding but a secured environment.
e) The computer room should not be close to any electronic
devices magnetic field to avoid malfunction of the system.
69
REFERENCES
A.C. Amadiwochi (2000): “Computer-Based Information System for
Manager”.Uranec publishers V. Organization
Ltd.pp 16-75
Bradomore.G.(1995): “Introduction to Sales Analysis”, Davesoft
Publishers. Vol6.pp 29-56
Ebimen .J. (2009): “How to manage your System”,Published by RT-
Network.Vol.5.No1.pp 20-40
George .K.(1986): “The concept of sales Analysis” published by
Maritan System Network.pp5-16
J.Clark.P.(1994): “S.A.L.E.S.”,Published by Global system London
Vol.6 pp 20-90
Kenneth .S. (2010): “Element of Information and Communication
Technology”. Published and printed by
Fredsbary.pp.1-19.
70
Richard County (2005): “Sales Analysis”. Published by Mark Steve
Inc. pp 17-45
Shapiro.O. (2010): “The Important of Salesman”. Theo Unawake
and Sons Publishers p.13
BBC (1997): http://news.bbc.co.uk/1/hi/technology/4132752.stm.
71
APPENDIX : FLOWCHART SYMBOLS AND MEANING
Rectangle
Diamond
Parallelogram
Preparation
Pre-Defined process
Magnetic disk
Terminator
For Data processing
For Decision making. E.g. true or false
True
or False
For processing
For Data Input and Output
For Starting and terminating a program
Pre-Defined Processing
Making Selection
Store Data to Database
Connector
Connection flow