Free kintone plugin

Conditional Auto Numbering for kintone

Conditional Auto Numbering is a free kintone plugin that assigns sequential numbers such as AD-00001 automatically, switching the format by field values, with sub-numbers per product ID, date-based resets and bulk numbering after CSV import.

  • 18 formats built from date, text and sequence parts
  • Different prefixes and counters per department, category or other field value
  • Bulk numbering, duplicate repair and a preview of the next number

Works in English, Japanese and Chinese — the plugin follows each user's kintone language setting. 日本語のページ

Problems it solves

The record number is not the number you need

kintone's record number is a plain sequence. Business numbers often need a prefix, a date or separate counters per department.

Manual numbering causes gaps and duplicates

Typing the next number by hand leads to mistakes. Numbers are assigned on save, and issued numbers are never rewritten.

Imported records have no number

Records added by CSV import stay empty. One button numbers them all, following the same rules.

Screenshots

Screens are shown with kintone set to Japanese. With kintone set to English, the plugin's screens appear in English.

Conditional Auto Numbering settings page with a rule list and live preview on the left and format settings for date, sequence and conditional text in the center
Settings page with live preview of the number
Conditional numbering settings where each field value has its own text and its own sequence
Different text and counters per field value

Features

18 formats

Combine up to 3 parts (date, text and sequence) into a number. Choose the separator (hyphen, underscore or none) and the sequence length (1 to 10 digits).

Conditional numbering

Switch the text part by field values such as department or person (for example AD-00001 for division A and BD-00001 for division B), with a separate counter per condition if you like.

Sub-numbers

Number from 001 for each value of a field such as a product ID: PRD-00001-001, PRD-00001-002, and PRD-00002-001 for the next product. Saving stays fast as records grow.

Up to 3 numbering fields

Number up to 3 fields in one app, each with its own rule.

Reset by year, month or day

With a date in the format, restart the sequence at 1 when the year, month or day changes.

Choose when to number

Number on save, or only when conditions are met: a field has a value, a field is one of chosen values, or the status is one of chosen statuses. Also numbers on inline edit in the record list and on process management actions.

Base date for the date part

Build the date part (YY, YYMM, YYMMDD) from the save date or from a date, datetime, created or updated field. Resets follow that date, so you can issue next year's numbers in advance.

Bulk numbering after CSV import

Number every record with an empty numbering field from the settings page in one click, sub-numbers included, with progress shown by count.

Duplicate check and repair

Find records with duplicate numbers, keep one and renumber only the sequence part of the others to unused numbers. Preview before running, and export to CSV.

Next number preview

See the next number for each condition, counted from existing records, so you can check where numbering continues after migrating from another system.

Number across all records with an API token

By default the next number is the highest number the saving user can see + 1. Optionally use a view-only API token so the whole app is counted, regardless of record permissions.

Safety checks

Stops saving when the value a sub-number depends on is empty, and warns in the settings if the numbering field is not set to prohibit duplicates or some users cannot edit it.

Install in 3 steps

  1. Download kw-conditional-numbering-v2.6.0.zip. Do not unzip it.
  2. In kintone, open kintone Administration > Plug-ins and import the zip file (kintone administrator rights are needed).
  3. In your app, open App Settings > Plug-ins, add Conditional Auto Numbering for kintone, configure it, save, and click Update App.

Detailed installation guide

Notes

  • The numbering field cannot be edited on the record create and edit screens or by inline edit in the record list. Issued numbers are never rewritten.
  • For datetime fields used as the base date, the date is taken in Japan time (JST).
  • On the app's test environment screen, the same number is assigned every time, because the plugin can only count records in the live app.
  • Tested on the latest version of Google Chrome, which is recommended.
  • This plugin is developed independently by KIZUNA Works and is not provided or guaranteed by Cybozu, Inc. kintone is a registered trademark of Cybozu, Inc.

FAQ

How is it different from kintone's record number?

kintone's record number is a plain sequence and cannot switch numbering by conditions. This plugin switches numbering rules by field values such as department, person or status, and lets you set the format in detail, including text parts, digits and dates.

Can it number records after a CSV import?

Yes. After importing many records by CSV, you can number them all at once from the settings page, following your conditional rules.

Can issued numbers change when I change the conditions?

No. Issued numbers are kept. Rules apply only to new records and records that have no number yet; existing numbers are never overwritten.

Can I add sub-numbers per product ID, like PRD-00001-001 and PRD-00001-002?

Yes. Set the counting method to sub-numbers and build the format from text (the product ID field value) plus a sequence. Each product ID is numbered from 001. Product IDs fetched by a lookup can be used too.

Can numbering continue from records migrated from another system?

Yes. Put the migrated records in the app and numbering continues from the highest number, because each number is the highest existing number + 1. You can check where it continues in the next number preview on the settings page (shown when the sequence runs through the whole app, not for sub-numbers).

Can I number by a chosen date instead of the save date?

Yes. Choose a date, datetime, created or updated field as the base date for the date part. The YY, YYMM or YYMMDD part and the yearly, monthly or daily reset follow that date. If the base date is empty, saving is stopped and the user is asked to enter it.

Questions?

Write to us in English. KIZUNA Works answers by email.