I have made this codeunit which loop though all items and give them a barcode from another codeunit. It works fine unless the barcode contains a '/', but it is fine because i dont need them.
How can modify this code so it skips the items with a slash ( / ) and dont give them a barcode.
ItemIdentifier.DELETEALL; Item.FINDFIRST; REPEAT ItemIdentifier.INIT; ItemIdentifier.Code := Item."No."; ItemIdentifier."Item No." := Item."No."; ItemIdentifier.INSERT; COMMIT; ItemIdentifier.GET(Item."No."); ItemIdentifier.GenerateBarCode(); ItemIdentifier.MODIFY; UNTIL Item.NEXT = 0;
*This post is locked for comments