A barcode scanner is the single biggest time-saver in clinic inventory. It reduces repeated product lookup when the product barcode and workflow are configured correctly. This guide shows how to set products up to be scannable, which device works in which workflow, how the phone camera path works on the mobile app, and exactly what to do when the scanner fails.

Where scanning is wired#

The same scan box appears in every workflow where the operator picks a real product from the shelf. Learn it once, use it everywhere:

  • Quick Sale — Dashboard → Quick Sale → scan a product to add it to the cart.
  • Goods Receipt Notes (GRN) — Inventory → Goods Receipt Notes → open a DRAFT GRN → Scan tab.
  • Stock transfers — Inventory → Transfers → open a transfer → Scan tab. The tab switches between dispatch-scan (source warehouse) and receive-scan (destination warehouse) based on transfer status.
  • Stock-takes / cycle counts — Inventory → Stock-takes → open a count session → Scan tab.
  • Stock adjustments — Inventory → Stock Records → +Adjust → the scan box is above the product picker.
  • Service-report consumables — My Panel → Session → Used Materials → Add Product → scan an unplanned consumable on the fly.
  • Vendor returns and purchase orders: use the product selector. These forms do not currently expose the shared barcode scan input.

Setup — without this, nothing scans#

Required before any scanning works. A product becomes scannable the moment the Barcode field on the product record has a value. New tenants start with the field empty on every product — fill it in for the items you want to scan.

Where to set it: Catalog → Products → open a product → Basic Details → Barcode.

What goes in the field: any value up to 100 characters. The most common formats clinics use:

  • EAN-13 — 13 digits, the global retail/pharmaceutical standard. Example: 5901234123457.
  • UPC-A — 12 digits, common on US/Gulf packaging. Example: 036000291452.
  • Code-128 — variable length, used on clinic-printed labels. Example: INV-2026-04-00873.
  • QR Code — used on internally-printed lot stickers or referral cards.

Uniqueness matters. Treat the barcode as unique per product. If two products share a barcode (data-entry mistake), the scanner returns one — but which one is undefined. Before bulk-importing labels, filter the Products list by the same code and confirm only one row matches.

Which device works where#

Keyboard-wedge scanners and manual typing use the scan input. Camera scanning appears only when a supported provider is available on that device and workflow.

USB barcode scanner (Honeywell, Zebra, generic)#

  • Plug into the desktop or tablet USB port.
  • Almost every scanner ships in keyboard-wedge / HID mode out of the box — no configuration needed.
  • The scanner types the barcode digits into whichever input has focus, then presses Enter. The scan box auto-focuses when a Scan tab opens, so plug-and-go.
  • If your scanner is in another mode, look for a "USB Keyboard" setup barcode in its manual.

Bluetooth barcode scanner (Inateck, Symcode, …)#

  • Pair once via the operating-system Bluetooth settings (paired as a Bluetooth HID keyboard).
  • After pairing, the scanner injects keystrokes into the focused app — same behaviour as USB.
  • Typical battery: a week of clinic use on a single charge.
  • Best for cycle counts where the operator needs to walk the shelves without dragging a laptop.

Phone camera — native app (iOS or Android)#

When the operator opens the clinic app from the App Store / Play Store, the scan box shows a small camera icon at the end of the input. Tap it → fullscreen Google ML Kit native scanner opens → point at a barcode → returns to the app instantly.

  • Android, first time only: a brief "Installing scanner…" toast appears while Google Play Services downloads a ~2 MB barcode module. After that, scans are instant.
  • iOS: uses the OS Vision framework. Always available; no install step.
  • Camera permission is asked on first use. If the operator declined, OS Settings → app → Camera permission → enable.

Phone camera — web browser (PWA)#

Camera scanning in the browser depends on the runtime exposing BarcodeDetector and allowing camera access. Browser name or version alone is not a guarantee. If the camera control is missing or scanning fails, use a USB or Bluetooth keyboard scanner, or type the barcode manually.

Manual typing — always works#

The scan box is also a plain text input. Type the barcode digits, press Enter. Use this when:

  • The barcode label is smudged or damaged.
  • The scanner battery is dead and there is no spare.
  • The operator is on an older browser with no camera API.

What scanning does in each workflow#

Goods receipt (GRN)#

Each scan adds +1 to the matching receipt line. If the scanned product is not yet on the GRN, a new line is appended automatically. Only DRAFT GRNs accept scans — once confirmed, the GRN is locked and the Scan tab shows a clear message.

