Enterprise Software Engineering Documentation Suite

Aadhi Granites ERP System

Granite Export Industry ยท End-to-End Enterprise Resource Planning Platform
๐Ÿ“… Document Date: August 2026 ๐Ÿข Client: Aadhi Granites Pvt. Ltd. ๐ŸŒ Markets: USA ยท Canada ยท Ireland ยท India ๐Ÿ“‹ Version: 1.0 โ€” Implementation Ready ๐Ÿ”’ Confidential
Business Requirements Document System Architecture Database Schema API Specifications Security & Compliance

๐Ÿ“‘ Table of Contents

PART I โ€” BUSINESS REQUIREMENTS DOCUMENT (BRD)
1. Executive Summary 2. Business Context & Objectives 3. Stakeholders & User Roles 4. Business Process Workflows 5. Functional Requirements by Module 6. Non-Functional Requirements 7. Business Rules & Validations 8. Assumptions & Constraints
PART II โ€” SYSTEM ARCHITECTURE
9. Application Architecture Overview 10. Module Architecture & Component Map 11. Integration Architecture
PART III โ€” DATABASE DESIGN
12. Entity Relationship Overview 13. Core Table Schemas
PART IV โ€” API SPECIFICATIONS
14. REST API Endpoints 15. Request/Response Schemas
PART V โ€” SECURITY, DEPLOYMENT & OPERATIONS
16. Security Architecture 17. Deployment Architecture 18. Audit Trail & Compliance 19. Performance & Scalability 20. Testing Strategy

PART I โ€” BUSINESS REQUIREMENTS DOCUMENT (BRD)

1. Executive Summary

Aadhi Granites Pvt. Ltd. is a granite manufacturing and export company headquartered in India, serving memorial and monument markets in the USA, Canada, Ireland, and domestic India. The company requires a comprehensive Enterprise Resource Planning (ERP) system to digitize and integrate all operational workflows โ€” from customer quotation through production, quality control, dispatch, and financial settlement.

This document defines the complete business requirements, system architecture, database design, API specifications, security model, and deployment strategy for the Aadhi Granites ERP platform. The system must support multi-currency international billing, GST-compliant invoicing, production stage tracking, stone inventory management, and role-based access for Admin, Staff, and Customer users.

Business Drivers:
  • Eliminate manual order tracking via spreadsheets and WhatsApp
  • Provide real-time production visibility to management and customers
  • Automate GST-compliant invoicing and payment tracking
  • Enable data-driven decisions via KPI dashboards and reports
  • Support international export compliance (HS codes, customs documentation)
  • Scale from current 89 active customers to 300+ within 3 years
MetricCurrent StateTarget State (Post-ERP)
Order Processing Time2โ€“3 days manual<4 hours automated
Invoice GenerationManual ExcelAuto-generated on dispatch
Production VisibilityPhone calls / WhatsAppReal-time dashboard
Overdue Order DetectionWeekly reviewAutomated daily alerts
Customer Self-ServiceNoneCustomer portal (orders + quotes)
ReportingMonthly manual reportsReal-time analytics

2. Business Context & Objectives

2.1 Company Profile

AttributeDetails
Company NameAadhi Granites Pvt. Ltd.
IndustryGranite Manufacturing & Export โ€” Memorial / Monument Sector
Primary MarketsUSA, Canada, Ireland (Export); India (Domestic)
Product RangeAngel Monuments, Cross Designs, Mausoleum Panels, Obelisks, Angel Carvings, Columbariums, Flat Markers, Upright Monuments, Custom Sculptures
Stone TypesBlack Galaxy, Absolute Black, Imperial Red, Blue Pearl, Tan Brown, Black Pearl
Active Customers89 (as of Aug 2026)
Monthly Revenueโ‚น42.8 Lakhs (Aug 2026 MTD)
Production WorkersNamed workforce: Selvam P., Kumar V., Rajan K., Murugan S., Arjun M. (and others)

