Barcode Inventory Management System

A comprehensive three-part platform connecting ERP systems with barcode scanning, warehouse operations, delivery route optimization, and mobile B2B ordering — all synchronized in real time.

System Architecture Diagram

Complete system architecture showing Admin App, Customer App, Cloud Functions, and integrations

System Workflow Diagram

7-step workflow from ERP sync to customer ordering and delivery optimization

Barcode Inventory Management

Enterprise barcode-driven inventory management with real-time tracking

Project Overview

Challenge

Managing inventory across multiple warehouses and organizations required manual data entry, disconnected systems, and time-consuming delivery coordination with no route optimization.

Solution

We built an integrated platform with an Admin App for staff (barcode scanning, invoicing, delivery routing) and a Customer App for mobile ordering, all syncing with the ERP system through cloud functions and a dual-database architecture.

Results

Warehouse operations became fully digitized with barcode-driven workflows, delivery routes are optimized automatically for multi-truck fleets, and customers can place orders and pay via PromptPay QR directly from their phones.

System Workflow

The Barcode Inventory Management system follows a 7-step integrated process:

1
ERP Data Synchronization

Cloud Functions sync data from Zoho Inventory ERP into the cloud

Scheduled and on-demand sync modules pull items, warehouses, vendors, customers, transfer orders, and invoices from Zoho Inventory into Cloud Firestore and PostgreSQL.

Firebase Cloud Functions + Zoho API
2
Purchase Receive to HQ

Receive and verify purchased goods at headquarters warehouse

Staff use multi-engine barcode scanners to receive incoming goods, with automatic weight grade detection, vendor pricing from Google Sheets, and Purchase Order creation in Zoho Inventory.

Admin App + Scanner Libraries + Zoho API
3
Transfer Order to Branches

Transfer stock from HQ to branch warehouses with barcode verification

Create and process transfer orders between warehouses. Staff scan items for real-time reconciliation showing matched, unmatched, and exceeds-quantity statuses with audio feedback.

Admin App + Firestore + Zoho API
4
Invoice & Billing / Customer Ordering

Create invoices or let customers order directly via mobile app

Staff create invoices with automatic branch-specific volume discounts from Google Sheets. Alternatively, B2B customers browse the 4-level product catalog and place orders from their phones.

Admin App + Customer App + Zoho API
5
QR Payment

Generate Thai standard PromptPay QR codes for instant payment

Dynamically generates EMVCo-compliant PromptPay QR codes with CRC16-XMODEM checksums, tied to exact invoice references and branch-specific Biller IDs.

PromptPay EMVCo + QR Generator
6
Verify QR Payment

Verify payment slips and notify staff via LINE Bot

Customers upload payment slip photos which are verified for authenticity. Instant notifications are sent to staff LINE groups with customer details, order totals, and slip images.

LINE Messaging API + Firebase Storage
7
Delivery Route Optimization

Optimize multi-truck delivery routes with Google Route Optimization

Solves the Vehicle Routing Problem (VRP) for multiple trucks respecting weight capacity, time windows, and depot locations. Exports to Excel with interactive map visualization.

Google Route Optimization API + Google Maps

Key Features

Multi-Engine Barcode Scanning

4 interchangeable software scanner engines plus hardware USB/Bluetooth scanner support with audio feedback

Dual-Database Architecture

Combines Firestore for cloud reliability with PostgreSQL for lightning-fast hierarchical catalog queries

VRP Fleet Route Optimization

Automatically optimizes delivery routes for multi-truck fleets with weight capacity and time window constraints

Dynamic PromptPay QR Generation

Generates EMVCo-standard Thai PromptPay QR codes with real-time CRC16 checksums per invoice

Multi-Organization ERP Sync

Single platform manages multiple Zoho organizations with automated two-way synchronization

Role-Based Access Control

Fine-grained roles from admin to delivery staff with per-warehouse access restrictions

Full Bilingual Support

Complete English and Thai localization across all interfaces using next-intl

LINE Bot Notifications

Instant payment slip alerts sent to staff LINE groups with customer details and order info

Benefits Achieved

Fully digitized warehouse operations with barcode-driven workflows
Multi-truck delivery routes optimized automatically saving time and fuel
Zero manual data entry errors through barcode scanning and ERP auto-sync
Customers order and pay directly from their phones via mobile app
Real-time inventory visibility across all warehouses and organizations
Dynamic pricing and discounts managed through Google Sheets — no code changes needed
Instant payment notifications via LINE Bot to warehouse teams
Dual-database architecture reduces cloud costs while maintaining speed

Need a System Like This?

We specialize in building enterprise inventory management systems with barcode scanning, ERP integration, and logistics optimization.

Let's Talk