Skip to main content

ApexStock Enterprise: Building a Smart Inventory Management System Using Python and Oracle Database

A Student Project | Chandigarh University | MCA (Artificial Intelligence & Machine Learning)

Introduction

In today's fast-paced business environment, managing inventory efficiently is essential for every organization. Businesses need to keep track of products, monitor stock levels, manage warehouses, process customer orders, and maintain accurate records. Handling these operations manually can lead to errors, delays, and difficulties in managing large amounts of data.

To address these challenges, we developed ApexStock Enterprise, a database-driven Inventory Management System designed to simplify and streamline inventory operations through a centralized digital platform.

The project combines the power of Python, Streamlit, and Oracle Database to deliver an interactive application that demonstrates how database management concepts can be applied to solve real-world business problems.



About the Project

ApexStock Enterprise is a web-based Inventory Management System developed as part of our Database Management Systems (DBMS) academic project.

The application provides a centralized platform for managing products, categories, suppliers, customers, warehouses, inventory levels, and sales orders.

Unlike basic inventory applications, this project focuses not only on day-to-day inventory operations but also on demonstrating important database concepts such as CRUD operations, relational database design, SQL queries, database security, stored procedures, and triggers.

The system follows a three-tier architecture:

  • Frontend: Python and Streamlit for an interactive user interface.

  • Data Access Layer: Python-based database connection and query management.

  • Database: Oracle Database for structured data storage and management.

Key Features and Functionalities

The application includes several modules designed to handle different inventory management operations.

1. Dashboard and Analytics

The dashboard provides an overview of important inventory information, including total products, available stock, inventory valuation, low-stock alerts, and revenue. Interactive visualizations help users understand inventory performance and business activity.

2. Product and Catalog Management

Users can add, view, update, search, and delete products. The module also supports category and supplier management, along with price validation to maintain data consistency.

3. Warehouse and Stock Management

The system supports multiple warehouse locations and provides a stock matrix to monitor product quantities across different facilities. It also supports stock adjustments and warehouse occupancy monitoring.

4. Orders and POS Billing

Users can create customer orders, select products, manage shopping carts, calculate taxes, and generate printable invoices. The system also validates stock availability and updates inventory during order processing.

5. Stock Movements and Transfers

The application manages incoming and outgoing stock transactions. It also supports transferring inventory between warehouses while maintaining transaction consistency.

6. Supplier and Customer Management

Users can maintain supplier and customer records, including contact information, supplier ratings, and customer classifications.

7. SQL Workbench and DBMS Demonstration

One of the most important features is the interactive SQL Workbench. It allows users to execute SQL queries and demonstrate different database concepts through predefined examples and live query execution.

8. Database Security and Access Control

The system implements Role-Based Access Control (RBAC) using Oracle's Data Control Language (DCL). Different roles, including Administrator, Manager, Staff, and Auditor, are assigned specific permissions using GRANT and REVOKE operations.

Technologies Used

The project was developed using the following technologies:

  • Python: Core programming language.

  • Streamlit: Web application framework for building the user interface.

  • Oracle Database: Relational database management system.

  • Python-oracledb: Connectivity between Python and Oracle Database.

  • SQL: Database creation, manipulation, querying, and access control.

  • PL/SQL: Stored procedures, functions, and triggers.

  • Pandas: Data handling and processing.

  • Plotly: Interactive charts and data visualization.

Applying DBMS Concepts in a Real-World Application

A major objective of this project was to implement theoretical DBMS concepts in a practical application.

The project covers several important concepts:

  • DDL (Data Definition Language): Creating tables, defining constraints, modifying database structures, and creating views.

  • DML (Data Manipulation Language): Inserting, updating, deleting, and retrieving records.

  • CRUD Operations: Complete Create, Read, Update, and Delete functionality across major application modules.

  • SQL Joins and Aggregations: Combining information from multiple tables and generating meaningful analytical results.

  • Subqueries and Analytical Functions: Performing advanced database operations, ranking products, and calculating cumulative totals.

  • DCL (Data Control Language): Managing database permissions through roles, GRANT, and REVOKE.

  • PL/SQL: Implementing stored procedures, functions, and triggers for automated database operations.

The database consists of 10 core relational tables and five analytical views, supported by primary keys, foreign keys, unique constraints, and check constraints.

The implementation also includes audit logs to maintain records of important database operations.