2.2 Strategic Objectives

  1. Operational Efficiency: Reduce order-to-dispatch cycle time by 40% through workflow automation
  2. Financial Accuracy: Achieve 100% GST-compliant invoicing with zero manual errors
  3. Customer Experience: Provide self-service portal for order tracking and quote requests
  4. Inventory Optimization: Prevent stockouts via automated reorder alerts (3 stone types currently below reorder level)
  5. Export Compliance: Automate customs documentation (HS codes, packing lists, certificates of origin)
  6. Scalability: Support 3ร— growth in order volume without proportional headcount increase
  7. Audit & Traceability: Full audit trail for every order, payment, and production stage change

2.3 Scope Boundaries

In Scope

  • Order Management (full lifecycle)
  • Production Tracking (7-stage pipeline)
  • Stone Inventory Management
  • Customer Management & Portal
  • Quotation & Billing (GST-compliant)
  • Dispatch & Logistics Tracking
  • Reports & Analytics Dashboard
  • Role-Based Access Control
  • Notification System
  • Audit Trail

Out of Scope (Phase 1)

  • HR & Payroll Management
  • Supplier/Vendor Portal
  • Machine Maintenance Scheduling
  • E-commerce Storefront
  • Mobile Native App (iOS/Android)
  • Multi-company / Multi-branch
  • Advanced BI / Data Warehouse
  • IoT Production Sensors

3. Stakeholders & User Roles

3.1 Stakeholder Matrix

StakeholderRoleInterestInfluence
Managing Director / OwnerExecutive SponsorRevenue, profitability, growthHIGH
Operations ManagerPrimary Admin UserOrder flow, production efficiencyHIGH
Production SupervisorStaff UserStage assignments, worker allocationMEDIUM
Accounts / Finance TeamStaff UserInvoicing, GST, payment trackingMEDIUM
Dispatch / Logistics TeamStaff UserShipping, customs, trackingMEDIUM
Export Customers (USA/Canada/Ireland)Customer Portal UserOrder status, quotes, invoicesLOW
IT / Development TeamSystem AdministratorUptime, security, maintenanceHIGH

3.2 User Role Definitions

RoleDescriptionModule AccessPermissions
Admin Full system access. Operations Manager or MD. Can configure system settings, manage users, approve high-value transactions. All 8 modules + Settings Create, Read, Update, Delete, Approve, Export, Configure
Staff Operational users โ€” production supervisors, accounts, logistics. Can manage day-to-day operations but cannot access system settings or delete records. Dashboard, Orders, Production, Inventory, Customers, Quotation/Billing, Dispatch, Reports Create, Read, Update (own module). No Delete, No Settings.
Customer External customers accessing self-service portal. Can only view their own orders and submit quote requests. Dashboard (limited), My Orders, Quotations Read (own records only), Create (quote requests only)

3.3 Named System Users (Prototype-Observed)

UserRoleInitialsFunction
Arjun KumarAdminAKOperations Manager / System Admin
Rajan S.StaffRSProduction Supervisor
John MemorialCustomerJMSample Customer (John Memorial Co., USA)
Selvam P.โ€”โ€”Production Worker (Flat Markers, Cross Designs)
Kumar V.โ€”โ€”Production Worker (Mausoleum, Black Cross)
Rajan K.โ€”โ€”Production Worker (Obelisks, Upright Monuments)
Murugan S.โ€”โ€”Production Worker (Angel Carvings)
Arjun M.โ€”โ€”Production Worker (Columbariums)
โš ๏ธ Assumption: Production workers do not have ERP login access in Phase 1. Their assignments are managed by supervisors. A future Phase 2 may introduce a simplified mobile interface for workers to update production stages.

4. Business Process Workflows

4.1 Order-to-Cash (O2C) Master Workflow

