Batch number-wise stock management with expiry and warranty alert