You are on page 1of 58

MODERN SCHOOL NOIDA

INFORMATICS PRACTICES
Project On

Medical Store Management System

Submitted By: Tushar Agrawal Class: 12-H Roll No: 20

Submitted to: Mrs. Neeta Shah

TABLE OF CONTENTS

1. ACKNOWLEDMENT 2. CERTIFICATE 3. INTRODUCTION 4. FRONT END (JAVA) 5. BACK END (MYSQL) 6. FRAMES (DESIGN TIME) 7. CODINGS 8. JAVA SCREEN SHOTS (RUN TIME) 9. MYSQL SCREENSHOTS

1. ACKNOWLEDGEMENT
I extend my sincere thanks to MODERN SCHOOL, NOIDA which provided me with the opportunity to fulfil my wish and achieve my goal. I would like to express deep debt to Mrs. Neeta Shah, project guide for her vital suggestions, meticulous guidance and constant motivation which went a long way in the successful completion of this project. I cannot move on without thanking beloved principal Mrs. Meena Gupta for creating the required academic environment which made my task appreciable. On a moral personal note, my deepest appreciation and gratitude to my beloved parents, who have been an inspiration and have provided me with unrelenting encouragement and support.

CERTIFICATE

The project Medical Store Management System, is certified to be the bonafide work of Tushar Agrawal of section 12-H, in the Informatics Practices Laboratory during 2013-14.

. Examiners Signature

Mrs. Neeta Shah

. Principal

Date: .

3. INTRODUCTION
Today, be it a company, a store, institution or a non-governmental organization, for the smooth running of them all, we need a backup of data, so that vital information can be stored, preserved, retrieved and used as per the requirements. Companies employ what they call computer operators who store and handle the database which stores all necessary information concerning the company. What is much needed is a proper interface which may enable us to handle such systems efficiently. This project entitled MEDICAL STORE MANAGEMENT SYSTEM has been developed with an aim to help one such entity a store to easily manage and handle the data concerning it. User can perform following five different types of functions in this application: Insertion Data such as batch numbers, names, companies, price, stock, date of expiry etc. can be inserted and stored in case of medicines. Also data such as customers name, address, phone number, date of last visit etc. can be inserted and stored.

Removal Removal of the above-mentioned data can also be performed using a few clicks.

Search One may search between existing records by entering the batch number of the medicines and customer id in case of customers.

View There are dedicated tables made for serving the purpose of viewing the details of medicines in stock as well as the database at a particular time.

Billing It performs necessary billings and calculations by retrieving price of medicine and also updates customers last visit data.

4. FRONT END (JAVA)


The programmers develop applications for solving real life problems to simplify life of others. That is the reason, they try to develop applications, which require minimum inputs from the user and provide meaningful information in the form of output through their applications. The programmer develops these applications keeping in mind that the user will have a very basic understanding of handling mouse, keyboard and desktop applications. In computing, graphical user interface (GUI), sometimes pronounced

'gooey' is a type of user interface that allows users to interact with electronic devices through graphical icons and visual indicators such as secondary the notation, as opposed to text-based curve interfaces, typed command labels or text navigation. GUIs were introduced in reaction to perceived steep learning of command-line interfaces (CLI), which require commands to be typed on the keyboard. In our level the GUI front ends are designed using netbeans IDE a java (a general-purpose, concurrent, class-based, object-oriented computer programming language that is specifically designed to have as few implementation environment. dependencies) based integrated development

5. BACK END (MYSQL)


MySQL officially, but also called "My Sequel" is (as of July 2013) the world's most widely used open-source relational database management system (RDBMS) that runs as a server providing multi-user access to a number of databases, though SQLite probably has more total embedded deployments. It is named after co-founder Widenesss daughter, MY. The SQL phrase stands for Structured Query Language. The GUI Application Designed in NETBEANS is not capable of retaining the inputs or outputs for future reference or uses. So, typing in any number of inputs in the application carries a life span of one execution only and when the application is executed second time, it requires a new set of inputs from the user. It is because the data entered by user in a front end application was getting stored in temporary memory (RAM) and not getting saved on a hard disk (or any other secondary storage device). To overcome this problem a database back end is required. The database helps you to data permanently in secondary storage devices and keeps data ready for future reference, modification and addition. But to create a table, modify content of a table, add new content in the table, delete content from a table and retrieve content from a table in various forms SQL commands like CREATE, UPDATE, INSERT, DELETE, SELECT are required. Obviously the user is not expected to learn all the commands to perform these activities. User always likes to access the information using the computer with some clicks of mouse or by typing in little textual input as per instructions provided preferably in his/her local language. So, there is a need to provide him/her with an interface to access or modify the information available in the database which is provided by front end.

6. FRAMES (DESIGN TIME)

7. CODING
7.1 PROCEED BUTTON

7.2 LOGIN BUTTON

7.3 CLOSE BUTTON

7.4 MEDICINE DETAILS BUTTON

7.5 CUSTOMER DETAILS BUTTON

7.6 PREPARE A BILL BUTTON

7.7 EXIT BUTTON

7.8 ADD NEW STOCK BUTTON

7.9 VIEW STOCK BUTTON

7.10 SEARCH MEDICINES BUTTON

7.11 REMOVE BUTTON

7.12 BACK TO MAIN MENU BUTTON

7.13 ADD TO STOCK BUTTON

7.14 CLEAR BUTTON

7.15 CLICK TO VIEW STOCK BUTTON

7.16 CLOSE BUTTON

7.17 SEARCH BUTTON

7.18 CLEAR BUTTON

7.19 BACK BUTTON

7.20 REMOVE BUTTON

7.21 CLEAR BUTTON

7.22 CLOSE BUTTON

7.23 ADD NEW CUSTOMERS BUTTON

7.24 SEARCH CUSTOMERS BUTTON

7.25 VIEW CUSTOMERS BUTTON

7.26 REMOVE CUSTOMERS BUTTON

7.27 BACK TO MAIN MENU BUTTON

7.28 ADD TO RECORD BUTTON

7.29 CLEAR BUTTON

7.30 SEARCH BUTTON

7.31 CLEAR BUTTON

7.32 CLOSE BUTTON

7.33 CLICK TO VIEW CUSTOMER DETAILS BUTTON

7.34 CLOSE BUTTON

7.35 REMOVE BUTTON

7.36 CLEAR BUTTON

7.37 CLOSE BUTTON

7.38 CALCULATE AMOUNT BUTTON

7.39 CLEAR BUTTON

7.40 EXIT BUTTON

8. JAVA SCREENSHOTS (RUN TIME)

9. MYSQL SCREENSHOTS

9.1 MEDICINES DATABASE

9.2 CUSTOMERS DATABASE

BIBLIOGRAPHY

THE FOLLOWING SOURCES HELPED ME TO COMPLETE THE PROGRAM: CBSE INFORMATICS PRACTICES (CLASS 12) INFORMATICS PRACTICES BY SUMITA ARORA INTERNET