Get latest record for each customer

I have used both solutions, but was too late to help. Call this an "endorsement"...