Stock Management System
Stock Management System
Stock Management System
www.virtual-tutor.co.cc
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.
4.REQUIREMENTS:
www.virtual-tutor.co.cc
(a).FUNCTIONAL REQUIREMENTS:
REQUIREMENTS:
1.Login: Login is achieved by the stock manager.
Page 1 of 22
Virtual Tutor
www.virtual-tutor.co.cc
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:
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.
www.virtual-tutor.co.cc
Page 2 of 22
Virtual Tutor
www.virtual-tutor.co.cc
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 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:
1. OS - windows XP/vista. 2. Front end Tool - Rational Rose Enterprise suite. 3. Back end Tool - Oracle 10i.
www.virtual-tutor.co.cc
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
Virtual Tutor
www.virtual-tutor.co.cc
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.
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. www.virtual-tutor.co.cc
Page 4 of 22
Virtual Tutor
www.virtual-tutor.co.cc
CUSTOMER : CUSTOMER LOGIN APPROVE THE LOGIN ORDER FOR GOODS GIVE QUOTATION
ADMINISTRATOR : ADMINISTRATOR
COMPANY
PAYMENT DELIVERY OF GOODS ORDER FOR GOODS NEEDED AND PAY FOR IT DELIVERY OF PRODUCTS UPDATATION OF GOODS DETAILS
www.virtual-tutor.co.cc
Page 5 of 22
Virtual Tutor
www.virtual-tutor.co.cc
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.
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
Virtual Tutor
www.virtual-tutor.co.cc
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.
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.
Page 7 of 22
Virtual Tutor
www.virtual-tutor.co.cc
www.virtual-tutor.co.cc
Page 8 of 22
Virtual Tutor
www.virtual-tutor.co.cc
ANALYSIS
ADMINISTRATOR NAME QUOTATION CUSTOMER NAME PURCHASE() ORDER() CUSTOMER() LOGIN() UPDATION() ADMINISTRATOR()
PURCHASE
UPDATE
www.virtual-tutor.co.cc
Page 9 of 22
Virtual Tutor
www.virtual-tutor.co.cc
STOCKMANAGER
(f rom Use Case View)
CUSTOMER
(f rom Use Case View)
ADMINISTRATOR
(f rom Use Case View)
COMPANYMANAGER
(f rom Use Case View)
www.virtual-tutor.co.cc
Page 10 of 22
Virtual Tutor
www.virtual-tutor.co.cc
STOCK MANAGER
CUSTOMER
ADMINISTRATOR
COMPANY
PAYMENT DELIVERY OF GOODS ORDER FOR GOODS NEEDED AND PAY FOR IT DELIVERY OF PRODUCTS UPDATATION OF GOODS DETAILS
www.virtual-tutor.co.cc
Page 11 of 22
Virtual Tutor
www.virtual-tutor.co.cc
STOCK MANAGER
8: DELIVERY OF PRODUCTS
www.virtual-tutor.co.cc
ADMINISTRAT OR
1: LOGIN
COMPAN Y
Page 12 of 22
Virtual Tutor
www.virtual-tutor.co.cc
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
LIST PREPARATION
QUOTATION
UPDATE
www.virtual-tutor.co.cc
EXPIRED STOCK
Page 13 of 22
Virtual Tutor
www.virtual-tutor.co.cc
LOGIN
ANALYSIS
STOCK NEEDED
LIST PREPARATION
OLD STOCK
UPDATE
www.virtual-tutor.co.cc
Page 14 of 22
Virtual Tutor
www.virtual-tutor.co.cc
STOCK MANAGER
CUSTOMER
ADMINISTRATOR
www.virtual-tutor.co.cc
COMPANY MANAGER
Page 15 of 22
Virtual Tutor
www.virtual-tutor.co.cc
ADMINISTRATOR
STOCK MANAGER ANALYS THE THE STOCK AND ORDER FOR GOODS NEEDED
CUSTOMER
www.virtual-tutor.co.cc
Page 16 of 22
Virtual Tutor
www.virtual-tutor.co.cc
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
Virtual Tutor
www.virtual-tutor.co.cc
} }
COMPANYMANAGER.JAVA
www.virtual-tutor.co.cc
public class COMPANYMANAGER extends STOCKMANAGER { private int NAME; private int CUSTOMERNAME;
Page 18 of 22
Virtual Tutor
www.virtual-tutor.co.cc
/**
Page 19 of 22
Virtual Tutor
www.virtual-tutor.co.cc
CUSTOMER.JAVA
import ADMINISTRATOR;
www.virtual-tutor.co.cc
Page 20 of 22
Virtual Tutor
www.virtual-tutor.co.cc
} }
TESTING:
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.
www.virtual-tutor.co.cc
CONCLUSION:
Thus the project for stock management system has been successfully executed and Codes are generated.
Page 21 of 22
Virtual Tutor
www.virtual-tutor.co.cc
www.virtual-tutor.co.cc
Page 22 of 22