0% found this document useful (0 votes)
50 views24 pages

Dakshan 12th Final

The document appears to be a project report submitted by a student named DAKSHAN.S to the Central Board of Secondary Education for their class 12 examination on developing a sales management system under the guidance of their teacher. It includes typical project report sections like an introduction, proposed system, objectives, hardware/software requirements, working environment, functions, SDLC, flowchart, source code, output and conclusion.

Uploaded by

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

Dakshan 12th Final

The document appears to be a project report submitted by a student named DAKSHAN.S to the Central Board of Secondary Education for their class 12 examination on developing a sales management system under the guidance of their teacher. It includes typical project report sections like an introduction, proposed system, objectives, hardware/software requirements, working environment, functions, SDLC, flowchart, source code, output and conclusion.

Uploaded by

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

SALES MANAGEMENT SYSTEM

A Project Report submitted to the

Central Board of Secondary Education (CBSE), New Delhi

In Partial fulfillment of the requirement for

All India Senior School Certificate Examination (AISSCE)

Class - XII

SUBMITTED BY
DAKSHAN.S
Under The Guidance Of
Mr.I.Mathivanan., M.Sc(IT)., M.Phil.,B.Ed.,

SRI AUROBINDO MIRA UNIVERSAL SCHOOL


Keelamathur, Mellakkal Main Road, Madurai - 625016
2023-2024
BONAFIDE CERTIFICATE

This is to certify that this project report entitled “SALES MANAGEMENT

SYSTEM” is the bonafide work of DAKSHAN.S ( ) of class XII

Session 2023-24 in partial fulfillment of CBSE’s AISSCE Examination 2023-24

and this represents the original work of the candidates.

Roll No: ___________________

Date : _____________________

Principal Signature

Internal Examiner External Examiner


DECLARATION

We here by declare that the project report entitled “AUTOMOBILE

SERVICE STATION” is developed and submitted to SRI AUROBINDO

MIRA UNIVERSAL SCHOOL for the partial fulfillment of the requirement

of the CBSE’s AISSCE Examination 2023-24 is a record of bonafide work

carried out under the guidance of, Mr.I.Mathivanan., PGT(CS), SRI

AUROBINDO MIRA UNIVERSAL SCHOOL for the partial, Keelamathur,

Madurai - 625016.

Signature of the Student

KISHORE RAJ S
( )
ACKNOWLEDGEMENT

First we would like express our thanks to my parents because without


them our education is not possible. We kindly thank our management for
providing us all kind of facilities at right time for completing our project.

We gratefully acknowledge the help of our Director Er.M.C.Abilash


B.E., M.B.A., SRI AUROBINDO MIRA UNIVERSAL SCHOOL., who
gave us an opportunity to study in this organization.

We take this opportunity to express our immense pleasure with heartful


gratitude to Principal Ms.M.Gnanasundari SRI AUROBINDO MIRA
UNIVERSAL SCHOOL., for her kindly guidance and providing all necessary
facilities at the right time for completing our project.

This project would not have been possible without the motivation and
guidance of our internal guide, Mr.I.Mathivanan., M.Sc(IT)., M.Phil.,B.Ed.,
PGT(CS)., SRI AUROBINDO MIRA UNIVERSAL SCHOOL., He was
backbone of our project and gave us encouragement and Moral support to finish
this project.

Finally, We thank all our friends for giving ideas to finish this project.

DAKSHAN. S
CONTENTS

S.No Titles Page No


1 INTRODUCTION OF THE PROJECT

2 PROPOSED SYSTEM

3 OBJECTIVES AND SCOPE OF THE PROJECT

HARDWARE AND SOFTWARE


4
SPECIFICATIONS

5 WORKING ENVIRONMENT

FUNCTIONS AND MODULES USED IN


6
PROJECT

7 SYSTEM DEVELOPMENT LIFE CYCLE

8 FLOW CHART

9 SOURCE CODE

10 SAMPLE OUTPUT

11 CONCLUSION

12 BIBLIOGRAPHY
INTRODUCTION

The sales management system is basically a database based project done with
help of python language. this project is very usefull for the shopkeepers to
keepa count on what project they have and how much they sold. this project is
multifield project ,so that it can be modified for various purposes.

