1099s and 8824 form

I sold a rental property and bought another one in the same day. The transaction proceed is through the closing party. It is a 1031 exchange. I also get 1099s for the selling property. How can I put 1099s info. to 8824 form. Or I need to do another form such as form 4797 and schedule D  to report 1099s.