You are on page 1of 22

www.virtual-tutor.co.

cc

Virtual Tutor

STOCK MANAGEMENT SYSTEM


1.Objective:
To provide a complete version of a stock management system and to manage the entire stock
management process of a company.

2.Scope of the Project:


To ensure the portability and therefore compatibility.
To ensure our system moves with time i.e it allows for maintenance, upgrades and periodic backups by
developed and authorized personal.
To program the system using the appropriate design, application, platform and programming languages.

3.Project Description:
Stock manager is having the rights and controls to login into the software by entering his username and
valid password. They analyze what goods are needed ,what are the expired ones and the old ones. Then
he clears the old goods by selling it with offer. Then he will eliminate the expired goods from the
godowns.Then he prepares the list of goods which are needed for the customer provision shop. Then he
calls the company for quotation.
After receiving the quotations from the company, the stock manager choose the best quotation. Then
the manager purchase the needed goods from the corresponding company. After delivery of all the
goods by the company manager and the sales manager settles all his payments with tax.
Then the stock manager sells the goods to many customers and updates all the details in the
database.By processing these steps the stock manager manages the stock available in the godown.

www.virtual-tutor.co.cc

4.REQUIREMENTS:
(a).FUNCTIONAL REQUIREMENTS:
REQUIREMENTS:
1.Login: Login is achieved by the stock manager.

STOCK MANAGEMENT SYSTEM

Page 1 of 22

www.virtual-tutor.co.cc

Virtual Tutor

2.Analysis of Goods:
Finding the expired goods
Finding the older ones and selling with offer prices
3.Preparing the List: List of goods or items which are needed are prepaed by the stock manager.
4.Getting the Quotations: Stock manager gets the quotation from the company manager.
5.chhosing the best one: Stock manager chooses the best quotatios.
6.Purchasing the goods: Stock manager purchase the good from the company manager.
7.Delivery & Payment: Delivery of goods by the required company and payment settled by the stock
manager.
8.Update: It is performed by the stock manager in the database.
2. ANALYSIS:

Analyze the requirements whether it provides proper operations/output


and performs the task.
3. DESIGN:

Project manager should design the layout of the project before going to
implement time allocation, cost allocation and staff allocation wil coming under
design process.
4. IMPLEMENTATION:

After encompassing all the diagrams, we have to generate code for each
and every diagrams i.e from usecase to deployment.
5. TESTING:

After implementing the diagram with domain language, we have to test


the particular projects.
6. MAINTAINENCE:

www.virtual-tutor.co.cc

The system should be easily updated. The system should utilize the
Interchangeable plug-in software developed should maintain the cost and time
Schedule of the project.

(b).NON- FUNCTIONAL REQUIREMENTS:


Nonfunctional requirements define the needs in terms if performance, logical
database requirements, design constraints, standard compliance, reliability, availability,
security, maintainability and portability.
i. PERFORMANCE REQUIREMENTS:

STOCK MANAGEMENT SYSTEM

Page 2 of 22

www.virtual-tutor.co.cc

Virtual Tutor

Performance requirements define acceptable response times for system


functionality.
The load time for user interface screens will take no longer than two
seconds.
The login information shall be verified within five seconds.
Queries shall results within five seconds.
ii. DESIGN CONSTRAINTS:

The software shall be a standard system running in a windows environment. The


system shall be developed using rational enterprise suite.
iii. RELIABILITY:

Specify the factors required to establish the required reliability of the software
system at time of delivery.
iv. AVAILABILITY:

The system should have an availability of 99.99%.


v. PORTABILITY:

The system should be extremely via the usb drive.


The system shall be easy to migrate or backed up via another use drive.
vi. MAINTAINABILITY:

The system shall utilize interchangeable plugins.


The system shall be easily updateable for fixes and patches.
The system shall be easy to upgrade.

(c).HARDWERE REQUIREMENTS:
1. Processor - Intel Pentium IV-2.0 GHZ.
2. Hardware - 40 GB.
3. RAM - 512mb
4. DVD RAM - 1 nos.

(d).SOFTWARE REQUIREMENTS:

www.virtual-tutor.co.cc

1. OS - windows XP/vista.
2. Front end Tool - Rational Rose Enterprise suite.
3. Back end Tool - Oracle 10i.

5.MODULE DISCRIPTION:
i. :LOGIN:
The login is used for security of the customer. The customer logs in with the user name and the password
of the customer.

STOCK MANAGEMENT SYSTEM

Page 3 of 22

www.virtual-tutor.co.cc

Virtual Tutor

