Numbering formats
Redline auto-generates unique numbers for ECRs, ECOs, and FCOs. You control the format using template strings in Settings.
Format templates
Section titled “Format templates”Navigate to Settings → Numbering to configure the format for each document type.
Templates use two substitution tokens:
| Token | Meaning | Example |
|---|---|---|
{YYYY} | Four-digit calendar year | 2026 |
{N...} | Zero-padded sequence number | {NNNN} → 0001, {NN} → 01 |
The number of N characters determines the padding width.
Examples
Section titled “Examples”| Format template | Sequence 1, year 2026 | Sequence 42 |
|---|---|---|
ECR-{YYYY}-{NNNN} | ECR-2026-0001 | ECR-2026-0042 |
ECO-{NN}/{YYYY} | ECO-01/2026 | ECO-42/2026 |
CR{YYYY}{NNNNNN} | CR20260000001 | CR20260000042 |
Sequence management
Section titled “Sequence management”- Atomic generation — numbers are generated using a database lock to prevent duplicates, even under concurrent use
- No gaps — each number increments by exactly one
- Preview — use the preview button to see what the next number will look like before saving
- Reset — reset the sequence counter if you need to start fresh (e.g., at the beginning of a new year)
Document types
Section titled “Document types”| Type | Setting | Default format |
|---|---|---|
| ECR | ecr_number_format | ECR-{YYYY}-{NNNN} |
| ECO | eco_number_format | ECO-{YYYY}-{NNNN} |
| FCO | fco_number_format | FCO-{YYYY}-{NNNN} |