Configure left padding of a system number in a table
リリースバージョン: Australia
更新日 2026年03月12日
所要時間:1分
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.
始める前に
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
手順
Navigate to the form, then right-click the Number field
and select Configure Dictionary.
Enter the following script in the Default value field
and click Update.
javascript:getNextObjNumberPadded();
Navigate to System Definition > Number Maintenance.
Open the table record.
Enter a value in the Number of digits field.
Click Update.
Number padding is applied to both existing and new records.
The result of the configuration in the image is an Incident number that is
left padded.