I need a sql query that will show me what check an applied credit memo is showing up on. I can get the credit memo and the applied invoice, but we need to know what check shows that information. It is there when the check remittance is reprinted so it has to be somewhere in SQL. Any help is appreciated