Вы находитесь на странице: 1из 18

ACKNOWLEDGEMENT

First of all my whole-hearted thanks goes to god and my parents for their blessings,
which paved way for the project.

I would like to express my sincere gratitude to Dr.(Mrs) T.DEVI, Ph.D.,(U.K),


Professor and Head Department of Computer Applications, Bharathiar University, Coimbatore,
for the consent and dedicated service to brighten my career.

My cheerful thanks to my guide Dr. M. PUNITHAVALLI, M.Sc., Ph.D., Professor


Department of Computer Applications, Bharathiar University, Coimbatore, for the support and
guidance, throughout the project.

Finally, I wish to express my deep sense of gratitude and sincere thanks to my friends and
well wishers especially to all those who have directly and indirectly contributed a lot towards my
project.

1
DECLARATION
I hereby declare that the mini-project work entitled “PHARMACY PURCHASE ORDER
MANAGEMENT SYSTEM ” submitted to department of computer application, Bharathiar
University in partial fulfillment of the requirements for the award of the degree of Master of
Computer Application, is a record of original work done by D.VINITHA, under the supervision
and guidance of Dr. M. PUNITHAVALLI, M.sc., M.Phil., Ph.D., professor and Head,
Department of Computer Application, Bharathiar University, and that the project work has not
formed the basis for the award of any Degree/ Diploma/ Associate ship/ Fellowship or similar
title to any candidate of any university.

Place: Signature of the Candidate

Date: (VINITHA.D)

2
ABSTRACT

The purchase module is purely used in pharmacy for purchasing medicines. The very
first step is declaring items for product order i .e identifying the business needs what to buy, how
much of it and when it is needed for delivery. Next step is to set quotation from vendors. There
will be many vendors available, we compare the quotations and choose the best among them.
Purchase order for the best vendors will be placed next. Once, the order has been received by the
vendor, the vendor manufactures or processes goods and dispatches to buyer. Then goods are
checked to ensure that they match what was ordered & they are of the correct quality. Finally
vendor sends invoice which is processed by finance department before vendor is paid.

3
INTRODUCTION

1.1 PROBLEM DEFINITION

Purchase management facilitates the creation, maintenance and analysis of purchasing


activities within your organization, such as a management of suppliers and the procurement of
goods and services.

Purchase Management is a function of materials management in a pharmacy. Their basic


function is procuring the inputs for production function. This function encompasses suppliers in
the market external to the organization and several internal to the organization.

The purchasing process simply involved placing an order with the supplier who offered the
lowest price. Nowadays, increase in competition and market demand and scarcity of resources
have forced organizations to reexamine their purchasing activities. The purchasing department
functions have expanded considerably and include activities such as verifying the credentials of
suppliers, inspecting the quality of the material to be purchased, ensuring the timely delivery of
the material, etc.

Purchase management is regarded as a significant activity in many organizations. The


objective of purchase management is to procure the right equipment, materials, supplies and
services in the right quantity, of the right quality, from the right suppliers, at the right time, at the
lowest price.

4
2. SYSTEM ANALYSIS
System analysis is the process of gathering and interpreting and facts, diagnosing
problems and using the information to recommend improvements on the system. System analysis
is a problem-solving activity that requires intensive communication between the system users
and system developers.

System analysis or study is an important phase of any system development process. The
system is studied to the minutest detail and analyzed. The system analyst plays the role of an
interrogator and dwells deep into the working of the present system. The system is viewed as a
whole and the inputs to the system are identified. The outputs from the organization are traced
through the various processing that the inputs phase through in the organization.

A detailed study of these processes must be made by various techniques like interview,
questionnaires, etc. the data collected by these sources must be scrutinized to arrive at a
conclusion. The conclusion is an understanding of how the system functions. This system is
called the existing system. Now, the existing system is subjected to close study and the problem
areas are identified. The designer now function as a problem solver and tries to sort out the
difficulties that the enterprise faces. The solutions are given as a proposal. The proposal is
presented to the user for an endorsement by the user. The proposal is reviewed on user request
and suitable changes are made. This loop ends as soon as the user is satisfied with the proposal.

