Pharmacy Srs

76  Download (0)

Full text

(1)

Table of Contents

Table of Contents

Table of Contents Table of Contents ... i ... i Revision History Revision History ... i ... i 1. 1. IntroductionIntroduction... ... ...2...2 1.1 1.1 PurposePurpose  ... 2  ... 2 1.2

1.2 Document ConventionsDocument Conventions  ... 2  ... 2

1.3

1.3 Intended Audience and Reading SuggestionsIntended Audience and Reading Suggestions... 3... 3

1.4

1.4 Product ScopeProduct Scope  ... 4  ... 4

1.5

1.5 ReferencesReferences  ... 5  ... 5

2.

2. Overall DescriptionOverall Description... ... ...6...6

2.1

2.1 Product PerspectiveProduct Perspective  ... 6  ... 6

2.2

2.2 Product FunctionsProduct Functions  ... 7  ... 7

2.3

2.3 User Classes and CharacteristicsUser Classes and Characteristics  ... 8  ... 8

2.4

2.4 Operating EnvironmentOperating Environment  ... 10  ... 10

2.5

2.5 Design and Implementation ConstraintsDesign and Implementation Constraints ... 11 ... 11

2.6

2.6 Project DocumentationProject Documentation  ... 12  ... 12

2.7

2.7 User DocumentationUser Documentation  ... 13  ... 13

3.

3. External Interface RequirementsExternal Interface Requirements ...14 ...14

3.1

3.1 User InterfacesUser Interfaces  ... 14  ... 14

3.2

3.2 Hardware InterfacesHardware Interfaces  ... 20  ... 20

3.3

3.3 Software InterfacesSoftware Interfaces  ... 20  ... 20

3.4

3.4 Communications InterfacesCommunications Interfaces  ... 20  ... 20

4.

4. System FeaturesSystem Features  ...21  ...21

4.1

4.1 System Feature 1System Feature 1  ... 21  ... 21

4.2

4.2 System Feature 2System Feature 2  ... 21  ... 21

4.3

4.3 System Feature 3 (and so on)System Feature 3 (and so on)  ... 22  ... 22

4.4

4.4 Use case DiagramUse case Diagram……… ..25……… ..25

5.

5. Other Nonfunctional RequirementsOther Nonfunctional Requirements... ...35...35

5.1

5.1 Performance RequirementsPerformance Requirements ... 35 ... 35

5.2

(2)
(3)

1.

1. Introduction

Introduction

1.1 Purpose

1.1 Purpose

This software requirement specification (SRS) is design and its main objective is to This software requirement specification (SRS) is design and its main objective is to illustrate all the requirements of the project Pharmacy Management System. This SRS document illustrate all the requirements of the project Pharmacy Management System. This SRS document mention all the information related to the project and it will gives the detail description of each mention all the information related to the project and it will gives the detail description of each and every functional and non functional requirement that proposed by the client. And also this and every functional and non functional requirement that proposed by the client. And also this SRS will illustrate what are the main user interfaces that the system looks like after the SRS will illustrate what are the main user interfaces that the system looks like after the implementation and how they connect each other using some sketching. Then the client can implementation and how they connect each other using some sketching. Then the client can easily understand the system final system. This SRS document is design after having some easily understand the system final system. This SRS document is design after having some consultations with the client and after getting a complete understand about the client‟s consultations with the client and after getting a complete understand about the client‟s requirements. Therefore the final software solution of the development team will be meet all the requirements. Therefore the final software solution of the development team will be meet all the clients requirements and all the functionalities will be function as the describe here in this SRS clients requirements and all the functionalities will be function as the describe here in this SRS document.

document.

1.2 Document Conventions

1.2 Document Conventions

The followings are the list of standards and typographical co

The followings are the list of standards and typographical co nventions that used in thisnventions that used in this SRS document.

SRS document.

Main Section Titles Main Section Titles

Font:

Font: Times Times New New Roman Roman Face: Face: Bold Bold Size: Size: 1616 Sub Section Titles

Sub Section Titles Font:

(4)
(5)

1.

1. Introduction

Introduction

1.1 Purpose

1.1 Purpose

