For Online Students

Object Oriented Analysis and Design Lab – STOCK MAINTENANCE SYSTEM

Click HERE to download the below document with Diagrams…

 
STOCK MAINTENANCE 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 maintainance,upgrades and periodic backups by developed and authorized personel.
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 analyse what goods are neede,what are the expired ones and the old ones.Then he clearsthe 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:
(a).FUNCTIONAL REQUIREMENTS:
REQUIREMENTS:
1.Login: Login is achieved by the stock manager.
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.chosing the best one: Stock manager chooses the best quotations.
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 encomposing all the diagrams,we have to generate code for each
and every diagrams i.e from usecase to deployment.
5. TESTING:
Afteer 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 ins 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:
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).HARDWARE 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.
5.MODULE DESCRIPTION:
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.
Analysis:
The stock manager analysesthe 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.
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.
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 PER-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.
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.
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 name space, through a UML package we can represent those and more. The forward arrow from the stock manager to the customer.

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.

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:

 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.


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.

 

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.


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.

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.


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.


UML ACTIVITY DIAGRAM:

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


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


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.

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
    */
   public void GOODSCLEARANCE()
   {
   }
   /**
   @roseuid 4D4B96070350
    */
   public void ANALYSIS()
   {
   
   }
  
   /**
   @roseuid 4D4B96210311
    */
   public void GOODSORDER()
   {
   
   }
}
COMPANYMANAGER.JAVA
//Source file: Z:\\COMPANYMANAGER.java
public class COMPANYMANAGER extends STOCKMANAGER
{
   private int NAME;
   private int CUSTOMERNAME;
  
   /**
   @roseuid 4D5E09DE00B7
    */
   public COMPANYMANAGER()
   {
   
   }
  
   /**
   @roseuid 4D4B96CD02A2
    */
   public void QUOTATION()
   {
   
   }
  
   /**
   @roseuid 4D4B96E4035E
    */
   public void PAYMENT()
   {
   
   }
  
   /**
   @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()
   {
   
   }
  
   /**
   @roseuid 4D4B966C0264
    */
   public void PURCHASE()
   {
   
   }
  
   /**
   @roseuid 4D4B967C00BF
    */
   public void ORDER()
   {
   
   }
}

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.

CONCLUSION:

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

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s

Follow

Get every new post delivered to your Inbox.

%d bloggers like this: