Save batch no to db