This software requirement specification (SRS) is design and its main objective is to This software requirement specification (SRS) is design and its main objective is to illustrate all the requirements of the project Pharmacy Management System. This SRS document illustrate all the requirements of the project Pharmacy Management System. This SRS document mention all the information related to the project and it will gives the detail description of each mention all the information related to the project and it will gives the detail description of each and every functional and non functional requirement that proposed by the client. And also this and every functional and non functional requirement that proposed by the client. And also this SRS will illustrate what are the main user interfaces that the system looks like after the SRS will illustrate what are the main user interfaces that the system looks like after the implementation and how they connect each other using some sketching. Then the client can implementation and how they connect each other using some sketching. Then the client can easily understand the system final system. This SRS document is design after having some easily understand the system final system. This SRS document is design after having some consultations with the client and after getting a complete understand about the client‟s consultations with the client and after getting a complete understand about the client‟s requirements. Therefore the final software solution of the development team will be meet all the requirements. Therefore the final software solution of the development team will be meet all the clients requirements and all the functionalities will be function as the describe here in this SRS clients requirements and all the functionalities will be function as the describe here in this SRS document.

document.

1.2 Document Conventions

1.2 Document Conventions

The followings are the list of standards and typographical co

The followings are the list of standards and typographical co nventions that used in thisnventions that used in this SRS document.

SRS document.

Main Section Titles Main Section Titles

Font:

Font: Times Times New New Roman Roman Face: Face: Bold Bold Size: Size: 1616 Sub Section Titles

Sub Section Titles Font:

(6)
(7)

1.3 Intended Audience and

1.3 Intended Audience and Reading Suggestions

Reading Suggestions

In the following section it will describe who the intended audiences are and what the In the following section it will describe who the intended audiences are and what the important levels that they should specially read in this S

important levels that they should specially read in this S RS document.RS document.

 ClientClient

In here manager of this project has the administrative power and other users have some In here manager of this project has the administrative power and other users have some minimum power to use this software. Therefore all the users in this system should have a clear minimum power to use this software. Therefore all the users in this system should have a clear idea about the hardware and software requirements that engaged with the final system. Therefore idea about the hardware and software requirements that engaged with the final system. Therefore the authors would suggest to clients to go through the product functions, external interface the authors would suggest to clients to go through the product functions, external interface requirements and system features.

requirements and system features.

 LecturerLecturer

Since this is a student project, the lecturer in charge of ITP subject Ms.Geethanjali will Since this is a student project, the lecturer in charge of ITP subject Ms.Geethanjali will get a clear idea how this SRS is organized and design.

get a clear idea how this SRS is organized and design.

 SupervisorSupervisor

Mr.S.M. Buddika Harshanth is the supervisor of this project and he can get a clear idea Mr.S.M. Buddika Harshanth is the supervisor of this project and he can get a clear idea about the SRS and give some suggestions to increase the correctness of this SRS document. about the SRS and give some suggestions to increase the correctness of this SRS document.

 Team membersTeam members

There are seven members of this project team and also they are the developers of this There are seven members of this project team and also they are the developers of this software solution they have a real advantage of quickly and easily understand the methodologies software solution they have a real advantage of quickly and easily understand the methodologies and techniques that are going to use in this project. As developers they go through the product and techniques that are going to use in this project. As developers they go through the product

(8)
(9)

1.4 Product Scope

Project Title: Pharmacy Management System

Description:

Wellawatte Drugs Pharmacy organization was started on year 2007 which always supply quality & standard drugs & medicament equipment to their customers. Until today all the

transactions were handled by manually. But now they need a computer system to handle their manual process due to capital requirments of information handling & report generating.So the  proposed computer system can be handled all these information and a perfect report generating.

Product Characteristics:

- Tracking status of every transaction. - Handle Stock details.

- Secured database

- Generate all kind of reports. - Handle Staff Details.

Benefits for the client:

- Easy to maintain all the transaction details. - Increase the accuracy of data.

- Provide a well organized process to track the current status of transaction. - Increase the efficiency and performance of the system.

- Informing process via report generating. - Security and integrity.

(10)
(11)

1.5 References

1." NetBeansTM IDE 4.0 Release Notes”, Oracle and/or its affiliates, [HTML].

Available: http://netbeans.org/community/releases/40/relnotes.html [Accessed on 29th July 2011]

