we need to assign Lot numbers by default for items, but we do not need them in sequence same as the No series gives us in standard, and we want to make sure we dont have the lot number twice.
what i’m thinking of is creating a function that fills for the No. series random starting numbers and incrementation per day and use it for items.
You could Lot No. Information to store such information. In there you could save the day that lot tracking is valid to inbound / outbound. You could valid that during posting to ensure accurate information.
Lot number assignment could be the way you have told.
Many systems allow you to “create” the format of your serial/lot number, usually made up of elements including the date, the document number, an incremental number etc. In this manner you could define a known format - your issue here is writing Navision to do it!