What Makes ApexStock Enterprise Different?

The project goes beyond basic product management by combining inventory operations with advanced database functionality.

Some notable highlights include:

  • Automated inventory updates during sales transactions.

  • Low-stock identification based on predefined reorder levels.

  • Transaction-based stock transfers between warehouses.

  • Database triggers for tracking product changes.

  • Role-based access control for different user categories.

  • Analytical views for inventory valuation and sales insights.

  • An interactive SQL environment for practical DBMS demonstrations.

These features make the application both a functional inventory management solution and a practical demonstration of database management principles.

Learning Outcomes

Developing ApexStock Enterprise provided valuable hands-on experience in database design, backend development, and application integration.

Through this project, we gained practical knowledge of:

  1. Designing relational database schemas and defining relationships between entities.

  2. Implementing SQL queries and advanced database operations.

  3. Connecting Python applications with Oracle Database.

  4. Building interactive web applications using Streamlit.

  5. Managing database transactions and maintaining data integrity.

  6. Implementing database security using roles and privileges.

  7. Using stored procedures, functions, and triggers to automate database operations.

  8. Presenting database information through interactive dashboards and visualizations.

Most importantly, the project helped bridge the gap between theoretical DBMS concepts and their practical implementation.

Conclusion

ApexStock Enterprise represents our effort to transform classroom learning into a practical, technology-driven solution. By integrating Python, Streamlit, and Oracle Database, we developed an application that demonstrates how an organized database system can improve inventory management, data accuracy, and operational efficiency.

This project was an opportunity to explore database architecture, advanced SQL concepts, application development, and real-world problem-solving.

We believe that practical projects like these play an important role in developing technical skills, encouraging innovation, and preparing students for industry challenges.

Project Name: ApexStock Enterprise – Inventory Management System
Project Domain: Database Management Systems (DBMS)
Institution: Chandigarh University
Technology Stack: Python | Streamlit | Oracle Database | SQL | PL/SQL


Comments

Popular posts from this blog

TOPIC 2 - Computer Graphics : Education and Training

  Education and Training: Graphics play a crucial role in education and training by enhancing the learning experience and making complex concepts more understandable. For instance, interactive educational software often incorporates visual elements such as diagrams, illustrations, and animations to explain scientific processes, historical events, or mathematical concepts. Virtual reality (VR) and augmented reality (AR) are also being used to create immersive educational experiences. For example, medical students can use VR simulations to practice surgical procedures, allowing them to gain hands-on experience in a safe and controlled environment. MORE SIMPLER-> Graphics are important in education and training as they improve learning and help people understand difficult ideas. For example, educational software uses pictures, diagrams, and animations to explain scientific processes, historical events, and math concepts. Virtual reality (VR) and augmented reality (AR) are also used...

What are the consequences of having an overactive or strong bladder? How can one deal with it effectively in real life situations like driving, public places etc.?

  Having an overactive or strong bladder can be a source of discomfort and inconvenience, as it can lead to frequent urges to urinate and potentially involuntary loss of urine (incontinence). In some cases, it may be difficult to predict when the urge to urinate will occur, which can be problematic in situations such as driving or when in a public place. There are several strategies that may help to manage an overactive bladder and reduce the frequency and intensity of urges to urinate: Pelvic floor muscle exercises: These exercises can help to strengthen the muscles that support the bladder and may help to reduce incontinence. Bladder training: This involves gradually increasing the time between visits to the bathroom in an effort to stretch the bladder and improve its capacity. Fluids and diet: Limiting fluid intake and avoiding certain foods and drinks that may irritate the bladder (such as alcohol, caffeine, and spicy foods) may help to reduce urges to urinate. Medications: The...

If I am out on vacation and my company's business is seriously disrupted, can my employer rescind my vacation days?

 It is generally not appropriate for an employer to rescind vacation days that have already been approved and taken. Vacation time is a form of earned wages and an employee has the right to use their vacation time as they see fit, unless there is a provision in the employment contract stating otherwise.  If the disruption to the company's business was significant and the employee's presence was urgently needed, the employer could try to ask the employee to cut their vacation short and return to work early. However, it would be up to the employee to decide whether or not to do so.  It is always a good idea for employees to try to be accommodating when it comes to their employer's needs, but they are not required to give up their earned vacation time unless there is a legal or contractual obligation to do so.