Dr. N.G.P. Arts and Science College: Prediction of Customer Credit Settelment Towards Knit Manufacturing Unit
Dr. N.G.P. Arts and Science College: Prediction of Customer Credit Settelment Towards Knit Manufacturing Unit
Dissertation submitted to the Dr. N.G.P. Arts and Science College in partial fulfillment
APRIL - 2020
1
CERTIFICATE
SETTLEMENT TOWARDS KNIT MANUFACTURING UNIT” submitted to Dr. N.G.P. Arts and
Science College in partial fulfillment for the award of degree of Bachelor of Computer Applications
his study (2017-20) in the Department of Computer Applications, Dr. N.G.P. Arts and Science
College, Coimbatore-48 under my supervision and guidance, and that the thesis has not formed the
basis for the award of any Degree/ Diploma/ Associateship/ Fellowship or other similar title to any
2
DECLARATION
project work done by me during the period 2017-2020 under the supervision and
of Computer Applications, Dr. N.G.P. Arts and Science College, Coimbatore-48, and
that it has not formed the basis for the award of any Degree/ Diploma/ Associateship/
( Mr.KISHORE.K )
Student
3
ACKNOWLEDGMENT
I wish to express my sincere thanks to Prof. Dr. V. Rajendran, M.Sc., M.Phil., B.Ed.,
M. Tech. (Nanotech)., Ph.D., D.Sc., FlnstP (UK)., FASCh., Principal, Dr. N.G.P.
Arts and Science College, Coimbatore for his encouragement and support during the
course period.
I acknowledge the Dr. N.G.P. Arts and Science College, Coimbatore for providing the
opportunity to carry out this piece of work with all facilities and support.
4
TABLE OF CONTENTS
5
1. INTRODUCTION
Sign India Technologies are the best Website Design Company in Coimbatore Create Unique
designs, responsive sites to Generate results. Sign India Technologies don't Create Beautiful
websites, rather Sign India Technologies built websites thats more responsive.
Sign India Technologies is a leading software development company in Coimbatore, India. Sign
India Technologies provides software development support for secure, high-performance, web-
based and mobile applications. Their customized software applications cater to the following:
Online Data Collection,
Data Processing,
Online e-signature,
Online Reporting
Document management,
Using cutting edge tools, the team at Sign India Technologies has so far developed dynamic
(database driven) web applications, portals, web sites, high-end data processing engines and web-
based reporting software and mobile applications for clients worldwide.
6
1.2. SYSTEM SPECIFICATIONS
7
1.2.2 SOFTWARE FEATURES
WINDOWS 8
BACK END:
SQL Server mode
State variables are stored in a database, allowing session variables to be persisted across
ASP.NET process shutdowns. The main advantage of this mode is that it allows the application to
balance load on a server cluster, sharing sessions between servers. This is the slowest method of
session state management in ASP.NET.
ASP.NET session state enables you to store and retrieve values for a user as the user
navigates ASP.NET pages in a Web application. HTTP is a stateless protocol. This means that a
Web server treats each HTTP request for a page as an independent request. The server retains no
knowledge of variable values that were used during previous requests. ASP.NET session state
8
identifies requests from the same browser during a limited time window as a session, and provides a
way to persist variable values for the duration of that session. By default, ASP.NET session state is
enabled for all ASP.NET applications.
SQL SERVER 2008:
Database management system (DBMS) consists of a collection of interrelated data and a set
of programs to access those data. The collection of data is known as database, which contains
information about one particular enterprise. The primary goal of DBMS is to provide an
environment that is both convenient and efficient to use in retrieving and storing database
information.
A major purpose of database system is to provide users with an abstract view of the data. A
database system provides two different types of languages. They are, Database Definition
Language, which is used to specify the database schema, and the Data Manipulation Language, is
used to express database queries and updates.
A Relational database consists of collection of tables, each of which is assigned a unique
name. A row in a table represents a relationship among a set of values. SQL (Structured Query
Language) is the standard relational database language. The language has different parts such as,
data definition language (DDL), Interactive data manipulation language (DML), Embedded DML,
view definition, Authorization, Integrity, Transaction control. The basic structure of an SQL
expression consists of three clauses: select, from and where.
9
2. SYSTEM STUDY
2.1. EXISTING SYSTEM
1. Manual data maintenance are still followed inside the company to note down the credit
transactions made with the customers.
2. There is no credit control system followed in the company which leads to company’s
financial growth down.
3. There is no identification of pointing out the customers into genuine customers and the
doubtful customers.
4. There is no access for customers to check their credit limit before placing orders, credit
eligibility status and the credit summary.
5. All the orders are welcomed by the company without controlling the flow of credits from
the customer side.
1. Customer Credit Control and awareness is the main focus of the system in which every cash
bill and credit bill of the cusomers are registered in a web server.
2. Administrator can view the customer wise credit status, credit limit crossed, genuine
customers and the doubtful customers.
3. Customers can also register in the application and check their credit limit before placing
orders. Besides, they can view their credit eligibility status and the credit summary of
existing transactions with the company.
4. The administrator can also block the customers in placing orders. So once the credit
settlement reached safe zone, the order placement form will get into access.
5. Company financial struck up will get resolved by implementing the entire credit movement
of the company with the customer.
10
3. SYSTEM DESIGN
3.1. MODULES DESCRIPTION
Administrator:
1. Customer Note
a. The Administrator can maintain the customer note details here which includes the
Customer Note Number, Customer Id, Total outstanding credit, Total transaction
did, Customer tag such as doubtful or genuine customer and the Business dealing
from date.
2. Customer Order Placement
a. The Customer order placement details will be stored in this form. The Customer
order placement details includes the order number, order date, Customer Id who
placed the order, Product Code, Product Name and the quantity of the order.
3. Credit Note
a. Customer credit note details are maintained in this form. The Crdit Note form
includes the details such as Credit Number, Credit Date, Customer ID, Credit Bill
Number, Credit Given, Return Promising Date and the Executive incharge.
4. Delivery chalan
a. The delivery chalan form includes the details such as Delivery Number, Delivery
date, Customer id, Delivery address, transportation through, Order Number,
Despatch Value and the Packing incharge details.
5. Cash Billing
a. The Cash Billing form includes the details such as Cash Bill Number, Cash Bill
Date, Customer ID, Delivery Number, Product code, product Name, HSN Code for
the product, Quantity, Rate per quantity, Gross total, SGST Percentage, SGST
Amount, CGST Percentage, CGST Amount and the total amount details.
6. Credit Billing
a. The Credit Billing form includes the details such as Credit Bill Number, Credit Bill
Date, Customer ID, Delivery Number, Product code, product Name, HSN Code for
the product, Quantity, Rate per quantity, Gross total, SGST Percentage, SGST
Amount, CGST Percentage, CGST Amount and the total amount details.
Administrator (Mining)
1. Customer wise Credit Status
11
a. The Administrator can view the customer wise credit status here between the periods
of from date and within date. The credit transactions of the particular customer or the
entire customer details will be viewed in this form.
2. Credit Limit Crossed
a. The Administrator can also check the credit limit crossed for the particular customer
or the entire customers. If the customer crossed the credit limit, then the customer
will be blocked for credit transaction temporarily. Once the customers cleared the
credits, then the credit transactions will be renewed in further.
3. Genuine Customers
a. The Administrator can track the genuine customer list based on the credit
transactions done with the company by settling out the payment in the promised
date.
4. Doubtful Customers
a. The Administrator can track the doubtful customer list based on the credit
transactions done with the company by not settling out the payment in the promised
date.
Customer:
1. Customer Registration
a. Customer has been allowed to register the details through this form. The customer
registration includes the Customer id, Customer name, Customer address, Mobile
Number, Email ID, Nature of Job, GST Number, Contact Executive Name,
executive Mobile Number, Executive Mail Id and the password.
2. Customer Login
a. Once Customer Registration process completed, the customer will be allowed to
navigate to the customer login page. The Customer has been allowed to enter the
username and password. The entered details are validated with the database and after
successful validation, the customer will be allowed to access the main menu.
3. Customer View Credit Limit
a. The Customer canvew the credit limit in this form. The credit limit will be set to the
customer based on the number of months they are doing business with the company
and the regularity of the credit transaction with the company.
12
a. The customer can view the credit summary details here. The credit summary details
includes the transaction number, transaction date, amount paid, order number of the
payment.
5. Customer View Eligibility Status
a. The Customer can view the credit eligibility status here. The customer can check
whether the company is still offering credit to the client or block the credit to the
client.
13
4. TESTING AND IMPLEMENTATION
SYSTEM TESTING
Testing of the software as a mean of accessing or measuring the software to determine its
quality. The area of testing is one of the key process areas in ensuring the quality of the software
known as Software Quality Assurance (SQA).
Testing is done with one primary objective to ensure the quality of the software before it is
actually implemented. The main purpose of testing from developer’s point of view is to gain
confidence. If no error are found at least he is sure that the product under development is meeting it
required goals in terms of quality.
There is no way to find when to stop testing however people have followed certain norms
and guidelines over the course of time. They are as follows:
When the rate of finding errors has reached an acceptable level.
Based on the size of the system, “enough” errors have been found where “enough”
can be a quantitative parameter based on historical data.
Measuring coverage of testing as percentage of line executed divided by total
number of lines in the system. If the percentage id below acceptable limits, then the test
plans have to be enhanced to test areas where code not been tested.
The system “FOOD ORDERING SYSTEM” was tested with the help of the following
software testing strategies.
1. Unit testing
2. Integrated testing
3. Validation testing
UNIT TESTING:
In the Unit testing, we have to test the programs making up the system. The software units in the
system are called modules and routines that are assembled and integrated to perform a specific
function. Unit testing focuses first on the modules, independently of one another, to locate errors.
This enables to detect errors in coding and logic that are contained within the module. In the lines of
this strategy all the individual functions and modules were put to the test independently. This
method was applied in combination with white and black box testing techniques to find the errors in
each module.
14
INTEGRATED TESTING:
Again this software testing strategy has two different approaches namely the
Top-down approach in which the integration is carried out from the top level module to the bottom
and the bottom-up approach in which the integration is carried out from the low level modules to
the top. The module was testing using the bottom up approach by introducing stubs for the top level
functions. This test was used to identify the errors in the interfaces, the errors in passing the
parameters between the functions and to correct them.
VALIDATION TESTING:
Software validation is achieved through a series of black box test that demonstrate
conformity with requirements. Both plan and procedure are designed to ensure that all functional
required area achieved. Using validation testing we have tested this project. The user should not
leave any input area blank and it is allowed to enter improper data. Many validations are needed for
each and every file in the form like textbox validations.
Customer Login:
Admin Login:
15
Customer Registration form:
UNIT TESTING
Static analysis is used to investigate the structural properties of source code. Dynamic test cases
are used to investigate the behavior of source code by executing the program on the test data. This
testing was carried out during programming stage itself.
Customer Note:
16
Customer order Placement:
Credit Note :
Delivery challan
17
Credit Billing form
SYSTEM IMPLEMENTATION
System Implementation is the stage of the project when the theoretical design is
tuned into working system. If the implementation system stage is not carefully controlled
and planned, it can cause chaos. Thus it can be considered to be the most critical stage in
achieving a successful new system and in giving the users a confidence that the system will
work and be effective.
18
5.CONCLUSION
“Prediction of Customer Credit Settlement towards KNIT manufacturing unit” has
been designed for common KNIT manufacturing company to analyze the customer transaction and
credit settlement transactions with the company. The system mainly analyze the customer wise
credit status, customer wise credit limit crossed and predict the genuine customers who pay the
amount regularly and doubtful customers.
Some client companies are good in honouring the credit settlement date and some
companies are totally out of their commitment. This leads to the company in major risky factor and
downfalls the company’s economic growth to carry forward the business further into a good
progressing factor.The customer can able to know their credit limit and check their status with the
company such as whether they are in blocked customer list, doubtful customer list, genuine
customer list and also they can see their credit summary details such as when they received the
credit and when they settled their credit.
Auto Postpaid limit will be set to individual customers based on the transactions history.
Point system will be introduced for each customer in order to motivate the customers to
settle out the payment earlier.
Clients can give reference to another clients for the credit transactions like a business to
business support.
SMS Alerts will be sent to individual customer for every billing they made.
Management information reports will be enhanced for better analyzing.
19
BIBILIOGRAPHY
REFERENCE BOOKS
1. Alex Homer , “Professional ASP.NET 1.1”, 2004 Edition, Wrox Publications
2. Steven Holzner, “Visual Studio. NET Black Book”, 2003 Edition, Dreamtech Publications
4. Karli Watson, Richard Anderson , “Professional .NET 1.1” , 2004 Edition, Wrox
Publications
WBE REFERENCES:
1. www.msdn.microsoft.com
2. www.aspcity.com
3. www.aspdotnetheaven.com
4. www.codeguru.com
20
APPENDICES
Level 0
Administrator
Login Prediction of Connect
Customer Credit
Prediction
Settlement Towards
Knit Manufacturing Database
21
Level 1
Login Connect
Administrator Prediction
Administrator
Login Database
Response Retrieve
Create /
Billing
update
update update
Customer Customer Delivery Delivery
Note Note Table Note Note Table
Retrieve Retrieve
update update
Customer
Order Cash Bill
Order Cash Billing
Table Table
Placement Retrieve
Retrieve
update update
Credit Credit Credit Credit Bill
Note Table Billing Table
Retrieve Retrieve
22
Level -2
After Registration
View Customer
View Customer View Customer
Eligibility
Credit Limit Credit Summary
Status
Retrieve update
update Retrieve update Retrieve
23
B.TABLE DESIGN
24
Primary Key :Order_No
25
Table Name :DeliveryNote
26
Primary Key :CreditBillNo
C.SAMPLE CODING
27
using System;
usingSystem.Collections.Generic;
usingSystem.Linq;
usingSystem.Web;
usingSystem.Web.UI;
usingSystem.Web.UI.WebControls;
}
}
protected void btn_submit_Click(object sender, EventArgs e)
{
Product pro = new Product();
pro.product_code = Convert.ToDecimal(txt_procode.Text);
pro.product_name = txt_proname.Text;
pro.Product_quality = txt_proqty.Text;
pro.Stock_hand =Convert.ToDecimal(txt_stockhnd.Text);
pro.SellingRate_qty = Convert.ToDecimal(txt_slngrteqty.Text);
pro.Re_Ordervalue = Convert.ToDecimal(txt_reodrval.Text);
db.Products.InsertOnSubmit(pro);
db.SubmitChanges();
Page.ClientScript.RegisterStartupScript(this.GetType(), "scriptkey", "<script>alert('record
submited successfully');</script>");
Response.Redirect("frm_product.aspx");
}
protected void btn_update_Click(object sender, EventArgs e)
{
Product pro = db.Products.Single(prod =>prod.product_code ==
Convert.ToDecimal(txt_procode.Text));
pro.product_code = Convert.ToDecimal(txt_procode.Text);
pro.product_name = txt_proname.Text;
pro.Product_quality = txt_proqty.Text;
pro.Stock_hand = Convert.ToDecimal(txt_stockhnd.Text);
pro.SellingRate_qty = Convert.ToDecimal(txt_slngrteqty.Text);
pro.Re_Ordervalue = Convert.ToDecimal(txt_reodrval.Text);
db.SubmitChanges();
Page.ClientScript.RegisterStartupScript(this.GetType(), "scriptkey", "<script>alert('record
updated successfully');</script>");
Response.Redirect("frm_product.aspx");
}
protected void btn_delete_Click(object sender, EventArgs e)
{
Product pro = db.Products.Single(prod =>prod.product_code ==
Convert.ToDecimal(txt_procode.Text));
db.Products.DeleteOnSubmit(pro);
db.SubmitChanges();
Page.ClientScript.RegisterStartupScript(this.GetType(), "scriptkey", "<script>alert('record
deleted successfully');</script>");
Response.Redirect("frm_product.aspx");
}
protected void btn_search_Click(object sender, EventArgs e)
{
28
Product pro = db.Products.Single(prod =>prod.product_code ==
Convert.ToDecimal(txt_procode.Text));
txt_procode.Text=pro.product_code.ToString();
txt_proname.Text=pro.product_name;
txt_proqty.Text=pro.Product_quality;
txt_stockhnd.Text=pro.Stock_hand.ToString();
txt_slngrteqty.Text=pro.SellingRate_qty.ToString();
txt_reodrval.Text=pro.Re_Ordervalue.ToString();
Page.ClientScript.RegisterStartupScript(this.GetType(), "scriptkey", "<script>alert('no
records found');</script>");
}
}
using System;
usingSystem.Collections.Generic;
usingSystem.Linq;
usingSystem.Web;
usingSystem.Web.UI;
usingSystem.Web.UI.WebControls;
publicpartialclassfrm_ordersub :System.Web.UI.Page
{
dbconnectDataContextdb = newdbconnectDataContext();
protectedvoidPage_Load(object sender, EventArgs e)
{
if (IsPostBack == false)
{
}
}
protectedvoidbtn_submit_Click(object sender, EventArgs e)
{
OrderSubos = newOrderSub();
os.Order_No = Convert.ToDecimal(txt_suborno.Text);
os.Product_code = Convert.ToDecimal(txt_subprocode.Text);
os.product_name = txt_subproname.Text;
os.No_Qty = Convert.ToDecimal(txt_subnoqty.Text);
db.OrderSubs.InsertOnSubmit(os);
db.SubmitChanges();
Page.ClientScript.RegisterStartupScript(this.GetType(), "scriptkey", "<script>alert('record
submited successfully');</script>");
Response.Redirect("frm_ordersub.aspx");
}
protectedvoidbtn_update_Click(object sender, EventArgs e)
{
OrderSubos = db.OrderSubs.Single(osb =>osb.Order_No == Convert.ToDecimal(txt_suborno.Text));
os.Order_No = Convert.ToDecimal(txt_suborno.Text);
os.Product_code = Convert.ToDecimal(txt_subprocode.Text);
os.product_name = txt_subproname.Text;
os.No_Qty = Convert.ToDecimal(txt_subnoqty.Text);
db.SubmitChanges();
Page.ClientScript.RegisterStartupScript(this.GetType(), "scriptkey", "<script>alert('record
updated successfully');</script>");
Response.Redirect("frm_ordersub.aspx");
}
protectedvoidtxt_delete_Click(object sender, EventArgs e)
{
OrderSubos = db.OrderSubs.Single(osb =>osb.Order_No == Convert.ToDecimal(txt_suborno.Text));
29
db.OrderSubs.DeleteOnSubmit(os);
db.SubmitChanges();
Page.ClientScript.RegisterStartupScript(this.GetType(), "scriptkey", "<script>alert('record
deleted successfully');</script>");
Response.Redirect("frm_ordersub.aspx");
}
protectedvoidtxt_search_Click(object sender, EventArgs e)
{
OrderSubos = db.OrderSubs.Single(osb =>osb.Order_No == Convert.ToDecimal(txt_suborno.Text));
txt_suborno.Text=os.Order_No.ToString();
txt_subprocode.Text= os.Product_code.ToString();
txt_subproname.Text=os.product_name;
txt_subnoqty.Text=os.No_Qty.ToString();
Page.ClientScript.RegisterStartupScript(this.GetType(), "scriptkey", "<script>alert('no
records found');</script>");
}
}
using System;
usingSystem.Collections.Generic;
usingSystem.Linq;
usingSystem.Web;
usingSystem.Web.UI;
usingSystem.Web.UI.WebControls;
publicpartialclassfrm_delivery :System.Web.UI.Page
{
dbconnectDataContextdb = newdbconnectDataContext();
protectedvoidPage_Load(object sender, EventArgs e)
{
if (IsPostBack == false)
{
}
}
protectedvoidbtn_submit_Click(object sender, EventArgs e)
{
DeliveryNote del = newDeliveryNote();
del.Delivery_No = Convert.ToDecimal(txt_delno.Text);
del.Delivery_date = Convert.ToDateTime(txt_deldate.Text);
del.Customer_id = Convert.ToDecimal(txt_cusid.Text);
del.Delivery_address = txt_deadrs.Text;
del.Transportation_Through = txt_detrans.Text;
del.order_No = Convert.ToDecimal(txt_ordrno.Text);
del.Despatch_Value = Convert.ToDecimal(txt_desval.Text);
del.packing_incharge = txt_packinchrge.Text;
db.DeliveryNotes.InsertOnSubmit(del);
db.SubmitChanges();
Page.ClientScript.RegisterStartupScript(this.GetType(), "scriptkey", "<script>alert('record
submited successfully');</script>");
Response.Redirect("frm_delivery.aspx");
}
protectedvoidbtn_update_Click(object sender, EventArgs e)
{
DeliveryNote del = db.DeliveryNotes.Single(dly =>dly.Delivery_No ==
Convert.ToDecimal(txt_delno.Text));
del.Delivery_No = Convert.ToDecimal(txt_delno.Text);
del.Delivery_date = Convert.ToDateTime(txt_deldate.Text);
30
del.Customer_id = Convert.ToDecimal(txt_cusid.Text);
del.Delivery_address = txt_deadrs.Text;
del.Transportation_Through = txt_detrans.Text;
del.order_No = Convert.ToDecimal(txt_ordrno.Text);
del.Despatch_Value = Convert.ToDecimal(txt_desval.Text);
del.packing_incharge = txt_packinchrge.Text;
db.SubmitChanges();
Page.ClientScript.RegisterStartupScript(this.GetType(), "scriptkey", "<script>alert('record
updated successfully');</script>");
Response.Redirect("frm_delivery.aspx");
}
protectedvoidbtn_delete_Click(object sender, EventArgs e)
{
DeliveryNote del = db.DeliveryNotes.Single(dly =>dly.Delivery_No ==
Convert.ToDecimal(txt_delno.Text));
db.DeliveryNotes.DeleteOnSubmit(del);
db.SubmitChanges();
Page.ClientScript.RegisterStartupScript(this.GetType(), "scriptkey", "<script>alert('record
deleted successfully');</script>");
Response.Redirect("frm_delivery.aspx");
}
protectedvoidbtn_search_Click(object sender, EventArgs e)
{
DeliveryNote del = db.DeliveryNotes.Single(dly =>dly.Delivery_No ==
Convert.ToDecimal(txt_delno.Text));
del.Delivery_No = Convert.ToDecimal(txt_delno.Text);
del.Delivery_date = Convert.ToDateTime(txt_deldate.Text);
del.Customer_id = Convert.ToDecimal(txt_cusid.Text);
del.Delivery_address = txt_deadrs.Text;
del.Transportation_Through = txt_detrans.Text;
del.order_No = Convert.ToDecimal(txt_ordrno.Text);
del.Despatch_Value = Convert.ToDecimal(txt_desval.Text);
del.packing_incharge = txt_packinchrge.Text;
Page.ClientScript.RegisterStartupScript(this.GetType(), "scriptkey", "<script>alert('no
records found');</script>");
}
}
using System;
usingSystem.Collections.Generic;
usingSystem.Linq;
usingSystem.Web;
usingSystem.Web.UI;
usingSystem.Web.UI.WebControls;
publicpartialclassfrm_customers :System.Web.UI.Page
{
dbconnectDataContextdb = newdbconnectDataContext();
protectedvoidPage_Load(object sender, EventArgs e)
{
if (IsPostBack == false)
{
}
}
protectedvoidbtn_submit_Click(object sender, EventArgs e)
{
Customercus = newCustomer();
cus.Customer_id = Convert.ToDecimal(txt_cusid.Text);
31
cus.Customer_name = txt_cusname.Text;
cus.Customer_address = txt_cuadrs.Text;
cus.Mobile_Number = Convert.ToDecimal(txt_mobno.Text);
cus.Email_id = txt_emailid.Text;
cus.Narure_Job = txt_natjob.Text;
cus.GST_Number =txt_gstno.Text;
cus.Contact_Executive_name = txt_conexename.Text;
cus.Executive_mobile = Convert.ToDecimal(txt_exemob.Text);
cus.Executive_mailid = txt_exeemailid.Text;
cus.password =txt_pswd.Text;
db.Customers.InsertOnSubmit(cus);
db.SubmitChanges();
Page.ClientScript.RegisterStartupScript(this.GetType(), "scriptkey", "<script>alert('record
submited successfully');</script>");
Response.Redirect("frm_customers.aspx");
}
protectedvoidupdate_Click(object sender, EventArgs e)
{
Customercus = db.Customers.Single(cust =>cust.Customer_id ==
Convert.ToDecimal(txt_cusid.Text));
cus.Customer_id = Convert.ToDecimal(txt_cusid.Text);
cus.Customer_name = txt_cusname.Text;
cus.Customer_address = txt_cuadrs.Text;
cus.Mobile_Number = Convert.ToDecimal(txt_mobno.Text);
cus.Email_id = txt_emailid.Text;
cus.Narure_Job = txt_natjob.Text;
cus.GST_Number = txt_gstno.Text;
cus.Contact_Executive_name = txt_conexename.Text;
cus.Executive_mobile = Convert.ToDecimal(txt_exemob.Text);
cus.Executive_mailid = txt_exeemailid.Text;
cus.password = txt_pswd.Text;
db.SubmitChanges();
Page.ClientScript.RegisterStartupScript(this.GetType(), "scriptkey", "<script>alert('record
updated successfully');</script>");
Response.Redirect("frm_customers.aspx");
}
protectedvoidbtn_delete_Click(object sender, EventArgs e)
{
Customercus = db.Customers.Single(cust =>cust.Customer_id ==
Convert.ToDecimal(txt_cusid.Text));
db.Customers.DeleteOnSubmit(cus);
db.SubmitChanges();
Page.ClientScript.RegisterStartupScript(this.GetType(), "scriptkey", "<script>alert('record
deleted successfully');</script>");
Response.Redirect("frm_customers.aspx");
}
protectedvoidbtn_search_Click(object sender, EventArgs e)
{
Customercus = db.Customers.Single(cust =>cust.Customer_id ==
Convert.ToDecimal(txt_cusid.Text));
txt_cusid.Text=cus.Customer_id.ToString();
txt_cusname.Text=cus.Customer_name;
txt_cuadrs.Text=cus.Customer_address;
txt_mobno.Text=cus.Mobile_Number.ToString();
txt_emailid.Text=cus.Email_id;
txt_natjob.Text=cus.Narure_Job;
txt_gstno.Text=cus.GST_Number;
txt_conexename.Text=cus.Contact_Executive_name;
txt_exemob.Text=cus.Executive_mobile.ToString();
txt_exeemailid.Text=cus.Executive_mailid;
txt_pswd.Text=cus.password;
32
Page.ClientScript.RegisterStartupScript(this.GetType(), "scriptkey", "<script>alert('record
updated successfully');</script>");
}
}
using System;
usingSystem.Collections.Generic;
usingSystem.Linq;
usingSystem.Web;
usingSystem.Web.UI;
usingSystem.Web.UI.WebControls;
publicpartialclassfrm_customernote :System.Web.UI.Page
{
dbconnectDataContextdb = newdbconnectDataContext();
protectedvoidPage_Load(object sender, EventArgs e)
{
if (IsPostBack == false)
{
}
}
protectedvoidbtn_submit_Click(object sender, EventArgs e)
{
CustomerNotecn = newCustomerNote();
cn.CustomerNote_No = Convert.ToDecimal(txt_cusnotno.Text);
cn.Customer_id = Convert.ToDecimal(txt_cusid.Text);
cn.Total_outstanding_credit = Convert.ToDecimal(txt_custotcre.Text);
cn.Total_transaction_did = Convert.ToDecimal(txt_tottrandid.Text);
cn.Customer_Tag = txt_custag.Text;
cn.Business_Dealing_from = txt_bsnsdlngfrm.Text;
db.CustomerNotes.InsertOnSubmit(cn);
db.SubmitChanges();
Page.ClientScript.RegisterStartupScript(this.GetType(), "scriptkey", "<script>alert('record
submited successfully');</script>");
Response.Redirect("frm_customernote.aspx");
}
protectedvoidbtn_update_Click(object sender, EventArgs e)
{
CustomerNotecn = db.CustomerNotes.Single(cne =>cne.CustomerNote_No ==
Convert.ToDecimal(txt_cusnotno.Text));
cn.CustomerNote_No = Convert.ToDecimal(txt_cusnotno.Text);
cn.Customer_id = Convert.ToDecimal(txt_cusid.Text);
cn.Total_outstanding_credit = Convert.ToDecimal(txt_custotcre.Text);
cn.Total_transaction_did = Convert.ToDecimal(txt_tottrandid.Text);
cn.Customer_Tag = txt_custag.Text;
cn.Business_Dealing_from = txt_bsnsdlngfrm.Text;
db.SubmitChanges();
Page.ClientScript.RegisterStartupScript(this.GetType(), "scriptkey", "<script>alert('record
updated successfully');</script>");
Response.Redirect("frm_customernote.aspx");
}
protectedvoidbtn_delete_Click(object sender, EventArgs e)
{
CustomerNotecn = db.CustomerNotes.Single(cne =>cne.CustomerNote_No ==
Convert.ToDecimal(txt_cusnotno.Text));
db.CustomerNotes.DeleteOnSubmit(cn);
db.SubmitChanges();
33
Page.ClientScript.RegisterStartupScript(this.GetType(), "scriptkey", "<script>alert('record
deleted successfully');</script>");
Response.Redirect("frm_customernote.aspx");
}
protectedvoidbtn_search_Click(object sender, EventArgs e)
{
CustomerNotecn = db.CustomerNotes.Single(cne =>cne.CustomerNote_No ==
Convert.ToDecimal(txt_cusnotno.Text));
txt_cusnotno.Text=cn.CustomerNote_No.ToString();
txt_cusid.Text=cn.Customer_id.ToString();
txt_custotcre.Text=cn.Total_outstanding_credit.ToString();
txt_tottrandid.Text=cn.Total_transaction_did.ToString();
txt_custag.Text = cn.Customer_Tag;
txt_bsnsdlngfrm.Text=cn.Business_Dealing_from;
Page.ClientScript.RegisterStartupScript(this.GetType(), "scriptkey", "<script>alert('no
records found');</script>");
}
}
34
D. SCREEN SHOTS
INPUT DESIGN:
The input design is the link between the information system and the user. It comprises the
developing specification and procedures for data preparation and those steps are necessary to put
transaction data in to a usable form for processing can be achieved by inspecting the computer to
read data from a written or printed document or it can occur by having people keying the data
directly into the system. The design of input focuses on controlling the amount of input required,
controlling the errors, avoiding delay, avoiding extra steps and keeping the process simple. The
input is designed in such a way so that it provides security and ease of use with retaining the
privacy.
35
OUTPUT DESIGN:
A quality output is one, which meets the requirements of the end user and presents the
information clearly. In any system results of processing are communicated to the users and to other
system through outputs. In output design it is determined how the information is to be displaced for
immediate need and also the hard copy output. It is the most important and direct source
information to the user. Efficient and intelligent output design improves the system’s relationship to
help user decision-making.
36
37
38
39