Vous êtes sur la page 1sur 35

MEDICAL SHOP AUTOMATION DATE : 23.06.2009 SYSTEM VERSION: 1.

0 PROBLEM DEFINITION

AUTHORS NAME: 1.THIRUMALA LAKSHMI.P.A. (07BIT53) 2. SUGANYA .K.S. (07BIT51) VERIFIED

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.

MEDICAL SHOP AUTOMATION DATE : 23.06.2009 SYSTEM VERSION: 1.1 PROBLEM DEFINITION

AUTHORS NAME: 1.THIRUMALA LAKSHMI.P.A. (07BIT53) 2. SUGANYA .K.S. (07BIT51) VERIFIED

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.

MEDICAL SHOP AUTOMATION DATE :30.06.2009 SYSTEM VERSION: 1.0 MODULE DISCRIPTION

AUTHORS NAME: 1. THIRUMALA LAKSHMI.P.A. (07BIT53) 2. SUGANYA.K.S. (07BIT51) VERIFIED:

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 quantity

When 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 database 5. 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.

MEDICAL SHOP AUTOMATION DATE :30.06.2009 SYSTEM VERSION: 1.1 MODULE DISCRIPTION

AUTHORS NAME: 1. THIRUMALA LAKSHMI.P.A. (07BIT53) 2. SUGANYA.K.S. (07BIT51) VERIFIED:

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.

MEDICAL SHOP AUTOMATION DATE : 07.07.2009 SYSTEM VERSION: 1.0 MILESTONE,TIMELINES AND DELIVERABLES

AUTHORS NAME: 1.THIRUMALA LAKSHMI.P.A. (07BIT53) 2. SUGANYA .K.S. (07BIT51) VERIFIED

S.NO 1.

MILESTONE NAME Requirement Specification

DESCRIPTION OF MILESTONE Complete specification of the system including the facilities that would be supported, the services constitute this milestone. A document detailing the same to be made. All functional and nonfunctional hardware and software requirements are gathered. The flow of information between different modules is represented using DFD. It is a collection of data. The tables are created and the fields of the tables are defined in selected database. The user interface is designed for administrator needs using the selected language Visual Basic(VB) The functional requirements are coded using VB as front end and MS-Access as back end Individual modules are tested to verify their functionality Documentation will be prepared for the above phase

TIMELINE DELIVERABLES (hours) Requirement Definition Document 1-3

2.

Software requirement specification

4-6

SRS-Software Requirement Specifications DFD-Data Flow Diagram Various tables structure

3.

Design Document

7-12

4.

Database Design

13-18

5.

User Interface Design

19-24

Various screen designs or screen shots

6.

Implementation

Source code 25-30 Test plan, test case and test report

7. 8.

Testing Documentation

31-33 34-36

MEDICAL SHOP AUTOMATION DATE :14.07.2009 SYSTEM VERSION: 1.0 REQUIREMENT ANALYSIS

AUTHORS NAME: 1. THIRUMALA LAKSHMI.P.A. (07BIT53) 2. SUGANYA.K.S. (07BIT51) VERIFIED:

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

MEDICAL SHOP AUTOMATION DATE :14.07.2009 SYSTEM VERSION: 1.1 REQUIREMENT ANALYSIS

AUTHORS NAME: 1. THIRUMALA LAKSHMI.P.A. (07BIT53) 2. SUGANYA.K.S. (07BIT51) VERIFIED:

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 updated

7. 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 Processor Keyboard Monitor - 2GB - Intel Processor - Standard Keyboard with 104 keys. - 17 TFT Color Monitor.

MEDICAL SHOP AUTOMATION DATE :28.07.2009 SYSTEM VERSION: 1.1 REQUIREMENT ANALYSIS

AUTHORS NAME: 1. THIRUMALA LAKSHMI.P.A. (07BIT53) 2. SUGANYA.K.S. (07BIT51) VERIFIED:

Table Name Primary Key

- PURCHASE - CODE NO

S.No 1 2 3 4 5 6

FIELD NAME Medicine Code Name of Medicine Quantity Cost Total Cost Dealers Name

DATA TYPE Auto number Text Number Number Number Text

DESCRIPTION Medicine code Medicine Name Quantity of Medicine Cost per medicine Cost of total medicine Name of dealer from whom medicines are purchased.