Analysis:
The stock manager analyses the stocks. He identifies the old stocks and the expired goods and also the
list of items needed.
Old stock clearance:
The stock manager clears the old stock goods by selling it at a offer price.
Order List Preparation:
The stock manager prepares the list of items to be bought. Then he calls the company for quotations.
Quotation:
The stock manager calls the company for quotations. After receiving the quotations from the company,
the stock manager chooses the quotation.
Purchase:
The stock manager purchases the needed goods from the corresponding company in which the
quotations are selected.
Payment:
The stock manager pays the bills along with the tax and the goods are delivered by the company
manager.

6. DOMAIN MODEL:
A domain model is a visual representation of conceptual classes or real situations
object in a domain. In object oriented analysis, the domain model is the most important. It
illustrates the concept in the domain. It acts as a source of inspiration for designing some
software objects.

www.virtual-tutor.co.cc

The relationship between the stock manager and customer is purchase of the goods through discount &
offer sales. The relationship between the stock manager and the company manager is to give & get the
quotations for the purchase of goods.

STOCK MANAGEMENT SYSTEM

Page 4 of 22

www.virtual-tutor.co.cc

Virtual Tutor

7. PARTIAL LAYERED ARCHITECTURE:


Sequence diagram is an interaction overview diagram. It provides a big picture
Overview of how a set of interaction are related in terms of logic and process flow.
This Partial layer architecture shows the interface of the sequence diagram, here
the administrator shows the interface by displaying actor symbol.

STOCK MANAGER :
STOCKMANAGER

CUSTOMER :
CUSTOMER

ADMINISTRATOR :
ADMINISTRATOR

COMPANY

LOGIN
APPROVE THE LOGIN
ORDER FOR GOODS
GIVE QUOTATION

PAYMENT
DELIVERY OF GOODS
ORDER FOR GOODS NEEDED AND PAY FOR IT
DELIVERY OF PRODUCTS

www.virtual-tutor.co.cc

UPDATATION OF GOODS DETAILS

STOCK MANAGEMENT SYSTEM

Page 5 of 22

www.virtual-tutor.co.cc

Virtual Tutor

8.LOGICAL ARCHITECTURE:
The Logical architecture is large scale organization of software class into
packages, sub system layer. It is called as the logical architecture because there is no direction
about how these elements are deployed on different operating system.

9.RISK ACTIVITY:
 It is difficult to sell the old or expired products.
 It is also difficult to find the expired ones.
 If we buy anexpensive product and after sometime there might occur a price fall.In this case,the
stock manager has to face the loss.

10.GANTT CHART:
It is a type of bar chart that describes the project schedule. It illustrates the start and end dates
of terminal element and some more element of the project.

11.POST- FUNCTION AND PRE-FUNCTION:


LOGIN
Pre function :The username and password need to be entered.
Post function : the username and password entered is checked for validation.
ANALYSIS:
Pre function : Number of goods available
Post function : preparing the final list of the goods to be ordered based on availability.

www.virtual-tutor.co.cc

STOCK CLEARANCE:
Pre function: Taking the list of older stock.
Post function : Clearing the older stock on offers and discount sales.
ORDER LIST PREPARATION:
Pre function : Creating a list of goods to be ordered based on requirement.

STOCK MANAGEMENT SYSTEM

Page 6 of 22

www.virtual-tutor.co.cc

Virtual Tutor

Post function : Sending the list to the company.


QUOTATION:
Pre function : Getting the order from stock manager and preparing quotation for the goods
ordered.
Post function : Sending the quotation prepared to the stock manager.
PURCHASE:
Pre function :Selecting the best quotation based on cheaper rates.
Post function : Purchasing the goods based on quotation selected.
DELIVERY AND PAYMENT:
Pre function : Getting the advance payment from the stock manager.
Post function : delivery of goods to the stock manager after the advance payment.
UPDATE DATABASE:
Pre function : Clearing the older records in database.
Post function : updating the database according to new purchase.

12.UML PACKAGE DIAGRAM:


A uml package diagram provides a way to group elements. A uml package diagram can group
anything classes , other packages in very common. A UML package is a more general concept
than simply a java package or .net namespace, through a UML package we can represent those
and more. The forward arrow from the stock manager to the customer.

www.virtual-tutor.co.cc

13.TECHNICAL SERVICE LAYER:


This shows the interaction between the actors or objects in the sequence diagram. The
forward arrow from the stock manager to the customer refers the sell. Stock manager analyse that
what are the old stocks are there and what are needed. The admin update the database. Stock
manager purchase the goods from the company manager. Then the company manager sends the
quotation to the stock manager.

STOCK MANAGEMENT SYSTEM

Page 7 of 22

www.virtual-tutor.co.cc

Virtual Tutor

14.DOMAIN OBJECT LAYER:


After composing technical service layer from partial architecture. Since they are going to
generate coding in the JAVA/VB. The project domain is experienced under java/vb using the
Rational Rose Software Suit.

15.USER INTERFACE LAYER:

