Investors & landlords

If all shares belonged to an entry are sold, do I have to delete the entry? Does it trigger AMT adjustment based on actual gain/loss?

 

Thanks!