Batch number in production

It depends upon the process really, however I recomment you look at the batch number group on the item, you could also use reservations on the sales line if you have stock (this is what I mean about the process)., you could look at using the creation of production from the sales order. You could look at the sales order picking screen and use the batch number group for production. Lots of options really, but the devil is in the detail.