2." Installing MySQL on Windows”, Oracle and/or its affiliates,

Available:http://dev.mysql.com/doc/refman/5.1/en/windows-installation.html[Accessed on 3rd August 2011].

(12)
(13)

2. Overall Description

2.1 Product Perspective

Wellawatte Drugs Pharmacy organization was started on year 2007. They are one of the leading pharmacy organizations in Srilanka. This organization was a well known one for supplying quality drugs & medicament equipment for their customers. so far they have set high standards in their business dealings. This organization is also having a very strong staffing system as well. They not only have business dealings with their customers. also they distributes drugs & medicament equipments to some other Pharmacy organizations as well.

Up to now, all the transactions of this Organization were handled manually. But now they have decided to automate their system.To make their day to day activities easy.

So now they require a strong Computer based System which will helps the pharmacists in order to make their day to day activities easy. such as inventory controlling, billing, staff management and report generating.This is newly design System to the Organization The System have ADMIN who has full-fledged rights with regards to managing resources such as check the Login Information, Update Data, Access to data base.

(14)
(15)

2.2 Product Functions

01. Handle stock details

* Insert to database the details about drugs (drug id, Name, Mfc, location, Category, quantity,) * Insert to database the details about purchase (Drug id, Name, Mfc, Location, Category, quantity, Expire date and Supplier id)

* Also can get three kind of reports-Stock Report, purchase report, and reorder level report)

02. Handle stock distribution

* User of the system need to insert customer name, item code, prize of a single unit and quantity * Also can get report about stock distribution report.

03. Handle stock returns & distributed stock return

* Insert retunes drugs details (drug id, Drug Name, Return quantity, supplier id, distributor id)

04. Handle supplier details

* Insert to database the details about supplier (supplier id, name, address, telephone) * User can find details about supplier by giving supplier id.

(16)
(17)

06. Handle staff details & staff salaries.

* Insert employees details (Employee is, name, address, Telephone no, Basic) * Calculate employee monthly salary

*Administrator can view Salary report.

07. Handle financial detail.

* Handle all financial details and insert these det ails in to database.

* Administrator can get report about the monthly profit details by giving the relevant month.

2.3 User Classes and Characteristics

Manager who is the Major user of the Product consider as the Administrator, who use the System with All privilege levels have to Manager And the other users of the System known as WDP Employers can Add, Delete, update View the data from the System they have least  privileges .

There are two different users who will be using th is Product:

(18)
(19)

The functions that are available to the Manager are:

 Insert, Update, Delete and Find Drugs details.

 Insert Purchase details.

 View purchase report

 Insert, Update, Delete and Find Suppler Details.

 Insert, Update, Delete and Find Wholesale customer Details.

 Insert distribute drug details

 View distributed stock report.

 Generate all kind of Bills

 Insert, Update, Delete and Find Employee Details.

 Calculate Employee Salary.

 View employee salary.

 Insert financial details.

 View financial report.

The functions available to the WDP Employers:

 Insert, Update, Delete and Find Drugs details.

 Insert Purchase details.

 Insert, Update, Delete and Find Suppler Details.

 Handle report

 Insert, Update, Delete and Find Wholesale customer Details.

 Insert distribute drug details

(20)
(21)

2.4 Operating Environment

  Product Operate Environment (Windows XP)

-Because pharmacy used the XP as the O/S so we must to make Windows Application to compatible to this O/S.

  Running Environment (.JDK and JRK)

-We make this software Product Using Net Beans IDE 6.9. So run this Software Product in the Client Pc its needs to have JDK and JRK.

  Database (MySQL

5.1)-We use MySQL 5.1 as Our Data base so also run this S/W Application 5.1)-We need to Install Data base to the client pc as well.

 Hardware platform – 

Above mention Database, Running Environment and Operate Environment require 2.0 GHz Pentium Dual Core or higher, 1GB of RAM, VGA 32bit 800x 600 minimum resolutions.

 Reports (iReports)

-We use iReport software to get all kind of reports, so we need to install iReport software to client pc.

(22)
(23)

2.5 Design and Implementation Constraints

