cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
Showing results for 
Search instead for 
Did you mean: 

Community Tip - Did you get an answer that solved your problem? Please mark it as an Accepted Solution so others with the same problem can find the answer easily. X

FIND NAME of WTDocument SubType in SQL Windchill

phsimard
5-Regular Member

FIND NAME of WTDocument SubType in SQL Windchill

I am using Windchill PDMLink Release 11.1 and Datecode with CPS M020-CPS23

I cannot find the table that holds the SUB object types in Oracle SQL

Example: WTDocument:

I believe WTDocument.BRANCHIDA2TYPEDEFINTIONREFERENCE and
WTDOCUEMENT.IDA2TYPEDEFINITION REFERENCE hold the ID of the SUB TYPE of WTDocument.

However, I cannot find the table with which to join to get the UI NAME for those ID's.
1 ACCEPTED SOLUTION

Accepted Solutions
Fadel
22-Sapphire I
(To:phsimard)

try something  like below 

select wtm.name,wtm.wtpartnumber,wtd.logicalidentifier from wtpart wt,wtpartmaster wtm,wttypedefinition wtd
where wt.ida2typedefinitionreference =wtd.ida2a2 and wtm.ida2a2=wt.ida3masterreference and wtm.wtpartnumber like '0000001821'

 

Fadel_0-1700793751576.png

 

 

 

Fede

View solution in original post

2 REPLIES 2
Fadel
22-Sapphire I
(To:phsimard)

try something  like below 

select wtm.name,wtm.wtpartnumber,wtd.logicalidentifier from wtpart wt,wtpartmaster wtm,wttypedefinition wtd
where wt.ida2typedefinitionreference =wtd.ida2a2 and wtm.ida2a2=wt.ida3masterreference and wtm.wtpartnumber like '0000001821'

 

Fadel_0-1700793751576.png

 

 

 

Fede
phsimard
5-Regular Member
(To:Fadel)

Nice thank you! 


Top Tags