Auto increment number in a string field with format: "TSA 22-0001

Andre8
Giga Guru

I would like to auto increment a field when a new record is being created with a format of TSA 22-0001

2 ACCEPTED SOLUTIONS

Saurav11
Kilo Patron
Kilo Patron

Hello,

 

Please do the below:-

 

Please go to Number Maintenance

 

Saurav11_0-1665762296888.png

 

Then over there create a new record with the below configuration, just change the table name to yours and save it.

 

Saurav11_1-1665762443486.png

 

So now when you create a new record you will have it as prefilled with the format:-

 

Saurav11_2-1665762678258.png

 

Please mark answer correct/helpful based on Impact.

View solution in original post

I see so your table is extended by task table? Then you may need not use the other field, instead in the number field itself configure dictionary and go to related list label and just chnage the label of the number field for this table

 

Saurav11_0-1665768469989.png

 

Please mark answer correct based on Impact.

View solution in original post

10 REPLIES 10

Thanks, should the two fields be in sync? please see attached

The agreement number field is incrementing by 2 instead of 1

Hello,

 

Please do the below:-

 

Configure the number field dictionary and remove the default value form it and save it.

 

Then you can check it would increment by  1 only and you don't have to worry about the number field.

 

Please mark my answer as correct based on Impact.

The number field is global

The number field comes from the task table