2.1 EXISTING SYSTEM

Online product purchasing has been an emerging process through the internet. Each and
every product has been purchased online while purchasing a product, several vendors are there to
sell the product. In existing system, there are very less pharmacies purchasing medicine online.
Medicine purchase has been taking place through direct purchase from the different vendors

5
2.2 PROPOSED SYSTEM

A website has been created where pharmacies can purchase medicines from different
vendors online. As online is a current marketing technology more number of users buying a
product online. In this system registered pharmacies can purchase medicines online from
different vendors. Another advantage compared to other online sales is that it shows many
vendors providing the medicine and we can choose the best among them by comparing the cost
and quality.

2.3 HARDWARE SPECIFICATION

Processor : Pentium IV

RAM : 2GB RAM

Hard Disk : 160 GB

2.4 SOFTWARE SPECIFICATION

Operating System : Microsoft Windows 10

Front End : PHP

Net Framework : Xampp

Back End : MYSQL

HTML

Hypertext Markup Language (HTML) is the standard markup language for documents
designed to be displayed in a web browser. It can be assisted by technologies such as Cascading
Style Sheets (CSS) and scripting languages such as JavaScript.

6
Web browsers receive HTML documents from a web server or from local storage and
render the documents into multimedia web pages. HTML describes the structure of a web page
semantically and originally included cues for the appearance of the document. HTML elements
are the building blocks of HTML pages. With HTML constructs, images and other objects such
as interactive forms may be embedded into the rendered page.

CSS

Cascading Style Sheets (CSS) is a style sheet language used for describing the
presentation of a document written in a markup language like HTML. CSS is a cornerstone
technology of the World Wide Web, alongside HTML and JavaScript.

CSS is designed to enable the separation of presentation and content, including layout,
colors, and fonts.] This separation can improve content accessibility, provide more flexibility and
control in the specification of presentation characteristics, enable multiple web pages to share
formatting by specifying the relevant CSS in a separate .css file, and reduce complexity and
repetition in the structural content.

JAVASCIPT

Our JavaScript Tutorial is designed for beginners and professionals both. JavaScript is
used to create client-side dynamic pages. JavaScript is an object-based scripting language which
is lightweight and cross-platform.

JavaScript is not a compiled language, but it is a translated language. The JavaScript


Translator (embedded in the browser) is responsible for translating the JavaScript code for the
web browser

7
BOOTSTAP

Bootstrap tutorial provides basic and advanced concepts of Bootstrap. Our Bootstrap
tutorial is designed for beginners and professionals. Bootstrap is the popular HTML, CSS and
JavaScript framework for developing a responsive and mobile friendly website.

Our Bootstrap tutorial includes all topics of Bootstrap such as jumbo tron, table, button,
grid, form, image, alert, wells, container, carousel, panels, glyphicon, badges, labels, progress
bar, pagination, pager, list group, dropdown, collapse,tabs, pills, navbar, inputs, modals, tooltip,
popover and scrollspy.

PHP

PHP: Hypertext Preprocessor (or simply PHP) is a general-purpose programming


language originally designed for web development. It was originally created by Rasmus Lerdorf
in 1994 the PHP reference implementation is now produced by The PHP Group. PHP originally
stood for Personal Home Page, but it now stands for the recursive initialism PHP code may be
executed with a command line interface (CLI), embedded into HTML code, or used in
combination with various web template systems, web content management systems, and web
frameworks. PHP code is usually processed by a PHP interpreter implemented as a module in a
web server or as a Common Gateway Interface (CGI) executable. The web server outputs the
results of the interpreted and executed PHP code, which may be any type of data, such as
generated HTML code or binary image data. PHP can be used for many programming tasks
outside of the web context, such as standalone graphical applications and robotic drone control.

The standard PHP interpreter, powered by the Zend Engine, is free software released under the
PHP License. PHP has been widely ported and can be deployed on most web servers on almost
every operating system and platform, free of charge.

MYSQL

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.

8
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.

