EX. NO:1 Stock Maintenance System: Problem Domain
EX. NO:1 Stock Maintenance System: Problem Domain
database to store the transaction that takes places between the Manufacturer, Dealer and the
Shop
Keeper that includes stock inward and stock outward with reference to the dealer.
Here we assume our self as the Dealer and proceed with the transaction as follows:
1. The Manufacturer is the producer of the items and it contains the necessary information of
the item such as price per item, Date of manufacture, best before use, Number of Item
available and their Company Address.
2. The Dealer is the secondary source of an Item and he purchases Item from the manufacturer
by requesting the required Item with its corresponding Company Name and the Number of
Items required. The Dealer is only responsible for distribution of the Item to the Retailers in
the Town
or City.
3. The Shop Keeper or Retailer is the one who is prime source for selling items in the market.
The
customers get Item from the Shop Keeper and not directly from the Manufacturer or the
Dealer.
4. The Stock is the database used in our System which records all transactions that takes place
between the Manufacturer and the Dealer and the Dealer and the Retailer.
1. INTRODUCTION:
1.1 Purpose :
This project is about developing a stock maintenance system within budget and should be
delivered on time. The system should be able to provide the customers to search the required
items
and receive the bill upon buying the item. The administrator should update the item details,
add or delete the required items. All the customer and administrator performed activities
should be updated in the database.
1.2 Document Conventions:
The headings have been written using “normal” style with “Times New Roman” font and font size
of “12”. with bold type. The contents under each heading uses “normal” style with “times” font
and font size of “12”. The subheadings under each headings also use “normal” style with
“times” font and size “12”. Every requirement statement has its own priority and each
requirement
is to be had a detailed study.
1.3 Intended Audience and Reading Suggestions:
The different types of reader that the document is intended for are developers, project
managers,
users, testers, and documentation writers. This SRS contains keenly analyzed and well
organized requirements specification which the system is supposed to contain when being
delivered to its customer.
1.4 Project Scope:
An online course reservation system is a software that allows the students to view the list of
courses available and make reservations. The system allows the students to enter their
personal details
needed for applying to a course. The administrator verifies the details and maintains course
details as well as the student information.
2. OVERALL DESCRIPTION:
2.1 Product Perspective:
The system is a new, self-contained product with its own requirements and functionalities
The significant functions that this product performs as well as lets the user to perform are as
follows:
1. Entering details of new items added to stock.
2. Deleting the items which are not in stock.
3. Update the item details.
3. SYSTEM FEATURES:
LOGIN:
3.1. Description and Priority:
This use case allows the administrator and customer to access the website and perform
required
activities.
The expected key attributes out of this product are adaptability, availability, correctness,
flexibility,
The Stock Maintenance System, initial requirement to develop the project about the
mechanism of the Stock Maintenance System is caught from the customer. The requirement
are analyzed and refined which enables the end users to efficiently use Stock Maintenance
System. The complete project is developed after the whole project analysis explaining about the
scope and the project statement is prepared.
PROBLEM STATEMENT
The process of stock maintenance system is that the customer login to the particular site to
place the order for the customer product. The stock maintenance system are described
sequentially through steps:
• The vendor login and views the customer details and orders.
1 INTRODUCTION
2 OBJECTIVE
3 OVERVIEW
4 GLOSSARY
5 PURPOSE
6 SCOPE
7 FUNCTIONALITY
8 USABILITY
9 PERFORMANCE
10 RELIABILITY
11 FUNCTIONAL REQUIRMENTS
1. INTRODUCTION
This software specification documents full set of features and function for online stock
maintenance system that is performed in company website. In this we give specification about
the customer orders. It tells the usability, reliability defined in use case specification.
2. OBJECTIVE
The main objective of the stock maintenance system is to maintain the stock. It provides the
vendor to maintain the stock in an precise manner.
3. OVERVIEW
The overview of the project is to design an online tool for the recruitment process which eases
the work for the customer as well as the companies. Companies can create theircompany forms
according to their wish in which the applicant can register.
4. GLOSSARY
TERMS DESCRIPTION
5. PURPOSE
The purpose of stock maintenance system is to maintain the stock in an precise manner.
6. SCOPE
7. FUNCTIONALITY
The main functionality of the stock maintenance system is to maintain the stock.
8. USABILITY
User interface makes the stock maintenance system to be efficient. That is the system will help
the customer to place the details and orders easily and helps the vendor to maintain the stock
accurate. The system should be user friendly.
9. PERFORMANCE
It describes the capability of the system to maintain the stock without any loss of stock
10. RELIABILITY
The stock maintenance system should be able to maintain the stock with correct updates from
day to day placement of new orders from customer.
Functional requirements are those refer to the functionality of the system. That is the services
that are provided to the customer who places the orders.
UML DIAGRAMS
The following UML diagrams describe the process involved in the online recruitmentsystem
• Class diagram
• Sequence diagram
• Collaboration diagram
• Activity diagram
• Component diagram
• Deployment diagram
• Package diagram
A use case is a methodology used in system analysis to identify, clarify, and organize system
requirements. The use case is made up of a set of possible sequences of interactions between
systems and users in a particular environment and related to a particular goal. It is represented
using ellipse. Actor is any external entity thatmakes use of the system being modeled. It is
represented using stick figure.
DOCUMENTATION OF USE CASE DIAGRAM
The actors in this use case diagram are customer, vendor and database. The use cases are the
activities performed by actors.
CUSTOMER:
• Customer logins to the particular system and fills the customer details and places the orders.
DATABASE:
• All the details and orders given by customer are updated in the database.
VENDOR:
• Vendor logins and verify the customer orders and the stock details.
CLASS DIAGRAM
A class diagram in the unified modeling language (UML) is a type of static structure diagram that
describes the structure of a system by showing the system's classes, their attributes, and the
relationships between the classes. It is represented using a rectangle with three compartments.
Top compartment have the class name, middle compartment the attributes and the bottom
compartment with operations.
DOCUMENTATION OF CLASS DIAGRAM
This class diagram has three classes’ customer, vendor and database.
• Customer – is the class name. Its attributes are username, password,name, phone no and
address. The operations performed in the customer class are login and places the orders.
• Vendor – is the class name. Its attributes are views the database.
• Database – is the class name. The operations performed are storing customer details, and
their orders.
SEQUENCE DIAGRAM
A sequence diagram in Unified Modeling Language (UML) is a kind of interaction diagram that
shows how processes operate with one another and in what order. It is aconstruct of a Message
Sequence Chart. There are two dimensions.
The customer login in to the system and fills the customer details.
• The vendor login to the system and views the customer orders and the stockdetails.
COLLABRATION DIAGRAM :
The collaboration diagram is to show how the customer login and places the orders in the
The purpose of state chart diagram is to understand the algorithm involved in performing a
method. It is also called as state diagram. A state is represented as a round box, which may
Activity diagrams are graphical representations of workflows of stepwise activities and actions
with support for choice, iteration and concurrency. In the Unified Modeling Language, activity
diagrams can be used to describe the business and operational step-by-step workflows of
This activity diagram flow of stepwise activities performed in stock maintenance system.
• Vendor login to the system and verifies the customer orders and stock details.
COMPONENT DIAGRAM
The component diagram's main purpose is to show the structural relationships between the
communication assosiation.
DOCUMENTATION OF COMPONENT DIAGRAM
The main component in this component diagram is stock maintenance systems. And customer
database details and update database then vendor views the database are the components
DEPLOYMENT DIAGRAM
A deployment diagram in the unified modeling language serves to model the physical
deployment of artifacts on deployment targets. Deployment diagrams show "the allocation
ofartifacts to nodes according to the Deployments defined between them. It is represented by
3dimentional box. Dependencies are represented by communication assosiation.
DOCUMENTATION OF DEPLOYMENT DIAGRAM
The processor in this deployment diagram is the stock maintenance system which is the
main part and the devices are the filling customer details and placing orders then vendor
views which are the some of the main activities performed in the system.
PACKAGE DIAGRAM
A package diagram in unified modeling language that depicts the dependencies between the
packages that make up a model. A Package Diagram (PD) shows a grouping ofelements in the
OO model, and is a Cradle extension to UML. PDs can be used to show groups of classes in Class
Software objects representing domain concepts that fulfill application reqirements, such as
calculation of a sale total.Domain layerLayer that contains domain objects to handle application
General purpose object and sub system that provide supporting technical services,such as
interfacing with a database logging
DOCUMENTATION OF PACKAGE DIAGRAM
• The User interface layer - consists of the web and login. This layer decribes
how the applicant logins to the website and places the order.
• The Domain layer – shows the activities that are performed by the customer
• The Technical service layer - the vendor logins and verifies the customer
class Stock {
private String name;
private int quantity;
private double price;
@Override
public String toString()
{ return "Stock{" +
"name='" + name + '\'' +
", quantity=" + quantity +
", price=" + price +
'}';
}
}
// Example usage
system.addStock("Apple", 100, 150.0);
system.addStock("Banana", 200, 100.0);
FORM 1
FORM 2
FORM 3
FORM 4
FORM5
FORM 6
FORM 7
FORM 8