Академический Документы
Профессиональный Документы
Культура Документы
A
PROJECT REPORT
ON
Mango Enterprises
ACKNOWLEDGMENT
Acknowledgement
The satisfaction that accompanies that the successful completion of any task
would be incomplete without the Mention of people whose ceaseless
cooperation made it possible, whose constant guidance and encouragement crown
all effort with success.
In particular, I like to thank for the blessing to our Principal
Dr. N. N. Shere who have always been source of inspiration. I wish to thanks Prof.
S. B. Datar (In-Charge of Computer Science and Information Technology
Department) for having faith in this project idea and granted support in all direction.
We also thank our colleagues who have helped in successful completion of the
project.
CERTIFICATE
Certified By
Date:-
SYNOPSIS
MAIN
REPORT
INDEX
Sr. No. Name of Topics
1 Introduction
1.1 Organizational Overview
1.2 Introduction to System
3 System Development
3.1 Gantt Chart
3.2 Event Table
3.3 Entity Relationship Diagram
3.4 Class Diagram
3.5 Use Case Diagram
3.6 Sequence Diagram
3.7 State Chart Diagram
3.8 Activity Diagram
3.9 Component Diagram
3.10 Package Diagram
3.11 Deployment Diagram
3.12 Menu Tree
4 Program List
5 Table List
6 Report List
7 System Testing And Convention
8 Data Entry Form
9 Coding Convention
10 Source Code
11 Screen Layout With Test Data & Test Result
12 Report Layout
13 References, Bibliography, Website
INTRODUCTION
1. Introduction
1.1 Organizational Profile
The Mango House is the fastest growing shop in the mango business.
The project Mango Enterprises is for Mango House shop which is situated in
Alibag. Mr. Nilesh Patil is the owner of Mango House shop. He started their
business in 2007.They are dealing with selling different types of mangoes such
as Alphanso, totapuri, keshar, pairi etc.
Employee History
Fast Employee Search
Report Manager
Over 6 reports
Daily, weekly, yearly and year-to-date reports
Daily sales and daily collection reports
Security Manager
efforts.
OPERATIONAL FEASIBILITY
Proposed projects are beneficial only if they can be turned into
information systems that will meet the organizations operating requirements.
Simply stated, this test of feasibility asks if the system will work when it is
developed and installed. Are there major barriers to Implementation? Here are
questions that will help test the operational feasibility of a project:
Is there sufficient support for the project from management from users? If
the current system is well liked and used to the extent that persons will not
be able to see reasons for change, there may be resistance.
Are the current business methods acceptable to the user? If they are not,
Users may welcome a change that will bring about a more operational and
useful systems.
Have the user been involved in the planning and development of the
project?
Early involvement reduces the chances of resistance to the system and in
General and increases the likelihood of successful project.
Since the proposed system was to help reduce the hardships encountered in the
existing manual system, the new system was considered to be operational
feasible.
ECONOMIC FEASIBILITY
Economic feasibility attempts 2 weigh the costs of developing and
implementing a new system, against the benefits that would accrue from having
the new system in place. This feasibility study gives the top management the
economic justification for the new system.
A simple economic analysis which gives the actual comparison of costs
and benefits are much more meaningful in this case. In addition, this proves to
be a useful point of reference to compare actual costs as the project progresses.
There could be various types of intangible benefits on account of automation.
These could include increased patient satisfaction, improvement in product
quality better decision making timeliness of information, expediting activities,
improved accuracy of operations, better documentation and record keeping,
faster retrieval of information, better employee morale.
Storage Media: In the existing system, data transaction being stored on too
long registers it is very difficult to refer after some time.
Reports: At the various reports are tabulated manually. They are not such
attractive and require more time.
Hardware Requirement:
Processor: Core 2 Duo or later
RAM: 2 GB Minimum
HD Space: 40 GB Minimum free space
Monitor Resolution: 1024 x 768
DVD R/RW
System Development
v Expected Date
v Actual Date
Preliminary
Study
System Analysis
System Design
System Design
System
Implementation
1st Dec 2016 15th Dec 2016 2nd Jan 2017 28th Jan 2017 23rd Feb 2017
Cardinalities are the symbols to show how one entity is related to the other.
One to One
One to Many
Class diagram depicts the system object structure, and then shows
object classes that a system is composed of as well as the relationship
between those object classes. It is a graphical model that shows all the
classes of objects in the system in the object oriented approach. It
represents the static view of an application. Class diagram is not only
used for visualizing, describing and documenting different aspects of the
system but also for constructing executable code of the software
application.
Class Diagram:
Scenario
1. User
a. Login
b. Maintained selling products
c. Generate bills
d. Generate Reports
2. Admin
a. Login
b. Maintain Price
c. Paid Supplier Bill
d. Maintained Inventory
e. Generate Purchase Order
Notations:
A dotted line is
Object2 dropped from each
Lifeline
object in the
sequence diagram
To indicate that an
object is executing,
Active the lifeline is drawn
as thin rectangle.
A horizontal arrow
Message represents a message
sent from one object
Sequence Diagram
Sequence Diagram for sale product
Notations:
State
State
State Diagram
It represents an operation.
Solid black dot represents the
Activity State beginning of the activity
, diagram and double circle
represents the ending of the
activity diagram.
Activity diagram
1. Tabbed rectangle
2. Dashed arrow
Package Diagram
Mango Enterprises
Login Product
sale Reports
Bill
Customer
Each box in the diagram is the symbol for the node which in most cases
a piece of hardware. The hardware may be PC, mainframe printer or even a
sensor. Software that resides on the node is represented by the component
symbol. The lines connecting the node indicate a communication path between
two devices.
Master
user
client
item
customer
Search
Transaction
Purchase
Sale
Reports
Sales
Item
Purchase
Stock
About us
Exit
4 Program List
Sr. No From Name Function
1 Main It consist of menus for other form
opening
2 User It is Used to add the User, delete the user
and for changing password
3 Login It allow authenticated user to enter the
system
4 About US It is used to give the information about
the project developer
5 Customer It is used to give the information about
the customer
6 Supplier It is used to give the information about
the supplier
7 Search It is used to search product
8 Purchase It is used to give the information about
the purchase
9 Sale It is used to give the information about
the sales product
5 Table List
Customer Table
Item Table
Login table
Purchase Table
Sale Table
Supplier
5. Report List
Employee Report
Bill Report
Customer Report
Booking Report
Conclusion
The purpose of this Test Case is to specify and communicate the specific
conditions which need to be validated to enable an assessment of the system.
Test Cases:
“A test case has components that describe an input, action or event and an
expected response, to determine if a feature of an application is working
correctly.”
Conclusion
The purpose of this Test Case is to specify and communicate the specific
conditions which need to be validated to enable an assessment of the system.
Test Cases:
“A test case has components that describe an input, action or event and an
expected response, to determine if a feature of an application is working
correctly.”
Conclusion
The purpose of this Test Case is to specify and communicate the specific
conditions which need to be validated to enable an assessment of the system.
Test Cases:
“A test case has components that describe an input, action or event and an
expected response, to determine if a feature of an application is working
correctly.”
Conclusion
The purpose of this Test Case is to specify and communicate the specific
conditions which need to be validated to enable an assessment of the system.
Authentication Form
Username:
Password:
Level:
Login Exit
Employee Form
Empid:
Employee name:
Address:
Designation
Salary
Contact No
Bill Form
Bill No:
Customer name:
Address:
Order Date
Bill date
Bill Amount
9. Coding Convention
Introduction
Your code will have a consistent look, so that readers can better focus
on content, not layout.
Readers understand your code more quickly because they can make
assumptions based on previous experience.
You can copy, change, and maintain the code more easily.
You help ensure that your code demonstrates "best practices" for Visual
Basic.
b. Use appropriate prefix for each of the ui element. A brief list is given
below. Since .NET has given several controls, you may have to arrive at a
complete list of standard prefixes for each of the controls (including third
party controls) you are using.
Your code will have a consistent look, so that readers can better focus
on content, not layout.
Readers understand your code more quickly because they can make
assumptions based on previous experience.
You can copy, change, and maintain the code more easily.
You help ensure that your code demonstrates "best practices" for Visual
Basic.
1. // Correct
2. int counter;
3. string name;
4.
5. // Avoid
6. int iCounter;
7. string strName;
1. // Correct
2. public static const string ShippingType = "DropShip";
3.
4. // Avoid
5. public static const string SHIPPINGTYPE = "DropShip";
1. // Correct
2. UserGroup userGroup;
3. Assignment employeeAssignment;
4.
5. // Avoid
6. UserGroup usrGrp;
7. Assignment empAssignment;
8.
9. // Exceptions
10. CustomerId customerId;
11. XmlDocument xmlDocument;
12. FtpHelper ftpHelper;
13. UriPart uriPart;
1. HtmlHelper htmlHelper;
2. FtpTransfer ftpTransfer;
3. UIControl uiControl;
Do not use Underscores in identifiers. Exception: you can prefix private static
variables
with an underscore.
1. // Correct
2. public DateTime clientAppointment;
3. public TimeSpan timeLeft;
4.
5. // Avoid
6. public DateTime client_Appointment;
7. public TimeSpan time_Left;
8.
9. // Exception
10. private DateTime _registrationDate;
use predefined type names instead of system type names like Int16, Single, UInt64,
etc
1. // Correct
2. string firstName;
3. int lastIndex;
4. bool isSaved;
5.
6. // Avoid
7. String firstName;
8. Int32 lastIndex;
9. Boolean isSaved;
use implicit type var for local variable declarations. Exception: primitive types (int,
string,
double, etc) use predefined names.
1. // Correct
2. class Program
3. {
4. static void Main(string[] args)
5. {
6. }
7. }
10. S o u r c e C o d e
Splash.cs
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 Mango
{
public partial class splash : Form
{
public splash()
{
InitializeComponent();
}
}
}
Login.cs
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 Mango
{
public partial class login : Form
{
public login()
{
InitializeComponent();
}
}
}
btnadd.Enabled = true;
if (txtcustid.Text != "" & cmb1.Text != "" & txtmname.Text != "" &
txtadd.Text != "" & txtcno.Text != "")
{
con.Close();
con.Open();
string qry = "insert into customer values ('" + txtcustid.Text
+ "','" + txtmname.Text + "','" + txtadd.Text + "','" + txtcno.Text +
"','"+cmb1.Text +"')";
SqlCommand cmd = new SqlCommand(qry, con);
cmd.ExecuteNonQuery();
cmd.Clone();
loadlist();
MessageBox.Show("Records Inserted");
con.Close();
clear();
}
if (e.RowIndex >= 0)
{
DataGridViewRow row = this.dgv1.Rows[e.RowIndex];
txtcustid.Text = row.Cells[0].Value.ToString();
txtmname.Text = row.Cells[1].Value.ToString();
txtadd.Text = row.Cells[2].Value.ToString();
txtcno.Text = row.Cells[3].Value.ToString();
cmb1.Text = row.Cells[4].Value.ToString();
}
}
}
}
Main.cs
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 Mango
{
public partial class Form1 : Form
{
public Form1()
{
InitializeComponent();
}
l.Show();
}
}
}
Item.cs
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 Mango
{
public partial class item : Form
{
SqlConnection con = new SqlConnection(@"Data Source=.\sqlexpress;Initial
Catalog=Mango;Integrated Security=True");
DataTable table = new DataTable();
SqlCommand cmd;
SqlDataReader dr;
public item()
{
InitializeComponent();
}
con.Open();
SqlCommand cmd = con.CreateCommand();
cmd.CommandType = CommandType.Text;
cmd.CommandText = "select * from item";
cmd.ExecuteNonQuery();
DataTable dt = new DataTable();
SqlDataAdapter da = new SqlDataAdapter(cmd);
da.Fill(dt);
dgv1.DataSource = dt;
con.Close();
}
private void clear()
{
txtid.Text = "";
txtname.Text = "";
txtqty.Text = "";
cmb1.Text = "";
txtprate.Text = "";
txtsrate.Text = "";
txtunit.Text = "";
txtamt.Text = "";
}
con.Close();
con.Open();
string qry = "insert into item values ('" + txtid.Text + "','" + txtname.Text +
"','" + cmb1.Text + "','" + txtunit.Text + "','" + txtqty.Text + "','" + txtprate.Text + "','"
+ txtsrate.Text + "','" + txtamt.Text + "')";
SqlCommand cmd = new SqlCommand(qry, con);
cmd.ExecuteNonQuery();
cmd.Clone();
loadlist();
MessageBox.Show("Records Inserted");
con.Close();
clear();
}
}
con.Open();
string qry = "delete from item where icode ='" + txtid.Text + "'";
SqlCommand cmd = new SqlCommand(qry, con);
cmd.ExecuteNonQuery();
cmd.Clone();
loadlist();
MessageBox.Show("Record Deleted");
txtid.Text = "";
con.Close();
}
int a = Convert.ToInt32(txtqty.Text);
int b = Convert.ToInt32(txtprate.Text);
int d = a + b;
txtamt.Text = d.ToString();
dgv1.Visible = false;
button1.Visible = false;
btnbrowse.Visible = true;
}
}
}
Customer.cs
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 Mango
{
public partial class customer : Form
{
SqlConnection con = new SqlConnection(@"Data Source=.\sqlexpress;Initial
Catalog=Mango;Integrated Security=True");
DataTable table = new DataTable();
public customer()
{
InitializeComponent();
}
da.Fill(dt);
dgv1.DataSource = dt;
con.Close();
}
private void clear()
{
txtcustid.Text = "";
txtmname.Text = "";
txtadd.Text = "";
txtcno.Text = "";
cmb1.Text = "";
}
con.Close();
con.Open();
string qry = "insert into customer values ('" + txtcustid.Text + "','" +
txtmname.Text + "','" + txtadd.Text + "','" + txtcno.Text + "','" + cmb1.Text + "')";
SqlCommand cmd = new SqlCommand(qry, con);
cmd.ExecuteNonQuery();
cmd.Clone();
loadlist();
MessageBox.Show("Records Inserted");
con.Close();
clear();
}
}
Supplier.cs
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 Mango
{
public partial class supplier : Form
{
SqlConnection con = new SqlConnection(@"Data Source=.\sqlexpress;Initial
Catalog=Mango;Integrated Security=True");
DataTable table = new DataTable();
public supplier()
{
InitializeComponent();
}
private void loadlist()
{
con.Close();
con.Open();
SqlCommand cmd = con.CreateCommand();
cmd.CommandType = CommandType.Text;
cmd.CommandText = "select * from supplier";
cmd.ExecuteNonQuery();
DataTable dt = new DataTable();
SqlDataAdapter da = new SqlDataAdapter(cmd);
da.Fill(dt);
dgv1.DataSource = dt;
con.Close();
}
private void clear()
{
txtcustid.Text = "";
txtmname.Text = "";
txtadd.Text = "";
txtcno.Text = "";
cmb1.Text = "";
}
con.Close();
con.Open();
string qry = "insert into supplier values ('" + txtcustid.Text + "','" +
txtmname.Text + "','" + txtadd.Text + "','" + txtcno.Text + "','" + cmb1.Text + "')";
SqlCommand cmd = new SqlCommand(qry, con);
cmd.ExecuteNonQuery();
cmd.Clone();
loadlist();
MessageBox.Show("Records Inserted");
con.Close();
clear();
}
}
MessageBox.Show("Record Updated");
clear();
con.Close();
}
Search.cs
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 Mango
{
public partial class search : Form
{
SqlConnection con = new SqlConnection(@"Data Source=.\sqlexpress;Initial
Catalog=Mango;Integrated Security=True");
DataTable table = new DataTable();
public search()
{
InitializeComponent();
hide1();
}
con.Close();
con.Open();
SqlCommand cmd = con.CreateCommand();
cmd.CommandType = CommandType.Text;
cmd.CommandText = "select * from customer where custname like'%" +
txtcust.Text + "%'";
cmd.ExecuteNonQuery();
DataTable dt = new DataTable();
SqlDataAdapter da = new SqlDataAdapter(cmd);
da.Fill(dt);
dgv1.DataSource = dt;
con.Close();
}
dgv3.Visible = true ;
btnSearchSup.Visible = false ;
btnProdSearch.Visible = true ;
dgv2.Visible = false ;
txtcust.Focus();
}
}
}
}
Stock.cs
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 Mango
{
public partial class stock : Form
{
public stock()
{
InitializeComponent();
}
this.reportViewer1.RefreshReport();
}
}
}
Umange.cs
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 Mango
{
public partial class umanage : Form
{
SqlConnection con = new SqlConnection(@"Data Source=.\sqlexpress;Initial
Catalog=Mango;Integrated Security=True");
DataTable table = new DataTable();
public umanage()
{
InitializeComponent();
}
con.Open();
string qry = "insert into login(uid,fname,lname,uname,pass,permission)
values('" + txtuid.Text + "','" + txtfname.Text + "','" + txtlname.Text + "','" +
txtuname.Text + "','" + txtpass.Text + "','" + cbopermission.Text + "')";
SqlCommand cmd = new SqlCommand(qry, con);
cmd.ExecuteNonQuery();
cmd.Clone();
loadlist();
MessageBox.Show("Records Inserted");
cls();
con.Close();
}
}
private void cls()
{
txtuid.Text = "";
txtfname.Text = "";
txtlname.Text = "";
txtpass.Text = "";
txtuname.Text = "";
cbopermission.Text = "";
txtconpass.Text = "";
}
private void loadlist()
{
con.Close();
con.Open();
SqlCommand cmd = con.CreateCommand();
cmd.CommandType = CommandType.Text;
cmd.CommandText = "select * from login";
cmd.ExecuteNonQuery();
DataTable dt = new DataTable();
int indexrow;
SqlDataAdapter da = new SqlDataAdapter(cmd);
da.Fill(dt);
dgv1.DataSource = dt;
con.Close();
}
}
}
Splash Screen
Login
Main form
Product
Client
User table
Search
Purchase
Sale
Report Layout
Sale Report
Purchase Report
Product
Stock
References
Bibliography
Website
Books:
Beginning Visual C# 2010, K. Watson, Wrox
Websites
http://stackoverflow.com
https://www.codeproject.com
http://www.c-sharpcorner.com