Professional Documents
Culture Documents
M Sms Thesis
M Sms Thesis
M Sms Thesis
Project Report
On
Submitted to
Nagpur
M.C.A-(II) SEM-II
Dr. U . A . Lanjewar
1
VMV COMMERCE, JMT ARTS &
JJP SCIENCE COLLEGE
(Institute of Computer Studies and Research)
Academic Year 2019-20 Wardhaman Nagar, Nagpur-08.
Department of MCA
CERTIFICATE
Nagpur.
Place: Nagpur
Date:
2
VMV COMMERCE, JMT ARTS &
JJP SCIENCE COLLEGE
(Institute of Computer Studies and Research)
Academic Year 2019-20 Wardhaman Nagar, Nagpur-08.
Department of MCA
DECLARATION
Nagpur and had not been submitted for any other examination and
does not form the part of any other course undergone by us.
1. Adesh S. Gajbhiye
2. Shgubham Vaidya
Place:Nagpur
Date:
3
ACKNOWLEDGEMENT
With immense pride and sense of gratitude, we take this golden
opportunity to express our sincere regards to the honorable In-
charge Dr. U. A. Lanjewar of institute for providing us facilities
and inspiration to gather professional knowledge and material
without which it would have been impossible to complete this
hard task.
Adesh S. Gajbhiye
Shubham Vaidya
(MCA-II)
4
INDEX
1 INTRODUCTION
2 OBJECTIVES
SYSTEM ANALYSIS
3.1 PRESENT SYSTEM IN USE
3.2 PROBLEM DEFINITION
3.3 FLAWS IN PRESENT SYSTEM
3
3.4 NEED FOR NEW SYSTEM
3.5 PROPOSED SYSTEM
3.6 FEASIBILITY STUDY
3.7 PROJECT CATEGORY
7 TESTING
8 VALIDATION
5
INTRODUCTION
Medicines are one of the important factors that are necessary to cure a
person’s diseases.
The medicines are required when you do not follow this famous saying.
Due to the delay of the medicines, there are chances that the person might
even loose his life.
To solve all these problems, the medical shop management system plays a
major role.
The Medical Shop Management System helps to maintain and keep the
medicines in the medical store in the proper place.
When you need a particular medicine, you can get to know the exact
location of that particular medicine that you are searching for.
6
OBJECTIVES
The main objective of the Medical Shop Management System is to manage the
details of Medical Shop, Stocks, Inventory, Sells, Company.
The project is totally built at administrative end and thus only the
administrator is guaranteed the access.
7
SYSTEM ANALYSIS
This is a Project in which we have tried to develop such a type of system which
can save the time for searching medicine of customer which is spend by them
on different types of important activities like buying medicine and different
cosmetic products etc.
The software can print invoices, bills, receipts etc. it can also maintain the
record of supplies sent in by the supplier.
The proposed system maintain the record of medicine stock, sales repost,
purchases report etc. And also used to quick search of medicine.
Features
Manage the information of Stocks
Shows the information and description of the Medical Shop, Inventory
All the fields such as Medical Shop, Inventory, Company are validated and
does not take invalid values
It generates the report on Medical Shop, Stocks, Medicines
Provide filter reports on Inventory, Sells, Company
You can easily export PDF for the Medical Shop, Medicines, Sells
Application also provides excel export for Stocks, Inventory, Compa
8
3.2 PROBLEM DEFINATION
The pharmacist has to order drugs to replenish the already diminishing stock.
In addition, ordering of drugs is being carried out manually, significant amount
of time is allocated for writing the order as the pharmacist need to go through
the stock balance and make rough estimate of the amount to order based on
Figures.
Drugs are not supposed to be used after they have expired. This project work
will prompt the pharmacist about drugs that are close to expiry, preventing
those drugs from being sold and also providing solution to the earlier stated
problems.
9
3.3 FLAWS IN THE PRESENT SYSTEM
The existing system contains some problems which are to be removed. Some
of the main flaws are as follows:
10
3.4 NEED FOR NEW SYSTEM
The existing of Medical Store System is manually which require more paper work so it
need to computerized the system to get following benefits.
11
3.5 PROPOSED SYSTEM
The system is design to track the entry of refresh batches of drugs be it upon
orders from manufacture or loan from the hospital/clinic. It also monitor the
drugs movement history, thus leads to better inventory management of money
allocated for the purchase of drugs.
12
3.6 FEASIBILITY STUDY
Feasibility study is the phase in which the analyst checks that the candidate
system is feasible for the organization or not. This entails identification,
description & evaluation of the system. Feasibility study is done to select the
best system that meets the performance requirem
Is there a new and better way to do the job that will benefit the user?
What are the costs and savings of the alternatives?
What is recommended?
Technical Feasibility:
After the study we came to conclusion that we proceed further with the tools
and development environment chosen by us. This was important in our case as
we were working on two various phases of the department that will need to be
integrated in future to make an extended system.
Operational Feasibility:
Operational feasibility is all about problems that may arise during operations.
There are two aspects related with this issue:
What is the probability that the solution developed may not be put to use
or may not work? What is the inclination of the management and end
users towards the solution?
Though, there is very least possibility of management being averse to
the solution, there is a significant probability that the end users may not
be interested in using the solution due to lack of training, insight etc.
13
Economic Feasibility:
Behavioral Feasibility:
14
3.7 PROJECT CATEGORY APLICATION DEVELOPMENT PROJECT
-Console Application.
-Windows Form
SUPPORTED SYSTEM
15
4 SOFTWARE ENGNEERING PARADIGM APPLIED
4.1 MODULES:
This project will contain Two modules, which are used for the various
operation and activities of the project listed below.
USER MODULE
ADMIN MODULE
USER MODULE:
User login
User can add / edit own work details
User can edit own profile.
Logout.
ADMIN MODULE
16
4.2 SYSTEM/MODULER CHART
17
5. SOFTWARE REQUIREMENTS SPECIFICATION
O/S: Windows 7
Language: C#
1 PC at least Pentium II
20 GB Hard Disk
1 Printer
18
6. SOFTWARE DESIGN
Customer
information
Customer
Id Price
Customer Quantity
Name
19
6.2 TABLES
LOG IN:-
20
CUSTOMER DETAILS:-
21
COMPANY DETAILS:-
22
SALES:-
23
STOCKS:-
24
STOCKIN:-
25
STOCKOUT:-
26
6.3 DATA FLOW DIAGRAMS
LEVEL 0:
27
LEVEL 1:
28
ER DIAGRAM:-
29
6.5 FORM DESIGN
LOG IN:-
30
ADMIN FORM:-
31
MANAGE CLIENTS:-
32
COMPANY:-
33
SELL:-
STOCK:-
34
6.6 SOURCE CODE
public partial class UserMst : Form
{
DS.DS_USER.UserMst_SelectDataTable UDT = new
DS.DS_USER.UserMst_SelectDataTable();
DS.DS_USERTableAdapters.UserMst_SelectTableAdapter UAdapter = new
MEDICAL.DS.DS_USERTableAdapters.UserMst_SelectTableAdapter();
public string username, strmenu; using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Data;
using System.Drawing;
using System.Linq;
using System.Text;
using System.Windows.Forms;
namespace MEDICAL
{
lbltime.Text = System.DateTime.Now.ToString();
lblday.Text = System.DateTime.Now.DayOfWeek.ToString();
Mdi.BackColor = System.Drawing.Color.DarkSeaGreen;
}
catch (Exception a)
{
}
}
}
35
private void btnlogin_Click(object sender, EventArgs e)
{
if (txtname.Text == "")
{
}
else
{
MessageBox.Show("Invalid LoginName OR Password !",
"Medical System");
}
}
}
lblname.Text = "";
}
}
private void eXITToolStripMenuItem_Click(object sender, EventArgs e)
{
Application.Exit();
}
38
private void repotsToolStripMenuItem_Click(object sender, EventArgs
e)
{
closeExistingForm();
Form additem = new ADDItem(username, "View");
additem.MdiParent = this;
additem.Show();
}
}
}
}
USER CODE:-
using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Data;
using System.Drawing;
using System.Linq;
using System.Text;
using System.Windows.Forms;
namespace MEDICAL
{
}
else if (txtpass.Text != txtcpass.Text)
{
MessageBox.Show("Error", "Medical System");
}
else
{
int isrt = UAdapter.Insert(txtname.Text, txtpass.Text,
System.DateTime.Now.Date);
txtpass.Text = "";
txtname.Text = "";
txtcpass.Text = "";
MessageBox.Show("User Added Sucssesfully !!", "Medical
System");
}
else if (tabControl1.SelectedIndex == 1)
{
UDT = UAdapter.SelectUser();
comboBox1.DataSource = UDT;
comboBox1.DisplayMember = "U_Name";
comboBox1.ValueMember = "U_ID";
comboBox1.Text = "SELECT";
41
}
else if (tabControl1.SelectedIndex == 2)
{
UDT = UAdapter.SelectUser();
dataGridView1.DataSource = UDT;
}
else if (tabControl1.SelectedIndex == 3)
{
}
}
}
else if (textBox1.Text != textBox2.Text)
{
MessageBox.Show("Error", "Medical System");
}
else
{
UAdapter.UserMst_Update_password(username.ToString(),
textBox1.Text);
MessageBox.Show("Password has been changed !!",
"Medical System");
txtcpass.Text = "";
42
txtpass.Text = "";
}
}
tabControl1.SelectedIndex = 0;
}
else if (strmenu == "Delete")
{
tabControl1.SelectedIndex = 1;
}
else if (strmenu == "View")
{
tabControl1.SelectedIndex = 2;
}
else if (strmenu == "Password")
{
tabControl1.SelectedIndex = 3;
}
}
}
}
43
CLINT CODE:-
using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Data;
using System.Drawing;
using System.Linq;
using System.Text;
using System.Windows.Forms;
namespace MEDICAL
{
public partial class UserMst : Form
{
DS.DS_USER.UserMst_SelectDataTable UDT = new
DS.DS_USER.UserMst_SelectDataTable();
DS.DS_USERTableAdapters.UserMst_SelectTableAdapter UAdapter =
new MEDICAL.DS.DS_USERTableAdapters.UserMst_SelectTableAdapter();
public string username, strmenu;
public UserMst(string uname, string strmnu)
{
username = uname;
strmenu = strmnu;
InitializeComponent();
}
}
else if (txtpass.Text != txtcpass.Text)
{
MessageBox.Show("Error", "Medical System");
}
44
else
{
int isrt = UAdapter.Insert(txtname.Text, txtpass.Text,
System.DateTime.Now.Date);
txtpass.Text = "";
txtname.Text = "";
txtcpass.Text = "";
MessageBox.Show("User Added Sucssesfully !!", "Medical
System");
}
else if (tabControl1.SelectedIndex == 1)
{
UDT = UAdapter.SelectUser();
comboBox1.DataSource = UDT;
comboBox1.DisplayMember = "U_Name";
comboBox1.ValueMember = "U_ID";
comboBox1.Text = "SELECT";
}
else if (tabControl1.SelectedIndex == 2)
{
UDT = UAdapter.SelectUser();
dataGridView1.DataSource = UDT;
}
else if (tabControl1.SelectedIndex == 3)
{
}
}
}
else if (textBox1.Text != textBox2.Text)
{
MessageBox.Show("Error", "Medical System");
}
else
{
UAdapter.UserMst_Update_password(username.ToString(),
textBox1.Text);
MessageBox.Show("Password has been changed !!",
"Medical System");
txtcpass.Text = "";
txtpass.Text = "";
}
}
tabControl1.SelectedIndex = 0;
}
else if (strmenu == "Delete")
{
tabControl1.SelectedIndex = 1;
}
else if (strmenu == "View")
{
tabControl1.SelectedIndex = 2;
}
else if (strmenu == "Password")
46
{
tabControl1.SelectedIndex = 3;
}
}
}
}
COMPANY CODE:-
47
using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Data;
using System.Drawing;
using System.Linq;
using System.Text;
using System.Windows.Forms;
namespace MEDICAL
{
public partial class Company : Form
{
DS.DS_COMPANY.CompanyMst_SelectDataTable CDT = new
MEDICAL.DS.DS_COMPANY.CompanyMst_SelectDataTable();
DS.DS_COMPANYTableAdapters.CompanyMst_SelectTableAdapter
CAdapter = new
MEDICAL.DS.DS_COMPANYTableAdapters.CompanyMst_SelectTableAdapter();
public string strmenu;
public Company(string strmnu)
{
strmenu = strmnu;
InitializeComponent();
}
txtname.Text = "";
txtpersn.Text = "";
txtadd.Text = "";
txtmobile.Text = "";
txtname.Focus();
}
}
else if (tabControl1.SelectedIndex == 1)
{
CDT = CAdapter.SelectComapny();
comboBox1.DataSource = CDT;
comboBox1.DisplayMember = "Cname";
48
comboBox1.ValueMember = "CID";
comboBox1.Text = "SELECT";
}
else if (tabControl1.SelectedIndex == 2)
{
CDT = CAdapter.SelectComapny();
dataGridView1.DataSource = CDT;
}
}
}
else if (strmenu == "View")
{
tabControl1.SelectedIndex = 2;
}
}
49
}
}
SELL CODE:-
using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Data;
using System.Drawing;
using System.Linq;
using System.Text;
using System.Windows.Forms;
using System.Data.SqlClient;
namespace MEDICAL
{
public partial class SELL : Form
{
DS.DS_SALES.SALES_SELECT_SUM_TOTALDataTable SUMDT = new
MEDICAL.DS.DS_SALES.SALES_SELECT_SUM_TOTALDataTable();
DS.DS_SALESTableAdapters.SALES_SELECT_SUM_TOTALTableAdapter
SUMAdapter = new
MEDICAL.DS.DS_SALESTableAdapters.SALES_SELECT_SUM_TOTALTableAdapter();
CDT = CAdapter.SelectClient();
comboBox1.DataSource = CDT;
comboBox1.DisplayMember = "cu_name";
comboBox1.ValueMember = "cu_id";
}
string namee =
gvsales.Rows[e.RowIndex].Cells[0].Value.ToString();
SAdapter.SALES_DELETE_by_name(namee);
// STADapter.DeleteById(Convert.ToInt32(m));
// BindGrid();
SDT = SAdapter.SelectBy_PNAME(txtpname.Text);
gpdispatch.Visible = true;
gvsales.AutoGenerateColumns = false;
gvsales.DataSource = SDT;
SUMDT = SUMAdapter.SelectTotla();
lblqnt.Text = SUMDT.Rows[0]["qnt"].ToString();
lbltprice.Text = SUMDT.Rows[0]["Tprice"].ToString();
}
}
catch (Exception )
51
{ }
}
SDT = SAdapter.SelectBY_NAME(txtiname.Text);
if (SDT.Rows.Count > 0)
{
SDT = SAdapter.SelectBY_NAME(txtiname.Text);
}
else
52
{
MessageBox.Show("No Enought Quantity",
"Medical system");
}
}
else
{
lblq.Text = StockDT.Rows[0]
["AvailableQuantity"].ToString();
lblp.Text = IDT.Rows[0]["I_Price"].ToString();
lbll.Text = IDT.Rows[0]
["I_location"].ToString();
txtq.Text = "1";
SUMDT = SUMAdapter.SelectTotla();
lblqnt.Text = SUMDT.Rows[0]["qnt"].ToString();
lbltprice.Text = SUMDT.Rows[0]["Tprice"].ToString();
}
gpdispatch.Visible = true;
}
else
{
MessageBox.Show("Item Not Available !!", "Medical
System");
}
}
// txtiname.Text = "";
// txtiname.Focus();
}
if (StockDT.Rows[0]["AvailableQuantity"].ToString() ==
"0")
{
MessageBox.Show("No Enought Quantity !!", "Medical
System");
}
else
{
SDT = SAdapter.SelectBY_NAME(label8.Text);
if (SDT.Rows.Count > 0)
{
SDT = SAdapter.SelectBY_NAME(label8.Text);
SUMDT = SUMAdapter.SelectTotla();
54
lblqnt.Text = SUMDT.Rows[0]
["qnt"].ToString();
lbltprice.Text = SUMDT.Rows[0]
["Tprice"].ToString();
}
else
{
MessageBox.Show("No Enought Quantity",
"Medical system");
}
}
}
}
StockAdapter.StockMst_SELL_Update_Quantity(Convert.ToInt32(SDT.Rows[i]
["Quantity"].ToString()), Convert.ToDouble(SDT.Rows[i]
["TPrice"].ToString()),SDT.Rows[i]["IName"].ToString());
}
gvsales.DataSource= null;
}
gpdispatch.Visible = false;
}
55
}
}
}
}
}
}
SELL REPORT:-
using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Data;
using System.Drawing;
using System.Linq;
using System.Text;
using System.Windows.Forms;
using System.Data.SqlClient;
namespace MEDICAL
{
public partial class SellReport : Form
{
//DS.DS_STOCK.StockMst_SelectDataTable SDT = new
DS.DS_STOCK.StockMst_SelectDataTable();
//DS.DS_STOCKTableAdapters.StockMst_SelectTableAdapter SAdapter =
new DS.DS_STOCKTableAdapters.StockMst_SelectTableAdapter();
//DS.DS_ITEM.StockInMst_SelectDataTable IDT = new
MEDICAL.DS.DS_ITEM.StockInMst_SelectDataTable();
//DS.DS_ITEMTableAdapters.StockInMst_SelectTableAdapter IAdapter =
new MEDICAL.DS.DS_ITEMTableAdapters.StockInMst_SelectTableAdapter();
}
}
}
57
STOCK:-
using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Data;
using System.Drawing;
using System.Linq;
using System.Text;
using System.Windows.Forms;
using System.Data.SqlClient;
namespace MEDICAL
{
public StockReport()
{
InitializeComponent();
}
58
con.Open();
SqlDataReader reader = cmd.ExecuteReader();
AutoCompleteStringCollection SCollection = new
AutoCompleteStringCollection();
while (reader.Read())
{
SCollection.Add(reader.GetString(0));
}
txtiname.AutoCompleteCustomSource = SCollection;
con.Close();
}
}
}
TOTAL STOCK:-
using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Data;
using System.Drawing;
using System.Linq;
using System.Text;
using System.Windows.Forms;
using System.Data.SqlClient;
namespace MEDICAL
{
public partial class TotalStockReport : Form
{
DS.DS_STOCK.StockMst_SelectDataTable SDT = new
DS.DS_STOCK.StockMst_SelectDataTable();
DS.DS_STOCKTableAdapters.StockMst_SelectTableAdapter SAdapter = new
DS.DS_STOCKTableAdapters.StockMst_SelectTableAdapter();
59
DS.DS_ITEM.StockInMst_SelectDataTable IDT = new
MEDICAL.DS.DS_ITEM.StockInMst_SelectDataTable();
DS.DS_ITEMTableAdapters.StockInMst_SelectTableAdapter IAdapter = new
MEDICAL.DS.DS_ITEMTableAdapters.StockInMst_SelectTableAdapter();
public TotalStockReport()
{
InitializeComponent();
}
//SDT = SAdapter.SelectBY_INAME(txtiname.Text);
SDT = SAdapter.SelectBY_INAME(txtiname.Text);
GVReports.DataSource = SDT;
}
SDT = SAdapter.SelectStock();
GVReports.DataSource = SDT;
6.7 OUTPUT
60
LOG IN:
USERS
61
62
63
64
65
7. SOFTWARE TESTING
66
8. VALIDATION
The process of validation generally occurs as one step or multiple steps of the
process, usually in stages and it is used to determined if the project is meeting
specification.
67
9. SYSTEM SECURITY MEASURES
In this system, several measures have been taken to provide some security.
Loss of confidentiality is reduced to a great extent.
He/She has the full authority to add or delete user to and from the system
respectively. The software used for this system include the username and
password, so the security is provided.
When anyone opens the software it has the provision for entering username
and password. We have to enter the correct username and password; otherwise
we cannot enter into the system. Username and Password is saved in system
database for security.
68
10. IMPLEMENTATION AND MAINTENANCE
69
11.FUTURE PROJECT SCOPE OF THE
Our “Medical Shop Management System” is according to the need of the
organization. Though the project is made by considering the users name there
are some limitations of the project, which can be modified in the future.
The programmer, while creating any project needs to keep in mind that, not
only the user requirements of the present project but also the future scope of
the project, that is, the expansion of the project to meet more user
requirements .
We have kept this in mind and prepared the project more exclusively to be
more user friendly, advanced, requirements of the current IT age. Our project
also has other facilities that make it easy to use and implement in the day-to-
day life.
70
12. SUGGESTIONS AND CONCLUSIONS
This system is user-friendly software for service provider. It has been designed
to automate, manage and look after the over-all processing.
In order to allow for future expansion, the system has been designed in such a
way that will allow possible modification has it may deem necessary by the
medicine store management, whenever the idea arises.
71
13. BIBLIOGRAPHY AND REFERENCES
BOOKS AUTHOR
C# 5.0 IN A NUTSHEL JOSEPH ALBAHARI
HEAD FIRST C# JENNIFER GEENE
MURACHS C# 2012 JOEL MURACH.
REFERENCE:
www.codeproject.com
www.developers.com
www.codecademy.com
72