Trigger: Customer inquiry or direct order placement
End State: Payment received, order delivered, invoice closed
  1. Inquiry / Quote Request โ€” Customer contacts via email/portal โ†’ Staff creates Quotation in system
  2. Quotation Generation โ€” System calculates price (base + GST 18%) โ†’ Quote sent to customer (valid 30 days)
  3. Quote Approval โ€” Customer approves quote โ†’ Status: Approved โ†’ Admin converts to Order
  4. Advance Payment Collection โ€” Per payment terms (30%/50%/40%/Full) โ†’ Payment recorded โ†’ Order status: Pending
  5. Production Assignment โ€” Admin/Supervisor assigns worker and starts production โ†’ Status: In Production
  6. Production Stages โ€” System tracks: Raw Material โ†’ Cutting โ†’ Shaping โ†’ Polishing โ†’ Engraving โ†’ Quality Check โ†’ Ready
  7. Quality Control โ€” QC Supervisor reviews โ†’ Pass: Ready / Fail: returns to relevant stage
  8. Invoice Generation โ€” Auto-generated on QC pass โ†’ Sent to customer โ†’ Balance payment triggered
  9. Balance Payment โ€” Customer pays balance per terms โ†’ Payment recorded
  10. Dispatch โ€” Logistics team arranges shipping โ†’ Packing list, customs docs generated โ†’ Status: Dispatched
  11. Delivery Confirmation โ€” Customer confirms receipt โ†’ Status: Delivered โ†’ Invoice closed

4.2 Production Pipeline (7-Stage)

Stage #Stage NameDescriptionResponsibleAvg Duration
1Raw MaterialStone block received from quarry/supplier, inspected, logged in inventoryInventory Manager1 day
2CuttingBlock cut to required dimensions using diamond wire saw / gang sawCutting Worker2โ€“4 days
3ShapingProfile shaping, edge profiling, base preparationShaping Worker2โ€“3 days
4PolishingSurface polishing to required finish (high-polish / matte / sandblasted)Polishing Worker1โ€“2 days
5EngravingLaser engraving / sandblasting of names, dates, motifs, artworkEngraving Specialist1โ€“3 days
6Quality CheckDimensional verification, finish inspection, engraving accuracy, photographyQC Supervisor0.5โ€“1 day
7ReadyApproved, packed, awaiting dispatch instructionsLogistics Teamโ€”
โš ๏ธ Assumption: Not all orders require all 7 stages. Flat Markers may skip Shaping. Custom Sculptures may have extended Engraving. The system must allow stage skipping with mandatory reason documentation.

4.3 Quotation Approval Workflow

StatusTriggerNext ActionActor
Pending ApprovalQuote created by StaffSend to customer for reviewSystem (auto-email)
ApprovedCustomer accepts quoteCollect advance payment, create OrderAdmin / Finance
RejectedCustomer declinesRevise quote or closeSales / Admin
Converted to OrderAdvance payment receivedAssign to productionAdmin

4.4 Payment Collection Workflow

Payment TermAdvance %Balance TriggerUsed For
30/70 Split30%Before dispatchStandard export orders
50/50 Split50%On dispatchMid-value orders
40/60 Split40%On inspection approvalHigh-value custom orders
Full Upfront100%N/ASmall orders / new customers
30-Day Net0%30 days from invoice dateEstablished customers (credit terms)

4.5 Inventory Replenishment Workflow

  1. System monitors stone inventory levels daily
  2. When stock falls below reorder level โ†’ Alert generated โ†’ Notification sent to Admin
  3. Admin raises Purchase Order to supplier (Rajasthan Mines and others)
  4. Supplier delivers โ†’ Inventory Manager inspects and logs receipt
  5. Stock levels updated โ†’ Alert cleared
โš ๏ธ Assumption: Reorder levels are configurable per stone type. Default reorder level = 200 sq.ft. Critical level = 100 sq.ft. Current critical: Black Pearl (65 sq.ft).