www.virtual-tutor.co.cc

In the user interface layer it shows the interface with the sequence diagram by changing the
sequence symbol. The sequence symbol is replaced by the actor symbol which shows the
interface between the sequence diagram.

STOCK MANAGEMENT SYSTEM

Page 8 of 22

www.virtual-tutor.co.cc

Virtual Tutor

UML USECASE DIAGRAM:


Uml provides use case diagram notation to illustrate the names of use case and
author relationship between them. Use case diagram and case relationship are secondary in
use case work use case text document.

STOCKMANAGER

LOGIN
COMPANYMANAGER

NAME

NAME
CUSTOMERNAME

GOODSCLEARANCE()
ANALYSIS()
GOODSORDER()
STOCKMANAGER()
ANALYSIS

QUOTATION()
PAYMENT()
DELIVERY()
COMPANYMANAGER()

OLD STOCK CLEARANCE

ADMINISTRATOR
NAME
QUOTATION

LOGIN()
UPDATION()
ADMINISTRATOR()

CUSTOMER
NAME
PURCHASE()
ORDER()
CUSTOMER()

PURCHASE

PAYMENT AND DELIVERY

www.virtual-tutor.co.cc

UPDATE

STOCK MANAGEMENT SYSTEM

Page 9 of 22

www.virtual-tutor.co.cc

Virtual Tutor

UML CLASS DIAGRAM:


The Uml class diagram is to illustrate class interfaces as their actions. They are
used for static object modeling, we have already introduced and used their uml diagram while
domain modeling.

STOCKMANAGER
(f rom Use Case View)

NAME
GOODSCLEARANCE()
ANALYSIS()
GOODSORDER()
STOCKMANAGER()

CUSTOMER
(f rom Use Case View)

NAME

www.virtual-tutor.co.cc

PURCHASE()
ORDER()
CUSTOMER()

ADMINISTRATOR
(f rom Use Case View)

NAME
LOGIN()
UPDATION()
ADMINISTRATOR()

COMPANYMANAGER
(f rom Use Case View)

NAME
CUSTOMERNAME
QUOTATION()
PAYMENT()
DELIVERY()
COMPANYMANAGER()

STOCK MANAGEMENT SYSTEM

Page 10 of 22

www.virtual-tutor.co.cc

Virtual Tutor

UML SEQUENCE DIAGRAM:


A sequence diagram illustrate a kind of format in which each object interact via
Message. It is generalize between two or more specialized diagram.

STOCK MANAGER

CUSTOMER

ADMINISTRATOR

COMPANY

LOGIN
APPROVE THE LOGIN
ORDER FOR GOODS
GIVE QUOTATION

PAYMENT
DELIVERY OF GOODS
ORDER FOR GOODS NEEDED AND PAY FOR IT
DELIVERY OF PRODUCTS

www.virtual-tutor.co.cc

UPDATATION OF GOODS DETAILS

STOCK MANAGEMENT SYSTEM

Page 11 of 22

www.virtual-tutor.co.cc

Virtual Tutor

UML COLLABRATION DIAGRAM:


COLLABRATION diagram illustrate that object interact on a graph or network
format in which object can be placed where the diagram. In collaboration diagram the object
can be placed in anywhere on the diagram.

4: GIVE QUOTATION
6: DELIVERY OF GOODS

STOCK MANAGER

CUSTOMER
3: ORDER FOR GOODS
5: PAYMENT

7: ORDER FOR GOODS NEEDED AND PAY FOR IT

2: APPROVE THE LOGIN


9: UPDATATION OF GOODS DETAILS

www.virtual-tutor.co.cc

8: DELIVERY OF PRODUCTS

ADMINISTRAT
OR

1: LOGIN

COMPAN
Y

STOCK MANAGEMENT SYSTEM

Page 12 of 22

www.virtual-tutor.co.cc

Virtual Tutor

UML STATE CHART DIAGRAM:


A Uml state machine represents the interaction events and states of an object

and behavior of an object in reaction to an event. Transaction shown as allows labeled with
their event. It is included with initial pseudo state and fins end state.
OLD
STOCK

SELL
LOGIN

ANALYSIS

STOCK
NEEDED

LIST
PREPARATION

QUOTATION

PURCHASE AND
PAYMENT

www.virtual-tutor.co.cc

UPDATE

EXPIRED
STOCK

STOCK MANAGEMENT SYSTEM

Page 13 of 22

www.virtual-tutor.co.cc

Virtual Tutor

UML ACTIVITY DIAGRAM:


A Uml activity diagram shows sequential and parallel activates in a process, work
flows, data flows and compiler algorithm.

LOGIN

ANALYSIS

STOCK
NEEDED

LIST
PREPARATION

OLD
STOCK

