Barcode Scanning
Barcode Scanning
HCP’s mobile scanner enables fast product lookup using your device’s camera.
Starting the Scanner
- Navigate to your assigned site
- Click “Start Count” (or “Start Scanning”)
- Camera preview appears automatically
- Product checklist displays below
Scanning Process
Successful Scan
When you scan a barcode:
- Detection — Barcode recognised by ZXing library
- Lookup — System searches site’s product list
- Match Found → Modal opens with count entry form
- Enter Data — Complete count and SAP entry
- Save — Product marked complete (✓)
Manual Product Selection
If scanning fails or product has no barcode:
- Scroll through checklist below camera
- Tap product name
- Same modal opens for data entry
Product Checklist
The checklist shows all products for the site with status:
| Icon | Status | Meaning |
|---|---|---|
| ✓ | Complete | Count and SAP both saved |
| ⚠ | Needs SAP | Count saved, SAP pending |
| − | Pending | No data entered yet |
Counter shows: “Completed / Total” (e.g., “2/6”)
Error Handling
Barcode Not Found
If scanned barcode isn’t in site’s product list:
"Barcode {code} not found for this site"System checks central database:
- Product exists — “Not assigned to this site. Contact manager.”
- Product unknown — “No product information available.”
Camera Issues
| Problem | Solution |
|---|---|
| Black screen | Check browser camera permissions |
| Blurry scan | Clean camera lens; improve lighting |
| Slow detection | Hold steady 2-3 seconds |
| Permission denied | Settings → Privacy → Camera → Allow |
Scanner Best Practices
- Scan in sequence — Work systematically through the store
- Check lighting — Avoid glare and shadows on barcodes
- Hold steady — Let camera focus before scanning
- Verify match — Confirm product name matches physical item
- Report missing products — Tell supervisor if products aren’t in list
Workflow Tips
Next: SAP Data Entry