0% found this document useful (0 votes)
77 views

Dr. N.G.P. Arts and Science College: Prediction of Customer Credit Settelment Towards Knit Manufacturing Unit

This document describes a student's dissertation project on predicting customer credit settlement for a knit manufacturing unit. The project was completed under the guidance of an assistant professor at Dr. N.G.P. Arts and Science College to earn a Bachelor of Computer Applications degree. The project uses technologies like ASP.NET and SQL Server to analyze customer transaction and credit settlement data for a knit manufacturing company.

Uploaded by

Sandhya S
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as DOCX, PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
77 views

Dr. N.G.P. Arts and Science College: Prediction of Customer Credit Settelment Towards Knit Manufacturing Unit

This document describes a student's dissertation project on predicting customer credit settlement for a knit manufacturing unit. The project was completed under the guidance of an assistant professor at Dr. N.G.P. Arts and Science College to earn a Bachelor of Computer Applications degree. The project uses technologies like ASP.NET and SQL Server to analyze customer transaction and credit settlement data for a knit manufacturing company.

Uploaded by

Sandhya S
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as DOCX, PDF, TXT or read online on Scribd
You are on page 1/ 39

PREDICTION OF CUSTOMER CREDIT SETTELMENT

TOWARDS KNIT MANUFACTURING UNIT

Dissertation submitted to the Dr. N.G.P. Arts and Science College in partial fulfillment

for the award of the degree of

BACHELOR OF COMPUTER APPLICATIONS


BY
Mr.KISHORE.K
(Reg.No:171CA024)
Under the Guidance of

Mrs. K. KAVITHA., M.C.A, M. Phil., (Ph.D.)


Assistant Professor

DEPARTMENT OF COMPUTER APPLICATIONS

Dr. N.G.P. ARTS AND SCIENCE COLLEGE


(An Autonomous Institution, Affiliated to Bharathiar University, Coimbatore) Approved by
Government of Tamil Nadu & Accredited by NAAC with ‘A’ Grade (2 nd Cycle)
Dr. N.G.P.-Kalapatti Road, Coimbatore - 641 048, Tamil Nadu, India.

Website: www.drngpasc.ac.in| Email: [email protected].| Phone: +91-422-2369100

APRIL - 2020

1
CERTIFICATE

This is to certify that the the entitled“ PREDICTION OF CUSTOMER CREDIT

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

is a record of original project work done byMr.KISHORE.K (Reg.No:171CA024)during the period of

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

candidate of any autonomous college.

(Mrs.K.Kavitha) (Dr.R.Kousalya) (Prof. Dr. V. Rajendran)


Guide HoD Principal

Submitted to the viva-voce examination held on -- / -- / -- at Department of Computer

Applications, Dr.N.G.P. Arts and Science College, Coimbatore - 48.

Internal Examiner External Examiner

2
DECLARATION

I, Mr.KISHORE.K (Reg.No:171CA024) hereby declare that the PREDICTIONOF


CUSTOMERCREDIT SETTELMENT TOWARDS KNIT MANUFACTURING UNIT
thesis entitled submitted to Dr. N.G.P. Arts and Science College, in partial fulfillment

for the award of degree of Bachelor of Computer Applications is a record of original

project work done by me during the period 2017-2020 under the supervision and

guidance of Mrs.K.Kavitha, M.C.A, M.Phil.,(Ph.D.) Assistant Professor, Department

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/

Fellowship or other similar title to any candidate of any autonomous college.

( Mr.KISHORE.K )

Student

3
ACKNOWLEDGMENT

I would like to express my profound gratitude to Dr. Nalla G. Palaniswami, MD.,


AB (USA)., Chairman, Kovai Medical Centre and Hospital (KMCH), Coimbatore
and Dr. Thavamani D. Palaniswami, MD., AB (USA), Secretary, Dr. N.G.P. Arts
and Science College, Coimbatore for their encouragement.

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 am delighted to Dr. R.Kousalya, MCA., M.Phil., Ph.D., Head, Department of


Computer Applications,Dr. N.G.P. Arts and Science College(Autonomous),
Coimbatore for her inspiration and having permitted me to make use of the infrastructure
of this great institution of enduring excellence.

My special thanks to Mrs. K.Kavitha, M.C.A., M.Phil.,(Ph.D.) Assistant Professor,


Department of Computer Applications,Dr. N.G.P. Arts and Science College
(Autonomous), Coimbatore for the successful completion and submission of my
project.

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

S.NO PARTICULARS PAGE.NO


