`1. INTRODUCTION
The first option will attempt to pack as much of the medicines using any of the
packing methods available to medical shop management. This may be a loading from the
floor or from the end of the container. The second and third options are self explanatory and
the one most appropriate to the practical circumstances should be selected.
Page 1 of 57
Medical Shop Management System
2. SYSTEM ANALYSIS
The products of planning a System Definition and Project Plan. The system
definition is typically expressed in English or some other natural language, and may
incorporate charts, figures, graphs, tables and equations of various kinds. The exact notation
is used in the system definition are highly dependent on the problem area. Obviously, one
uses different terminology to describe an accounting system than to describe a process
control system. Analysis is defined as the procedure by which we break down at intellectual
or substantial whole into parts or components.
Page 2 of 57
Medical Shop Management System
Time consuming
More expensive
Searching problem
Less accuracy
Page 3 of 57
Medical Shop Management System
The working through registers system is not only very laborious and
time consuming , but there are number of errors found. In comparison to old system
the proposed system of computer processes many advantages.
Accuracy
Security
Time Saving
Low Cost
Easy Maintenance
Easy Modification
Page 4 of 57
Medical Shop Management System
Technical Feasibility
Operational Feasibility
Economical Feasibility
Technical Feasibility
Technical Feasibility is used to find out whether the necessary technology, the
proposed equipment have the capacity to hold the data, which is used in the project. It is a
study of function, performance and constraints that may affect the ability to achieve an
acceptance system.
The technical Feasibility issues usually raised during the feasibility stage of
investigation includes these:
Operational Feasibility
This feasibility test asks if the system will works when it is developed is
installed.
The proposed system produces best results and gives high performance.
Page 5 of 57
Medical Shop Management System
Economical Feasibility
3. SYSTEM SPECIFICATION
Page 6 of 57
Medical Shop Management System
RAM : 5 GB
Keyboard : HCL
Monitor : LG
Page 7 of 57
Medical Shop Management System
Visual Basic is quickest and earliest they to create powerful application for
Microsoft operating system. The Visual Basic programming system allows to create robust
and useful application that fully use of the Graphical User Interface (GUI).
The front-end tools make the user interface with the system easier and also
provide a user-friendly environment to the system. This rich language enables us to develop
many different types of application. We can create programs that intersect with the hardware.
The bridge between the data provider and data consumers is through data
sources created using MS active X data object (ADO) which is the primary method in visual
basic to access data in any data source, both relational and non relational for backward
compatibility and project maintenances , Remote Data Objects (RDO) and Data Access
Objects (DAO) are still supported.
On the client-side, several new data sources are available, including the data
environment, a graphical designer that allows to quickly creating ADO connections and
comments to access the data.
Page 8 of 57
Medical Shop Management System
ability to create hierarchies of related data, aggregate and automatic grouping all without
code.
The new ADO data control is similar to the intrinsic the data control and
remote data control, except that uses ADO to access sources either as user controls are
proprietary data structures.
Features
Data access features allows to create data base and front-end create data base format,
including Microsoft SQL
Server, oracle, Microsoft access and other enterprise level data base.
Visual basic allows adapting more of parallel approach, with independent section of
code for each option that the user may select. This is known as Environment
Programming Language.
Page 9 of 57
Medical Shop Management System
It can be extended easily through the use of window API call, hundreds of third party control
and DLLs, and integration with other windows applications through COM and DCOM
allows for a rapid application development and excellent for business application.
Oracle
Client/Server Database
Page 10 of 57
Medical Shop Management System
Client/server database, such as oracle, run as a process on the server and run
a client database application on each client.
The client computer does not run the entire DBMS, only the client
application that requests data from the server the client request data from the server, and only
the requested data or sent back via network, which results in less network traffic.
Client Failure
The client failure, the client/server database is not affected. The other clients
are not affected either .Only the failed client’s transactions in progress are lost.
Transaction Processing
Features
The oracle environment provides utilities to work with database tables, developing
forms, reports, and graphs, managing users and database, and interfacing the web and
database.
SQL is a language with data retrieval, DML, DDL, DCL, and transaction control
query statements.
Page 11 of 57
Medical Shop Management System
SQL* plus is an environment that provides user with editing, file, formatting,
execution, interaction commands.
4. SYSTEM DESIGN
Page 12 of 57
Medical Shop Management System
There is some overlap and synergy with the discipline of system analysis,
system architecture and system engineering. System design is therefore the process of
defining and developing a system to satisfy specified requirement of the market or a
customer.
Specifying the internal structure and processing details of the system. The
fundamental concepts of the system design includes abstraction, structure, information
hiding, modularity, concurrency, verification, and design aesthetics
Page 13 of 57
Medical Shop Management System
The internal structure of the software product and tests that attempt to
break the system are opened during the implementation. The architectural design is also
called as internal design. The goal of this design is to specify the internal structure and
processing details, to record design decisions.
4.2 Normalization
Redundant data can pose a huge problem in database.
If a change made in one piece of the data, the change has to be made in many places.
Redundancy may also let to anomalies. Decomposing is the process of splitting relations into
multiple relations to eliminate anomalies and maintain anomalies and maintain data integrity
Insertion anomaly
Page 14 of 57
Medical Shop Management System
Deletion anomaly
Deletion anomaly results when the deletion of information about one entity
leads to the deletion of information about another entity.
Update anomaly.
Update anomaly can occurs if the item price changes to a new price.
The primary key is defined. This includes a composite key if a single column cannot
be used as a primary key
All non key columns show functional dependency on the primary key components.
All the three normal forms are used to design the database.
Page 15 of 57
Medical Shop Management System
Data flow oriented techniques advocate that the major data items
handled by a system must be first identified and then the processing required on
these data items to produce the desired outputs should be determined. The DFD (also
called as bubble chart) is a simple graphical formalism that can be used to represent
a system in terms of input data to the system, various processing carried out on these
data, and the output generated by the system. It was introduced by De Macro (1978),
Gane and Sarson (1979).The primitive symbols used for constructing DFD’s are:
Page 16 of 57
Medical Shop Management System
5. SYSTEM DEVELOPMENT
Page 17 of 57
Medical Shop Management System
The medicines been purchased by the medical shop, the details are recorded in
the Purchase Item. Some of the details been recorded by the Medical shop agent is the
agency from which the medicines are bought, item details such as item type, item name,
quantity, manufacturing date, expiry date etc.
The operations that are been performed here:
To add new records into the database, to modify an already existing record in
the database , to search a record and delete a record from the database.
The medicines been sold out by the medical shop, the details are recorded in
the Sales Item. Some of the details been recorded by the Medical shop agent is the agency or
the customer and their respective address to whom the medicines are sold, item details such
as item type, item name, quantity, manufacturing date, expiry date etc.
The operations that are been performed here :
To search a record in the database and delete a record from the database.
The medicine details such as name of the medicine, bill number, manufacturing
date, expiry date, price and the quantity of the medicines etc are been recorded in the Item
Details.
The bill for the medicines been purchased, is issued to the Customer by the
medical shop. The Customer bill contains the bill number, purchase date, agent or agency
Page 18 of 57
Medical Shop Management System
name, details of the item such as medicine type, name, price, quantity, manufacturing date,
expiry date etc
The operations that are been performed here:
To print the record , to modify an already existing record in the database , to
search a record and delete a record from the database.
The bill for the medicines been purchased, is issued to the Customer by the
medical shop. The Customer bill contains the bill number, purchase date, details of the item
such as medicine type, name, price, quantity, manufacturing date, expiry date etc.
The operations that are been performed here:
To print the record ,to modify an already existing record in the database ,to
search a record and delete a record from the database.
The Stock details deals with the details of the agency as well as the stock item such as
the item type, item name, price and quantity.
The operations that are been performed here:
To display the sales details of the stock as recorded in the database ,to search a record
in the database.
Page 19 of 57
Medical Shop Management System
Testing Strategies
System testing is the stage of implementation that is aimed at ensuring that the
system works accurately and efficiently before live operation commences. Testing is vital for
the success of the system. System testing makes a logical assumption that if all parts of the
system are correct, the goal will be successfully achieved.
A series of tests are performed for the proposed system is ready for User
Acceptance Testing. The testing steps are
Unit Testing
Integration Testing
Validation Testing
Output Testing
Unit Testing
Unit testing focuses verification efforts on the smallest unit of software design,
the machine module. This is also known as “MODULE TESTING”. The modules are tested
separately is carried out during programming stage itself. In this step, each module is found
to be working satisfactory. So the expected output from the module is arrived.
Integration Testing
Data can be lost across and interface, one module can have an adverse effect
on others, and sub-functions when combined may not produce the desired major functions.
Page 20 of 57
Medical Shop Management System
Integration Testing is a Systematic Structure, while at the same time conducting to uncover
errors associated within the interfaces. The objective is to take unit-tested modules and to
combine them and test it as a whole. Here correction is difficult because the vast expenses of
the entire program complicate the isolation of causes. This is the integration testing step. All
the errors encountered will be carried over to the next testing step.
Validation Testing
Validation testing is performed in order to find whether there is any flow and
deficiency in requirements of the system. Each and every module is tested independently.
The input and output process are validated effectively. The input of the user for each field is
validated to check if value entered is null (or) valid. After field level validation, the module
level is made such that they are integrated and a validation is performed for the whole
system.
Output Testing
After performing the validation, the next is output testing of the proposed
system. Since no system could be useful. If it does not produce the required output in the
special format asking the user about the requirement, test the output generated (or) displayed
by the system. Hence the output format is considered in two ways. On is on of the screen and
other is printed format.
User-Acceptance Testing
User-Acceptance of a system is the key factors for the success of any system.
The system under consideration is tested for user acceptance by constantly keeping in touch
with the perspective system users at the time of developing and makes changes whenever
required. This is done with the regard of the following points.
Output Screen
Page 21 of 57
Medical Shop Management System
System implementation is the stage of the project that the theoretical design is
turned into a working system. If the implementation stage is not properly plane and control, it
can be considered to be the most crucial stage in achieving a successful new system and in
giving the user confidence that the new system will work and be effective.
After implementation phase, the user staff is adjusted to the changes created
by the candidate system, evaluation and maintenance to bring the new system to standard.
There is an there types
Implementation Planning
Education Planning
System Planning
Page 22 of 57
Medical Shop Management System
Page 23 of 57
Medical Shop Management System
8. CONCLUSION
The software “Medical Shop Management System” has been developed in
windows 98 environment using visual basic as front end and oracle as back end. Time
consumptions reduced to a great extent and user as less complexity in handling this database.
The project is fully fledged and user friendly, End users will be lightened in
using this software because it is easy to have bills and reports and mostly all contents to be
entered are to selected from combo box. This reduces the calculating efforts to be carried out
by the users.
Page 24 of 57
Medical Shop Management System
BIBLIOGRAPHY
Referenced Book
Page 25 of 57
Medical Shop Management System
Referenced Website
www.vbtutor.net
www.vbtutor.net/vb2010/index.html
www.w3schools.com/vbscript/default.asp
Database : db_medical
Page 26 of 57
Medical Shop Management System
Page 27 of 57
Medical Shop Management System
Page 28 of 57
Medical Shop Management System
Page 29 of 57
Medical Shop Management System
Page 30 of 57
Medical Shop Management System
Page 31 of 57
Medical Shop Management System
Page 32 of 57
Medical Shop Management System
Page 33 of 57
Medical Shop Management System
Page 34 of 57
Medical Shop Management System
LoginForm
Screen Attributes
Page 35 of 57
Medical Shop Management System
MDIForm
Screen Attributes
This screen shows MDI form.
Page 36 of 57
Medical Shop Management System
PurchaseItem
Screen Attributes
This screen shows purchaseitem details.
Page 37 of 57
Medical Shop Management System
SaleItem
Screen Attributes
This screen shows saleitem details.
Page 38 of 57
Medical Shop Management System
ItemDetail
Page 39 of 57
Medical Shop Management System
Screen Attributes
This screen shows item details.
Page 40 of 57
Medical Shop Management System
AgencyBill
Screen Attributes
This screen shows agency bill details.
Page 41 of 57
Medical Shop Management System
Customer Bill
Screen Attributes
This screen shows Customer bill details.
Page 42 of 57
Medical Shop Management System
Stock
Screen Attribute
This screen shows stock details.
Page 43 of 57
Medical Shop Management System
Page 44 of 57
Medical Shop Management System
Page 45 of 57
Medical Shop Management System
Page 46 of 57
Medical Shop Management System
Dim cn As ADODB.Connection
Dim rs As ADODB.Recordset
agency_nm = Me.cmb_agenm.Text
item_nm = Me.cmb_inm.Text
cn.Execute "insert into sale_item values(" & Val(txt_rno.Text) & ",'" & Trim(Me.txt_dr.Text)
& "','" & Trim(txt_cnm.Text) & "','" & Trim(txt_add.Text) & "','" & Trim(txt_city.Text) &
"','" & Trim(cmb_agenm.Text) & "','" & Trim(cmb_inm.Text) & "','" &
Trim(Me.txt_itemnm.Text) & "','" & Format(dtp_endt.Value, "dd-mmm-yy") & "','" &
Format(Me.txt_mfgdt.Text, "dd-mmm-yy") & "','" & Format(Me.txt_expdt.Text, "dd-mmm-
yy") & "'," & Val(txt_ppr.Text) & "," & Val(txt_qty.Text) & "," & Val(txt_total.Text) & ")"
cn.Execute "commit"
rs.Requery
rs1.Requery
qty = Val(Me.txt_qty.Text)
Page 47 of 57
Medical Shop Management System
qty = Val(Me.txt_qty.Text)
qty1 = rs1.Fields(6).Value
cn.Execute "update stock_detail set agencynm='" & cmb_agenm.Text & "',itemtype='" &
cmb_inm.Text & "',itemnm=' " & Me.txt_itemnm.Text & " ',mfgdt='" &
Format(Me.txt_mfgdt.Text, "dd-mmm-yy") & "',expdt='" & Format(Me.txt_expdt.Text, "dd-
mmm-yy") & "',ppr=" & Val(txt_ppr.Text) & ",qty=" & qty1 & " where itemtype='" &
cmb_inm.Text & "' "
cn.Execute "commit"
rs.Requery
rs1.Requery
DataReport4.Show
cm_print.ShowPrinter
Else
Page 48 of 57
Medical Shop Management System
txt_rno.SetFocus
End If
rs.MoveNext
rs.MoveLast
End If
Exit Sub
End If
End If
rs1.MoveNext
Wend
cmd_add.Caption = "print"
Else
cmd_add.Caption = "Ok"
Page 49 of 57
Medical Shop Management System
MsgBox "ok"
End If
rs.Requery
rs1.Requery
End Sub
cn.Execute "delete from sale_item where recordno=" & Val(txt_rno.Text) & ""
Call data
cn.Execute "commit"
End If
rs.MoveNext
rs.MoveLast
End If
rs.Requery
rs1.Requery
Page 50 of 57
Medical Shop Management System
End Sub
Dim no As Integer
txt_rno.SetFocus
Else
cn.Execute "update sale_item set recordno=" & Val(txt_rno.Text) & ",doctor='" & txt_dr.Text
& "',custnm ='" & txt_cnm.Text & "',addr='" & txt_add.Text & "',city='" & txt_city.Text &
"',agencynm='" & cmb_agenm.Text & "',itemnm='" & cmb_inm.Text & "',itemtype='" &
txt_itemnm.Text & "',entrydt='" & Format(dtp_endt.Value, "dd-mmm-yy") & "',mfgdt='" &
Format(txt_mfgdt.Text, "dd-mmm-yy") & "',expdt='" & Format(txt_expdt.Text, "dd-mmm-
yy") & "',ppr=" & Val(txt_ppr.Text) & ",qty=" & Val(txt_qty.Text) & ",total=" &
Val(txt_total.Text) & " where recordno='" & Val(txt_rno.Text) & "' "
cn.Execute "commit"
cmd_edit.Caption = "Edit"
End If
rs.Requery
rs1.Requery
End Sub
Page 51 of 57
Medical Shop Management System
Else
rs.MoveFirst
Call data
End If
End Sub
Else
rs.MoveLast
Call data
End If
End Sub
rs.MoveNext
rs.MoveLast
End If
Call data
End Sub
Page 52 of 57
Medical Shop Management System
rs.MovePrevious
rs.MoveFirst
End If
Call data
End Sub
Unload Me
End Sub
Unload Me
Me.Show
End Sub
Call data
Page 53 of 57
Medical Shop Management System
rs.Requery
rs1.Requery
Exit Sub
End If
rs.MoveNext
Wend
End If
rs.Requery
rs1.Requery
End Sub
Page 54 of 57
Medical Shop Management System
cn.Execute "commit"
err:
Me.cmb_agenm.Text = agency
Me.cmb_inm.Text = item
Me.txt_ppr.Text = price
Me.txt_itemnm.Text = itemnm
End Sub
txt_rno.Text = rs.Fields(0).Value
txt_dr.Text = rs.Fields(1).Value
txt_cnm.Text = rs.Fields(2).Value
txt_add.Text = rs.Fields(3).Value
cmb_agenm.Text = rs.Fields(4).Value
cmb_inm.Text = rs.Fields(5).Value
txt_itemnm.Text = rs.Fields(6).Value
Page 55 of 57
Medical Shop Management System
dtp_endt.Value = rs.Fields(7).Value
txt_city.Text = rs.Fields(8).Value
txt_mfgdt.Text = rs.Fields(9).Value
txt_expdt.Text = rs.Fields(10).Value
txt_ppr.Text = rs.Fields(11).Value
txt_qty.Text = rs.Fields(12).Value
txt_total.Text = rs.Fields(13).Value
End Function
KeyAscii = 0
txt_ppr.SetFocus
End If
End Sub
KeyAscii = 0
Page 56 of 57
Medical Shop Management System
txt_qry.SetFocus
End If
End Sub
KeyAscii = 0
txt_rno.SetFocus
End If
End Sub
End Sub
KeyAscii = 0
txt_pcode.SetFocus
End If
End Sub
Page 57 of 57
Medical Shop Management System
KeyAscii = 0
txt_phno.SetFocus
End If
End Sub
Page 58 of 57