Working With Sales Order / Sales Invoice

Hello,

I was wondering, if there is a way to connect Sales Order And Sales Invoice so that If I enter a Sales Order, it pops up message the Sales order is already Invoiced or a way to know this sales order existed and converted into Invoice.

Thank you