What would be the behavior of the sequence element if it reach it's padding limit

xycofryx

Member
What would be the behavior of the sequence element if it reach its padding limit. For example I have a sequence element called Transaction ID e.g. LTP-NCR-2018-000001.

1) LTP - stands for the permit type.
2) NCR - is for the region it is applied.
3) 2018 - is the year it is applied.
4) 000001 - is the sequence number

What will happen if in the same year it is reached the 999999 mark; will the sequence counter reset or it will add another padding to compensate to the limit e.g. 1000000?
 
Just to confirm, the padding doesn't set a maximum width. It just pads numbers that are shorter than the padding size. So a number longer than the padding size will render, it just won't have any padding. So if your padding is 3 ...

1 = 001
12 = 012
123 = 123
1234 = 1234

-- hugh
 
We are in need of some funding.
More details.

Thank you.

Members online

No members online now.
Back
Top