by Mien Trung Software

The MTS Code Generator add-on helps you automatically generate accurate codes for invoices, profiles, customers, quotes, and more automatically for any records according to the rules you set. Avoid manually entering codes and accidentally making crucial typos or confusing duplicates.

Includes a 30 day guarantee
Try it Now

Automatically create various codes consistently and accurately in SuiteCRM

What's New in Version 2.0.0

Screenshot 2026-05-18 at 16.10.54.png

Smart Format Templates — Generate codes the way your business works

Previous versions only supported a simple Prefix + Number format (e.g. INV-00001).
Version 2.0.0 introduces a Format Template Engine — just type a template string and the add-on fills in the date, sequence number, or even a field value from the record automatically.

Available placeholders:

Placeholder What it inserts Example
{YYYY} Full 4-digit year 2026
{YY} 2-digit year 26
{MM} Month (zero-padded) 05
{DD} Day (zero-padded) 18
{SEQ:N} Auto-incrementing number, padded to N digits 00001
{FIELD:name} Value pulled from any field on the record HN

Real-world examples:

Template Generated code Use case
INV-{YYYY}-{SEQ:5} INV-2026-00001 Yearly invoices
PO-{YYYY}{MM}-{SEQ:4} PO-202605-0001 Monthly purchase orders
TKT-{YYYY}{MM}{DD}-{SEQ:3} TKT-20260518-001 Daily support tickets
{FIELD:branch_code}-{YYYY}-{SEQ:5} HN-2026-00001 Multi-branch businesses

Auto-Reset Counter — Codes that restart when the period changes

Pick when the sequence counter resets — no manual intervention needed:

  • Never — one global counter that never resets (same as before)
  • Yearly — restarts at 1 on the first record of each new year
  • Monthly — restarts at 1 on the first record of each new month
  • Daily — restarts at 1 on the first record of each new day

100% Backward Compatible

Already using this add-on? No action required.
Your existing Prefix + Number configurations continue working exactly as before.
Switch to template mode at any time by editing a configuration record.


Version 2.0.0 — Released May 2026


During your workday, you often see and hear terms such as profile code, customer code, quotation code, invoice code, etc. These codes are not just random numbers; they are usually formatted with a certain naming convention. For example, an invoice code could be set to INV-000001 with all future invoices following the correct formatting in sequential order.

The issue for SuiteCRM users is that 1) you must enter these types of codes manually, and 2) there is not a duplicate checker to ensure the codes are accurate. MTS Code Generator was created to help you create codes automatically according to the rules you set, so you do not have to worry about mistakes or causing any confusion.

How it Works

After installation, be sure to validate your license key in the admin page of your SuiteCRM. Then, in MTS Code Generator, configure the add-on by entering your preferred prefix code and initial code number as shown in the screenshot below.

Screen Shot 2020-07-26 at 14.02.37.png

Next, go to the module that has been configured and try to create a new record to verify your set up. In case you have pre-existing records and you want to generate codes for them too, you can use the'Force re-generate code feature to generate code for old records.

Screen Shot 2020-07-26 at 14.06.28.png

Here is the result:

Screen Shot 2020-07-26 at 14.07.11.png

Watch Demo Video

Our SuiteCRM Plugins Now Support SuiteCRM 8

All plugins developed by our team are now fully compatible with SuiteCRM 8.
If you are upgrading to SuiteCRM 8, you can continue using these extensions without any compatibility issues.

Productivity and Visualization

Developer and Admin Tools

Business and Finance

Automation and Integrations

AI and Collaboration

Utilities

Checkout more maybe necessary SuiteCRM Addon for you

View Pricing
Backed by our Tried & Tested, 30-Day Money Back Guarantee.