Quantcast
Channel: PTC Community: Message List - Windchill
Viewing all articles
Browse latest Browse all 8876

Re: Query Builder/Database Type Joins

$
0
0

Hi Tristan,

 

can you provide a QML of the link between EPMDocuments and WTParts?

I am trying to get the corresponding WTPart ID from an EPMDocument ID.

 

I tried what I read in the first post:

 

FROM:

#   wt.part.WTPart

#   wt.epm.EPMDocument

#   wt.epm.build.EPMBuildRule

 

JOIN:

#   wt.epm.build.EPMBuildRule   <--->   Role AObject Ref   <--->   wt.part.WTPart

#   wt.epm.build.EPMBuildRule   <--->   Role BObject Ref   <--->   wt.epm.EPMDocument

 

SELECT:

#   Part ID

 

CRITERIA:

#   AND: EPMDocument ID = <EPMDocID Parameter>

 

But I don't get any results.

I also tried to add an EPM Describe link, but this does not help.

Do I have to involve the Masters?

 

If you have any hint I'd be glad.

Thanks!

David


Viewing all articles
Browse latest Browse all 8876

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>