Beruflich Dokumente
Kultur Dokumente
A Project Report
Submitted in partial fulfilment of the
Requirement for the award of the degree of
Designation
1
TEXTILE MANAGEMENT SYSTEM
CERTIFICATE
External Examiner
2
TEXTILE MANAGEMENT SYSTEM
ABSTRACT
Content
3
TEXTILE MANAGEMENT SYSTEM
ACKNOWLEDGEMENT
The acknowledgement should be in times new roman,
4
TEXTILE MANAGEMENT SYSTEM
DECALARATION
Content
5
TEXTILE MANAGEMENT SYSTEM
TABLE OF CONTENTS
SR NO. Contents Page no.
1 Introduction 1-4
1.1 Background
1.2 Objective
1.3 Purpose and scope
1.2.1 purpose
2 Survey Of Technology 5-8
3 System Analysis 9-18
3.1 Existing System
3.2 Proposed System
3.3 Requirement Analysis
3.4 Hardware Requirement
3.5 Software Requirement
3.6 Justification of Selection Of Technology
4 System Design 19-32
4.1 Module Division
4.2 Data Dictionary
4.3 ER Diagram
4.4 DFD Diagram
5 Implantation And Testing
6
7
6
TEXTILE MANAGEMENT SYSTEM
CHAPTER-1
INTRODUCTION
1.1 BACKGROUND
It is a software project which is designed to simplify the process of textile
processing Company. In textile processing company, there are lots of calculations like
purchasing raw material, sales, profit, loss, worker`s salary etc. This project also consists of
details, delivery completions details and generates reports.
So, the owner can have all these details in his personal computers rather than having
Hundreds of registers.
The Textile Management System is end user application software. This project helps The
textile company to handle those tasks that had been handled manually. The tasks like:
7
TEXTILE MANAGEMENT SYSTEM
We plan to develop an application that reduces the manual work of staff workers.
Make an application that can be used from any machine in the LAN.
Make an application that give access to different department per their departments
to their rights.
Application saves the data in the database in universal XML format.
Reduce errors caused by manual processing of data.
Reduces the chance of stealing the information.
PURPOSE
1.3 OBJECTIVES
The existing system of the current textile industries needs to be computerised
which would result in fast, easy and smooth working. A new system need to be introduces
for such industries where all departments are interlinked. Each department should be
automated as separate interdependent module into application.
While application room reservation data. All necessary validation should be
performed. For example, the system should check whether the rooms of a specific type are
available for the duration specified by the customer.
8
TEXTILE MANAGEMENT SYSTEM
1.4 ACHIEVEMENTS
1. How to study project needs and requirements.
3. Familiar with technologies like Asp.net, C#, Ajax, SQL, Html, JavaScript.
9
TEXTILE MANAGEMENT SYSTEM
CHAPTER-2
SURVEY OF TECHNOLIES
2.1 EXISTING SYSTEM
Multiuser environment is provided. In this when one user is updating a form; the other
user cannot open the same form to avoid conflicts.
Security to the data is provided by means of Login Form. Only authorized users can
have access to the system.
The system allows user to maintain records of customers, suppliers, their orders, raw
materials, stock availability as well as bill generation.
This system also allows users to generate Customer reports, Suppliers reports, sales
and purchase reports as well as raw material`s reports in the form of crystals reports.
Easy to search and update Customer or supplier records by their Id.
10
TEXTILE MANAGEMENT SYSTEM
the faster and more powerful your computer is better as suggest that an ideal
Intel Pentium P4
256 MB of memory
Realistically though, software be run with more modest configuration and still provide
reasonably performance. The minimum that you need so that the preformation adequate is
The experiences about these software / technologies are discussed in details in next section.
11
TEXTILE MANAGEMENT SYSTEM
FRONT END:
BACK END:
MICROSOFT SQL SERVER 2012
Microsoft SQL 2005 is a relational database management system from Microsoft. Its primary
components are SQL OS implementing basic services required for server, including thread
scheduling
12
TEXTILE MANAGEMENT SYSTEM
Chapter -3
Maintaining detail-
There are many more departments in the textile industry in the textile industry
where all the data maintaining in hand written register is too difficult at time of
adding data or retrieving data.
Absence of validation-
As the storage and exchange of data is achieved only by user of register, which
lack validation problem.
No security facility-
There is no security to handle the department data. Anyone can manipulate the
data.
Update problem-
There is problem with updating of particular record for ex. They are not able to
recollect the details of the previous customers, Employees, etc.
13
TEXTILE MANAGEMENT SYSTEM
14
TEXTILE MANAGEMENT SYSTEM
GRANT CHART
ANALYSIS DESIGN
15
TEXTILE MANAGEMENT SYSTEM
Design phase
Planning Execution
16
TEXTILE MANAGEMENT SYSTEM
PERT CHART
PERT (program (or project) evaluation and review technique) is a method to analyze the
involved tasks in completing a given project, especially the time needed to completed each
task, and to identify the minimum time needed to completed the total project.
--PERT was developed primary to simplify the planning and
Analysis
Finish
Design Code
GUI GUI
Install
17
TEXTILE MANAGEMENT SYSTEM
ADVANTAGES
PERT facilities identification of the critical path and makes this visible.
PERT facilities identification of early start, late start, and slack for each
activity.
PERT provided for potentially reduced project duration due to better
understanding of dependencies leading to improved overlapping of activities
and tasks where feasible.
The large amount of project data can be organized & presented in diagram for
use in decision making.
18
TEXTILE MANAGEMENT SYSTEM
Places Stock
customer
details Customer details
Admin Places
customer Customer_ order
order
Generates
Customer_ bill
customer
bill
Supplier details
Enter
Admin
Stock
s Stock
Details
19
TEXTILE MANAGEMENT SYSTEM
Enter stock
supplier
Supplier details
details
Enter
admin supplier Supplier materi
materials
Places
supplier Supplier_order
order
Generates
supplier Suppier_bill
bill
20
TEXTILE MANAGEMENT SYSTEM
E-R DIAGRAM
total
name
advance
material
Customer_n bill id
a Bill_no
date
quantity
Order
balance
Order_id advance
idid
Supplier_nam
eme
Genera
Suppli tes
Supplier_order er
Sales Report
Supplier_id
Order_id
password
User_id
Purchase Report
User_name
Contact_no
Customer_detai
mainta
Supplier_details ls
ins email
address
Customer_na
Supplier_id
me Customer_id
address
Contact_no Supplier_name
mme
21
TEXTILE MANAGEMENT SYSTEM
Customer details
+customerorderdetails
Customer order
+Newcustomerorder
+updatecustomerorder +addcustomerorder
+updatecustomer
+viewcustomerorder
Stock
ADMIN +addstock +updatestock
+addadmin +deletestock +viewstock
+deleteadmin +viewadmin
+updateadmin
Supplier_order
+addsupplierorder
+updatesupplierorder
+deletesupplierorder
Materials +viewsupplierorder
+Addmaterial
+deletematerial
+updatematerial Supplier
+viewmaterial
+addsupplier
+updatesupplier
+deletesupplier
+viewsupplier
22
TEXTILE MANAGEMENT SYSTEM
CHAPTER -4
SYSTEM DESIGN
MDI Form:
This form acts as container for all other forms.
It contains main menu having submenus like Customer Details, Supplier
Details, etc.
23
TEXTILE MANAGEMENT SYSTEM
24
TEXTILE MANAGEMENT SYSTEM
New Button: It allows user to clear all the fields of the form.
Calculate Button: It allows user to calculate total expenses based on
quantity and rate entered by the user.
Delete Button: delete the form.
Update Button: it allows user to update the record and save to database.
25
TEXTILE MANAGEMENT SYSTEM
Data base design is the organisation of data according to a database model. The
designer determines what data must be stored and how the data element interfaces.
With this information, they can begin to fit the data to the database model.
Data design involves classification data and identifying interrelationship. This
theoretical representation of the data is called ontology. The ontology is the theory
behind the database design.
26
TEXTILE MANAGEMENT SYSTEM
Description: This table stores the details about the users of the system.
27
TEXTILE MANAGEMENT SYSTEM
28
TEXTILE MANAGEMENT SYSTEM
supplier
Supplier_mob bigint It stores the mob no
Supplier_mob2 Bigint It stores the mob no 2
GST Bigint It stores the GST no
29
TEXTILE MANAGEMENT SYSTEM
30
TEXTILE MANAGEMENT SYSTEM
Admin Customer
Textile
management
system
Supplier Stock
31
TEXTILE MANAGEMENT SYSTEM
Customer details
Supplier details
Admin
Material details
Stock details
Purchase order
32
TEXTILE MANAGEMENT SYSTEM
Component diagram
Supplier_details
+supp_id integer
+supp_name:string
Supplierordercompo
nent
+supplier_bill_no:da
Stockcomponent tetime
+material_id: integer
+avail_qty: integer
Customerordercomp
onent
_customer_bill_no:
integer
33
TEXTILE MANAGEMENT SYSTEM
ACTIVITY DIAGRAM
LOGIN
ENTER
CUSTOMER
SEARCH MATERIAL
MATERIAL PURCHAS
BILL GENERATE
RECEIVE PAYMENT
34
TEXTILE MANAGEMENT SYSTEM
Before storing the information, you need design a database structure. Each
database has following elements.
Filed :- contains one portion of the data, also known as column.
DATABASE TABLE
Preparatory process
Preparatory
Process involves
Ginning, blending
Carding, combing
Drawing
35
TEXTILE MANAGEMENT SYSTEM
SECURITY ARCHITECURES
Security architecture is the organization of security
controls in order to achieve its enablement and control objectives that
address security risks to information, information systems, and
information processing facilities. This templates provides a life-cycle
oriented, risk-driven, defence-in-depth, and traceability assured
methodology to information security architecture.
36
TEXTILE MANAGEMENT SYSTEM
Chapter -5
HOME PAGE
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 WindowsFormsApplication1
{
public partial class Home : Form
{
public Home()
{
InitializeComponent();
}
37
TEXTILE MANAGEMENT SYSTEM
38
TEXTILE MANAGEMENT SYSTEM
39
TEXTILE MANAGEMENT SYSTEM
this.Hide();
CustomerBill si = new CustomerBill();
si.ShowDialog();
}
}
}
40
TEXTILE MANAGEMENT SYSTEM
Login 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.Sql;
using System.Data.OleDb;
using System.Data.SqlClient;
namespace WindowsFormsApplication1
{
public partial class Login : Form
{
public Login()
{
InitializeComponent();
41
TEXTILE MANAGEMENT SYSTEM
}
con.Close();
}
}
}
}
42
TEXTILE MANAGEMENT SYSTEM
Reset password
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 WindowsFormsApplication1
{
public partial class ResetPassword : Form
{
SqlConnection con = new SqlConnection(@"Data Source=DESKTOP-
2O8FVUK\SQLEXPRESS;" + "Initial catalog=TextileManage;" + "Integrated
Security=True");
public ResetPassword()
{
InitializeComponent();
}
43
TEXTILE MANAGEMENT SYSTEM
if (comp.Equals("YES"))
{
String newuid = textBox4.Text;
String newpass = textBox5.Text;
SqlDataAdapter ddd = new SqlDataAdapter();
ddd.UpdateCommand = new SqlCommand("UPDATE login SET userid='" +
textBox4.Text + "',password='" + textBox5.Text+"'", con);
con.Open();
ddd.UpdateCommand.ExecuteNonQuery();
con.Close();
}
else
{
MessageBox.Show("Invalid Login please check username and password");
}
}
}
}
44
TEXTILE MANAGEMENT SYSTEM
Supplier 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;
using System.Text.RegularExpressions;
namespace WindowsFormsApplication1
{
45
TEXTILE MANAGEMENT SYSTEM
sqlCon.Open();
SqlDataAdapter sqlDa = new SqlDataAdapter("SELECT Sup_Id AS
SupplierID,SName AS SupplierName,SAddress Address,SEmail AS EmailID,SMob AS
MobileNumber1,SMob2 AS MobileNumber2,GST AS GSTNO FROM supplier_data",
sqlCon);
DataTable dtbl = new DataTable();
sqlDa.Fill(dtbl);
dataGridView1.DataSource = dtbl;
}
}
46
TEXTILE MANAGEMENT SYSTEM
else
{
con.Open();
SqlCommand cmd = con.CreateCommand();
cmd.CommandType = CommandType.Text;
cmd.CommandText = "insert into supplier_data values ('" + textBox1.Text + "','" +
textBox2.Text + "','" + textBox3.Text + "'," + Convert.ToInt64(textBox4.Text) + "," +
Convert.ToInt64(textBox5.Text) + "," + Convert.ToInt64(textBox6.Text) + ")";
cmd.ExecuteNonQuery();
con.Close();
this.Hide();
SupplierInfo si = new SupplierInfo();
si.ShowDialog();
}
}
47
TEXTILE MANAGEMENT SYSTEM
48
TEXTILE MANAGEMENT SYSTEM
con.Close();
this.Hide();
SupplierInfo si = new SupplierInfo();
si.ShowDialog();
}
}
49
TEXTILE MANAGEMENT SYSTEM
if (!isEmailValid)
{
label10.Text = "Alphabets";
}
else
{
label10.Text = "";
}
}
50
TEXTILE MANAGEMENT SYSTEM
{
string patt = @"^[0-9]{10}$";
bool isEmailValid = Regex.IsMatch(textBox4.Text, patt);
if (!isEmailValid)
{
label13.Text = "10 digit mobile number";
}
else
{
label13.Text = "";
}
}
51
TEXTILE MANAGEMENT SYSTEM
52
TEXTILE MANAGEMENT SYSTEM
53
TEXTILE MANAGEMENT SYSTEM
this.Hide();
Material si = new Material();
si.ShowDialog();
}
54
TEXTILE MANAGEMENT SYSTEM
}
}
55
TEXTILE MANAGEMENT SYSTEM
Material 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;
using System.Text.RegularExpressions;
namespace WindowsFormsApplication1
{
}
con.Close();
}
private void label2_Click(object sender, EventArgs e)
{
56
TEXTILE MANAGEMENT SYSTEM
con.Open();
SqlCommand cmd1 = con.CreateCommand();
cmd1.CommandType = CommandType.Text;
cmd1.CommandText = "select Prize AS TOT,SalePrize AS TOT1 from material_data
where MId=" + ssid;
SqlDataReader rd = cmd1.ExecuteReader();
while (rd.Read())
{
label4.Text = rd["TOT"].ToString()+"/-";
label7.Text = rd["TOT1"].ToString()+"/-";
}
con.Close();
}
57
TEXTILE MANAGEMENT SYSTEM
}
con.Close();
}
58
TEXTILE MANAGEMENT SYSTEM
59
TEXTILE MANAGEMENT SYSTEM
60
TEXTILE MANAGEMENT SYSTEM
Customer 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;
using System.Text.RegularExpressions;
namespace WindowsFormsApplication1
{
public partial class CustomerInfo : Form
{
SqlConnection con = new SqlConnection(@"Data Source=DESKTOP-
2O8FVUK\SQLEXPRESS;" + "Initial catalog=TextileManage;" + "Integrated
Security=True");
public CustomerInfo()
{
InitializeComponent();
bind();
}
public void bind()
{
String connectionString = "Data Source=DESKTOP-
2O8FVUK\\SQLEXPRESS;Initial Catalog=TextileManage;Integrated Security=True;";
using (SqlConnection sqlCon = new SqlConnection(connectionString))
{
sqlCon.Open();
SqlDataAdapter sqlDa = new SqlDataAdapter("SELECT CId AS
CustomerID,CName AS CustomerName,CAddress AS Address,CEmail AS EmailID,CMob
AS MobileNumber FROM customer_data", sqlCon);
DataTable dtbl = new DataTable();
sqlDa.Fill(dtbl);
dataGridView1.DataSource = dtbl;
}
}
61
TEXTILE MANAGEMENT SYSTEM
}
}
62
TEXTILE MANAGEMENT SYSTEM
con.Open();
ddd.UpdateCommand.ExecuteNonQuery();
con.Close();
this.Hide();
CustomerInfo si = new CustomerInfo();
si.ShowDialog();
}
}
con.Close();
this.Hide();
CustomerInfo si = new CustomerInfo();
si.ShowDialog();
}
}
63
TEXTILE MANAGEMENT SYSTEM
{
string patt = @"^[a-zA-Z\s]+$";
bool isEmailValid = Regex.IsMatch(textBox1.Text, patt);
if (!isEmailValid)
{
label10.Text = "Alphabets";
}
else
{
label10.Text = "";
}
}
64
TEXTILE MANAGEMENT SYSTEM
label5.Text = selectedRows.Cells[0].Value.ToString();
textBox1.Text = selectedRows.Cells[1].Value.ToString();
textBox2.Text = selectedRows.Cells[2].Value.ToString();
textBox3.Text = selectedRows.Cells[3].Value.ToString();
textBox4.Text = selectedRows.Cells[4].Value.ToString();
65
TEXTILE MANAGEMENT SYSTEM
66
TEXTILE MANAGEMENT SYSTEM
{
this.Hide();
StockReport si = new StockReport();
si.ShowDialog();
}
}
}
67
TEXTILE MANAGEMENT SYSTEM
Testing objective:
1. Testing is a process of executing a program with the intent of finding an error.
2. A good test case is the one that has high portability of finding an as-yet
undiscovered error.
3. A successful test is one that uncovers an as-yet discovered error.
The main objective here will be to design test cases to uncover different
classes of errors and to do so with minimum amount of time and efforts. If
testing is conducted successfully it will uncover errors in the software.
Another advantage is that it demonstrates that software function appears to be
working according to the specification and performance requirement have
been met.
But Testing cannot show the absence of defects it can show only that software
errors are present.
5.2.1 Unit Testing: Begins at the vortex of the spiral and concentrates at the
each unit of the software as implemented in the source code. Unit testing assures each module
tested individually function properly as a unit.
68
TEXTILE MANAGEMENT SYSTEM
Chapter -6
Home Form
69
TEXTILE MANAGEMENT SYSTEM
Login Form
70
TEXTILE MANAGEMENT SYSTEM
Reset clears the fields so that the user can enter the username and password
login.
If the entered username or password is wrong the message box would be
prompted displaying “invalid login”.
Enter the new login.
71
TEXTILE MANAGEMENT SYSTEM
Suppliers Form
72
TEXTILE MANAGEMENT SYSTEM
Material Form
This form allows user to update material supplied by the supplier.
Update Button: It allows user to update the record to database.
73
TEXTILE MANAGEMENT SYSTEM
Customer Form
This form allows user to view customer details.
New Button: It allows user to enter new customer record.
Add Button: It allows user to add the record to database.
Update Button: It allows user to update the record from data grid view.
Delete Button: Delete the form.
74
TEXTILE MANAGEMENT SYSTEM
75
TEXTILE MANAGEMENT SYSTEM
This form allows user to clear all the fields of the form.
Add Button: it allows user to save the record to database.
New Button: it allows user to clear all the fields of the form.
Calculate Button: it allows user to calculate total expenses based on quantity
and rate entered by the user.
Delete Button: exits the form.
76
TEXTILE MANAGEMENT SYSTEM
77
TEXTILE MANAGEMENT SYSTEM
78
TEXTILE MANAGEMENT SYSTEM
This form allows user to view the stock details. The user has to select material name
from the combo box.
79
TEXTILE MANAGEMENT SYSTEM
80
TEXTILE MANAGEMENT SYSTEM
81
TEXTILE MANAGEMENT SYSTEM
82
TEXTILE MANAGEMENT SYSTEM
Chapter-7
83
TEXTILE MANAGEMENT SYSTEM
Future work:
The future plan of this project is to improved design, implementation and
documentation in such a way that beside work order, any other work process monitoring
services can easily customize and use this project.
I will develop the site more dynamically. In future I will add some modules for better
improvement of the project. Such as; the system wills automatically giving the
recommendation for an event based on some logical criteria for a particular project. Also it
will give some recommendation for merging or efficient resource planning. And finally a
more secured and user friendly version, for the front end users. I will implement this system
in textile industry.
Chapter -8
84
TEXTILE MANAGEMENT SYSTEM
REFERENCE
Content
[2] Website:
www.scribd.com
For SQL
www.scribd.com
85