When creating software we can choose two options (web based, desktop based) but we have decided to create our software using Desktop based environment. The reason for not choosing a web based System is because web base system refers to those applications or services that are resident on a server which is accessible using a Web browser and any one can access from anywhere in the world via the Web, therefore the system is unsecured. It is harm full for our  privacy. That is the main reason for choosing a desktop based system.

Our product is developed using (Netbeans IDE and My SQL tools). The Java is a open source tool kit that‟s why we have decided to use (Netbeans IDE and My SQL tools) because it  provides more user friendliness.

We have some parallel operations we developed our product using Netbeans IDE and My SQL Server. So then our interface design and database creations are going on parallel operations.

(24)
(25)

2.6 Project Documentation

 Project Charter

First we submit that documentation, it contain for Description of the Project, Group members, Project title and so on. That document creating to get Supervisor‟s Approval that‟s the main purpose of this document.

 Project Proposal

 Next we submitted Project proposal document. It contains for all project information and categorize in each part (Title Page, Abstract, Table of Contents, Problem Specification, Solution out line, Functions & etc).

 SRS

 Next submit that documentation. The SRS describes what the proposed system is going to do. It‟s a document that will be shared by the - Customer, Designer, and Programmer and even by other testing teams. It can be a legal document between the Customer and the Developer organizations.

 Prototype

Prototype is to allow users of the software to evaluate developers' proposals for the design of the eventual product by actually trying them out, rather than having to interpret and evaluate the design based on descriptions. Prototyping can also be used by end users to describe and prove requirements that developers have not considered so "controlling the prototype” can  be a key factor in the commercial relationship between developers and clients.

(26)
(27)

2.7 User Documentation

This product includes SRS document, Final documentation, User manuals. The SRS document includes.

 Introduction

 Overall Description

 External Interface Requirements  System Features

 Other Nonfunctional Requirements  Other Requirements

And user manual include contain both a written guide and the associated images. In the case of computer applications, it is usual to include screenshots of how the program should look, and hardware manuals often include clear, simplified diagrams. The language used is matched to the intended audience to a minimum or explained thoroughly. That situation there is no more online help for this product. The product will be compatible with our client computer requirements. The databases will be created in the MySQL server 5.1. Our contact information will include email address and Phone Numbers.

(28)
(29)

3. External Interface Requirements

3.1 User Interfaces

The Net Beans IDE 6.8 is an integrated development environment (IDE) for software applications. It provides developers with a visual layout designer to support the rapid design and development of graphical user interface (GUI) components. That product will use Windows Forms. Windows Forms requires the JDK & JRK running on the client computer.

 Figure: 3.1.1

 Figure: 3.1.1 - This is the first form in our system. It‟s a login page that can be use for Administer and other users. If it is logging to the admin he‟s can be get a full permission in a

(30)
(31)

 Figure: 3.1.2

 Figure: 3.1.2 - This is our Home page. shows after the login and load this form. If Administrator login into the Home page, He can control all the functions of the system. Such as Stock details, Stock distribution, Stock returns & Distributed stock return, Supplier Salary Information, Customer payments, Financial details & Reports.

(32)
(33)

 Figure: 3.1.3

 Figure: 3.1.3 - Stock detail form, it includes all the details of stock. Those details can insert, update or delete by user/Administrator.

(34)
(35)

 Figure: 3.1.5

 Figure: 3.1.5 - Supplier Details, it includes all the details of Suppliers. Those details can insert, update or delete by user/Administrator.

(36)
(37)
(38)
(39)

 Figure: 3.1.8

 Figure: 3.1.8 - Finance Details form , through this Adminstrator can calculate the income, Expenses & profit of the month. As well as he can view the monthly income report.

(40)
(41)

3.2 Hardware Interfaces

The system that we create includes hardware components mainly as printer. The printer is mainly using for generating bills and reports. The system and database is connecting as internal network connection. That database is in the database server.

3.3 Software Interfaces

 Database

It is obtained MySQL 5.1 server for creating data base. This server needs to run other requirements plug-ins.

 MySQL provides excellent facility to editing and executing queries and launching standard wizard task.

 SQL Server Profiler provides a graphical user interface for monitoring an instance of the SQL Server database engine or an instance of Analysis Services.

 Database Engine Tuning Advisor helps create optimal sets of indexes, indexed views, and partitions.

 Manage SQL Server objects from the command prompt.

 Manage server and client network configuration settings.

 Integration Services provides a set of graphical tools and programmable objects for moving, copying & transferring data.

