Article - CS166135

How to always get the latest version of a WTPart in a QuerySpec with custom user criteria without bypassing access control in Windchill PDMLink

Modified: 26-Feb-2024   


Applies To

  • Windchill PDMLink 10.0 M040 to 13.0

Description

  • The goal is to write a custom part report based on QuerySpec API
  • The search criteria are to be provided by users (e.g. name, number etc) and the fields are dynamic
  • The returned results should always be the latest version (revision and iteration) ortherwise nothing should be returned
  • This should be done without bypassing access control
  • Example QuerySpec statements to find if higher revisions of a WTPart Exists
  • How to use QuerySpec to find out if there are newer revisions of a WTPart.
This is a printer-friendly version of Article 166135 and may be out of date. For the latest version click CS166135