Cosmetic Shop Documentation-1
Cosmetic Shop Documentation-1
SYSTEM
BY
Amna AliName1
2016-ag-8357
BACHOLAR OF SCIENCE
IN
COMPUTER SCIENCE
June 2019
DECLARATION
The work reported in this project was carried out by us under the supervision of Sir
Shakeel, University of Agriculture Faisalabad Subcampus Burewala-Vehari.
I hereby declare that the “Cosmetic Shop Management System” and the contents
of project is the product of our own research. I further declare that this work has not been
submitted for award of any other degree / diploma. The University may take action if the
information provided is found inaccurate at any stage.
This is to certify that Amna Ali1 Registration No. 2016-ag-8357 have successfully
completed the final project named as: Cosmetic Shop Management System, at the
Department of Computer Science, University of Agriculture Faisalabad subcampus
Burewala-vehari, to fulfill the partial requirement of the degree of BS (CS).
Internal Examiner
Name: Mr Shakeel
Signature: ___________
External Examiner
Name: ______________________
Signature: ____________________
Principal
University of Agriculture
Faisalabad Subcampus
Burewala-vehari
Coordinator Projects:
STATEMENT OF SUBMISSION
This is to certify that Amna Ali1 Registration No. 2016-ag-83570has successfully completed
the semester project named as: Cosmetic Shop management System , at the Univeristy of
Agriculture Faisalabad Subsampus Burewala-vehari, to fulfill the partial requirement of the
degree of BS (CS).
_____________________________
Project Supervisor, ________________________
Designation Project Examiner
University of Agriculture Faisalabad Designation
Subcampus Burewala-Vehari.
Acknowledgement
Firstly I am thankful to ALLAH ALMIGHTY who blessed me with knowledge to complete this
project with HIS mercy. I truly acknowledge the cooperation and help make by Name of Mr
Shakeel, teacher of University of Agricuture Faisalabad Subcampus Burewala-Vehari for
his help and guidance throughout this project. He has been a constant source of guidance
throughout the course of this project. I am also thankful to my friends and family especially my
father Syed Ajaz Ali Naqvi whose silent support led me to complete my project.
Amna Ali
All the modules of Cosmetic system had developed already but the “Cosmetic Shop
Management System” is still working manually. I want to computerize it.
Cosmetic Shop Management system is a complete solution for managing a shop, in other words,
an enhanced tool that assists in organizing the day-to-day activites if a Shop.
There is a need of an application for efficient management and handling customer orders.
This Cosmetic Shop Management system keeps every record which is required for Staff, Admin,
Stock and Customer of that Shop and by reducing paperwork. This application is used for
keeping the information of Admin, Dealer, Customer, Purchasing and Stock. These records are
stored in the databasebwith security.
Your data be a secure and onlu authorized person can take the copy of data.
This Project is developed in Visual Studio 2013 using SQL Server.
INDEX
Sr. No.
Title
1.
Introduction
2.
Limitations of Present System
3.
Proposed System:
a. Proposed System
b. Benefits of proposed system
c. Feasibility Study
5.
System Documentation :
c. DFD
e. Sequence Diagram
f. Class Diagram
6.
System Preview
7.
Coding Preview
8.
System Implementation
9.
Conclusion
Introduction
I am doing my project on Cosmetic Shop Management System. There is the need for efficient
management of a network based system for handling customer orders.
This project is an endeavor to provide a solution to this. The proposed system enables an
administrator to keep track of customer orders and maintaining records of the customers. He can view the
submitted requirements made by the customer. He can also view the reports generated by him and can
also sent approvals or rejections instantly.
Thus the project is a sincere effort in simplifying the task of administrators in an easily
usable format.
I finalized to make this project and hence planned to develop this system using Visual Studio
2013 for front end and SQL as the Back End.
LIMITATION OF THE PRESENT SYSTEM:
Before starting the project we have to study its limitations and objective some of them
are:-
All the processes of this management are done manually in the form of paper work and
the records are stored in the registers. In such cases there are frequent chances of data
redundancy and data is ease to lose.
All the introductions related to the patients and others printed on the papers, this activity
generates the chances of data lost.
All the bills structures are done by hand written; sometimes it produces mistakes in
calculation.
This system is very time consuming and require lost of manpower
PROPOSED SYSTEM:
Objective is to overcome the major limitation of the existing enabling effective management of
the customer details thereby improving the performance.
Validation of data will be ensure only accurate valid and complete data stored in the
database.
Easy retrieval or data will be made possible by finding techniques.
Report generation will help made its easy to analyze the performance or clinic
Administration.
OBJECTIVE AND SCOPE OF PROPOSED SYSTEM:
The objectives of the proposed system are to overcome the major limitation of existing
system enabling effective management of the customer details thereby improving the
performance of SHOP ADMINISTRTION.
The system will store all the basic data processing needs the shop management.
Feasibility study
A feasibility study is undertaken to determine to the possibility or probability of either
improving the existing system or developing a completely new system. It helps to obtain the
overview of the problem and to get a rough assessment of whether other feasible solution exists.
Avoid the ‘Hardware approach’ i.e. getting a computer first and then deciding how to use
it.
Context Level DIAGRAM
Account
Bill Login
Checking
Request for Item Admin
Customer (User)
Supply of Item
Payment Cosmetic Shop
Management
System
Payment
Supply
of Item
Bill
Login
Staff Supplier
(User)
Request for Item
Customer Record,
Create bills
ENTITY RELTIONSHIP DIAGRAM (ERD)
Entity-Relationship Diagram
An ERD is a model that identifies the concepts or entities that exist in a system and the
relationships between those entities.
ERD for Cosmetic Shop Management System
Choice of
Product
1/M
1/M 1
1 1/M
Order Customer Suggestions
1
1 1
Bill
Searching 0/M
Products
1/M
1
Supplier
Usecase Diagram
Login
CUSTOMER DETAILS
1.0
Customer
Details
Customer
Customer CUSTOMER
DETAILS Customer
Information
1.4
SEARCH
1.1
Customer Customer
ADD
1.2
Customer
Customer
UPDATE
1.3
Customer Customer
DELETE
1.4
Customer Customer
SEARCH
2) BILL ORDER DETAILS
2.0
Order
Details
Order
Bill Order
Order
DETAILS
Order
Information
2.4
SEARCH
3.DEALER / PRODUCT DETAILS
3.0
Product
Details
PRODUCT
Dealer Order PRODUCT e
DETAILS Product
Informati
on
7.0
Employee
Details Employee
Employee Employee DETAILS
Employee
Information
7.4 7.5
SEARCH EDIT
Forms Used :
Report List :
Splash Screen:
Change Password:
Sales Form:
SplashScreen Coding:
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 Cosmetics_System
{
public partial class SplashScreen : Form
{
public SplashScreen()
{
InitializeComponent();
}
}
}
Login:
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;
using System.Data.SqlClient;
namespace Cosmetics_System
{
public partial class login : Form
{
SqlConnection con = new SqlConnection(@"Data
Source=(LocalDB)\v11.0;AttachDbFilename=E:\BSCS\6th semester\Visual
Programming\Cosmetics System\Cosmetics System\Cosmetics
System\CosmeticSystem.mdf;Integrated Security=True");
public login()
{
InitializeComponent();
Hide();
UserLogin ad = new UserLogin();
ad.Show();
}
}
}
Purchase Form:
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;
using System.Data.SqlClient;
namespace Cosmetics_System
{
public partial class purchase : Form
{
SqlConnection con=new SqlConnection(@"Data
Source=(LocalDB)\v11.0;AttachDbFilename=E:\BSCS\6th semester\Visual
Programming\Cosmetics System\Cosmetics System\Cosmetics
System\CosmeticSystem.mdf;Integrated Security=True");
public purchase()
{
InitializeComponent();
}
dg();
MessageBox.Show("Record Inserted Successfully********");
}
}
catch(Exception ex)
{
MessageBox.Show("Error Occured..." + ("\n\r" + ex.Message));
}
}
public void dg()
{
SqlCommand cmd = con.CreateCommand();
cmd.CommandType = CommandType.Text;
cmd.CommandText = "select *from purchase_master";
cmd.ExecuteNonQuery();
DataTable dt = new DataTable();
SqlDataAdapter da = new SqlDataAdapter(cmd);
da.Fill(dt);
dataGridView1.DataSource = dt;
}
}
catch (Exception ex)
{
MessageBox.Show("Error Occured" + ("\n\r" + ex.Message));
}
}
}
}
SYSTEM IMPLEMENTATION
TECHNOLOGY USED
For the creating application we use controls like text box controls, check box controlled and each control
has unique properties. There are 9 controls as follows.
1. Textbox control
2. Command buttons
3. Status Bar
4. Combo Box control
5. DT Picker control
6. Tab Strip
7. Progress Bar
FEATURES OF SQL
Security:
Cosmetic Shop Management System makes use of security in the form of User ID’s and Passwords.
In order to use this system, the administrator has to enter his password. The password entered by the
administrator is compared with the one in the database and if it matches then the application precedes
it to open.
At no point in time the administrator can recover his password if he forgets it. However it is
recommended that the administrator change his /her password in the database.
For security purposes it is recommended that the administrator change his password every 2 weeks.
Besides this on the backend system makes use of SQL, which is very secure DBMS. At all point in
the DBMS checks the username and password before making a connection. If the username and
passwords match then the connection is allowed else it is not allowed.
Conclusion:
The demand of Visual Studio for application is increasing day by day in Software industry, due to high
expectations of client companies.
Hence an attempt of automating an office application had added to our learning experience.
It has also helped in adopting an analytical approach to solving and made us realize that system
development is a step by step process, Indeed it was a great learning experience.