Go through below link you may get an idea.
Challan Mapping Program for Tax Deduction - INDIA
The employee "X" when he has joined and till what date you have execute payroll and /4MI for which month it is not generating give us some clarity.
Regards
Venkatesh