MySQL works on many operating systems and with many languages including PHP,
PERL, C, C++, JAVA, etc.MySQL works very quickly and works well even with large data
sets.MySQL is very friendly to PHP, the most appreciated language for web
development.MySQL supports large databases, up to 50 million rows or more in a table. The
default file size limit for a table is 4GB, but you can increase this (if your operating system can
handle it) to a theoretical limit of 8 million terabytes (TB).MySQL is customizable. The open-
source GPL license allows programmers to modify the MySQL software to fit their own
specific environments.

XAMPP

XAMPP is a free and open-source cross-platform web server solution stack package
developed by Apache Friends,[2] consisting mainly of the Apache HTTP Server, MariaDB
database, and interpreters for scripts written in the PHP and Perl programming languages.[3][4]
Since most actual web server deployments use the same components as XAMPP, it makes
transitioning from a local test server to a live server possible.

XAMPP's ease of deployment means a WAMP or LAMP stack can be installed quickly
and simply on an operating system by a developer. With the advantage of common add-in
applications such as Word Press and Joomla! can also be installed with similar ease using
Bitnami.

9
3.SYSTEM DESIGN

Designing a system mainly focuses on the detailed implementation of the proposed


system. It emphasizes on translating performance specifications recorded at the time of study
through design specifications.

3.1 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 into a usable from 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 is provides security and ease of use with retaining
privacy. Shown in fig 3.2.1 to fig 3.2.5.

3.2 OUTPUT DESIGN

One of the most important features of an information system for user is the output
produced. Output refers to results and information that are generated by the system. For many
end users, output is the main reason for developing the system and based on this they will
evaluate the usefulness and applicability of the system.

Output design must improve the system relationship with the user and helps in decision
making. The objectives of the output design are to defined the format of all printed documents
and reports that will be produced by the system. The output has been designed as per the
requirement of the organization. The suggestion of the user is also taken into consideration while
designing the layouts and the fields that have to be included in the report shown in figure 3.1.1 to
3.1.2.

10
3.3 DATABASE DESIGN

Database design is the organization of data according to a Chambers. The designer


determines what data must be stored and how the data elements interrelate. With this
information, they can begin to fit the data to the database model.[1] Database management
system manages the data accordingly. Database design involves classifying data and identifying
interrelationships. This theoretical representation of the data is called an ontology. The ontology
is the theory behind the database's design. The design plays an important and crucial role for the
successful performance of the system.

The most important consideration in designing is the database is how information will be used.
the main objectives of designing a database are;

LOGIN TABLE:

The username and password are unique for every user.

REGISTER TABLE

It includes all the details of the new user.

MEDICINE STOCK

It includes the medicine id, name and vendor details.

ORDER TABLE

It includes the medicine id, name, no of items, cost.

BILL TABLE

It include details about customer name of the customer, total cost etc.

11
LOGIN TABLE

S.NO FIELD NAME DATA TYPE CONSTRAINTS

1. USER NAME VARCHAR(50) NOT NULL

2. PASSWARD VARCHAR(50) NOT NULL

REGISTER TABLE

S.NO FIELD NAME DATA TYPE CONSTRAINTS

1. PHARMACY_ID INT NOT NULL

2. NAME VARCHAR(50) NOT NULL

3. ADDRESS VARCHAR(50) NOT NULL

4. USERNAME VARCHAR(50) NOT NULL

5. PAASWARD VARCHAR(50) NOT NULL

MEDICINE STOCK

S.NO FIELD NAME DATA TYPE CONSRAINTS

1 MEDICINE_NAME VARCHAR(50) NOT NULL

2. VENDOR_NAME VARCHAR(50) NOT NULL

3. PRICE INT NOT NULL

12
OREDER TABLE

S.NO FIELDS NAME DATA TYPE CONSTRAINTS

1. MEDICINE_NAME VARCHAR(50) NOT NULL

2. NO_OF_ITEMS VARCHAR(50) NOT NULL

3. ADDRESS VARCHAR(50) NOT NULL

4. SYSTEM TESTING
Testing is vital to the success of the system. System Testing makes a logical assumption
that, if all the parts of the System are correct, the goal will be achieved. Its basic function is to
find the errors in the software by examining all possible loopholes. The goal of testing is to
point out uncover requirements, design or coding errors or invalid acceptance or storage of data.

