Promotions

New products

  • Repair Shop Management – Complete Repair Workshop Platform for Dolibarr

    Turn Dolibarr into a complete repair workshop platform: dashboard, repair orders with a Kanban pipeline, workshop planning, diagnostics, payments, on-screen collection signature, devices, brands, fault catalogue, warranties, returns, spare parts, inventory, suppliers, parts orders, technicians, appointments, maintenance contracts, customer portal, invoicing, alerts, automations and reporting.

    299.00 €
  • Building Finishing Works Management – Second-Fix & Finishing Trades ERP for Dolibarr

    Turn Dolibarr into a complete ERP for second-fix and finishing contractors: projects, sites with phases, lots and zones, works board, site log, timesheets, stakeholders, subcontractors, trade teams, tenders and contracts, quotes on quantity take-offs, technical studies, materials and stock, purchasing, equipment, HSE, quality and snags, documents, monthly situations and reporting.

    299.00 €

Project Ref Pro — Custom Numbering Model for Dolibarr Projects

mp24262d20260324101243

Configurable segment-based project reference numbering for Dolibarr. Build meaningful references encoding project type, salesperson, year, and sequence — no PHP required.

49.00 €
Excl. tax

  • Author Anas Memon
  • Module version 1.0.0
  • Release date 03/24/2026
  • Access to download and updates 1 year
  • How to contact support For support, bug reports, and feature requests please open a ticket at info@hamzaviinfotech.com. Response within 48 hours on business days.
  • Compatibility Dolibarr V18+   -   PHP7.4 - 8.3
  • Last update 03/24/2026 04:31 PM

More info...

Project Ref Pro replaces Dolibarr's built-in project numbering models with a fully configurable segment-based reference builder. No PHP coding required.

 

Build references that actually mean something to your organisation. Each reference is assembled from up to five independently enabled segments in your chosen order:

 

  • Company Prefix — fixed identifier (e.g. PGS, ZPJ, ACME)
  • Project Type — admin-defined codes with custom labels (e.g. T=Trading, S=Service, C=Contracting)
  • Salesperson Code — numeric code per user (1–99), auto-resolved or manually selected
  • Year — 2-digit or 4-digit, auto-generated from server date
  • Sequence — zero-padded auto-incrementing counter, always included

 

Example: PGST226001  =  PGS (company) + T (Trading) + 2 (salesperson) + 26 (year) + 001 (sequence)

 

Segment Configuration

  • Drag-and-drop segment reordering with live preview on the settings page
  • Each segment independently enabled or disabled
  • Configurable separator character between segments (default: none)
  • Live preview updates in real time as you configure

 

Project Type Management

  • Admin-defined code and label list — add as many types as needed
  • Required dropdown injected into the project creation form, positioned directly after the Label field
  • Project type locked read-only after creation to protect reference integrity

 

Salesperson Code Management

  • Individual Add / Remove interface per user — clean and straightforward
  • Real-time conflict detection: inline error if a code is already assigned
  • Dynamic available range hint shows which codes are still free
  • Auto mode: code resolved automatically from the logged-in user
  • Manual mode: back-office staff selects the salesperson at project creation time

 

Reference Generation

  • Atomic counter increment using SELECT FOR UPDATE — duplicate references are impossible under concurrent project creation
  • Ref field is read-only on the project creation form — cannot be overwritten manually
  • In Manual mode, AJAX preview shows the full anticipated reference as soon as type and salesperson are selected
  • Reference is never regenerated on edit — existing reference preserved

 

Counter Management

  • View all active counters with a Next Reference preview column
  • Orphan detection — counter rows flagged when their project type or salesperson code no longer exists
  • Delete individual counters with confirmation dialog
  • Adjust any counter: =N to set, +N to increment, -N to decrement
  • Pre-seed counters for migration from Excel or legacy tracking systems
  • Full adjustment audit log with configurable retention (default 90 days)
  • Clear audit log button with confirmation

 

Designed for Small-Team and Multi-Team Organisations

Built and validated against a real production workflow at an contracting company in Qatar that tracked 168+ projects per year using internally coded references. The module generalises this into a universal tool any Dolibarr user can configure to match their own naming conventions.

 

Requirements

  • Dolibarr 18.0 or later
  • Projects module must be enabled
  • PHP 7.2 or later



If you think this module is a fork of another one (published after the first one) or violates some terms or conditions of use (for users or vendors), you can make a report at dolistore@dolibarr.org