1 INTRODUCTION 6
1.1 OVERVIEW OF THE PROJECT 6
1.2 SYSTEM SPECIFICATION 7
1.2.1 HARDWARE SPECIFICATION 7
1.2.2 SOFTWARE SPECIFICATION 7
1.3 SOFTWARE FEATURES 8
2 SYSTEM STUDY 10
2.1 EXISTING SYSTEM 10
2.2 PROPOSED SYSTEM 10
3 SYSTEM DESIGN 11
3.1 MODULE DESCRIPTION 11
4 TESTING AND IMPLEMENTATION 14
5 CONCLUSION 20
BIBLIOGRAPHY 21
APPENDICES 22
A.DATA FLOW DIAGRAM 22
B.TABLE STRUCTURE 23
C.SAMPLE CODING 26
D.INPUT AND OUTPUT (SCREEENSHOTS) 30

5
1. INTRODUCTION

1.1 OVERVIEW OF THE PROJECT


The project entitled “Prediction of Customer Credit Settlement towards KNIT
manufacturing unit” is done in the company named “Sign India Technologies”. It is
aLeading Web, Mobile Software Development Company. This Project is a web based application
software which has been designed for common KNIT manufacturing company to analyze the
customer transaction and credit settlement transactions with the company.

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,

 Data AnalTic& Business Intelligence.

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

1.2.1. HARDWARE SPECIFICATIONS

Processor : Intel Dual Core Processor


Ram : 1 GB RAM
Hard Drive : 160 GB
Monitor : 17 INCHES
Keyboard : 104 keys
Mouse : Logitech Optical Mouse

1.2.2. SOFTWARE SPECIFICATIONS

Operating System : Windows 8 onwards


Front-end : Microsoft ASP .Net 2010
Back-End : MS SQL SERVER 2008

7
1.2.2 SOFTWARE FEATURES

WINDOWS 8

Windows 8 is a personal computer operating system developed the Windows NT family of


operating systems. Development of Windows 8 started before the release of its
predecessor, Windows 7, in 2009. It was announced at CES 2011, and followed by the release of
three pre-release versions from September 2011 to May 2012. The operating system was released to
manufacturing on August 1, 2012, and was released for general availability on October 26, 2012.
FRONT END - ASP.Net 2010
ASP.NET is an open source server-side Web application framework designed for Web
development to produce dynamic Web pages. It was developed by Microsoft to allow programmers
to build dynamic web sites, web applications and web services.
It was first released in January 2002 with version 1.0 of the .NET Framework, and is the
successor to Microsoft's Active Server Pages (ASP) technology. ASP.NET is built on the Common
Language Runtime (CLR), allowing programmers to write ASP.NET code using any supported
.NET language. The ASP.NET SOAP extension framework allows ASP.NET components to
process SOAP messages.
ASP.NET is in the process of being re-implemented as a modern and modular web framework,
together with other frameworks like Entity Framework. The new framework will make use of the
new open-source .NET Compiler Platform (code-name "Roslyn") and be cross platform. ASP.NET
MVC, ASP.NET Web API, and ASP.NET Web Pages (a platform using only Razor pages) will
merge into a unified MVC 6.The project is called "ASP.NET vNext".

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.

2.2. PROPOSED SYSTEM

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.

4. Customer View Credit Summary

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:

Test Test Description Test Steps Expected Actual Status


ID Type Result Result
1. Validation Test the Step1: Enter Login Login Success
Testing in ‘Login’ the values in should be form
Customer button with textbox fields verified and verified
Login valid values Step2 :Click allowed to and
Form in the ‘Login’ next main navigate
username and form to main
password form

Admin Login:

Test Test Description Test Steps Expected Actual Status


ID Type Result Result
1. Validation Test the Step1: Enter Login Login Success
Testing in ‘Login’ the values in should be form
Admin button with textbox fields verified and verified
Login valid values Step2 :Click allowed to and
Form in the ‘Login’ next main navigate
username and form to main
password form

15
Customer Registration form:

Test Test Type Description Test Expected Actual Status


ID Steps Result Result
1. Unit Test the Step1: Valid all Data Success
Testing ‘Submit Enter the the validated
In Now’ button
values in textboxes and
Customer with valid
textbox and save stored in
Registration values in the
fields the data database
form Text boxes.
Step2 into
:Click database
‘Submit’
2. Validation Test the Step1: Valid Data Success
Testing in ‘Submit Enter the Mobile validated
Customer Now’ button mobile number and
Registration with valid number and if stored in
Form Mobile Step2 valid save database
Number :Click the data
‘Submit’ into
database
3. Validation Test the Step1: Valid Data Success
Testing in ‘Submit Enter the Email ID validated
Customer Now’ button Email ID and if and
Registration with valid Step2 valid save stored in
Form Email ID :Click the data database
‘Submit’ into
database

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:

Test Test Type Description Test Steps Expected Actual Status


ID Result Result
1. Unit Test the Step1: Enter Valid all Data Success
Testing ‘Submit the values in the validated
In Now’ button textbox textboxes and
Customer with valid fields and save stored in
Note values in the Step2 :Click the data database
Text boxes. ‘Submit’ into
database

16
Customer order Placement:

Test Test Type Description Test Steps Expected Actual Status


ID Result Result
1. Unit Test the Step1: Enter Valid all Data Success
Testing ‘Submit the values in the validated
In Now’ button textbox textboxes and
Customer with valid fields and save stored in
Order values in the Step2 :Click the data database
Placement Text boxes. ‘Submit’ into
database

Credit Note :

Test Test Type Description Test Steps Expected Actual Status


ID Result Result
1. Unit Test the Step1: Enter Valid all Data Success
Testing ‘Submit the values in the validated
In Now’ button textbox textboxes and
Stock with valid fields and save stored in
linen values in the Step2 :Click the data database
Register Text boxes. ‘Submit’ into
database

Delivery challan

Test Test Type Description Test Steps Expected Actual Status


ID Result Result
1. Unit Test the Step1: Enter Valid all Data Success
Testing ‘Submit the values in the validated
In Now’ button textbox textboxes and
Delivery with valid fields and save stored in
Challan values in the Step2 :Click the data database
Text boxes. ‘Submit’ into
database

17
Credit Billing form

Test Test Type Description Test Steps Expected Actual Status


ID Result Result
1. Unit Test the Step1: Enter Valid all Data Success
Testing ‘Submit the values in the validated
In Now’ button textbox textboxes and
Credit with valid fields and save stored in
Billing values in the Step2 :Click the data database
Form Text boxes. ‘Submit’ into
database

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.

The implementation stage in a project involves,

 Careful Planning investigation of the current system, checking constraints and


the implementation.

 Training the staffs in the newly developed system.

A software application in general is implemented after navigating the complete life


cycle method of a project. Various life cycle processes such as requirement analysis, design
phase, verification, testing and finally followed by the implementation phase results in a
successful project management. The software application which is basically a Windows
based application has been successfully implemented after passing various life cycle
processes mentioned above.

As the software is to be implemented in a high standard industrial sector, various


factors such as application environment, user management, security, reliability and finally
performance are taken as key factors through out the design phase. These factors are
analyzed step by step and the positive as well as negative outcomes are noted down before
the final implementation.

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.

SCOPE FOR FUTURE ENHANCEMENT

 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

3. Roger S Pressman, “Software Engineering”, 2000 Edition, Dreamtech Publications

4. Karli Watson, Richard Anderson , “Professional .NET 1.1” , 2004 Edition, Wrox
Publications

5. PoojaBembey and KuljitKaur with NIIT,”Microsoft Visual Studio.Net Professional


Projects”,2002 Edition, Prentice Hall of India Private Limited.

WBE REFERENCES:

1. www.msdn.microsoft.com

2. www.aspcity.com

3. www.aspdotnetheaven.com

4. www.codeguru.com

20
APPENDICES

A. DATA FLOW DIAGRAM

Level 0

Administrator
Login Prediction of Connect
Customer Credit
Prediction
Settlement Towards
Knit Manufacturing Database

Login Unit Retrieve


Customer

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

Login Create Customer


Customer Customer
New Customer
Registration Table
Response Retrieve

After Registration

Check for Authentication


Invalid
Customer
Exit
Login
Customer
Retrieve access Permission

View Customer
View Customer View Customer
Eligibility
Credit Limit Credit Summary
Status

Retrieve update
update Retrieve update Retrieve

Credit Note Customer Note


Table Table

23
B.TABLE DESIGN

Table Name : Customer

Primary Key :Customer_id

Column Name Datatype Description


Customer_id numeric(18, 0) Customer id
Customer_name varchar(50) Customer name
Customer_address varchar(250) Customer address
Mobile_Number numeric(18, 0) Mobile Number
Email_id varchar(50) Email id
Narure_Job varchar(1000) Narure Job
GST_Number varchar(15) GST Number
Contact_Executive_name varchar(50) Contact Executive name
Executive_mobile numeric(18, 0) Executive mobile
Executive_mailid varchar(50) Executive mailed
Password varchar(10) Password