A strategy for software testing integrates software test case design integrates software test
case design methods into a well planned series of steps that results in successful constructions of
software. Testing is a set activity that can be planned in advance and conducted systematically.

Testing has some following stages. They are

 Unit Testing
 Integration Testing
 Black-box Testing
 White-box Testing
 Validation Testing

4.1 Unit Testing

In unit testing each module is tested individually. It focus the verification efforts on the
smallest unit of software in the module. This is known as module testing. In “Purchase Order
Management” project all the modules are tested separately. For our case study testing is
performed at programming stage itself.

Here unit testing is performed now and then whenever a batch is delivered for each
module. This makes our project standard. In this project unit testing is done successfully for
each module.

13
4.2 Integration Testing

Integration testing is phase of software testing in which individual software modules are
combined and tested as a group.

In this project the parts of a module are tested first and then testing the sum of its parts.
Integration testing is done successfully.

4.3 Black-box Testing

Black-box testing focuses on the functional requirements of the software. That is it


enables the software to derive the set of input conditions that fully exercise all functional
requirements for a program. Black-box testing attempt to find errors in incorrect or missing
functions, interface errors, errors in data structures or external database access, performance
errors, initialization and termination errors.

In this project, testing is done on the data to ensure that they are stored correctly with
appropriate data types and formats.

4.4 White-box Testing

White-box testing is sometimes called Glass-box testing. Using this, the software
engineer can derive test cases that guarantee that all independent paths. Within a module have
been exercised at least once; exercise all logical decisions on their true or false sides. Execute all
loops at their boundaries within their operational bounds and exercise internal data structure to
assure their validity.

In this project, each module is tested individually again tested with relative modules.
Here, white-box testing is tested and all the boundaries are tested, logical decisions are exercised
all independent paths are checked.

4.5 Validation Testing

At the culmination of black-box testing, validation test begins. Validation testing can be
defined in many ways but a simple definition is that validation succeeds when the software
functions in manner that can be reasonably used. After conducting the validation testing, one of
the two possible condition exists whether the project performance conform to the specification or
not.

In data entry the values are not saved without filling any information. Lot of validation is
checked for the user needs.

14
5. SYSTEM IMPLEMENTATION

System implementation is the stage, which is very important in the life cycle of the new
system. Implementation simply means converting a new system design into an operational one.
Conversion is one aspect of implementation.

The first step in implementing the system was getting the approval from thee system
manager. Even after the system implementation the requirement of user may change in the
future. The software is designed and develop flexibility. So that can be subjected to further
changes also.

The more complex is the system being implemented, the more involved will be the
system analysis and design efforts.

15
6. CONCLUSION

“PURCHASE MANAGEMENT SYSTEM” was successfully completed and the


required reports are generated. The system was tested with all possible samples of data and the
performance of the system proves much effective and the data maintenance and manipulation is
achieved practically. The results or live data are compared with the actual system verified for its
accuracy. As the system is flexible the system can be changed if any further changes in future.

16
7. BIBLIOGRAPHY

 “Pro C# 5.0 and the .NET 4.5 Framework(Expert’s Voice in .NET)” 6th ed. Edition,
Kindle Edition, b Andrew Troelsen(Author).
 “C# 5.0 in a Nutshell:” The Definitive Reference 5th Edition, Kindle Edition by joseph
albahari(Author), BenAlbahari(Author).
 Robert D, Schncider, jettey R. Garbus, “Optmizing SQL Server”, Second Edition,
Pearson Education Asia, ISBN:981-4035-20-3.
 Professional ASP.NET MVC 5, foreword by Scott HanSelMan, John Galloway, Brad
Wilson, K. Scott Allen, David Matson.

REFERENCES:

o http://www.microsoft.com/dotnet/visual basic.com
o http://www.dotnetheaven.com
o http://www.google.com
o http://www.tutorialspoint.com/ms_sql_server/ms_sql_server_overview.htm
o http://www.tutorialspoint.com/csharp/

17
8. APPENDIX

18

Вам также может понравиться