Create a sequential identification number that includes a letter at the beginning?

319
2
09-09-2019 08:35 AM
by Anonymous User
Not applicable

I'm needing to create a python script which would number work order data in sequence with a letter at the beginning.

0 Kudos
2 Replies
JoshuaBixby
MVP Esteemed Contributor

It is hard to provide any suggestions without more information.  What are the fields involved?  How do you differentiate one work order from another, so you know when to increment? 

0 Kudos
by Anonymous User
Not applicable

I could use a python script in field calculator to create sequential numbering as shown in this example ( How To: Create sequential numbers in a field using Python in the Field Calculator  ) but if a record is deleted then it renumbers the whole data set. 

I could use the mentioned script as a starting point but how could I modify it so each new record is number based on the next number in line?

0 Kudos