I have a relationship between Leads and Documents. When I link to a Document at a certain point in time I would like the current latest revision file to be linked with the Lead. In the future when I create a new revision for the document I don't want it to affect what file is linked with the Lead - the Lead should be linked to the revision it was linked at the first place.
Later, when I want to link another link with the Document again it will link it with the current latest revision of the Document.
How could I achieve it?