Enterprise SoftwareAI & AutomationCustom ERP / CRME-Commerce PlatformsData IntelligenceAgentic SystemsStrategic ConsultingDelhi NCR · Distributed WorldwideEnterprise SoftwareAI & AutomationCustom ERP / CRME-Commerce PlatformsData IntelligenceAgentic SystemsStrategic ConsultingDelhi NCR · Distributed WorldwideEnterprise SoftwareAI & AutomationCustom ERP / CRME-Commerce PlatformsData IntelligenceAgentic SystemsStrategic ConsultingDelhi NCR · Distributed WorldwideEnterprise SoftwareAI & AutomationCustom ERP / CRME-Commerce PlatformsData IntelligenceAgentic SystemsStrategic ConsultingDelhi NCR · Distributed Worldwide
Medical Devices & Pharma

Digital Adoption Platformfor Tier-1 MedicalManufacturing

Engineering a High-Integrity Buffer Layer for GxP-Regulated Environments

Schedule M (GMP)CDSCO MDRGxP Audit-ReadyVPC IsolatedClient identity withheld at their request
90%
ERP License Cost Reduction
100%
Audit Trail Coverage
0
Floor Data-Entry Errors
Outcome

Bear Systems engineered a custom Digital Adoption Platform — a high-integrity "System of Action" — that validates, routes, and audits every production transaction before it is committed to the ERP. The result: a 90% reduction in ERP licensing cost, a fully automated approval chain under 24 hours, and a zero-error, partition-based audit trail ready for CDSCO and Schedule M inspection at any moment.

The Challenge

A leading manufacturer of sterile medical solutions — operating under strict Schedule M (GMP) and CDSCO MDR regulations — faced a structural bottleneck in their production floor operations. Their legacy Tier-2 ERP was not designed for the high-velocity, low-error-margin environment of the factory floor. Workers navigated 50+ unnecessary fields per transaction, leading to data-entry fatigue and downstream inventory "ghosting." The ERP's named-user licensing made it cost-prohibitive to digitize every floor worker, forcing manual paper workarounds. Critically, errors were only caught after ERP entry, requiring complex Correction Batches that compromised the purity of the audit trail.

Our Approach

We designed a decoupled, five-tier "Simulate-Then-Execute" architecture ensuring Transactional Integrity and System Resilience. Every floor submission triggers a synchronous OData Dry Run against the ERP — capturing 99% of business-logic failures (stock-outs, expired batches) before a manager ever sees the request. A dedicated Celery async engine processes multi-line Work Orders using OData /$batch Change Sets, ensuring atomic all-or-nothing writes. Direct SQL reads via pyodbc cut dashboard load times from 15+ seconds to under 2 seconds for 100,000+ records. A 4-step Maker-Checker approval chain (QA → Supervisor → HOD → QA Manager), combined with 24-hour stall reminders and auto-escalation, ensures no data reaches the ERP without expert verification.

Results & Scope

The platform consolidated all floor-level activity through a single audited DAP service account, effectively decoupling operational scale from ERP licensing cost — 100+ additional ERP seats were bypassed entirely. Approval cycles dropped from 2–5 days (paper-based) to under 24 hours. The immutable, append-only audit log — stored in monthly PostgreSQL partitions — ensures five-year historical records are instantly retrievable, turning regulatory inspections from multi-day ordeals into single-click exports.

Full middleware architecture design, SAP OData v4 integration, Celery async worker orchestration, PostgreSQL monthly partitioning, RBAC & JWT security, VPC network isolation, GxP immutable audit trail, and floor-worker UX design.

Strategic Impact
MetricBefore DAPAfter DAP ↗
Data IntegrityManual entry; high error rateSystem-validated; zero-error writes
Approval Cycle2–5 days (paper-based)< 24 hours (automated)
ERP License CostLinear growth with headcountFixed cost — DAP absorbs scale
Audit ReadinessDays of manual report collationInstant, partition-based retrieval
Visibility24-hour lag (after entry)Real-time, pre-commit visibility
System Architecture
Five-tier decoupled architecture — every write is validated before it touches the ERP.
01 · Client Zone
Refine.dev / Mantine UI
Web Interface
02 · DAP Middleware
REST API Layer
Django LTS
Simulate-Then-Execute
Dry Run Engine
RBAC & JWT
Security Layer
03 · Persistence & Queuing
PostgreSQL 16
Monthly Partitioned
Redis 7
Session & Task Cache
Celery 5.3
Async Sync Engine
04 · ERP System of Record
SAP Service Layer
OData v4
MS SQL Server
Read-Optimised (pyodbc)
Validated write path
Direct read path (pyodbc)
Simulate-Then-Execute Pattern

Every submission triggers a synchronous OData Dry Run — capturing 99% of business-logic failures (stock-outs, expired batches) before a manager ever reviews the request. Only on success does the Celery worker write atomically via /$batch Change Sets.

Enterprise Selling Points
01
Strategic ROI
ERP Seat Optimization

By consolidating floor operations into the DAP, the client bypassed 100+ additional ERP named-user licenses. All floor-level activity is funneled through a single audited service account — decoupling operational scale from licensing cost entirely.

02
Workflow Orchestration
Maker-Checker Approval Chain

A 4-step chain (QA → Supervisor → HOD → QA Manager) ensures no data reaches the ERP without expert sign-off. 24-hour stall reminders and auto-escalation are handled by a dedicated SMTP worker.

03
Hardened Security
VPC Port Isolation

The legacy ERP's SQL and OData ports are restricted to VPN-only access, preventing public exposure. Every sync task is keyed with a unique UUID to prevent duplicate document creation on network retry.

04
Regulatory Compliance
Immutable Audit Trail

Audit logs are stored in monthly PostgreSQL partitions, preventing index bloat and ensuring high-speed retrieval of 5-year historical records. All events are append-only — even System Admins cannot clean the log without leaving a permanent deletion record.

Technology Stack
Django 4.2 LTSCelery 5.3Redis 7React 18Refine.devMantine UIAG GridPostgreSQL 16SAP OData v4pyodbc
Ready to build yours?

Start with a conversation.

Let's map the problem, define a path, and give you a clear brief before any commitment.

Book a free call →← All case studies