Table Name Primary Key

- SALES - BILL NO

S.No 1 2 3 4 5 6 7 Date Bill no

FIELD NAME

DATA TYPE Date/ Time Auto number Text Text Number Number Number

DESCRIPTION Current date Billing number Name of the Patient Name of Medicine Quantity of Medicine Required Cost per medicine Total cost

Patients Name Medicine Name Quantity Cost Total Amount

MEDICAL SHOP AUTOMATION DATE :04.08.2009 SYSTEM VERSION: 1.0 DATA FLOW DIAGRAM

AUTHORS NAME: 1. THIRUMALA LAKSHMI.P.A. (07BIT53) 2. SUGANYA.K.S. (07BIT51) VERIFIED:

LEVEL 0:

ADMIN

MEDICAL SHOP AUTOMATION SYSTEM

ADMIN

Updated purchase details

PURCHASE

PURCHAS E DETAILS

Name of purchased medicine, dealer, quantity Medicine name

STOCK SEARCH
Stock details

ADMIN

PURCHAS E REPORT
Medicine name, quantity, total cost Sales bill

Sales bill

ADMIN

Updated sales details

SALES BILLING

Sales report

SALES

SALES REPORT

MEDICAL SHOP AUTOMATION DATE :14.07.2009 SYSTEM VERSION: 1.0 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 SOURCE CODE

AUTHORS NAME: 1. THIRUMALA LAKSHMI.P.A. (07BIT53) 2. SUGANYA.K.S. (07BIT51) VERIFIED:

Private Sub Command6_Click() End End Sub PURCHASE 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.Save Adodc1.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

MEDICAL SHOP AUTOMATION DATE :14.07.2009 SYSTEM VERSION: 1.0 TEST CASES

AUTHORS NAME: 1. THIRUMALA LAKSHMI.P.A. (07BIT53) 2. SUGANYA.K.S. (07BIT51) VERIFIED:

MEDICAL SHOP AUTOMATION DATE :14.07.2009 SYSTEM VERSION: 1.0 TEST PLAN: TEST CASES: S.NO FRS/REQUIREMENTS EXPECTED OUTPUT 1. FRS01Administrator login TEST CASES

AUTHORS NAME: 1. THIRUMALA LAKSHMI.P.A. (07BIT53) 2. SUGANYA.K.S. (07BIT51) VERIFIED:

ACTUAL OUTPUT

RESULT pass

The administrator should On entry of the be allowed to enter the correct login name system and password,the user is allowed to enter the system The medicine details such as name,quantity and cost are entered and the details are updated Once the medicines are registed,sales can be done and the details are updated On entry of valid medicine name and quantity,the total cost and other details are updated in the table On entry of valid medicine name ,the other details are displayed and total cost is calculated and the bill is generated for each customer On selecting the medicine name ,the medicine quantity is displayed On giving the appropriate date,the sales report is generated

2.

FRS02Purchase details

pass

3.

FRS03Sales details

pass

4.

FRS04Stock search

Incase there is need to search for current stock,the medice details are displayed Based on the date ,the sales report is generated

pass

5.

FRS05Sales report

pass

6.

FRS06purchase report

For all medicines registered,the purchase report is generated

On giving the appropriate dealers name,the purchase report is generated

pass

MEDICAL SHOP AUTOMATION DATE :04.08.2009 SYSTEM VERSION: 1.0 TEST PLAN: TEST DATA:
FRS NO INPUT TO BE GIVEN EXPECTED OUTPUT

AUTHORS NAME: 1. THIRUMALA LAKSHMI.P.A. (07BIT53) 2. SUGANYA.K.S. (07BIT51) VERIFIED:

TEST DATA

ACTUAL OUTPUT

RESULT

FRS 01

User name: admin Password: felix

The user has to be successfully entered into the system. The various details should be successfully entered in the database.

The user is successfully entered into the system. The various details are successfully entered in the database.

pass

FRS 02

Name of medicine: aspirin Quantity: 40 Cost: 2 Dealers name: Roffe&sons Name:Arvind Medicine name: Benadryl Quantity: 5

pass

FRS 03

FRS 04

Medicine name: Aspirin

The 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 should be successfully retrieved from the database and

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. The details of the medicine are successfully retrieved from the

pass

pass

displayed.

database and displayed.

Vous aimerez peut-être aussi