PROPOSED SYSTEM

Today one cannot afford to rely on the fallible human beings of be really wants
to stand against today’s merciless competition where not to wise saying “to err
is human” no longer valid, it’s outdated to rationalize your mistake. So, to keep
pace with time, to bring about the best result without malfunctioning and greater
efficiency so to replace the unending heaps of flies with a much sophisticated
hard disk of the computer.

One has to use the data management software. Software has been an ascent
in atomization various organisations. Many software products working are now
in markets, which have helped in making the organizations work easier and
efficiently.

Data management initially had to maintain a lot of ledgers and a lot of paper
work has to be done but now software product on this organization has made
their work faster and easier. Now only this software has to be loaded on the
computer and work can be done.

This prevents a lot of time and money. The work becomes fully automated and
any information regarding the organization can be obtained by clicking the
button.

Moreover, now it’s an age of computers of and automating such an organization


gives the better look.
OBJECTIVES AND SCOPE OF THE PROJECT

The objective of this project is to let the students apply the programming
knowledge into a real- world situation/problem and exposed the students how
programming skills helps in developing a good software.

• Write programs utilizing modern software tools.

• Apply object oriented programming principles effectively when developing


small to medium sized projects.

• Write effective procedural code to solve small to medium sized problems.

• Students will demonstrate a breadth of knowledge in computer science, as


exemplified in the areas of systems, theory and software development
.
• Students will demonstrate ability to conduct a research or applied Computer
Science project, requiring writing and presentation skills which exemplify
scholarly style in computer science
HARDWARE SPECIFICATIONS

 PROCESSOR : PENTIUM(ANY) OR AMD ATHALON(3800+- 4200+


DUAL CORE).
 RAM : 512MB+
 Hard disk : SATA 40 GB OR ABOVE

SOFTWARE REQUIREMENTS:

 Windows OS
 Python
 mysql connector modulle
WORKING ENVIRONMENT

Python is used here for server-side web development, software development,


mathematics, and system scripting, and is popular for Rapid Application
Development and as a scripting or glue language to tie existing components
because of its high-level, built-in data structures, dynamic typing, and dynamic
binding. Program maintenance costs are reduced with Python due to the easily
learned syntax and emphasis on readability. Additionally, Python's support of
modules and packages facilitates modular programs and reuse of code.

Python Use Cases


• Creating web applications on a server
• Building workflows that can be used in conjunction with software
• Connecting to database systems
• Reading and modifying files
• Performing complex mathematics
• Processing big data
• Fast prototyping
• Developing production-ready software

Professionally, Python is great for backend web development, data


analysis, artificial intelligence, and scientific computing. Developers also use
Python to build productivity tools, games, and desktop apps.

MySQL is a fast, easy-to-use RDBMS being used for many small and big
businesses. MySQL is developed, marketed and supported by MySQL AB,
which is a Swedish company. MySQL is becoming so popular because of many
good reasons −

 MySQL is released under an open-source license. So you have nothing to


pay to use it.
 MySQL is a very powerful program in its own right. It handles a large
subset of the functionality of the most expensive and powerful database
packages.
 MySQL uses a standard form of the well-known SQL data language..
FUNCTIONS AND MODULES USED IN THE SYSTEM

Modules

import mysql.connecter:
By importing this package, we are able to
establish the connection between SQL and
Python.
import datetime:
This package provides basic functions for
display date related values in the program.
import random:
This package has functionality to generate
random numbers and select numbers within a
range.

Admin Functionalities:
o Login module
o Manage Category: Add, update or delete
o Manage Item: Add, update or delete

User Functionalities:

o Registration module
o Login module
o Place Order module
o Shopping Cart module
o Manage profile
Functions

connect():
This function establishes connection between
Python and MySQL.

cursor():
It is a special control structure that facilitates
the row-by-row processing of records in the
result set.
The syntax is:
<cursor object>=<connection object>.cursor()

execute():
This function is use to execute the sql query
and retrieve records using python.
The syntax is:
<cursor object>.execute(<sql query string>)

