PoC 3.6: Unit Run Canteens (Air-Gapped POS & Edge Indenting)
Functional Objective: Covers the ~4,500 Unit Run Canteens (URCs) operating in forward, naval, air, and peace stations. Features Provisional Demand (PD) indenting to Area Depots, offline-first POS billing on embedded
business-local(.deb) terminals, Defence Smart Card / CSD Beneficiary quota validation, 50% GST concession calculations, ESC/POS thermal printing, and cryptographically signed (Ed25519) background outbox sync with MeghRaj Cloud.
🎥 PoC Video Demonstration
Section titled “🎥 PoC Video Demonstration”Air-Gapped URC Offline POS Billing & Asymmetric Outbox Sync
Demonstrates 100% offline POS cashier checkout, smart card quota enforcement, 50% GST discount, thermal printing, and seamless background sync upon network reconnection.
📋 Core Functional Capabilities
Section titled “📋 Core Functional Capabilities”- Provisional Demand (PD) Cycle: Indent submission (1st–3rd of month) based on historical off-take and available URC budget.
- Offline-First POS Checkout: Local cashier PIN login, item barcode scanning, rank-based quota enforcement (liquor units and grocery limits), and instant invoice generation with 0ms network latency.
- Defence Concession & GST: Automated 50% GST rebate computation and CSD profit margin deductions compliant with Ministry of Defence regulations.
- Zero-Secret Asymmetric Sync: Transactions signed locally with device Ed25519 private key; relayed to MeghRaj cloud via outbox micro-batches without exposing cloud DB credentials on disk.
🏗️ Technical Architecture & DocType Mapping
Section titled “🏗️ Technical Architecture & DocType Mapping”In Business M and Framework M, this domain is powered by native, metadata-driven DocTypes, async controllers, and distributed ledger adapters:
Active Business M DocTypes
Section titled “Active Business M DocTypes”Outlet, CustomerOrder, SalesInvoice, DeliveryConfirmation, Member, MasterDataProjection, StockOutboxEntry
graph LR
User["Stakeholder Portal / Desk"] --> Gateway["API Gateway"]
Gateway --> Controller["Domain Controller & RBAC"]
Controller --> DB[("PostgreSQL / RLS Master")]
Controller --> Relay["Outbox Relay Worker"]
Relay --> TB[("TigerBeetle Immutable Ledger")]
🧪 Verifiable Test Script (Human Review Flow)
Section titled “🧪 Verifiable Test Script (Human Review Flow)”Follow these steps in the running Business M instance to replicate the live PoC demonstration:
- Access Domain Desk: Log into the web desk or local POS at the designated endpoint for this role.
- Execute Transaction Flow: Follow the standard maker-checker workflow to create and submit the source document.
- Verify Audit Trail & Ledger: Inspect the generated transfer ID, status transitions, and read-model balances.
- Inspect Air-Gapped Sync (if applicable): Ensure zero cloud secrets on disk and verify cryptographic signing.