medical shop automation system
DESCRIPTION
Stock maintenance visual basic projectTRANSCRIPT
DATE : 23
DATE : 23.06.2009MEDICAL SHOP AUTOMATION
SYSTEMAUTHORS NAME:
1.THIRUMALA LAKSHMI.P.A.
(07BIT53)
2. SUGANYA .K.S. (07BIT51)
VERSION: 1.0PROBLEM DEFINITIONVERIFIED
Medical Shop Automation system maintains stock inventory of medicines in pharmaceutical shop. This system ensures fast, accurate processing and also security aspects for the system. When the medicines are purchased, the details of purchased medicines are updated. When the medicines are sold, the details of sold medicines are noted. When the medicines reach the minimum level, the user is informed so that the user can purchase the medicines that are required. This system generates stock report for both purchase and sales. This system thus reduces the manual work done in the pharmaceutical shop.DATE : 23.06.2009MEDICAL SHOP AUTOMATION
SYSTEMAUTHORS NAME:
1.THIRUMALA LAKSHMI.P.A.
(07BIT53)
2. SUGANYA .K.S. (07BIT51)
VERSION: 1.1PROBLEM DEFINITIONVERIFIED
Medical Shop Automation system maintains stock inventory of medicines in pharmaceutical shop. This system ensures fast, accurate processing and also security aspects for the system. When the medicines are purchased, each medicine is assigned a code number. So that when billing is done, the medicines are identified using the code number and the total amount is calculated and the bill is generated.. When the medicines go beyond the minimum level, the user is informed so that the user can place the purchase order for the medicines that are required. This system generates stock report for both purchase and sales .This system thus reduces the manual work done in the pharmaceutical shop.DATE :30.06.2009MEDICAL SHOP AUTOMATION
SYSTEMAUTHORS NAME:
1. THIRUMALA LAKSHMI.P.A.
(07BIT53)
2. SUGANYA.K.S. (07BIT51)
VERSION: 1.0MODULE DISCRIPTIONVERIFIED:
MODULES:
1. LOGIN
2. WELCOME
3. SALES BILLING
4. PURCHASE BILLING
5. SALES REPORT
6. PURCHASE REPORT
7. STOCK SEARCH
MODULE DESCRIPTION:
1. LOGIN:
The following details are got from the user
User name
Pass word
If the details are invalid, the user is denied the access.
2. WELCOME:
This welcome screen gives the following choice for the user to select.
Sales Billing
Purchase Billing
Sales Report
Purchase Report
3. SALES BILLING:
The user does the billing by entering the following details.
Patients Name
Code number for medicine and quantityWhen the following details are given, the system automatically identifies the medicine and displays total amount to be paid and the bill is generated When a particular medicine goes beyond the minimum level, the user is informed.
4. PURCHASE BILLING:
The user registers the dealer and the medicines to be purchased and code numbers are assigned to the purchased medicines. The amount to be paid to the dealer is calculated and stores in the database5. SALES REPORT:
It displays the details such as number of customers, sold medicine and total amount received for each day.
6. PURCHASE REPORT:
This report displays the details such as purchased medicine, dealers name, the amount to be paid and amount paid already.
7.STOCK SEARCH:
This helps the administrator to search the quantity of available medicine..by choosing the appropriate medicine name.DATE :30.06.2009MEDICAL SHOP AUTOMATION
SYSTEMAUTHORS NAME:
1. THIRUMALA LAKSHMI.P.A.
(07BIT53)
2. SUGANYA.K.S. (07BIT51)
VERSION: 1.1MODULE DISCRIPTIONVERIFIED:
MODULES:
1. LOGIN
2. PURCHASE DETAILS
3. SALES DETAILS
4. SALES REPORT
5. PURCHASE REPORT
MODULE DESCRIPTION:
1. LOGIN:
The user name and password are got from the user and if the details are invalid, the user is denied the access.
2. PURCHASE DETAILS:
The user selects the dealer and the medicines purchased are registered and code numbers are generated automatically for newly entered medicines. The amount to be paid to the dealer is calculated and stored.
3. SALES BILLING:
The user does the billing by entering the Patients Name, Age, Doctor Referred, Code number for medicine and quantity. When the following details are given, the system identifies the medicine and displays total amount to be paid. The bill is generated to the user.
4. PURCHASE BILLING:
The user registers the dealer and the medicines to be purchased and code numbers are assigned to the purchased medicines. The amount to be paid to the dealer is calculated and stores in the database
5. SALES REPORT:
It displays the details such as number of customers, sold medicines and total amount received for each day.
6. PURCHASE REPORT:
This report displays the details such as dealers name, purchased medicine, the amount to be paid and amount paid already.
7.STOCK SEARCH:
This helps the administrator to search the quantity of available medicine. By choosing the appropriate medicine.DATE : 07.07.2009MEDICAL SHOP AUTOMATION
SYSTEMAUTHORS NAME:
1.THIRUMALA LAKSHMI.P.A.
(07BIT53)
2. SUGANYA .K.S. (07BIT51)
VERSION: 1.0MILESTONE,TIMELINES AND DELIVERABLESVERIFIED
S.NOMILESTONE NAMEDESCRIPTION OF MILESTONETIMELINE
(hours)DELIVERABLES
1.Requirement SpecificationComplete specification of the system including the facilities that would be supported, the services constitute this milestone. A document detailing the same to be made.1-3Requirement Definition Document
2.Software requirement specificationAll functional and non-functional hardware and software requirements are gathered.4-6SRS-Software Requirement Specifications
3.Design DocumentThe flow of information between different modules is represented using DFD. 7-12DFD-Data Flow Diagram
4.Database DesignIt is a collection of data. The tables are created and the fields of the tables are defined in selected database.13-18Various tables structure
5.User Interface DesignThe user interface is designed for administrator needs using the selected language Visual Basic(VB)19-24Various screen designs or screen shots
6.ImplementationThe functional requirements are coded using VB as front end and MS-Access as back end25-30Source code
7.TestingIndividual modules are tested to verify their functionality31-33Test plan, test case and test report
8.Documentation Documentation will be prepared for the above phase34-36
DATE :14.07.2009MEDICAL SHOP AUTOMATION
SYSTEMAUTHORS NAME:
1. THIRUMALA LAKSHMI.P.A.
(07BIT53)
2. SUGANYA.K.S. (07BIT51)
VERSION: 1.0REQUIREMENT ANALYSISVERIFIED:
1. FRS 01: LOGIN (Essential):
For security enhancement, login with password is used. When invalid password and username is entered, the user is denied the access.
2. FRS 02: WELCOME (Essential):
After correct login, the welcome screen will be displayed. The user is given options such as billing report to choose through this page.
3. FRS 03: PURCHASE DETAILS (Essential):
This asks for information such as name of medicine, dealer and generates a code number for each medicine entered.
4. FRS 04: MODIFYING PURCHASE DETAILS (Essential):
In case of any change in name and quantity, those details are modified and updated. 5. FRS 05: ADDING SALES DETAILS (Essential): This asks for details of customer and medicines to be sold and calculate the total amount and generate the bill.
6. FRS 06: MODIFYING SALES DETAILS (Essential): In case of any changes in name and quantity, those details are modified and updated7. FRS 07: SALES REPORT (Essential): It generates report containing details such as number of customers, total amount received per day.
8. FRS 08: PURCHASE REPORT (Essential): It generates reports containing details such as name of dealer,amount to be paid. when the administrator asks for.DATE :14.07.2009MEDICAL SHOP AUTOMATION
SYSTEMAUTHORS NAME:
1. THIRUMALA LAKSHMI.P.A.
(07BIT53)
2. SUGANYA.K.S. (07BIT51)
VERSION: 1.1REQUIREMENT ANALYSISVERIFIED:
1. FRS 01: LOGIN SCREEN (Essential):
For security enhancement, login with password is used. When invalid password and username is entered, the user is denied the access.
2. FRS 02: WELCOME SCREEN (Essential):
After correct login, the welcome screen will be displayed. The user is given options such as billing report to choose through this page.
3. FRS 03: PURCHASE DETAILS (Essential):
This asks for information such as name of medicine, dealer and generates a code number for each medicine entered.
4. FRS 04: MODIFYING PURCHASE DETAILS (Essential):
In case of any change in name and quantity of medicines, based on the code number generated while adding purchase details, the required details are modified and updated.5. FRS 05: ADDING SALES DETAILS (Essential): These ask for details such as name of customer and medicines and quantity and calculate the total amount and generate the bill with a bill number.
6. FRS 06: MODIFYING SALES DETAILS (Essential): When the customer wants to return the medicine purchased, based on the bill number, the required details are modified and updated7. FRS 07: SALES REPORT (Essential): It generates report containing details such as number of customers, total amount received per day.
8. FRS 08: PURCHASE REPORT (Essential): It generates reports containing details such as name of dealer, balance, amount delivered when the administrator asks for.NON FUNCTIONAL REQUIREMENTS:
SOFTWARE REQUIREMENTS:
Front End - Microsoft Visual Basic 6.0
Back End - MS Access (97-03)
Operating System - Microsoft Windows XP
HARDWARE REQUIREMENTS:
RAM - 2GB
Processor - Intel Processor
Keyboard - Standard Keyboard with 104 keys.
Monitor - 17 TFT Color Monitor.
DATE :28.07.2009MEDICAL SHOP AUTOMATION
SYSTEMAUTHORS NAME:
1. THIRUMALA LAKSHMI.P.A.
(07BIT53)
2. SUGANYA.K.S. (07BIT51)
VERSION: 1.1REQUIREMENT ANALYSISVERIFIED:
Table Name - PURCHASE
Primary Key - CODE NO
S.NoFIELD NAMEDATA TYPEDESCRIPTION
1Medicine CodeAuto numberMedicine code
2Name of MedicineTextMedicine Name
3QuantityNumberQuantity of Medicine
4CostNumberCost per medicine
5Total CostNumberCost of total medicine
6Dealers NameTextName of dealer from whom medicines are purchased.
Table Name - SALES
Primary Key - BILL NO
S.NoFIELD NAMEDATA TYPEDESCRIPTION
1DateDate/ TimeCurrent date
2Bill noAuto numberBilling number
3Patients NameTextName of the Patient
4Medicine NameTextName of Medicine
5QuantityNumberQuantity of Medicine Required
6CostNumberCost per medicine
7Total AmountNumberTotal cost
DATE :04.08.2009MEDICAL SHOP AUTOMATION
SYSTEMAUTHORS NAME:
1. THIRUMALA LAKSHMI.P.A.
(07BIT53)
2. SUGANYA.K.S. (07BIT51)
VERSION: 1.0DATA FLOW DIAGRAMVERIFIED:
LEVEL 0:
DATE :14.07.2009MEDICAL SHOP AUTOMATION
SYSTEMAUTHORS NAME:
1. THIRUMALA LAKSHMI.P.A.
(07BIT53)
2. SUGANYA.K.S. (07BIT51)
VERSION: 1.0SOURCE CODEVERIFIED:
LOGIN:
Private Sub Command1_Click()
If (text1.Text = "admin") And (Text2.Text = "felix") Then
Form2.Show
Else
MsgBox "Invalid user"
End If
End Sub
Private Sub Command2_Click()
End
End Sub
WELCOME SCREEN:
Private Sub Command1_Click()
Form3.Show
End Sub
Private Sub Command2_Click()
Form4.Show
End Sub
Private Sub Command3_Click()
Form5.Show
End Sub
Private Sub Command4_Click()
DataReport3.Show
End Sub
Private Sub Command5_Click()
DataReport2.Show
End Sub
Private Sub Command6_Click()
End
End SubPURCHASE DETAILS :
Dim x As Integer
Dim y As Integer
Private Sub Command1_Click()
Adodc2.Recordset.AddNew
Adodc1.Recordset.AddNew
Adodc2.Recordset.Fields(1) = Text2.Text
Adodc2.Recordset.Fields(2) = Text3.Text
Adodc2.Recordset.SaveAdodc1.Recordset.Fields(1) = Text2.Text
Adodc1.Recordset.Fields(2) = Text3.Text
Adodc1.Recordset.Fields(3) = Text4.Text
x = Val(Text3.Text)
y = Val(Text4.Text)
Adodc1.Recordset.Fields(4) = x * y
Adodc1.Recordset.Fields(5) = Text5.Text
Adodc1.Recordset.Save
MsgBox ("purahase entry is added")
End Sub
Private Sub Command2_Click()
Text2.Text = ""
Text3.Text = ""
Text4.Text = ""
Text5.Text = ""End Sub
Private Sub Command3_Click()
Form7.Show
End Sub
Private Sub Command4_Click()
Form2.Show
Unload Me
End Sub
Private Sub Command5_Click()
End
End Sub
SALES DETAILS:
Dim x, y, a, m As Integer
Dim n As String
Public rs As New ADODB.Recordset
Private Sub Combo1_Click()
Adodc1.Recordset.MoveFirst
While Not Adodc1.Recordset.EOF
If ((Combo1.Text) = Adodc1.Recordset.Fields(1)) Then
Text4.Text = Adodc1.Recordset.Fields(3)
End If
Adodc1.Recordset.MoveNext
Wend
List4.AddItem (Text4.Text)
End Sub
Private Sub Combo1_LostFocus()
List2.AddItem (Combo1.Text)
End Sub
Private Sub Command1_Click()
Adodc2.Recordset.AddNew
Adodc2.Recordset.Fields(0) = Text1.Text
Adodc2.Recordset.Fields(2) = Text3.Text
Adodc2.Recordset.Fields(3) = Combo1.Text
Adodc2.Recordset.Fields(4) = Text2.Text
Adodc2.Recordset.Fields(5) = Text4.Text
x = Val(Text2.Text)
y = Val(Text4.Text)
Adodc2.Recordset.Fields(6) = x * y
Text8.Text = Adodc2.Recordset.Fields(6)
a = a + Val(Text8.Text)
MsgBox ("SALES entry is added")
Text5.Text = a
List5.AddItem (Text8.Text)
Adodc2.Recordset.Save
Adodc3.Recordset.MoveFirst
While Not Adodc3.Recordset.EOF
If Adodc3.Recordset.Fields(1) = Combo1.Text Then
Adodc3.Recordset.Fields(2) = Adodc3.Recordset.Fields(2) - Val(Text2.Text)
End If
Adodc3.Recordset.MoveNext
Wend
Adodc3.Recordset.Save
End Sub
Private Sub Command3_Click()
n = Text3.Text
DataEnvironment1.Command1 (n)
DataReport1.Show
End Sub
Private Sub Command4_Click()
Form2.Show
End Sub
Private Sub Command5_Click()
End
End Sub
Private Sub Command6_Click()
Text1.Text = ""
Text2.Text = ""
Text3.Text = ""
Text4.Text = ""
Text5.Text = ""
Text6.Text = ""
Text7.Text = ""
Text8.Text = ""
List2.Clear
List3.clear
List4.clear
Combo1.Text = ""
End Sub
Private Sub Form_Load()
a = 0
Text1.Text = Date
Adodc1.Recordset.MoveFirst
While Not Adodc1.Recordset.EOF
Combo1.AddItem (Adodc1.Recordset.Fields(1))
Adodc1.Recordset.MoveNext
Wend
End Sub
Private Sub Text1_Click()
C = Text1.TextFocus()
List3.AddItem (Text2.Text)
End Sub
Private Sub Text2_LostFocus()
List3.AddItem (Text2.Text)
End Sub
STOCK SEARCH:
Private Sub Command1_Click(Index As Integer)
Adodc1.Recordset.MoveFirst
While Not Adodc1.Recordset.EOF
If ((Combo1.Text) = Adodc1.Recordset.Fields(1)) Then
Text1.Text = Adodc1.Recordset.Fields(0)
Text2.Text = Adodc1.Recordset.Fields(2)
End If
Adodc1.Recordset.MoveNext
Wend
End Sub
Private Sub Command2_Click(Index As Integer)
Form2.Show
End Sub
Private Sub Command3_Click(Index As Integer)
End
End Sub
Private Sub Command4_Click()
Text1.Text = ""
Combo1.Text = ""
Text2.Text = ""
End Sub
Private Sub Form_Load()
Adodc1.Recordset.MoveFirst
While Not Adodc1.Recordset.EOF
Combo1.AddItem (Adodc1.Recordset.Fields(1))
Adodc1.Recordset.MoveNext
Wend
End Sub
DATE :14.07.2009MEDICAL SHOP AUTOMATION
SYSTEMAUTHORS NAME:
1. THIRUMALA LAKSHMI.P.A.
(07BIT53)
2. SUGANYA.K.S. (07BIT51)
VERSION: 1.0TEST CASESVERIFIED:
DATE :14.07.2009MEDICAL SHOP AUTOMATION
SYSTEMAUTHORS NAME:
1. THIRUMALA LAKSHMI.P.A.
(07BIT53)
2. SUGANYA.K.S. (07BIT51)
VERSION: 1.0TEST CASESVERIFIED:
TEST PLAN:
TEST CASES:
S.NOFRS/REQUIREMENTSEXPECTED OUTPUTACTUAL OUTPUTRESULT
1.FRS01Administrator loginThe administrator should be allowed to enter the systemOn entry of the correct login name and password,the user is allowed to enter the systempass
2.FRS02Purchase detailsThe medicine details such as name,quantity and cost are entered and the details are updatedOn entry of valid medicine name and quantity,the total cost and other details are updated in the tablepass
3.FRS03Sales detailsOnce the medicines are registed,sales can be done and the details are updatedOn entry of valid medicine name ,the other details are displayed and total cost is calculated and the bill is generated for each customerpass
4.FRS04Stock searchIncase there is need to search for current stock,the medice details are displayedOn selecting the medicine name ,the medicine quantity is displayedpass
5.FRS05Sales reportBased on the date ,the sales report is generatedOn giving the appropriate date,the sales report is generatedpass
6.FRS06purchase reportFor all medicines registered,the purchase report is generatedOn giving the appropriate dealers name,the purchase report is generatedpass
DATE :04.08.2009MEDICAL SHOP AUTOMATION
SYSTEMAUTHORS NAME:
1. THIRUMALA LAKSHMI.P.A.
(07BIT53)
2. SUGANYA.K.S. (07BIT51)
VERSION: 1.0TEST DATAVERIFIED:
TEST PLAN: TEST DATA:
FRS NOINPUT TO BE GIVENEXPECTED OUTPUTACTUAL OUTPUTRESULT
FRS 01User name: admin
Password: felix
The user has to be successfully entered into the system.The user is successfully entered into the system.pass
FRS 02Name of medicine: aspirin
Quantity: 40
Cost: 2
Dealers name: Roffe&sons
The various details should be successfully entered in the database.The various details are successfully entered in the database.pass
FRS 03Name:Arvind
Medicine name: Benadryl
Quantity: 5The details of the medicine should be successfully retrieved from the database and displayed. The net amount should be calculated and the details should be entered in the database.The details of the medicine are successfully retrieved from the database and displayed. The net amount is calculated and the details are entered in the database.pass
FRS 04Medicine name: AspirinThe details of the medicine should be successfully retrieved from the database and displayed.The details of the medicine are successfully retrieved from the database and displayed.pass
MEDICAL SHOP
AUTOMATION
SYSTEM
ADMIN
ADMIN
Sales report
Sales
bill
Sales bill
Medicine name
Stock details
Medicine name, quantity, total cost
Name of purchased medicine, dealer,
quantity
Updated purchase
details
Updated sales
details
SALES
PURCHASE
ADMIN
ADMIN
SALES
REPORT
SALES
BILLING
PURCHASE
REPORT
STOCK
SEARCH
PURCHASE
DETAILS