(42)
(43)

4. System Features

4.1 Login

The User or administrator can Login and Logout. When the administrator logs into the system the system will check for validity of login. If the Login and password are valid, the administrator will be able to modify, view report, add, delete and all other functions that can be  performed on the data. When the User Logs into the system the system will check for validity of

login .If the Login and password are valid, the user can perform only the billing details.

4.2 Database Access

Proposed Database is intended to store, retrieve, update, and manipulate information related to system which include.

 Stock details.

 Stock distribution.

 Stock returns & Distributed Stock return.

 Supplier details.

 Cash billing.

 Staff details & Staff salaries.

 Financial details.

Reports Generating

Proposed system support generates reports to relevant transactions steps. System should generate the following reports.

(44)
(45)

4.3 Function Requirements

4.3.1 Handle stock details.

Stock detail function is a major function in pharmacy database system. It includes all the major details about medicine and other selling items. In this stock each item has a unique code number. By using the code number items can uniquely identity and find the drug information with find function. If you buy a new stock or return a stock, it is necessary to include it to database based on code number. During the transactions sometimes a discount was given by suppliers to pharmacy. User of the software should have to insert these discounts and the total amount of prize which they have to pay to supplier. The system will automatically do the calculation between prize and discount, and give the final total to be paid. By this pharmacy staff can manage a stock which has correct and up to date details. The following figure represents the basic idea of the pharmacy database stock.

Also the user of the system should be able to insert a new item to database, delete a current item from database and update the details of a current item (ex : change a prize of a single unit of Aspirin). So we provide facility to perform those kinds of insert, delete and update in this system.

Inside of this function we provide an additional object to user to generate a report about current available stock information and it generate stock purchase report. Also the user can find drug information through drug id or drug name, with find function

(46)
(47)

4.3.3 Handle returns stock details & distributed return stock details

Return stock is based on expire items and damage items. The usual system is if there is expiration or damage item, each item or items should need to return to manufacture or distributer  before six months, sometimes the wholesale customers can be return back stocks to the  pharmacy. In addition to that if you return some expire or damage item, the user should need to insert the value of minus quantity (return quantity) to stock database. The system will automatically subtract the return stock from current available stock of each item and give the final result of stock. (Stock quantity –  return quantity = current available quantity). In here when the user inserts these returning stock details, the system will automatically update the stock database. (By subtracting returning stock from available stock). Following figure gives the basic idea about the return stock.

4.3.4 Handle supplier details

This function handles about suppliers such as companies, manufactures or any kind of distributers. In this system suppliers can uniquely identify by their names or their id. Also user of the system should be able to insert supplier information (supplier id, name, address, telephone no etc...). Also user can delete or update supplier. The user can find supplier information through supplier id, with find function. Furthermore there is an additional function to generate a report about supplier details which include all the necessary information of suppliers.

(48)
(49)

4.3.6 Handle staff details & staff salaries

In the pharmacy system there is a working staff. So their information such as names, OT hours, monthly salary and holiday working charges should be managed. In this system staff member can identify by his/her ID because ID is unique for each member. User of this system should have to insert basic salary, holiday working chargers, OT hours per month based on their names and ID. Then the system will automatically calculate the total monthly salary that should have to be paid to each staff member. Following figure show the basic idea of staff function. The user of the system should be able to insert a new staff member to the system, delete a current staff member from the system and update member details. So we provide facility to perform those kinds of insert, delete and update in this system. And also the user of the system can be able to view a report which include information about staff details and staff salaries. Furthermore we give another option to change the value of basic salary, value of OT hour and value of a one day of holiday charge inside of this function. Because the values which mentioned above can be changed time to time.

4.3.7 Handle financial detail

The system provides facility to generate the final income report of this pharmacy organization per month. To calculate the final income of each month the user should need to insert all the general payments of this organization such as water bills, electricity bills, staff salaries, business taxes and etc. The system will automatically calculate all of these payments and give the final income of each month.

(50)
(51)

4.4 Use Case Diagrams

Employee

Generate bills for sale

Manage item details

View stock database reports

View billing reports Manage return stock from

wholesale customer

