synopsis on billing system

38
PROJECT REPORT ON CONSOLE BASED BILLING SYSTEM SUMMER TRAINING WORK Submitted in Partial Fulfilment of the Requirements for the award of the degree of B.Tech (V SEM) Bachelor’s Degree of Electronics and Communication Engineering (2011-2015) By ALOK SHARMA (00414802811)

Upload: alok-sharma

Post on 09-Dec-2014

4.585 views

Category:

Education


59 download

DESCRIPTION

Billing System for a store designed in JAVA

TRANSCRIPT

Page 1: Synopsis on billing system

PROJECT REPORT

ON

CONSOLE BASED BILLING SYSTEM

SUMMER TRAINING WORK

Submitted in Partial Fulfilment of the Requirements for the award of the degree of

B.Tech (V SEM)

Bachelor’s Degree of Electronics and Communication Engineering

(2011-2015)

By

ALOK SHARMA

(00414802811)

DEPARTMENT OF ELECTRONICS AND COMMUNICATION ENGINEERING,

MAHARAJA AGRASEN INSTITUTE OF TECHNOLOGY,

SECTOR-22, ROHINI,

Page 2: Synopsis on billing system

NEW DELHI -110086

DETAILS

1. PROJECT DETAILS

PROJECT TITLE: CONSOLE BASED BILLING SYSTEM (JAVA)

SUBMITTED BY: Alok Sharma

DATE OF SUBBMISSION: 17 July,2013

GUIDE: Mr. Ritujya Chauhan

Name & Address of the institute:

[HPES Nodal Centre, Agra]

Hewlett-Packard India Sales Pvt. Ltd.

Building No: 02, DLF CYBERGREEN

1st to 5th Floors, Tower D & E

DLF Cyber City, Phase III

Gurgaon - 122 002

Haryana, India

2. STUDENT DETAILS

Name – Alok Sharma

Enrollment no. – 00414802811

Semester – V

Department - ECE

Page 3: Synopsis on billing system

TABLE OF CONTENT

1. Project Letter2. Certificate3. Acknowledgement4. Undertaking5. About HPES6. Introduction7. Objective8. Project category9. Types of Reports10. Technologies and tools11. Hardware12. Future scope13. Analysis of Present System14. Problem of Existing System15. Characteristic of Proposed System16. Feasibility Analysis

a. Need for Feasibility Studyb. Technical Feasibilityc. Behavioural Feasibilityd. Economic Feasibilitye. Product Perspective

17. Data flow diagram18. Entity Relation Diagram19. Flow chart20. Input Code21. Output Screenshots22. Conclusion23. Bibliography

Page 4: Synopsis on billing system

ACKNOWLEDGEMENT

I express my sincere gratitude and thanks to Mr. Ritujya Chauhan (Java faculty) for

providing me the excellent opportunity to do a project on Console Based Billing System

and providing me with all the essential elements required for the completion and

enhancement of this project.

I would like to thank those respondents who have taken pain in successful completion

of my project work.

Page 5: Synopsis on billing system

UNDERTAKING

My work titled Console Based Reservation System in this project report as part of

the Summer Internship (June – July, 2013) under the guidance of Mr. Ritujya

Chauhan.

If my work has been inspired by anyone else’s work then all such work(s) has been

appropriately referred by me and due acknowledgements have been made.

Any academic misconduct and dishonesty found in regard to above or otherwise shall

be solely and entirely my responsibility and my faculty advisor shall not be

responsible. In such a situation, I understand that a strict disciplinary action can be

undertaken against me by the concerned authorities.

Name: Alok SharmaDate:15 July, 2013Signature:

Page 6: Synopsis on billing system

ABOUT HPES

HP Education Services is the most reputed name in High End Technical

Education. HP mentors, guides and encourages you to strive for excellence.

HP is the largest IT solutions company worldwide.

HP is the largest Unix training company worldwide.

HP has been in the education business for over 30 years.

Present in more than 400 HP education centers and partner locations.

They have trained professionals of the top most companies of the world.

They do induction batches training for many companies.

HP provides Technical Training for fresher and experienced candidates as per

their need.

Soft skills training is also provided by HP.

HP has various customized programs to suit the requirements.

INTRODUCTION

Page 7: Synopsis on billing system

The project “Billing system” is an application to automate the process of orderingand billing of a “Departmental store”. This web based application is designed considering the chain of departmental store which is located in various cities. This application also administrates its users and customers.