4.6 Dispatch & Export Workflow

  1. Order status = Ready โ†’ Logistics team notified
  2. Packing list generated (dimensions, weight, HS code per item)
  3. Shipping carrier selected (DHL Express / FedEx Freight / custom)
  4. Commercial Invoice + Certificate of Origin generated
  5. Customs documentation filed (HS Code: 6802.99 for worked granite)
  6. Shipment booked โ†’ Tracking number recorded in system
  7. Order status โ†’ Dispatched โ†’ Customer notified with tracking
  8. Customer confirms delivery โ†’ Status โ†’ Delivered

5. Functional Requirements by Module

5.1 Dashboard Module

Req IDRequirementPriorityUser Role
DASH-001Display Revenue MTD KPI card with month-over-month trend percentageMUSTAdmin, Staff
DASH-002Display Total Orders, Active Production, Pending Dispatch, Stone Inventory, Active Customers, Overdue Orders, Export Shipments as metric cardsMUSTAdmin, Staff
DASH-003Revenue Bar Chart โ€” monthly comparison (last 6 months) with gradient visualizationMUSTAdmin
DASH-004Order Status Donut Chart โ€” distribution across all order statusesMUSTAdmin, Staff
DASH-005Activity Feed โ€” last 20 system events (orders, production, dispatch, billing, inventory) with timestampsMUSTAdmin, Staff
DASH-006Upcoming Deadlines Table โ€” orders due within 15 days, sorted by due date, color-coded urgencyMUSTAdmin, Staff
DASH-007Quick Status sidebar widget โ€” Active Production count, Pending Dispatch count, Overdue Orders countSHOULDAdmin, Staff
DASH-008Customer dashboard โ€” limited view showing only own orders, pending quotes, outstanding invoicesMUSTCustomer
DASH-009All KPI values must refresh in real-time (or on page load) from live databaseMUSTAll
DASH-010Overdue Orders metric card must display alert state (red border, warning icon) when value > 0MUSTAdmin, Staff

5.2 Order Management Module

Req IDRequirementPriorityUser Role
ORD-001Create new order with all 23 fields: Order ID (auto-generated), Customer, Country, Product Type, Qty, Stone Type, Value, Order Date, Due Date, Status, Assigned Worker, Production Stage, Dimensions, Engraving, Payment Status, Payment Terms, Notes, Contact Email, Contact Phone, Billing Address, Shipping Address, Special Instructions, Days OverdueMUSTAdmin, Staff
ORD-002Order ID auto-generated in format AG-XXXX (sequential, e.g., AG-2847)MUSTSystem
ORD-003Filter orders by status tab: All, Pending, In Production, Cutting Stage, Quality Check, Ready, Dispatched, Delivered โ€” with count badgesMUSTAdmin, Staff
ORD-004Full-text search across Order ID, Customer Name, Product Type, Stone TypeMUSTAdmin, Staff
ORD-005Sortable columns: Order ID, Customer, Country, Product Type, Qty, Stone Type, Value, Order Date, Due Date, StatusMUSTAdmin, Staff
ORD-006Pagination with configurable page size (10/25/50 per page)MUSTAdmin, Staff
ORD-007Order Detail Modal with 4 tabs: Overview (specs + customer), Production (stage pipeline), Payment (GST calculation), Shipping (address + instructions)MUSTAdmin, Staff
ORD-008Production stage pipeline visualization โ€” 7 stages with completed/active/pending statesMUSTAdmin, Staff
ORD-009GST auto-calculation in Payment tab: Base Value + 18% GST = TotalMUSTAdmin, Staff
ORD-010Bulk actions: Update Status, Export, Delete (with confirmation) for selected ordersSHOULDAdmin
ORD-011Export orders to CSV/Excel with all fieldsSHOULDAdmin
ORD-012Delete order with confirmation dialog โ€” soft delete (archive, not permanent)MUSTAdmin only
ORD-013Overdue orders visually highlighted (red row tint) when daysOverdue > 0MUSTAdmin, Staff
ORD-014Customer portal: Customers can only view their own orders (filtered by customer ID)MUSTCustomer
ORD-015Generate invoice directly from Order Detail modal (one-click)MUSTAdmin, Staff
ORD-016Country flags displayed for USA ๐Ÿ‡บ๐Ÿ‡ธ, Canada ๐Ÿ‡จ๐Ÿ‡ฆ, Ireland ๐Ÿ‡ฎ๐Ÿ‡ช, India ๐Ÿ‡ฎ๐Ÿ‡ณNICEAll

