Mobile sales operations that work without connectivity. This guide covers offline-first architecture, data synchronization, route planning, and more.
Offline-first architecture
Architecture
graph LR
subgraph "Predictiv App"
RN[React Native Core]
AD[Application Dictionary]
RN --> AD
end
subgraph "UI Rendering"
AD --> MW[Mobile Windows]
AD --> FW[Forms]
AD --> DW[Dashboards]
end
subgraph "Data Layer"
MW --> API[REST API]
FW --> API
DW --> API
API --> OB[Openbravo Backend]
end
The same Application Dictionary that drives desktop windows also drives mobile UI. ### Dashboard Architecture
graph TB
subgraph "Dashboard"
KPI1[KPIs]
CHART1[Charts]
GRID1[Grids]
end
subgraph "Data Sources"
MV[Materialized Views]
RT[Real-time Queries]
EXT[External Data]
end
KPI1 --> MV
CHART1 --> MV
GRID1 --> RT
---
Pillar 3: Intelligent Automation
Workflow Engine
Documents flow through defined states with automatic transitions:
stateDiagram-v2
[*] --> Draft
Draft --> Submitted: Submit
Submitted --> Approved: Approve
Submitted --> Rejected: Reject
Approved --> Processing: Process
Processing --> Complete: Complete
Rejected --> Draft: Revise
Complete --> [*]
Each transition can:
- Check preconditions (is budget available.
Data synchronization
Architecture
graph LR
subgraph "Predictiv App"
RN[React Native Core]
AD[Application Dictionary]
RN --> AD
end
subgraph "UI Rendering"
AD --> MW[Mobile Windows]
AD --> FW[Forms]
AD --> DW[Dashboards]
end
subgraph "Data Layer"
MW --> API[REST API]
FW --> API
DW --> API
API --> OB[Openbravo Backend]
end
The same Application Dictionary that drives desktop windows also drives mobile UI. One metadata source, multiple presentation layers. Focused Data Entry: Simple forms for quick data capture (stocktake, time entry)
2. Quick Edit: Update a few fields across many records (price updates, status changes)
---
Pillar 2: Real-Time Analytics
The Problem with Traditional Reporting
Traditional ERP reporting:
- Runs overnight batches
- Generates PDFs nobody reads
- Requires IT to create new reports
- Shows what happened last month
Predictiv analytics:
- Updates in real-time
- Embeds in workflows
- Self-service configuration
- Shows what's happening now
Materialized View Pattern
For large datasets (100k+ records), Predictiv uses a hybrid approach:
```sql
-- Materialized view: Fast, pre-computed, refreshed daily
CREATE MATERIALIZED VIEW mv_sales_summary AS
SELECT. FROM orders WHERE order_date < CURRENT_DATE;
-- Union view: Combines historical + today's data
CREATE VIEW v_sales_summary AS
SELECT * FROM mv_sales_summary
UNION ALL
SELECT.
Route planning
Route planning is a core capability within Predictiv, designed to streamline operations and improve visibility. The implementation follows best practices while remaining configurable to meet your organization's specific needs.
Inventory management on van
)
- Execute actions (reserve inventory)
- Send notifications (alert approver)
- Update related records (create receipt)
Action Lists
"What should I do next.
Cash and payment handling
Cash and payment handling is a core capability within Predictiv, designed to streamline operations and improve visibility. The implementation follows best practices while remaining configurable to meet your organization's specific needs.
Getting Started
To implement offline van sales in your Predictiv environment:
1. Assess your current state - Review existing processes and identify improvement opportunities
2. Configure the module - Work with your implementation team to set up the required components
3. Train your team - Ensure users understand the new capabilities and workflows
4. Monitor and optimize - Track key metrics and continuously improve
Related Resources
For more information on related topics, explore our other guides in this collection.
Need Help?
Our team of experts is available to help you get the most out of Predictiv. Contact us to discuss your specific requirements and how we can help you achieve your goals.