Skip to content
Release: Australia · Updated: 2026-03-12 · Official documentation · View source

Configure left padding of a system number in a table

You can configure the left padding of the system numbers on a table. For example, pad the Number field on an Incident, Problem, or Change Request.

Before you begin

If you are configuring numbers on a custom table or a table that does not extend the task table, then, before performing the following procedure, you must prepare business rules and script includes. For more information, see Prepare to left-pad number fields in custom tables.

Role required: admin

Procedure

  1. Navigate to the form, then right-click the Number field and select Configure Dictionary.

  2. Enter the following script in the Default value field and click Update.

    javascript:getNextObjNumberPadded();
    
  3. Navigate to System Definition > Number Maintenance.

  4. Open the table record.

  5. Enter a value in the Number of digits field.

  6. Click Update.

    Number padding is applied to both existing and new records.

Image omitted: SysNumberPadded.png
Sys number padded
The result of the configuration in the image is an Incident number that is left padded.
Image omitted: PaddedIncidentnumber.png
Padded incident number

Parent Topic:Prepare to left-pad number fields in custom tables