The chat responses are generated using Generative AI technology for intuitive search and may not be entirely accurate. They are not intended as professional advice. For full details, including our use rights, privacy practices and potential export control restrictions, please refer to our Generative AI Service Terms of Use and Generative AI Service Privacy Information. As this is a test version, please let us know if something irritating comes up. Like you get recommended a chocolate fudge ice cream instead of an energy managing application. If that occurs, please use the feedback button in our contact form!
Skip to content

TNS - Technical number system¶

The Technical Numbering System is a counting-based identification number system that does not contain any classification data. For evaluation purposes, attributes must be maintained in separate data fields outside of TNS.

Original PDF:
TNS.pdf (SN 01060)

Identification¶

1234
ANAN

RegEx (https://regex101.com/r/thQshK/1/)

^[A-HJ-NP-Z]\d[A-HJ-NP-Z]\d

Validation¶

12345678901234
ANANNNNNNNN*A
N
A
N

Definition:

Definition
ALetter position A-Z without I, O
NDigit position 0-9
*Letter position, digit position or hyphen used as seperator

TNS with 14 digits has a minimum length of 4 digits and a maximum length of 14 digits inlcuding a suffix of the last three digits.

Classification¶

For TNS <= 14 positions

NBDescription
TEonly numbers at the last three digits
TUonly letters at the last three digits
TZsuffix with - separator
TPsuffix has pattern ANN or ANA

For TNS > 14 and <= 18 positions

NBDescription
TAonly numbers at the last three digits
TDonly letters at the last three digits
TSsuffix with - separator
TMsuffix has pattern ANN or ANA

Formatting¶

As a requesting service, I want to format my product numbers in two different output formats which are following the numbering standards, that I can ensure my numbers are structured everytime the same.

The formatting should only be executed for valid numbers.

PRINT¶

Delete all blanks

SORT¶

  • When number length is <= 11 then fill with blanks from position 4 until length is 11
  • When number length is <= 14 then fill with blanks from position 4 until length is 14
  • When number length is <= 18 then fill with blanks from position 4 until length is 18
  • Exception numbers with suffix including - seperator:
    No filling with blanks until length 11.