Employee Previous TDS details

Hi,
Is there a way in payroll to add employee’s previous salary and TDS details if the employee is joining in mid-year