Centralized Stock Management for Multi-Branch Businesses
Businesses operating multiple branches need a shared view of stock availability and a reliable process for moving goods between locations. Separate spreadsheets can produce inconsistent balances, unrecorded transfers, and delays in identifying shortages. This project proposes a centralized web application for managing branch inventory, purchases, sales, returns, and stock transfers through a shared database.
The system will provide controlled access for administrators, branch managers, and inventory staff. Users will record stock movements, request transfers, confirm deliveries, and reconcile physical stock with recorded balances. A central dashboard will show branch stock levels and pending transfers. Transaction controls will prevent negative available stock and duplicate posting, while an audit trail will record who performed each operation.
Functional Requirements:
1. User Authentication and Role Management
o Secure login for administrators, branch managers, and inventory staff. Administrators will create accounts, assign branches, and manage permissions.
o Branch users will access only their assigned branch records. Managers will approve transfers and adjustments; administrators will view all branches and manage system settings.
2. Branch and Product Management
o Manage branches, suppliers, product categories, and products with unique stock keeping unit (SKU) codes, units, purchase prices, and selling prices.
o Maintain opening stock and a reorder threshold for each product at each branch. Deactivate records without deleting their transaction history. 3. Purchases and Sales Recording
o Record supplier deliveries and sales with product quantities, prices, dates, and document references. Increase stock on purchase receipt and decrease it when a sale is posted.
o Validate quantities and available stock before posting. Preserve posted documents; correct errors using linked reversal entries instead of editing stock history.
4. Inter-Branch Stock Transfer Management
o Create a transfer request identifying source branch, destination branch, products, and quantities. Track requested, approved, dispatched, received, rejected, and cancelled states.
o Approval will reserve source stock. Dispatch will reduce source on-hand stock, release that reservation, and record stock in transit. Receipt will increase destination stock and reduce stock in transit by the quantity received.
o Allow cancellation only before dispatch and release any reservation. Record shortages or damaged deliveries for manager resolution; prevent duplicate receipt and receipt beyond the dispatched quantity.
5. Stock Visibility and Low-Stock Alerts
o Display on-hand, reserved, available, and in-transit quantities separately. Available stock will equal on-hand stock minus reservations.
o Filter stock by branch, product, and category. Generate in-app alerts when available stock falls below the branch reorder threshold and show outstanding transfer actions.
6. Returns and Damaged Stock Management
o Record customer and supplier returns against their original documents. Prevent cumulative returned quantities from exceeding the original transaction quantity.
o Increase saleable stock only for customer returns accepted as saleable. Reduce stock for supplier returns and approved damage write-offs, recording the reason and authorizing user.
7. Stock Counting and Reconciliation
o Allow branch staff to record physical counts against a saved stock snapshot and calculate differences from recorded on-hand balances.
o Require manager approval before posting an adjustment. Reject a stale count if stock movements have occurred since its snapshot, and request a recount.
8. Transaction Integrity and Audit Trail
o Apply stock postings and document updates within database transactions. Use appropriate locking to prevent concurrent sales or transfers from consuming the same available stock.
o Use unique posting references to prevent repeated submissions from changing stock twice. Record the user, branch, time, quantities, and document reference for every posted movement and approval.
9. Central Dashboard and Reporting
o Provide branch stock summaries, low-stock lists, transfer status reports, and stock movement histories with date and branch filters.
o Generate purchase, sales, returns, and reconciliation reports. Export reports as CSV and produce printable transfer documents.
10. Data Security and Backup
o Enforce server-side authorization, input validation, password hashing, and protection against cross-site request forgery. Restrict stock corrections and approval operations to authorized users.
o Provide an administrator-controlled database backup and document a tested restore procedure. Keep backup files outside publicly accessible application directories.
-
Tools & Technologies
- o Python and Django for backend development, authentication, and administration.
- o PostgreSQL for the central database and transaction locking.
- o HTML, CSS, JavaScript, and Bootstrap for the responsive web interface.
- o Python CSV utilities for report exports; browser printing for transfer documents.
Faisal Mehmood
Faisal Mehmood Expert in CS619 Final Year Projects and software development.
View all projects