Check for Latest Released Revision of Attached Documents and Specification Documents

Hi All, 

I have been working with the CATIA Report Template Design app to produce some reports. One of the things I need is a method to check whether an attached document to a physical product or specification document of a physical product is the latest released revision. 

Say I have this list of revisions for one document;

A.1 Released

A.2 Released

A.3 Released

A.4 In Work

A.5 In Work

Clearly A.5 is the latest revision, but it is not released. And A.2 is released but there is a later revision that is released. I need this returned as a true/false. It also needs to compare to all existing revisions of the item, not just those that are in the current structure.

 

I have a template (attached) which does this for physical products, but I'm struggling to adapt this to work for the attached documents and specification documents. If you can suggest a more direct method than the one I'm already using then that would also be appreciated. 

I have also attached a dummy structure to test this. 

Answers 1
MW
MW 2026-10-27

@RG Are you able to check this?