Stock transfers#

  • Dispatch (source side) — transfer is DRAFT. Each scan increments requested qty. When ready, click Dispatch on the Status tab to actually move stock and mark the transfer as Sent.
  • Receive (destination side) — transfer is SENT or partially received. Each scan increments received qty, capped at the dispatched amount. If the operator scans one extra by mistake, the system clamps to the remaining quantity and the toast says "fully received" — extra beeps at the end of a box do not produce an error.
  • When the last unit is scanned, the transfer auto-flips to Completed.

Stock-take / cycle count#

Each scan adds +1 to the count of that product. Location is auto-resolved from the first matching stock-record in the session's warehouse, so the operator does not pick a location per scan. Sessions in DRAFT, In Progress, or Review accept scans. Once posted, the count is committed to the GL and locked.

Sales — New Invoice (POS)#

In the New Invoice modal's Items section, scan a barcode → the product is added as a line at qty 1 (or the matching line increments by one). Same result as picking the product from the item search. Unknown barcode → "No product matches this barcode" toast → operator types the product name or hands the item back. (The legacy Quick Sale screen scans identically while it is being phased out.)

Stock adjustment#

Above the product picker the scan box accepts a barcode → the matching product is selected, then the operator types the new quantity and reason. Use for off-cycle single-product adjustments (damage, expiry write-off, theft).

Service-report Used Materials#

Inside the Add Product drawer, scan an unplanned consumable (e.g. a syringe used that was not on the BOM) → it auto-adds to the materials list at qty 1. Adjust quantity if needed.

When the scanner does not work#

The operator never depends on one device. Quick reference:

SymptomWhat to do
USB scanner stops scanning Click into the scan box to refocus and continue. Keyboard-wedge scanners only work when the cursor is in the input.
Bluetooth scanner battery dead Type the barcode digits manually + Enter. Or pair a backup scanner. Or switch to phone camera.
Phone camera does not recognise the code Tap Cancel on the viewfinder → type the digits printed under the bars.
Phone camera permission denied OS Settings → clinic app → Camera permission → enable. Or close the viewfinder and type the code.
Camera icon missing in the scan box The browser does not support the camera API. Use a USB / Bluetooth scanner or type the code.
"No product matches this barcode" Either the product is not in the system, or its Barcode field is empty / different. Catalog → Products → search by SKU → check the Barcode field → re-scan.
"Cannot scan into a ... GRN / transfer / stocktake" The document is past the scannable status. Either reopen (if the workflow allows) or create a new one. The locked-state message in the Scan tab says exactly why.
Network is down The scan box still focuses and accepts text, but the lookup call fails. Write down the codes on paper and re-scan when connectivity returns — the system handles a backlog one scan at a time.

Operator tips#

  • Click into the scan box first. Every Scan tab auto-focuses when it opens, but if the operator clicks somewhere else, click back into the box before scanning.
  • Scanning is fast. Native ML Kit on Android averages ~0.5 s per scan. Bluetooth scanners over BLE are ~1 scan per second. Cycle counts comfortably run at one product every 2–3 seconds.
  • Lot and expiry are NOT captured by a scan. A scan resolves the product only. For lot-tracked items, edit the line in the sibling Items tab after scanning. GS1-128 parsing for embedded lot + expiry is on the roadmap.
  • RTL tenants. The scan input always renders left-to-right with Latin digits. Persian / Arabic tenants see Persian digits in the count chips but the barcode itself is always Latin.
  • Sharing a phone between many scans. The camera viewfinder is single-shot — it opens, captures, closes. For long sessions (cycle count of 200+ items) use a Bluetooth scanner; the camera reopen between scans is the slowest part of the phone path.

FAQ#

Do all products need a barcode set?

Only the ones you want to scan. Services without a physical SKU (consultations, treatment sessions) usually do not need one. For physical products (medications, peptides, consumables), filling the Barcode field is the prerequisite — without it, a scan returns "No product matches this barcode".

What if I share barcodes between branches?

The lookup is per-tenant, not per-branch. The same barcode in two branches resolves to the same product record (which is what you want).

Can I scan two products in a row without re-tapping the scan box?

Yes for USB / Bluetooth scanners (the scan box stays focused). For phone camera scans, each scan opens and closes the viewfinder. For high-volume work, a Bluetooth scanner is dramatically faster than the phone camera.

I scanned a product, but the count shows the wrong number.

The local "Recent Scans" card shows the running session count. The canonical total is the sibling tab (Counted Items, Received Items, etc.) — it refetches automatically after each scan. If they disagree, the sibling tab is the truth.

Does the system block scanning a product into the wrong location?

For stocktake, the location is auto-resolved from existing stock records. For GRN and transfers, scanning adds to the document's pre-set destination location. The operator does not pick a location per scan, so there is no per-scan location mistake to make.