OBJECTIVE

Page 8: Synopsis on billing system

This project will serve the following objectives:- Add and maintain records of available products. Add and maintain customer details. Add and maintain description of new products. Add and maintain new entered category of products. Provides economic/financial reports to the owner monthly or weekly and

yearly. Provides a convenient solution of billing pattern. Make an easy to use environment for users and customers.

PROJECT CATEGORY

Page 9: Synopsis on billing system

CORE JAVA:

The project is based on the concepts of Core JAVA.

Page 10: Synopsis on billing system

TYPES OF REPORTS

The following are the type of reports that can be generated using the designed system.

1. Daily Sales Report2. Monthly Customer Report3. Daily Product Report4. Due Date Report (Report of a particular Day)5. Billing Report

Page 11: Synopsis on billing system

TECHNOLOGIES AND TOOLS

Software Used:

1. Web browser: Google Chrome 2. Languages Used: Core JAVA3. Eclipse and Notepad++ (for compiling and executing the programs)

Hardware Used:

CPU configuration- AMD processors 4000+ series- RAM 1 GB DDR2

Monitor- Any monitor

Operating System:- Windows XP - Windows 7- Windows 8Or any other version

Page 12: Synopsis on billing system

FUTURE SCOPE

1. This project will help the store keeper in fast billing.2. This project enable store keeper to maintain a great database of all Customers visited and purchase product from store.3. Project will enable to see report regarding product and category.4. It is easy to maintain in future prospect.

Page 13: Synopsis on billing system

ANALYSIS OF PRESENT SYSTEM

Before we begin a new system it is important to study the system that will be improved or replaced (if there is one). We need to analyse how this system uses hardware, software, network and the people resources to convert data resources, such as transaction data, into information products, such as reports and displays. Thus we should document how the information system activities of input, processing, output, storage and control are accomplished.

Page 14: Synopsis on billing system

PROBLEM OF EXISTING SYSTEM

1. Inability of modification of data: The managing of huge data Effectively and efficiently for efficient results, storing the details of the Consumers etc. in such a way that the database can be modified as not Possible in the current system.2. Not user friendly: The existing system is not user friendly because The retrieval and storing of data is slow and data is not maintained Efficiently.3. Difficulty in reports generating: Either no reports generating in a Current system or they are generated with great difficulty reports take Time to generate in the current system.4. Manual operator control: Manual operator control is there and leads to a lot of chaos and errors.5. Lot of paperwork: Existing system requires lot of paper work and Even a small transaction require many papers fill. Moreover any Unnatural cause (such as fire in the organization) can destroy all data of the organization. Loss of even a single paper led to difficult situation Because all the papers are interrelated.6. Inability of sharing the data: Data cannot be shared in the existing system. This means that no two persons can use the same data in existing system. Also the two departments in an organization cannot interact with each other without the actual movement of data.7. No support in decision-making: Existing system does not support managerial decision-making.8. No support in strategic competitive advantage: Existing system do not support strategic competitive advantages.

Page 15: Synopsis on billing system

CHARACTERSTIC OF THE PROPOSED SYSTEM

1. Easiness in modification of data.2. User friendly: The proposed system is user friendly. 3. Reports are easily generated: Reports can be easily generated in a proposed system. So any type of reports can be generated in a proposed system, which helps the managers in a decisions-making activity. 4. No or very few paperwork: The proposed system either does not require paper work or very few paper works is required. All the data is Feted into the computer immediately and various bills and reports can be Generated through computers.5. Support strategic competitive advantage: Proposed system supports strategic competitive advantages. Since the proposed systems provide easiness in reports generating it will provide strategic advantages among competitors.6. Computer operator control: Computer operator control will be there no errors. Moreover storing and retrieving of information is easy. So work can be done speedily and in time.

Page 16: Synopsis on billing system

FEASIBILITY ANALYSIS

Title: Feasibility report for the computerization of the various activities ofthe company.

Background: The Company facing the problem of inconsistent and out of time information in its activities. Very much time is consuming for reportgeneration, which is not very helpful for decision making. So we want asystem, which provide immediate information.

Method of study: The analysis procedure comprised of field trips in thevarious departments of the company. The following documents and sourceswere looked up:· The purchase order that contain items to be purchased.· The accounts register.· Purchase order issues to vendors.· Bills receive from vendors. · Bills give to the customers.· Purchase return forms (if any) give to vendors.

