Deductions & credits

A follow up questions... because it was a rental for the last 3 years (it was rental out when my wife immigrated to US) and for the last 3 years, we declare rental income for this property... do i need to log a transaction on the rental side too ? eg: i think there is one for selling rental property as well on that section