Manage return stock to su liers

Manage supplier details Bills for

retail Bills for

wholesale insert delete update Stock details report Purchase details report delete insert update Manager Login Handle wholesale stock

Distribution.

(52)
(53)

4.4.1 Use Case Scenario for Set Employee salary

4.4.2 Use Case Scenario for View Staff report

Use Case Name View “staff member salary report”

Preconditions User must log to system by administrator login. Primary Actors Manager

Main Flow of Events 1. Go to Report tab in Home and click “Staff salary report”.

2. Insert necessary details.

3. Click “View staff member salary report” button. Extensions 3a. Salary of each employee is not inserted.

Use Case Name Set the Salaries of employees in staff.

Preconditions User must log to system by administrator login. Primary Actors Manager

Main Flow of Events 1. Go to Tools tab in Home and click “Staff Salary”.

2. Enter the necessary details (member name, member ID, etc) 3. Press OK button to view final salary of each employee.

(54)
(55)

4.4.3 Use Case Scenario for Manage employee details

Use Case Name Insert a new employee to database.

Preconditions User must log to system by administrator login. Primary Actors Manager

Main Flow of Events 1. Go to Details tab in Home and click “Staff member details”.

2. Insert required details. (name, ID, tel_no, address, basic salary) 3. Press “Save” button.

Extensions 3a. Employee who is newly entered to database already exists.

Use Case Name Delete an employee from database.

Preconditions User must log to system by administrator login. Primary Actors Manager

Main Flow of Events 1. Go to Details tab in Home and click “Staff member details”.

2. Insert member name and member ID and press “Search” button. 3. If the member is available, press “Delete” button.

(56)
(57)

Use Case Name Update details of an employee.

Preconditions User must log to system by administrator login. Primary Actors Manager

Main Flow of Events 1. Go to Details tab in Home and click “Staff member details”.

2. Insert member name and member ID and press “Search” button. 3. If the member is available, press “Update” button.

Extensions 2a. Employee who is going to update is not available in database.

4.4.4 Use Case Scenario for Generate bills

Use Case Name Generate bills for retails and whole sales.

Preconditions User must log to system by user login or administrator login. Primary Actors Employee

Primary Actors Manager

Main Flow of Events 1. Go to Tools tab in Home and click “Customer billing”.

2. Enter the item code and quantity for each item. 3. Search the availability of requesting items.

(58)
(59)

4.4.5 Use Case Scenario for Manage item details

Use Case Name Insert a new item to database.

Preconditions User must log to system by user login or administrator login. Primary Actors Employee

Primary Actors Manager

Main Flow of Events 1. Go to Details tab in Home and click “ Manage item”.

2. Insert necessary details (Drug ID, Batch ID,…etc) 3. Press “New Item” button.

Extensions 3a. The item which is newly entered to database, already exists.

Use Case Name Delete an item from database.

Preconditions User must log to system by user login or administrator login. Primary Actors Employee

Primary Actors Manager

Main Flow of Events 1. Go to Details tab in Home and click “Manage item”.

2. Insert Drug ID, Batch ID and press “Find” button. 3. Press “Delete” button.

(60)
(61)

Use Case Name Update details of an item in database.

Preconditions User must log to system by user login or administrator login. Primary Actors Employee

Primary Actors Manager

Main Flow of Events 1. Go to Details tab in Home and click “Manage item”.

2. Insert Drug ID, Batch ID and press “Find” button. 3. Insert new details.

4. Press “Update” button.

Extensions 2a. The item which is going to update, is not available.

4.4.6 Use Case Scenario for Wholesale stock Distribution.

Use Case Name Insert a new Wholesale customer to the database.

Preconditions User must log to the system by user login or administrator login.

Primary Actors Employee Primary Actors Manager

Main Flow of Events 1. Go to Details tab in Home and click “wholesale customer details”.

(62)
(63)

Use Case Name Delete a Wholesale customer from the database.

Preconditions User must log to the system by user login or administrator login.

Primary Actors Employee Primary Actors Manager

Main Flow of Events 1. Go to Details tab in Home and click “wholesale customer details”.

2. Insert the Customer ID and Customer Name and then press “Search” button. 3. If the customer is available press “Delete” button.