Need For Feasibility Study:The feasibility study is carried out to test whether the proposed system isworth being implemented. Feasibility study is a test of system proposedregarding its work ability, its impact on the organization ability to meet userneeds and effective use of resources. It is usually carried out by a smallnumber of people who are familiar with the information system techniques,understand the part of the business or organization that will be involved oreffected by the project and are skilled in the system analysis and designprocess.

Page 17: Synopsis on billing system

The key consideration involve in the feasibility study are:1. Technical2. Behavioural3. Economic

1. Technical Feasibility

Technical feasibility centres on the existing computer system ( hardware,Software etc) and to what extent it can support the proposed systemAddition. For example, if the current system is operating at 70% capacity (anArbitrary value), then another application could overload the system orrequire additional hardware. If the budget is serious constrain then theproject is judged not feasible.The technologies ant the environment which are used in this project are

SOFTWAREFront End1. Language used: Core JAVA.

Operating System:Platform: Windows XP . Our system requires window operatingsystem, which is easily available.

Hardware:Intel based processor-run computer system, which have keyboard andmouse as input devices. This has been decided for its case ofavailability and up-gradation.The various registers maintained at the different department haveenough information recording, which will help in digitizing theavailable data.

2. Behavioural Feasibility:An evaluation of the behaviour of the end users, which may effect theEnvelopment of the system. People are inherently resistant to change andComputers have to know to facilitate changes and computers have to knownTo facilitate changes. An estimate should be made of how strong a reactionThe user staffs is likely to have towards the development of a computerizedSystem. It is a common knowledge that a computer installation has something to do with turnover, transfer, retraining and changes in employeejob status, therefore the introduction of a candidate system requires special

Page 18: Synopsis on billing system

effort to educate, sell and train the staff on new ways of conducting business.The personal of the user organization will be affected by the proposedsystem. As the aim of the system is only to satisfy the information needs, noemployees will loose their position by the proposed system. In fact theproposed system will help the organization in reducing the voluminous workinvolved. Also the involvement of users in every stage of the project is goingto increase the success factor.The staff in not well educated for running a computerized system. They areadamant in perceiving a mechanical process of working as they have longbeen used to the manual entry system. This aspect needs considerableamount of attention.Our system is also feasible for organization because it supports of theorganization and its strategic plan.

3. Economic Feasibility: The procedure is to determine the benefits and savings that are expectedfrom a candidate system and compare it with the costs. If a benefit outweighscosts, then the decision is made to design and implement the system.Otherwise further alterations are made in the proposed system1. Manpower cost2. Hardware and software cost.

Page 19: Synopsis on billing system

DATA FLOW DIAGRAM

A data flow diagram is graphical representation that depicts the information flow andthe transforms that r applied as date moves from input to output. It can be used to represent a software at any level of abstraction. In fact DFDs may be partitioned in to levels. That represents increasing information flow and functional details.DFDs are defined in levels with every level decreasing the level of abstraction as wellas defining a greater detail of the functional organs of the system. A zero level DFD also known as context or fundamental system model represents the entire software elements as a single bubble with input and output data entities which are indicated as incoming and outgoing arrows. Data Flow Diagram help understanding the basic flow of data from one process to another process.

Page 20: Synopsis on billing system

ENTITY RELATION DIAGRAM

Entity Relation Diagram represents the object relationship pairs in graphical forms thus we can say that the primary goal of ER diagrams is represent data objects along with their relationships.

ER model for data uses three features to describe data:· Entities which satisfy distinct real world items in an application· Relationships connecting different entities and representing meaningful dependencies between them· Attributes which specify various properties of entities and relations involved in a system.

Page 21: Synopsis on billing system

FLOW CHART

Flow chart is a graphical representation using symbol to show the step by stepsequence of operation, activities or procedures used in computer system analysis,Activity analysis and in program sequence representation. It presents the simple flowproject.

Page 22: Synopsis on billing system

PROGRAMME CODE

1. Class DisplayList

import java.io.*;public class DisplayList{ public static void main(String args[]){display();}

public static void display(){int i;ListOfItems l=null;try{FileInputStream fin=new FileInputStream("List Of Items.txt");ObjectInputStream in= new ObjectInputStream(fin);l=(ListOfItems)in.readObject();in.close();fin.close();}catch(IOException e){System.out.println(e);}catch(ClassNotFoundException a){System.out.println(a);return;}//System.out.println("Welcome to Harshita's Grocery Store");System.out.println("Here's the List of Items, plz go through the list to select items that you want to shop for,Thank You");for(i=0;i<20;i++){System.out.println("Item:- "+l.item[i]+"\t\tID: "+l.ID[i]+"\tPrice: "+l.price[i]);}System.out.println("Enjoy Shopping :D");

}

Page 23: Synopsis on billing system

}

