Check that all TR dates by INV are duplicated or earlier than last visit's (possible date entry error)
Useful links