Hi I dont understand the logic which was implemented on the Transfer Line table in 2018.

This is the code (validate desription):

IF (STRLEN(Description) <= MAXSTRLEN(Item."No.")) AND ("Item No." <> '') THEN
ItemDescriptionIsNo := Item.GET(Description);

IF ("Item No." <> '') AND (NOT ItemDescriptionIsNo) AND (Description <> '') THEN BEGIN
Item.SETFILTER(Description,'''@' + CONVERTSTR(Description,'''','?') + '*''');
IF NOT Item.FINDFIRST THEN
EXIT;
IF Item."No." = "Item No." THEN
EXIT;
IF CONFIRM(AnotherItemWithSameDescrQst,FALSE,Item."No.",Item.Description) THEN
VALIDATE("Item No.",Item."No.");
EXIT;
END;

Comming from validation on item number.

So if the item table is containing an item with the same desription in the desription field but different item number will sugtes to change to the other item.

Why and what if there is more than 2 items with same description then why would you choose FIND first?

I checked a couple of later versions and it's still there ... so i guess there is some logic i don't undersatnd, why this piece of code?