Functional Requirements Analysis
Functional Requirements Analysis
Introduction
The DM-IMS inventory management web app is designed to provide a comprehensive solution for
managing inventory, processing orders, and handling user profiles. It supports three distinct user roles:
client, staff, and admin, each with specific functionalities. The system aims to streamline inventory
management processes, facilitate order tracking, and ensure efficient user administration.
System Overview
Client: User who interacts with the system to place and manage his/her own orders. The client user
needs to be registered to access these functionalities.
Admin: The user with high-level access for managing inventory, orders, customers, and other users.
Functional Requirements
Registration: Clients must create an account to place orders. Registration requires providing personal
information such as name, email, phone number, and address. The process of registration is divided in
two main steps, adding the client to the list of registered clients, and creating the client's user profile
Login: Registered clients log in using their username and password. Authentication involves validating
credentials and initiating a session.
2. Order Management
Place Orders:
Clients can browse the product catalog, select items, specify quantities, and add them to the
shopping cart.
System should validate product availability and stock levels before confirming the order.
View Orders:
Clients can view a list of their past and current orders. Details include order status, product details,
quantities, and delivery information.
Modify Orders:
Clients can modify orders if the order status allows it. Options include changing quantities or product
choices.
Cancel Orders:
Clients can cancel orders that are not yet processed or completed. The system should handle
inventory update accordingly.
3. Profile Management
View Profile:
Clients can view their personal details including contact information and order history.
Update Profile:
Clients can edit their personal information such as address, phone number, and email.
Profile Picture:
Clients can upload or update their profile picture. The system should support image formats and
handle file uploads.
View Orders:
Staff can view all orders placed by clients, including pending and completed orders.
Staff can mark orders as completed once they are processed and ready for delivery.
Add Orders:
Staff can manually add new orders received via phone. They need to enter client details, product
information, and order specifics into the system.
2. Profile Management
View Profile:
Update Profile:
Staff can edit their personal details and upload or update their profile picture.
1. Product Management
Update Stock:
Admin can adjust stock levels for products based on inventory reports or restocking activities.
Delete Products:
Admin can remove products from the inventory. This action should update the product catalog.
2. Order Management
Update Orders:
Admin can modify order details including changing statuses, correcting errors, or updating delivery
information.
Delete Orders:
Admin can delete orders if required, with appropriate handling of related inventory and financial
records.
3. Customer Management
Admin can edit client profiles, including contact details and addresses, based on client requests or
administrative needs.
Delete Customers:
Admin can remove clients from the system, which involves deleting their order history and personal
details.
4. User Management
Add Users:
Admin can create new staff or admin accounts, assigning appropriate roles and permissions.
Delete Users:
Admin can remove staff or clients user accounts, ensuring that user access and data integrity are
maintained.
Admin can view all user profiles but can only update his own profile information.
5. Profile Management
View Profile:
Admin can view their profile and access their order history.
Update Profile:
Admin can modify their personal details and upload or update their profile picture.
System Constraints
Security:
The system must enforce strong authentication mechanisms to ensure that users can only access their
own data and functionalities. This includes password protection, session management, and secure data
handling.
Data Integrity:
Ensure that all changes to orders, stock levels, and user information are accurately recorded and
reflected in the system.
Implement constraints on modifying or canceling orders based on their current status. For example,
completed or shipped orders may have restricted modification options.
Define clear permissions for each user role to prevent unauthorized access to sensitive data and
functionalities.
Summary
The DM-IMS inventory management web app supports a multi-faceted approach to managing inventory
and user interactions. Clients, staffs, and the admin each have tailored functionalities to perform their
roles efficiently. Clients handle their orders and profiles, staff manage and process orders, and admins
oversee system-wide operations including inventory, order, and user management. This detailed
functional analysis ensures that all user needs are addressed while maintaining system integrity and
security.