GitHunt
HQ

hq969/ERPModule-WPF

ERPModule is a WPF-based desktop ERP application built with C#, Prism Framework, and SQLite that helps small and medium-scale businesses streamline inventory management, sales tracking, and reporting. Designed with a modular MVVM architecture, it offers real-time analytics, secure local data storage, and a scalable structure for future cloud.

๐Ÿข ERPModule โ€“ WPF Desktop ERP Application

A desktop-based ERP application built with C#, WPF, Prism, and SQLite, designed to streamline inventory, sales, and reporting processes for small and medium-scale businesses.


๐Ÿš€ Overview

The ERPModule helps businesses manage core operations efficiently:

  • ๐Ÿ“ฆ Inventory Management โ€” Track products, stock levels, and suppliers.
  • ๐Ÿ’ฐ Sales & Orders โ€” Record sales, generate invoices, and manage orders.
  • ๐Ÿ“Š Reporting & Analytics โ€” View performance metrics, sales trends, and inventory summaries.
  • ๐Ÿ—‚๏ธ Database Integration โ€” Persist data locally using SQLite.
  • ๐Ÿงฉ Modular Architecture โ€” Built using MVVM design pattern for maintainability.

๐Ÿงฑ Tech Stack

Layer Technology Used
UI / Frontend WPF (Windows Presentation Foundation)
Architecture MVVM with Prism Framework
Database SQLite
Dependency Injection & Modularity Prism
Platform Windows Desktop

๐Ÿ“‚ Project Structure

ERPModule/
โ”‚
โ”œโ”€โ”€ App.xaml                 # Application definition
โ”œโ”€โ”€ App.xaml.cs              # Application logic
โ”œโ”€โ”€ MainWindow.xaml          # Main window UI
โ”œโ”€โ”€ MainWindow.xaml.cs       # Main window logic
โ”‚
โ”œโ”€โ”€ Views/                   # WPF Views (XAML)
โ”‚   โ”œโ”€โ”€ InventoryView.xaml
โ”‚   โ”œโ”€โ”€ InventoryView.xaml.cs
โ”‚   โ”œโ”€โ”€ SalesView.xaml
โ”‚   โ”œโ”€โ”€ SalesView.xaml.cs
โ”‚   โ”œโ”€โ”€ ReportView.xaml
โ”‚   โ””โ”€โ”€ ReportView.xaml.cs
โ”‚
โ”œโ”€โ”€ ViewModels/              # MVVM ViewModels
โ”‚   โ”œโ”€โ”€ InventoryViewModel.cs
โ”‚   โ”œโ”€โ”€ SalesViewModel.cs
โ”‚   โ””โ”€โ”€ ReportViewModel.cs
โ”‚
โ””โ”€โ”€ Models/                  # Data Models & Helpers
    โ”œโ”€โ”€ Product.cs
    โ”œโ”€โ”€ Sale.cs
    โ””โ”€โ”€ DatabaseHelper.cs

โš™๏ธ Setup & Installation

Step 1: Clone Repository

git clone https://github.com/hq969/ERPModule-WPF.git
cd ERPModule-WPF

Step 2: Restore NuGet Packages

Open ERPModule.sln in Visual Studio. Ensure all NuGet packages (Prism, SQLite) are restored.

Step 3: Build & Run

  • Press F5 in Visual Studio to run the application.
  • The MainWindow will open, allowing navigation to Inventory, Sales, and Reports views.

๐Ÿ“ฑ Application Flow

  1. MainWindow โ†’ Dashboard with navigation menu.
  2. InventoryView โ†’ Add, update, or delete products and manage stock levels.
  3. SalesView โ†’ Record sales, generate invoices, and view daily transactions.
  4. ReportView โ†’ Generate reports for sales, inventory, and performance metrics.

๐Ÿ”’ Future Enhancements

  • ๐Ÿงฉ Cloud multi-user sync
  • ๐Ÿ“Š Advanced reporting with charts and export options
  • ๐Ÿท๏ธ Barcode scanning for inventory management
  • ๐Ÿค– AI-assisted sales predictions

๐Ÿ‘จโ€๐Ÿ’ป Author

Harsh Sonkar


hq969/ERPModule-WPF | GitHunt