Practical ODBMS
Practical ODBMS
Aim
To create a system to perform the Stock maintenance
Software used
StarUML
Theory
Stock Maintenance System is a real time application used in the merchant’s day to day system. This is a
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.
Problem Statement
The stock maintenance system must take care of sales information of the company and must analyze the
potential of the trade. It maintains the number of items that are added or removed. The sales person
initiates this Use case. The sales person is allowed to update information and view the database.
Purpose
The entire process of Stock maintenance is done in a manual manner. Considering the fact that the number
of customers for purchase is increasing every year, a maintenance system is essential to meet the demand.
So this system uses several programming and database techniques to elucidate the work involved in this
process.
Scope
The System provides an interface to the customer where they can fill in orders for the item needed.
The sales person is concerned with the issue of items and can use this system.
Provide a communication platform between the customer and the sales person.
Here we assume ourself as the Dealer and proceed with the transaction as follows:
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.
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.
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.
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.
The functionality of a system can be described in a number of different use-cases, each of which
represents a specific flow of events in a system. It is a graph of actors, a set of use-cases enclosed in a
boundary, communication, associations between the actors and the use-cases, and generalization among
the use-cases
Practical- 2
Table of Contents
Table of Contents......................................................................................................................................3
1. Introduction.........................................................................................................................................4
1.1 Purpose..........................................................................................................................................................4
1.2 Scope.............................................................................................................................................................4
1.3 Definitions, Acronyms, and Abbreviations..................................................................................................4
1.4 References.....................................................................................................................................................4
2. Overall Description.............................................................................................................................5
2.1 Product Perspective.......................................................................................................................................5
2.2 Product Functions.........................................................................................................................................5
2.3 User Classes and Characteristics..................................................................................................................5
2.4 Operating Environment.................................................................................................................................5
2.5 Design and Implementation Constraints.......................................................................................................6
2.6 User Documentation.....................................................................................................................................6
2.7 Assumptions and Dependencies...................................................................................................................6
3. Specific Requirements........................................................................................................................6
3.1 External Interfaces........................................................................................................................................6
3.2 System Function...........................................................................................................................................7
3.3 Performance Requirements…………………………………………………………………………………………………………………… 7
3.4 Logical Database Requirements………………………………………………………………………………………………………………8
3.5 Design Constraints………………………………………………………………………………………………………………………………….8
3.6 Software System Attributes…………………………………………………………………………………………………………………….9
3.7 Other Requirements……………………………………………………………………………………………………………………………….9
4. External Interface Requirements......................................................................................................9
4.1 User Interfaces..............................................................................................................................................9
4.2 Hardware Interfaces....................................................................................................................................10
4.3 Software Interfaces.....................................................................................................................................10
4.4 Communications Interfaces........................................................................................................................11
5. Other Nonfunctional Requirements................................................................................................11
5.1 Performance Requirements.........................................................................................................................11
5.2 Safety Requirements...................................................................................................................................11
5.3 Security Requirements................................................................................................................................11
5.4 Software Quality Attributes........................................................................................................................11
6. Other Requirements.........................................................................................................................12
Appendix A: Glossary............................................................................................................................12
Appendix B: Analysis Models................................................................................................................12
Appendix C: Issues List..........................................................................................................................12
1. Introduction
1.1 Purpose
The purpose of this document is to outline the functional and non-functional requirements for
the development of a stock maintenance system. This system aims to facilitate the effective
management of inventory levels, track stock movements, and update stock information within
a warehouse or distribution center. By keeping track of stock levels, orders, sales, and
deliveries, the system helps ensure that the right amount of stock is available at the right time
to meet customer demand. This not only prevents stockouts and overstocking but also helps
optimize inventory levels, reducing carrying costs and improving overall efficiency.
Additionally, the system provides insights into stock movement and trends, which can be
used for better decision-making, such as identifying fast-moving items, forecasting demand,
and optimizing supplier relationships. Overall, a stock maintenance system plays a crucial
role in enhancing operational efficiency, improving customer satisfaction, and maximizing
profitability for a business.
1.2 Scope
The Stock Maintenance System is designed to manage stock levels, track inventory, and
generate reports for a retail business. It will include features for adding new stock items,
updating stock levels, and generating alerts for low stock. Additionally, the system should
provide insights into stock performance and trends to help make informed decisions
regarding stock replenishment and inventory management strategies. It encompasses all
aspects related to the management and tracking of inventory within a business
1.4 References
https://www.geeksforgeeks.org/software-requirement-specification-srs-format/
2. Overall Description
3. Specific Requirements
3.1 External Interfaces
User Interface (UI): The interface through which users interact with the system to perform
actions such as managing stock, placing orders, and viewing reports. This can include web
interfaces, desktop applications, or mobile apps.
Application Programming Interface (API): Interfaces that allow other software systems
to interact with the stock maintenance system. This can include APIs for retrieving product
information, updating stock levels, and processing orders.
Database Interface: The interface that allows the stock maintenance system to interact
with the database where information such as product details, stock levels, and order history is
stored.
External System Interfaces: Interfaces that enable the stock maintenance system to
communicate with external systems such as accounting software, inventory management
systems, and e-commerce platforms. This can involve exchanging data such as sales orders,
inventory levels, and customer information.
Availability: Specify the required uptime of the system (e.g., 99.9%) and how quickly it
should recover from failures.
Resource Usage: Define the acceptable levels of CPU, memory, and disk usage to ensure
the system operates efficiently without overloading the hardware.
Data Integrity: Ensure that the system maintains the integrity of stock information,
avoiding data corruption or loss.
Security: Ensure that the system provides adequate security measures to protect stock data
from unauthorized access, modification, or disclosure.
Reliability: Define the system's ability to perform consistently and predictably under
normal and abnormal conditions.
Username field
Password field
Login button
Dashboard
Menu bar with options for different functionalities (e.g., Add Stock, Update Stock,
View Stock, Generate Reports)
Summary of stock status (e.g., total items, low stock items)
Recent transactions or alerts)
Add Stock Form
Item name
Item description
Quantity
Price per unit
Submit button
Update Stock Form
Search field to find item to update
Fields to update quantity or price per unit
Update button
View Stock
Table displaying current stock details (item name, description, quantity, price per unit)
Search and filter options
Export button for downloading stock details
User Profile
User Information (e.g., name, role)
Option to change password
Logout button
Web Browser: The system should be accessible via a web browser for easy user
interaction.
Programming Language: The system should be developed using a specific
programming language (e.g., Java, Python).
Activity Diagram
Represents the flow of activities in the system for managing stock, placing orders,
managing suppliers, and managing customers
Class Diagram
Classes: Product, Supplier, Customer, Order, stock
Attributes and relationships between classes
Sequence Diagram
Represents the interactions between actors and the system for specific use cases like
placing an order, managing stock, etc.