fetchall():
This function will return all the rows from the
result set in the form of a tuple containing the
records.

commit():
This function provides changes in the database physically.
SYSTEM DEVELOPMENT LIFE CYCLE (SDLC)

The systems development life cycle is a project management technique that


divides complex projects into smaller, more easily managed segments or
phases.Segmenting projects allows managers to verify the successful
completion of project phases before allocating resources to subsequent
phases.Software development projects typically include initiation, planning,
design,development, testing, implementation, and maintenance phases.
However, the phases may be divided differently depending on the organization
involved. For example, initial project activities might be designated as
request,requirements-definition, and planning phases, or initiation, concept-
development,and planning phases. End users of the system under development
should beinvolved in reviewing the output of each phase to ensure the system is
being built todeliver the needed functionality.
FLOW CHART
SOURCE CODE

FILE NAME : TABLES

import mysql.connector as sql


conn= sql.connect(host='localhost', user = 'root', password ='manager')
c1=conn.cursor()
c1.execute("create database "+name_of_database)
c1.execute('use {}'.format(puj))
c1.execute("create table stock (product_no int(10) primary key,product_name
varchar(30),cost_per_product int(10),stock int(10),purchased int(10) );")
c1.execute("create table user(username varchar(255),passwd varchar(255));")
conn.commit()

FILE NAME : MAIN.py

import mysql.connector as sql


conn= sql.connect(host='localhost', user = 'root', password ='manager',database
='sms')
c1=conn.cursor()
chpasswd='d'
print('''+--------------------------+
/////////////////////////
/////////////////////////
welcome to Game Point
////////////////////////
///////////////////////
+--------------------------+''')
c1.execute('select product_no,product_name from stock;')
peee=c1.fetchall()
peee1=list(peee)
print('''PRODUCT PRODUCT NAME
NO''')