EXPIRED
STOCK
QUOTATION
SELL

PURCHASE AND
PAYMENT

www.virtual-tutor.co.cc

UPDATE

STOCK MANAGEMENT SYSTEM

Page 14 of 22

www.virtual-tutor.co.cc

Virtual Tutor

UML COMPONENT DIAGRAM:


Components are slightly fuzzy concept in this Uml, because both class and
components can be used to model the something.

STOCK
MANAGER

COMPANY
MANAGER

www.virtual-tutor.co.cc

ADMINISTRATOR

CUSTOMER

STOCK MANAGEMENT SYSTEM

Page 15 of 22

www.virtual-tutor.co.cc

Virtual Tutor

UML DEPLOYEMENT DIAGRAM:


Deployment diagram shows the assignment of concrete software artifact to
computational nodes. It shows the deployment of software elements to the physical elements.
Deployment diagram are useful to communicate or deployment architecture.

ADMINISTRATOR

MAINTAINS ALL LOGIN


DETAILS AND UPDATE
GOODS

STOCK MANAGER
ANALYS THE THE
STOCK AND ORDER
FOR GOODS
NEEDED

CUSTOMER

COMPANY MANAGER

www.virtual-tutor.co.cc

LOGIN AND ORDER


GOOD TO PURCHASE
IT

GET THE ORDER


FROM STOCK
MANAGER AND
DELIVERY IT AF...

STOCK MANAGEMENT SYSTEM

Page 16 of 22

www.virtual-tutor.co.cc

Virtual Tutor

IMPLEMENTATION:
After competition of the diagrams fro stock management system from use case to
deployment we have to generate code. So select the main class from the use case diagram and
then click the tools in the menu bar. In that select the language in which you e want to generate
code. If you select the java/j2ee, then sub option will open in that select generate code option.
Then the sy7stem will automatically generate code fro that particular class. Then repeat the
process for each diagram.

SOURCE CODE:
STOCKMANAGER.JAVA
//Source file: Z:\\STOCKMANAGER.java
public class STOCKMANAGER
{
private int NAME;

/**
@roseuid 4D5E09DF00C6
*/
public STOCKMANAGER()
{
}
/**
@roseuid 4D4B95F302C3

www.virtual-tutor.co.cc

*/
public void GOODSCLEARANCE()
{
}

STOCK MANAGEMENT SYSTEM

Page 17 of 22

www.virtual-tutor.co.cc

Virtual Tutor

/**
@roseuid 4D4B96070350
*/
public void ANALYSIS()
{

/**
@roseuid 4D4B96210311
*/
public void GOODSORDER()
{

}
}

COMPANYMANAGER.JAVA

www.virtual-tutor.co.cc

//Source file: Z:\\COMPANYMANAGER.java

public class COMPANYMANAGER extends STOCKMANAGER


{
private int NAME;
private int CUSTOMERNAME;

STOCK MANAGEMENT SYSTEM

Page 18 of 22

www.virtual-tutor.co.cc

Virtual Tutor

/**
@roseuid 4D5E09DE00B7
*/
public COMPANYMANAGER()
{

/**
@roseuid 4D4B96CD02A2
*/
public void QUOTATION()
{

/**
@roseuid 4D4B96E4035E
*/
public void PAYMENT()

www.virtual-tutor.co.cc

/**

STOCK MANAGEMENT SYSTEM

Page 19 of 22

Virtual Tutor

www.virtual-tutor.co.cc

@roseuid 4D4B96EC01F6
*/
public void DELIVERY()
{
}
}

CUSTOMER.JAVA

//Source file: Z:\\CUSTOMER.java

import ADMINISTRATOR;

public class CUSTOMER extends STOCKMANAGER


{
private int NAME;

/**
@roseuid 4D5E09DF027B
*/
public CUSTOMER()

www.virtual-tutor.co.cc

/**
@roseuid 4D4B966C0264

STOCK MANAGEMENT SYSTEM

Page 20 of 22

Virtual Tutor

www.virtual-tutor.co.cc

*/
public void PURCHASE()
{

/**
@roseuid 4D4B967C00BF
*/
public void ORDER()
{

}
}

TESTING:

www.virtual-tutor.co.cc

To perform the testing for the generated code again select the tools option from
Menu bar and choose quality architecture option a sub window gets opened. We are going to
Perform Unit Test and Scenario testing for our project. So, select these testing option one by
One and testing activity is carried out for all the coding and testing is carried out.

CONCLUSION:
Thus the project for stock management system has been successfully executed and
Codes are generated.

STOCK MANAGEMENT SYSTEM

Page 21 of 22

www.virtual-tutor.co.cc

www.virtual-tutor.co.cc

Virtual Tutor

STOCK MANAGEMENT SYSTEM

Page 22 of 22

You might also like