Table Name : product

Primary Key :product_code

Column Name Datatype Description


product_code numeric(18, 0) product code
product_name varchar(50) product name
Product_quality varchar(50) Product quality
Stock_hand numeric(18, 0) Stock hand
SellingRate_qty numeric(18, 0) SellingRateqty
Re_Ordervalue numeric(18, 0) Re Ordervalue

Table Name :CreditNote

Primary Key :Credit_No

Foreign Key :Customer_id, CreditBill_No

Column Name Datatype Description


Credit_No numeric(18, 0) Credit No
Credit_date datetime Credit date
Customer_id numeric(18, 0) Customer id
CreditBill_No numeric(18, 0) CreditBill No
Credit_Given numeric(18, 0) Credit Given
Returnpromising_Date datetime Returnpromising Date
Executive_incharge varchar(50) Executive incharge

Table Name :OrderMain

24
Primary Key :Order_No

Foreign Key :Customer_id

Column Name Datatype Description


Order_No numeric(18, 0) Order No
Order_Date datetime Order Date
Customer_id numeric(18, 0) Customer id

Table Name :OrderSub

Primary Key :Order_No

Column Name Datatype Description


Order_No numeric(18, 0) Order No
Product_code numeric(18, 0) Product code
product_name nchar(10) product name
No_Qty numeric(18, 0) No Qty

Table Name :CustomerNote

Primary Key :CustomerNote_No

Foreign Key :Customer_id

Column Name Datatype Description


CustomerNote_No numeric(18, 0) CustomerNote No
Customer_id numeric(18, 0) Customer id
Total_outstanding_credit numeric(18, 0) Total outstanding credit
Total_transaction_did numeric(18, 0) Total transaction did
Customer_Tag varchar(50) Customer Tag
Business_Dealing_from varchar(50) Business Dealing from

25
Table Name :DeliveryNote

Primary Key :Delivery_No

Foreign Key :Customer_id,order_No

Column Name Datatype Description


Delivery_No numeric(18, 0) Delivery No
Delivery_date datetime Delivery date
Customer_id numeric(18, 0) Customer id
Delivery_address varchar(250) Delivery address
Transportation_Through varchar(50) Transportation Through
order_No numeric(18, 0) order No
Despatch_Value numeric(18, 0) Despatch Value
packing_incharge varchar(50) packing incharge

Table Name :CashBill

Primary Key :CashBillNo

Foreign Key :Customer_id, Delivery_No, Product_code

Column Name Datatype Description


CashBillNo numeric(18, 0) CashBillNo
CashBill_Date datetime CashBill Date
Customer_id numeric(18, 0) Customer id
Delivery_No numeric(18, 0) Delivery No
Product_code numeric(18, 0) Product code
Product_name varchar(50) Product name
HSN_Code numeric(18, 0) HSN Code
Qty numeric(18, 0) Qty
Rate_Qty numeric(18, 0) Rate Qty
Gross_Total numeric(18, 0) Gross Total
SGSt_Amount numeric(18, 0) SGSt Amount
CGST_per numeric(18, 0) CGST per
CGST_Amount numeric(18, 0) CGST Amount
Total_Amount numeric(18, 0) Total Amount

Table Name :CreditBill

26
Primary Key :CreditBillNo

Foreign Key :Customer_id, Delivery_No, Product_code

Column Name Datatype Description


CreditBillNo numeric(18, 0) CreditBillNo
CreditBill_Date datetime CreditBill Date
Customer_id numeric(18, 0) Customer id
Delivery_No numeric(18, 0) Delivery No
Product_code numeric(18, 0) Product code
Product_name varchar(50) Product name
HSN_Code numeric(18, 0) HSN Code
Qty numeric(18, 0) Qty
Rate_Qty numeric(18, 0) Rate Qty
Gross_Total numeric(18, 0) Gross Total
SGSt_Amount numeric(18, 0) SGSt Amount
CGST_per numeric(18, 0) CGST per
CGST_Amount numeric(18, 0) CGST Amount
Total_Amount numeric(18, 0) Total Amount

C.SAMPLE CODING

27
using System;
usingSystem.Collections.Generic;
usingSystem.Linq;
usingSystem.Web;
usingSystem.Web.UI;
usingSystem.Web.UI.WebControls;

public partial class frm_product : System.Web.UI.Page


{
dbconnectDataContextdb = new dbconnectDataContext();
protected void Page_Load(object sender, EventArgs e)
{
if (IsPostBack == false)
{

}
}
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

You might also like