for i in range(0,int(len(peee)))
print(peee[i] )
it=0
bill=0
while 5>1:
print("=============================================
==============================================")
print("1. CUSTOMER")
print("2. ADMIN")
print("3.EXIT")
loggin=int(input('enter the choice:'))
if loggin==1:
while 3>1:
print("===============================
=========================================================
===")
b=input('product number: ')
c1.execute('select product_name,cost_per_product from stock where
product_no =' + b)
data= c1.fetchall()
data1=list(data[0])
print('product name :', data1[0])
print('cost of the product :', data1[1] )
appr= input('do you want to buy it (Y/N) :')
if appr == 'y' or appr =='Y' :
c1.execute("update stock set stock = stock-1 where product_no= " + b )
c1.execute("update stock set purchased = purchased+1 where product_no=" + b
)
bill+=int(data1[1])
it+=1
print("bought successfully!!!!")
opn = input(" Do you want buy any other thing (Y/N) : ")
if opn == 'y' or opn == 'Y':
continue
elif opn=='n' or opn=='N':
break
elif appr =='n' or appr =='N':
opn = input(" Do you want buy any other thing (Y/N) : ")
if opn == 'y' or opn == 'Y':
continue
elif opn == 'n' or opn =='N':
just=input('MODE OF PAYMENT (Cash/Card):'
print(' BILL')
print(''' GAME POINT
NUMBER OF ITEMS PURCHASED:''',
print('''GRAND TOTAL AMOUNT:''',bill)
print('''MODE OF PAYMENT:''',just)
print('''*******THANK YOU*******
*******PLEASE VIST AGAIN*******''')
break
else:
print('####invalid command####')
break
conn.commit()
elif loggin==2:
print("1. veiw stock")
print("2. add stock")
print("3. Adding a new product")
ch=int(input("Enter your choice :"))
if ch==1:
a=input('Enter the product number :')
c1.execute("select * from stock where product_no="+a)
dt=c1.fetchall()
dt1=list(dt[0])
print("product name :",dt1[1])
print("cost per product:",dt1[2])
print("stock available:",dt1[3])
print(" Number items purchased :",dt1[4])
elif ch==2:
prdno=input("Enter the product number of the product for which the
stock is going to be updated:")
upd_value=int(input("enter the number of new stocks came:"))
c1.execute("update stock set stock=stock+" + str(upd_value) + " where
product_no="+prdno)
conn.commit()
elif ch==3:
pno1=input('Enter the product number of new product:')
pna=input('Enter the product name of the new product:')
cst=input('Enter the cost of the product:')
stock12=input('Enter the number of stocks of the new product arrived:')
pch='0'
c1.execute("insert into stock values(" +
pno1 +','+'"'+pna+'"'+','+cst+','+stock12+','+pch+')')
print("Added sucessfully!!!!!!!")
conn.commit()
else:
print('####INVALID OPTION ####')
elif loggin== 3:
print("...QUITING... ")
break
else:
print("###INVALID OPTION####")

FILE NAME: SALES MANAGEMENT SYSTEM

import mysql.connector as sql


import datetime
d_day=datetime.date.today()
d_time=datetime.datetime.now()
conn= sql.connect(host='localhost', user = 'root', password ='manager',database
='sms')
c1=conn.cursor()
print("SALES MANAGEMENT SYSTEM")
print(d_day.day,"/",d_day.month,"/",d_day.year,"
",d_time.hour,":",d_time.minute,)
chpasswd='d'
while 5>1:
print("1.LOGIN")
print("2.REGISTER")
print("3.VEIW ALL USERS")
print("4.EXIT")
choice=int(input('ENTER THE CHOICE:'))
print("=============================================
===============================")
if choice == 1:s
us=input('USERNAME:')
ps=input('PASSWORD:')
c1.execute("select * from user where username = '{}' and passwd =
'{}'".format(us , ps))
data = c1.fetchall()
if any(data) :
import main
else:
print('''..SORRY.. WRONG.......USERNAME OR PASSWORD''')
elif choice == 2:
print("======================================
=====================================================")
li=input('ENTER THE NEW USER ID:')
while 8>1:
li2=input('ENTER YOUR PASSWORD:')
li3=input('ENTER YOUR PASSWORD AGAIN(to confirm):')
if li2== li3:
c1.execute("insert into user values("+'"'+li+'",'+'"'+li3+'")')
print("ID has been successfully created:")
conn.commit()
break
elif choice ==3:
c1.execute("select username from user")
data = c1.fetchall()
for row in data : print(row)
elif choice == 4:
print(".......................LOGGING...........OUT................")
break

else:
print('please enter the right option')
OUTPUT

MAIN WINDOW

LOGIN WINDOW
CUSTOMER WINDOW

ADMIN WINDOW
REGISTER WINDOW

VIEW THE USERS WINDOW


EXIITING WINDOW
CONCLUSION

The Sales Management System stores all the information of the parts of
automobiles in the inventory. The inventory can be used to add, update and
delete parts from the inventory.
It also maintains their day to day transactions of stocks manually. The inventory
consists of multiple types of products. Inventory makes it easy to keep a track of
all parts, to check the stock, quantity and price of products. Based on the part id
or part name, specific parts can be fetched from the inventory.

The Sales Management System generates invoices of all the customers who did
repair and service at the service station. It keeps track of the invoice of all the
customers. The invoice will be generated on the basis of parts required for
servicing the vehicle of a customer. Total bill amount will be calculated based
on the quantity and parts needed for repair and servicing.

Various customers can be added to the database of the automobile service


station database, if the customer has visited the service and repair station. Data
of the customers can be updated, deleted. As well as a new customer can be
added to the database of the sales management system.
The customer can also view his servicing history and estimated pickup date of
the vehicle.

Our software takes care of all the above functionalities. Along with it, it keeps a
log of stock in the inventory as well as keeps track of purchases made.
The software is provided with the master entries to enter a new part in the
inventory , update and delete the same. It also allows us to add a new customer,
update and delete the record from the database.
BIBLIOGRAPHY

 Computer science With Python - Class XII By : SumitaArora


 Class 12 Computer science Ncert book
 Head first python- By: paul barry.

Website:
 (Code With Harry): https://www.youtube.com/playlist?
list=PLu0W_9lII9agwh1XjRt242xIpHhPT2llg
 (Zoho):
https://www.zoho.com/crm/sales-management-system.html

*************************************************************

You might also like