Current Gap
Laptops issued but not configured. No VAN ID assigned. No beneficiary data available locally. Field tracking cannot begin.
What We Need
Each laptop configured with its correct VAN ID, then synced with the central DB so local records are ready for offline field use.
| Define Van Structure -> Create VANs in central DB, Map tab logins with VAN -> Allocate Ben to Vans -> Central DB (all ben) -> Down-sync (filter by vanid) -> Laptop local db (van-specific records) -> Field worker (tracks ben) |
|---|
Planning
Central DB Setup
Beneficiary Allocation
Laptop Configuration & Down-sync
Tables Involved in VAN Setup and Sync
TB Clinical Tables - Verify Sync Columns (VanId, VanSerialNo, ParkingPlaceID, Processed, SyncedBy, SyncedDate, SyncFailureReason)
New columns to track per-record down-sync delivery
Downsync Order of tables: FK dependency chain — records must arrive in this order
Master / Reference Data
Beneficiary Root Tables
Then followed by the rest of the tables.
Note: The down-sync query for each transactional table is simply SELECT * FROM {table} WHERE VanID = {vanID}