Skip to content
← All work

ERP web app

Head Office ERP Suite

An installable web app that runs a manufacturer's head office (sales orders, invoicing, GST e-invoicing, payments, approvals, finance, HR and reporting) on top of SAP Business One, across three companies.

Client
Multi-company manufacturing group
Year
2026
Type
ERP web app
Services
AI Integration & AssistantsAI Agents & Workflow AutomationDocument IntelligenceWeb & Mobile App Development

✦ How AI is used here

  • Natural-language reporting bot. Managers ask for field-force sales, attendance and activity reports in plain English, and the model picks a vetted report and its filters without ever writing SQL.
  • AI pre-audit of vendor bills. OCR plus automated checks compare each bill with the goods receipt, gate, quality and e-way bill records before an accountant opens it.
  • MCP server that lets AI assistants such as Claude work in the app as the signed-in user, for example to look up orders, check customer balances and prepare drafts, with confirmation before any write.

Overview

The head office of a multi-company manufacturing group needed one place to raise orders, bill customers, approve spending and pay vendors, with SAP Business One remaining the system of record. This app sits in front of SAP: it reads live data, runs the approvals the business needs, and posts the final documents into SAP automatically.

It replaced a legacy order-management system and an older budgeting tool, and absorbed a separate reporting panel. Staff now work in a single installable web app (PWA) on desktop or phone.

What it does

Sales

  • Sales orders: normal and free-of-cost orders with server-calculated schemes, party-specific pricing, and a configurable approval flow (by customer group, order type, and checks on discounts and below-list rates). On final approval the order is posted to SAP.
  • Sales invoices: built from open SAP orders, with stock reserved per invoice and batches picked earliest-expiry first. A dispatch hold releases goods automatically once payment appears in the customer ledger.
  • E-invoicing & e-way bills: IRNs generated directly with the government e-invoice API from the posted SAP invoice, idempotently, with QR codes written back to SAP.
  • Credit limits: requests with a live customer snapshot; the final approval updates the limit in SAP.
  • Reports: inventory, open orders, customer ledgers, outstanding balances and a sales dashboard, read live from SAP.

Finance

  • Payments: vendor, employee, refund and expense payments routed through about 175 department/purpose routes, posted as SAP outgoing payments with TDS journal entries.
  • A/P invoices with pre-audit: OCR reads the vendor bill and around a dozen automated checks compare it with the goods receipt, gate and quality records, and the e-way bill before a human sees it.
  • Budget control: SAP expense drafts wait for the budget owner and are auto-approved within the month’s budget.
  • GST reconciliation: GSTR-1/2B portal uploads matched against the books, with fuzzy matching and a mismatch desk.

People & office

Employee directory and reporting hierarchy, biometric attendance and leave, a hiring pipeline with candidate links that need no login, meeting-room booking, and an IT asset register with QR stickers.

Architecture

  • Backend: Django + DRF, PostgreSQL with one schema per module, scheduled jobs for background syncs (no message broker needed).
  • Frontend: React 19, TypeScript, TanStack Query, react-hook-form + zod, Tailwind + Radix UI, installable as a PWA with Web Push.
  • SAP integration: reads via HANA; writes only through the official Service Layer API.
  • Generic workflow engine: SQL-based conditions, user or group stages, approve / reject / return / resubmit / withdraw, out-of-office delegates, and an optional “post to SAP” stage.
  • Security: deny-by-default permissions granted through groups, per-company scoping on every request, and users can only grant permissions they already hold.

Outcome

One app replaced three separate tools. Approvals for every document type now arrive in a single inbox, and SAP posting happens automatically, so nothing is re-keyed by hand.