Professional Documents
Culture Documents
Stock Management System
Stock Management System
Stock Management System
cc
Virtual Tutor
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.
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:
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:
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.
Page 2 of 22
www.virtual-tutor.co.cc
Virtual Tutor
Specify the factors required to establish the required reliability of the software
system at time of delivery.
iv. AVAILABILITY:
(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.
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.
Page 4 of 22
www.virtual-tutor.co.cc
Virtual Tutor
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
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.
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.
Page 6 of 22
www.virtual-tutor.co.cc
Virtual Tutor
www.virtual-tutor.co.cc
Page 7 of 22
www.virtual-tutor.co.cc
Virtual Tutor
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.
Page 8 of 22
www.virtual-tutor.co.cc
Virtual Tutor
STOCKMANAGER
LOGIN
COMPANYMANAGER
NAME
NAME
CUSTOMERNAME
GOODSCLEARANCE()
ANALYSIS()
GOODSORDER()
STOCKMANAGER()
ANALYSIS
QUOTATION()
PAYMENT()
DELIVERY()
COMPANYMANAGER()
ADMINISTRATOR
NAME
QUOTATION
LOGIN()
UPDATION()
ADMINISTRATOR()
CUSTOMER
NAME
PURCHASE()
ORDER()
CUSTOMER()
PURCHASE
www.virtual-tutor.co.cc
UPDATE
Page 9 of 22
www.virtual-tutor.co.cc
Virtual Tutor
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()
Page 10 of 22
www.virtual-tutor.co.cc
Virtual Tutor
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
Page 11 of 22
www.virtual-tutor.co.cc
Virtual Tutor
4: GIVE QUOTATION
6: DELIVERY OF GOODS
STOCK MANAGER
CUSTOMER
3: ORDER FOR GOODS
5: PAYMENT
www.virtual-tutor.co.cc
8: DELIVERY OF PRODUCTS
ADMINISTRAT
OR
1: LOGIN
COMPAN
Y
Page 12 of 22
www.virtual-tutor.co.cc
Virtual Tutor
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
Page 13 of 22
www.virtual-tutor.co.cc
Virtual Tutor
LOGIN
ANALYSIS
STOCK
NEEDED
LIST
PREPARATION
OLD
STOCK
EXPIRED
STOCK
QUOTATION
SELL
PURCHASE AND
PAYMENT
www.virtual-tutor.co.cc
UPDATE
Page 14 of 22
www.virtual-tutor.co.cc
Virtual Tutor
STOCK
MANAGER
COMPANY
MANAGER
www.virtual-tutor.co.cc
ADMINISTRATOR
CUSTOMER
Page 15 of 22
www.virtual-tutor.co.cc
Virtual Tutor
ADMINISTRATOR
STOCK MANAGER
ANALYS THE THE
STOCK AND ORDER
FOR GOODS
NEEDED
CUSTOMER
COMPANY MANAGER
www.virtual-tutor.co.cc
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()
{
}
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
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
/**
Page 19 of 22
Virtual Tutor
www.virtual-tutor.co.cc
@roseuid 4D4B96EC01F6
*/
public void DELIVERY()
{
}
}
CUSTOMER.JAVA
import ADMINISTRATOR;
/**
@roseuid 4D5E09DF027B
*/
public CUSTOMER()
www.virtual-tutor.co.cc
/**
@roseuid 4D4B966C0264
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.
Page 21 of 22
www.virtual-tutor.co.cc
www.virtual-tutor.co.cc
Virtual Tutor
Page 22 of 22