Barcode & Serials

It seems the barcode-module doesn’t support serials and needs ‘special’ software/hardware to scan. Furthermore the barcode-module doesn’t seem to be able to generate a barcode per serial. (I have about 500 unique boxes that have to be tracked over 6 warehouses).

The solution was to setup a subdomain (qr.mydomain.com) that (via Rest) creates the serials for the product(s)/service(s) and unique qr-codes (TCPDF) containing a link to the subdomain. If a client ‘hits’ the subdomain (qr.mydomain.com?do=match?lotid=XXX) it is redirected to Dolibarr depending on the situation:

  • No location known (new inventory) → alter stock and location
  • if the location is known → add new movement (moved by truck/delivered/picked up)
  • If the qr-code is scanned by a client (not logged in to Dolibarr) it redirects to the client-portal (other website).

It would be nice if the Barcode-module supports unique codes per lot/serial (or I’ve been so stupid not to find out) and to support full URL’s. As I was in a hurry I didn’t take time to alter the barcode-module to support this.