Clearing the batch number on onclick and getting the date and message done.