5.3 Production Tracking Module

Req IDRequirementPriorityUser Role
PROD-001View all active production orders with current stage, assigned worker, due dateMUSTAdmin, Staff
PROD-002Update production stage for an order (dropdown selection with confirmation)MUSTAdmin, Staff
PROD-003Assign/reassign worker to an orderMUSTAdmin, Staff
PROD-004Production stage history log โ€” timestamp + actor for every stage changeMUSTAdmin
PROD-005QC pass/fail workflow โ€” QC Supervisor can pass (โ†’ Ready) or fail (โ†’ return to stage) with notesMUSTAdmin, Staff
PROD-006Production capacity view โ€” orders per worker, workload distributionSHOULDAdmin
PROD-007Deadline alerts โ€” orders due within 5 days highlighted in red, 6โ€“10 days in amberMUSTAdmin, Staff
PROD-008Production notes field โ€” internal notes not visible to customersMUSTAdmin, Staff
PROD-009Special instructions field โ€” packing, stacking, customs requirements per orderMUSTAdmin, Staff

5.4 Inventory & Stone Module

Req IDRequirementPriorityUser Role
INV-001Track stone inventory by type: Black Galaxy, Absolute Black, Imperial Red, Blue Pearl, Tan Brown, Black PearlMUSTAdmin, Staff
INV-002Inventory unit: Square feet (sq.ft). Total current: 1,240 sq.ft across 6 typesMUSTAdmin, Staff
INV-003Configurable reorder level per stone type โ€” alert when stock falls below thresholdMUSTAdmin
INV-004Stock status badges: Good Stock, Low Stock, CriticalMUSTAdmin, Staff
INV-005Stock deduction on production start โ€” auto-deduct estimated sq.ft based on order dimensionsSHOULDSystem
INV-006Stock receipt entry โ€” log incoming stock from supplier with date, quantity, supplier nameMUSTAdmin, Staff
INV-007Inventory transaction history โ€” all additions and deductions with timestampsMUSTAdmin
INV-008Low stock notification โ€” push notification + sidebar badge when any stone type below reorder levelMUSTAdmin, Staff

5.5 Customer Management Module

Req IDRequirementPriorityUser Role
CUS-001Customer master record: Company Name, Country, Contact Person, Email, Phone, Billing Address, Shipping Address, Payment Terms (default), Customer Since dateMUSTAdmin, Staff
CUS-002Customer order history โ€” all orders linked to customer with status and valueMUSTAdmin, Staff
CUS-003Customer financial summary โ€” total ordered, total paid, outstanding balanceMUSTAdmin
CUS-004Customer portal login โ€” customers access only their own dataMUSTCustomer
CUS-005Customer segmentation by country (USA, Canada, Ireland, India)SHOULDAdmin
CUS-006Customer communication log โ€” emails sent, quotes shared, payment remindersSHOULDAdmin, Staff

5.6 Quotation & Billing Module

