Sorry, didn't look right there. Here is the specification for this block:
We need a process filter by TTN numbers, a filter similar to that of a client in the old CPM
https://prnt.sc/ryb18jTTN numbers are inserted into it from a new line, example
There is a 14-digit format for new mail and a 13-digit Ukrainian mail, which we will prescribe, and all other characters that accompany the text so as not to interfere in the search for orders by ttn, that is, after the ttn number there may be a space and then some then the characters, after the ttn number there is a space and then the characters - they do not need to be taken into account
The search will always be by the first 14 digits (if the 14th is a space or a letter, it will be cut off).
accordingly, it searches only for the ttn number with 13 and 14 digits