Extensions 3a. Wholesale customer who is going to be deleting from database is not available.

Use Case Name Update details of a Wholesale customer

Preconditions User must log to system by user login or administrator login. Primary Actors Employee

Primary Actors Manager

Main Flow of Events 1. Go to Details tab in Home and click “wholesale customer details”.

2. Insert the Customer ID and Customer Name and then press “Search” button. 3. If the customer is available insert new details.

(64)
(65)

4.4.7 Use Case Scenario for return stock from Wholesale customer.

Use case Name : Manage return stock from Wholesale customer.

Preconditions : User must log to the system.

Primary Actors : Employee and Administrator

Main Flow of Events 1 User selects “Details” and selects “Return Wholesale customer stock”. 2 User enters stock return details.

3 User click “Return” button.

4 System reduces the return stock from the current stock.

Use Case Name Handle wholesale stock Distribution.

Preconditions User must log to system by user login or administrator login. Primary Actors Employee

Primary Actors Manager

Main Flow of Events 1. Go to Tools tab in Home and click “wholesale stock distribution “.

2. User enters the necessary details (invoice no, customer id and name, item code ,item name, single quantity price and quantity)

3. Clicks the “Calculate” button to find the final price.

Extensions 2a. Details which are inserted (such as customer ID, customer name) are invalid.

(66)
(67)

4.4.8 Use Case Scenario for Return stock from Supplier

4.4.9 Use Case Scenario for Manage Supplier Details

Use case Name : Return stock from Supplier Preconditions : User must logged to the system Primary Actors : Administrator and User

Main Flow of Events 1 Userselects “Details” and selects “Return Supplier stock”. 2 User enters supplier stock return details.

3 User click Add button

4 System reduces the return stock from the current stock.

Extensions 2.1 User insert the details to the database

Use case Name : Manage Supplier Details

Preconditions : User must logged to the system Primary Actors : Administrator  and User 

Main Flow of Events 1 Userselects “Details” and select “SupplierDetails”.

(68)
(69)

Use case Name : ManageSupplier Details

Preconditions : User must logged to the system Primary Actors : Administrator  and User 

Main Flow of Events 1 Userselects “Details” and select “SupplierDetails”.

2 User deletes the supplier details.

3 User click Delete  button

4 System deletes the supplier detail in the database.

(70)
(71)

5.Other non functional Requirements.

5.1 Performance Requrements

This pharmacy Management System is minimum hardware and software requriments.We need following performance to run our system properly.

o 500MZh pentium II or higher o 512 MB of RAM

o 800 * 600 minimum resolution

In Our system we have several Graphical User Interfaces and Inorder to moving one GUI to another GUI no need to wait more than three seconds.

In the case of printing requrements the printing hardware performance is out of the control of our system. The system will take no longer than 10 seconds for the system to initiate request to a  printer.The system will take no longer than 5 seconds to calculate tatal amount of a bill. In this  process the system need more memory usage more than minimum memory usage.

5.2 Safety Requrements

Data handle is an important part of our system. We use one central database to store our system data. If any power failure, virus attack or data crash can lost all data of the database. Therefore we recommend taking the backup for database after doing any updating. And also recommend use separate power supply and install updating virus guard to the database machine.

5.3 Security Requrements

(72)
(73)

5.4 Software Quality Attributes

Availability

This pharmacy Management system is only available for PMS client desktop machine. We give them to final version of developing system. If any user logging to the system, system identify type of user and give permission to do their work.

Operability

System allows the user to operate with a mouse unless input is required form the keyboard. This is allowing to user to insert data easily.

Correctness

We are doing various test cases and check the accuracy of the system. If any errors found we correct them before delivering the software to client.

Flexibility

After delivering software if client want to do any changing we hope to do that changes immediately without any charges.

Maintainability

We give our Clint to one year maintain warranty. We fix all trouble within the warranty  period. This Pharmacy Manage system is not portable software and also it is not reusability

software for other pharmacies. At the software delivery time it will be delivered with a user manual which will detail the use of the system client.

(74)
(75)

Appendix A: Glossary

WDP -- Wellewatte Drugs Pharmacy

SRS -- software requirement specification JDK -- Java Development Kit

(76)

Figure

Updating...

References

Related subjects :
Outline : Use Case Diagrams