Req IDRequirementPriorityUser Role
QBL-001Create quotation with: Customer, Country, Product Type, Stone Type, Quantity, Dimensions, Quote Amount (ex-GST), Valid Until date, Payment Terms, Engraving/Special Requirements, Internal NotesMUSTAdmin, Staff
QBL-002Quote ID auto-generated in format QT-XXXX (sequential)MUSTSystem
QBL-003GST auto-calculation: Base Amount ร— 18% = GST Amount; Base + GST = Total AmountMUSTSystem
QBL-004Default quote validity: 30 days from creation dateMUSTSystem
QBL-005Quotation status workflow: Pending Approval โ†’ Approved / Rejected โ†’ Converted to OrderMUSTAdmin, Staff
QBL-006One-click conversion: Approved Quote โ†’ New Order (pre-populate order form with quote data)MUSTAdmin
QBL-007Invoice auto-generation when order reaches Ready/Dispatched statusMUSTSystem
QBL-008Invoice ID auto-generated in format INV-XXXX (sequential)MUSTSystem
QBL-009Invoice statuses: Pending Approval, Paid, OverdueMUSTAdmin, Staff
QBL-010Overdue detection: Invoice due date passed + status not Paid โ†’ auto-mark Overdue + alertMUSTSystem
QBL-011Payment recording: Record payment method (Wire Transfer, SWIFT, ACH, Full Payment) + date + referenceMUSTAdmin, Staff
QBL-012Billing KPI cards: Total Invoiced MTD, Amount Collected, Outstanding, Overdue AmountMUSTAdmin
QBL-013Export quotations and invoices to PDF (print-ready format with company letterhead)MUSTAdmin, Staff
QBL-014Financial report generation โ€” monthly P&L summary, collection rate, outstanding agingSHOULDAdmin
QBL-015Payment reminder automation โ€” email reminder sent 3 days before due date and on due dateSHOULDSystem

5.7 Dispatch & Logistics Module

Req IDRequirementPriorityUser Role
DIS-001View all orders in Ready status awaiting dispatchMUSTAdmin, Staff
DIS-002Create shipment record: Carrier (DHL/FedEx/Other), Tracking Number, Estimated Delivery Date, Packing DetailsMUSTAdmin, Staff
DIS-003Generate packing list document with: Order ID, Product details, Dimensions, Weight, HS Code (6802.99), Special InstructionsMUSTAdmin, Staff
DIS-004Generate commercial invoice for customs (separate from billing invoice)MUSTAdmin
DIS-005Shipment tracking โ€” store carrier tracking number, link to carrier tracking URLMUSTAdmin, Staff, Customer
DIS-006Dispatch notification to customer โ€” automated email with tracking details on dispatchMUSTSystem
DIS-007Delivery confirmation โ€” mark order as Delivered, record actual delivery dateMUSTAdmin, Staff
DIS-008Customs status tracking: In Transit โ†’ Customs Clearance โ†’ DeliveredSHOULDAdmin, Staff

5.8 Reports Module

Req IDRequirementPriorityUser Role
RPT-001Revenue Report โ€” monthly/quarterly/annual revenue with trend chartsMUSTAdmin
RPT-002Order Report โ€” orders by status, country, product type, stone type, date rangeMUSTAdmin
RPT-003Production Report โ€” throughput by worker, stage bottlenecks, average cycle timeMUSTAdmin
RPT-004Inventory Report โ€” stock levels, consumption rate, reorder historyMUSTAdmin, Staff
RPT-005Customer Report โ€” top customers by revenue, order frequency, outstanding balanceSHOULDAdmin
RPT-006GST Report โ€” monthly GST collected, payable, input credit (for CA/tax filing)MUSTAdmin
RPT-007Export Report โ€” shipments by country, carrier, value (for DGFT/export compliance)MUSTAdmin
RPT-008All reports exportable to PDF and ExcelMUSTAdmin

5.9 Notification System

Req IDRequirementPriorityTrigger
NOTIF-001In-app notification bell with unread count badgeMUSTAll events
NOTIF-002Low stock alert: "Low stock alert: [Stone Type] ([qty] sq.ft)"MUSTStock below reorder level
NOTIF-003Order QC pass notification: "Order [ID] passed Quality Check"MUSTQC stage completed
NOTIF-004New quote request notification: "New quote request from [Customer]"MUSTQuote created
NOTIF-005Overdue order alert: Daily digest of overdue ordersMUSTDaily cron job
NOTIF-006Payment received notificationSHOULDPayment recorded
NOTIF-007Email notifications to customers: Quote sent, Order dispatched, Invoice dueMUSTKey workflow events