Final Project Documentation PDF
Final Project Documentation PDF
Final Project Documentation PDF
PROJECT DOCUMENTATION
I would like to express my sincere gratitude to my lecture Ms. Hasara Perera of Esoft Metro
Campus. She gave me helpful advice and sparing her valuable time from the very early stage
of this project.
Especially, I would like to extend my heartfelt gratitude to thank to the Manager of Ceylon
Biscuits Limited.
Finally, I would like to thank my close friends and also I must remind my parents, who stay
with my success and failures throughout our life and their support and encouragement
extremely helped my achieving all goals of my life.
1. Acknowledgement……………………………………………………… 2
2. Table of Content………………………………………………………... 3
3. Introduction
7. Test Plan………………………………………………………………… 33
Ceylon Biscuits Limited (branded CBL, commonly called Munchee) is a Sri Lankan food
manufacturer, the maker of Munchee biscuits and one of the oldest biscuit makers in Sri Lanka.
The company owns 60% of the domestic market share in Sri Lanka.
In July 1968 opened a new biscuit factory at Pannipitiya to produce the high-protein biscuit for
CARE. The factory was operated by Ceylon Biscuits Limited, a newly created subsidiary of
Williams (Williams owned 30%, the Wickramasingha family 30%, E. B. Creasy (an English
trading company) 30%, the workers 5% and other shareholders 5%). CBL imported two biscuit
manufacturing lines from Germany, one for the nutritional biscuit and the other for consumer
biscuit production. CBL's involvement with the school biscuit programme continued until
1988, when the programme was terminated. With the introduction of the second plant CBL
introduced a range of biscuits to the market under the brand name Munchee. These included
two of its own innovations, Hawaiian Cookies and Milk Short Cake, together with generic
biscuits nice, ginger and date biscuits.
In 1991 the company expanded into chocolate production, under the brand Ritzbury, importing
a chocolate machine for individual chocolates and an enrobing plant to make chocolate coated
biscuits and wafers. The chocolate production business was further expanded to include
chocolate fingers following the acquisition of the Maharaja Organization's Baker's Man biscuit
factory in the mid-1990s.. In September 2000 CBL took a 79% controlling share in Soy Foods
(Lanka) Limited and their brand Lanka Soy, which, despite being the pioneer in the local soy
products market, only had a 15% market share. In 2002 the company established CBL Foods
International (CBL Foods) in nearby Rannala. CBL Foods enabled the company to establish a
bakery line, producing cakes under the brand Tiara. The new factory commenced operations in
2004. CBL also shifted its chocolate manufacturing to the new plant. In 2014, CBL introduced
thei own supermarket chain Star United. As of 2014, there were 30 franchised supermarkets
within the country. At present this is one of the leading biscuit, chocolate and confectionery
manufacturers and marketers in Asia.
The present employee management system is a manual system. This consumes more
manpower, time and large volume of stationery. Manual Handling of employee information
poses a number of challenges. The use of paper work in handling some of these processes could
lead to human error, papers may end up in the wrong hands and not forgetting the fact that this
is time consuming. Finding employee details is not easy in this system. So proper system I
required.
This project based on Microsoft Visual Studio and C # coding. This propose employee
management system helps them in many ways. they can add, edit and delete employee details
of the company. Users can register and login to view all entries of the employees. The software
features functionalities such as login and registration, add, edit or delete employee records and
also view their entries. You can access all details in few minutes. So, I think this new system
is efficient.
4.1. ER Diagram
Employee ID
Email
TP
Full Name
Gender
Employee
Department ID
Department
Has Department
TP
Email
Department
Name
Role
Name Description
EMPLOYEE MANAGEMENT
SYSTEM
Employee
Information
Department
Information
Department
Role Information
Employee
Save Data
Search Data
Update Data
Role
Delete Data
Admin
I used Waterfall Model for creating this Employee Management System. This is the
earliest SLDC approach was used for develop this software. In this approach, the entire
process of software development is divided in separate steps. The outcome of one step
act as the input for the next step sequentially. Every step has to be completed before the
next step starts and there is no over lapping of the steps. We can see Waterfall Model
steps in below.
Operations &
Maintenance
Conducted a comprehensive analysis of the existing database and developed a plan that
defines the objectives, scope and structure of the entire system.
The requirement specification from first phase is studied in this phase and the system design is
prepared. This management system design helps in specifying hardware and system
requirement and defining the overall system architecture.
The management system that has been designed by C# Programming Language and Visual
Studio Sever can user for the database management.
During this step, the new management system software design is realized as a set of programs
or program units.
The units developed at this stage are integrated into a system and then its faults and failures are
discovered.
There are some issues which come up in the user environment. To fix those issues are released.
Also, to enrich the product some better versions are released. Maintenance is done to deliver
these changes in the user environment.
• Functional Requirements
❖ Costs
❖ Network bandwidth
❖ Security
Admin can login to the Employee The software should be portable. So moving
Management System using the given Email from one OS to other OS doesn’t create any
and Password. problem.
Figure 1
• After entering the right details, you can click “Login” button for enter the
system.
• Then you can see the next page by clicking “OK” on the appeared message
box as shown below.
• If you want to Exit the system, you can click “Exit” button.
• You enter wrong details, you won’t be able to access the employee
management system and it is shown as below in the message box, “Login
Failed”.
• In this Figure, Email is wrong. (Figure 4)
Figure 4
namespace Employee_Management_System
{
public partial class Form1 : Form
{
public Form1()
{
InitializeComponent();
}
{
MessageBox.Show("Login Success!");
}
else
}
private void buttonExit_Click(object sender, EventArgs e)
{
Application.Exit();
Figure 5
Figure 6
using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Data;
using System.Drawing;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using System.Windows.Forms;
namespace Employee_Management_System
{
public partial class Main_Menu : Form
{
public Main_Menu()
{
InitializeComponent();
}
Figure 7
Figure 8
Figure 9
}
}
catch (Exception ex)
{
MessageBox.Show("Error while Searching" + ex);
}
finally
{
//closing the connection
con.Close();
}
Figure 10
Figure 11
• This figure shows the information of the database, before saving the data of the
new employee.
Figure 12
Figure 13
}
catch (Exception ex)
{
MessageBox.Show("Error While Saving"+ex);
}
finally {
//closing the connection
con.Close();
}
Figure 14
Figure 15
• This figure shows after the information, which has been updated.
Figure 16
Figure 17
Figure 18
// SQL command
SqlCommand cmnd = new SqlCommand(query_update, con);
con.Open();
cmnd.ExecuteNonQuery();
//Successful Message after the execution
MessageBox.Show("Update Successfully !");
}
catch (Exception ex)
{
MessageBox.Show("Error While Updating" + ex);
}
finally
{
//closing the connection
con.Close();
}
Figure 19
Figure 20
Figure 21
Figure 22
• This is how it show like after deleting the data from the employee table in the
database.
Figure 23
}
catch(Exception ex)
{
MessageBox.Show("Error While Deleting" + ex);
}
finally
{
//closing the connection
con.Close();
}
}
}
Figure 24
}
Figure 25
Figure 26
}
private void buttonBack_Click(object sender, EventArgs e)
{
this.Close();
Main_Menu Obj = new Main_Menu();
Obj.Show();
}
Figure 28
}
}
Figure 29
7.1.Test Procedure.
According to the project proposal’s time frame the testing procedure held from day 16
to day 23.
7.2.Tested Items.
All the function (Login, Save, Search, Update and Delete) have been tested and the
following table will display that software has reach its requirements.
Search Employee
Search
Full Name: K.L.Sadun Figure 9
Employee
Weerasekara.
Full Name: W.A.Yashodha
Karunapala.
Figure 11
Save Email: [email protected]
Figure 12
Employee TP: 0777754066
Figure 13
Gender: Female.
Figure 15
Update Employee
Update Figure 16
Full Name: S.D.Rasika Cabral.
Employee Figure 17
TP: 0719507600
Figure 18
Deleted Data
Delete Employee Figure 20
Delete
Full Name: W.A. Yashodha Figure 21
Employee
Karunapala. Figure 22
Figure 23
Login Page
Incorrect Email
1 Login Failed Login Failed
Correct Password
Correct Email
Login Success! Login Success!
Correct Password
Employee
Saved Saved
Save Button
Successfully Successfully
Search Button All fields are filled All fields are filled
2
Update Update
Update Button
Successfully Successfully
In the future will try to develop this software more reliable and flexible. We hope to add new
features in this system.
This project report given information how to develop Employee Management System
using Micro Soft Visual Studio and C# Coding. When developed this project I could
learn how to create database in Management System. I used Waterfall Software
Development Model to develop this software.
This Management System could save, search, update and delete data in database.
I think this Employee Management System is user friendly and easy to manage user.
Now, this Employee Management System represent only Employee Details but we
hope to add Departments and Employee’s Roles in the future. I could improve my
Programming, Software Development and Database knowledge expansion after created
this project.
-The End-
Thank You.