2. Class ListOfItems

public class ListOfItems implements java.io.Serializable{public String[] item=new String[20];public int[] ID= new int[20];public int[] price=new int[20];}

3. Class ShoppersStop

import java.io.*;import java.util.*;

public class ShoppersStop{public static void main(String args[]){String ch;

String address;int itemid;int bill=0;int i;int flag=1;int quant;String id;Scanner sc=new Scanner(System.in);ListOfItems l=null; try{FileInputStream fin=new FileInputStream("List Of Items.txt");ObjectInputStream in= new ObjectInputStream(fin);l=(ListOfItems)in.readObject();in.close();fin.close();}catch(IOException k)

Page 24: Synopsis on billing system

{System.out.println(k);}catch(ClassNotFoundException a){System.out.println(a);return;}System.out.println("Welcome dear Customer to AKS Grocery Store");

System.out.println("Are you a first time user?? \n Kindly Press 'Y' for Yes and 'N' for No");

ch=sc.next();

switch(ch){case "Y":System.out.println("Enter your user id");id=sc.next();System.out.println("Thank You for registering with us");break;

case "N":System.out.println(" You are already a registered user.");System.out.println("Plzz enter your id for log-in");id=sc.next();System.out.println("Log In successful");break;default:System.out.println("plz run the program again...cuz the value you enterd is neither Y nor N");}

System.out.println("Prsenting to you the items we have for sale in our grocery store");DisplayList ob2=new DisplayList();ob2.display();System.out.println("For selecting the items, plz enter their user id and quantity");System.out.print("Shopping Cart items...");

bill=0;while(flag!=0){System.out.println("Enter id");

Page 25: Synopsis on billing system

itemid=sc.nextInt();System.out.println("Enter Quantity");quant=sc.nextInt();for(i=0;i<20;i++){

int m=l.ID[i];if(itemid==m)bill=bill+quant*(l.price[i]);

}

System.out.println("Do you want to add more items?? Enter 1 for Yes and 0 for no");flag=sc.nextInt();if (flag==0)break;}System.out.println();System.out.println("Thank you for shopping with us");System.out.println("Your total bill is="+bill);System.out.println("The mode of payment is Cash on Delivery");System.out.println("Plz enter shipping address=");address=sc.next();System.out.println("Thank you, your order will be shipped to you in 3-4 days, kindly keep ready Rs"+bill+" for payment");

}}

4. Class StoringList

import java.util.Scanner;import java.io.*;public class StoringList{public static void main(String args[]){Scanner sc=new Scanner(System.in);ListOfItems l=new ListOfItems();int i;

Page 26: Synopsis on billing system

System.out.println("Enetr the list of items, their ID and price that you want to display in your Grocery Store");for(i=0;i<20;i++){System.out.println("Item Name");l.item[i]=sc.next();System.out.println("ID");l.ID[i]=sc.nextInt();System.out.println("Price");l.price[i]=sc.nextInt();System.out.println();}try{FileOutputStream fw=new FileOutputStream("List of Items.txt");ObjectOutputStream out=new ObjectOutputStream(fw);out.writeObject(l);out.close();fw.close();}catch(IOException e){System.out.println(e);}} }

Page 27: Synopsis on billing system

OUTPUT SCREENSHOTS

Page 28: Synopsis on billing system

CONCLUSION

This was my project of System Design about “Billing System”.Development of this System takes a lot of efforts. I think this system gave a lot of satisfaction. Though every task is never said to be perfect in this development field even more improvement may be possible in this system.I learnt so many things and gained a lot of knowledge about development field.I hope this will prove fruitful.

Page 29: Synopsis on billing system

BIBLIOGRAPHY

BOOKS REFERRED

The Complete Reference Java 2 by Herbert Schildt

Programming With java (E. Balaguruswamy)

WEBSITES REFERRED

1) www.google.com

2) http://java.sun.com/docs/books/tutorial/uiswing/

3) www.stardeveloper.com

4) www.youtube.com

Page 30: Synopsis on billing system